Changeset 42d73f3 in clfs-sysroot


Ignore:
Timestamp:
Jul 22, 2007, 11:57:02 PM (17 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
1487e47
Parents:
00520f6
Message:
 
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/patches.ent

    r00520f6 r42d73f3  
    3434
    3535<!ENTITY gcc-posix-patch "gcc-&gcc-version;-posix-1.patch">
    36 <!ENTITY gcc-posix-patch-md5 "8ed72d052f9eead0c1498d7d57302a5f">
     36<!ENTITY gcc-posix-patch-md5 "04c70ab253e9a1bfe242e1e5f37a51dd">
    3737<!ENTITY gcc-posix-patch-size "16 KB">
    3838
  • patches/gcc-4.2.1-posix-1.patch

    r00520f6 r42d73f3  
    66        Rediffed against 4.1.2 by Jim Gifford
    77        Rediffed and additions against 4.2.0 by Joe Ciccone
    8         Rediffed against 4.2.1 by Joe Ciccone
     8        Rediffed against 4.2.1 by Joe Ciccone
    99Upstream Status: On Hold
    1010Description: Makes GCC Posix Compliant
     
    1212diff -Naur gcc-4.2.1.orig/contrib/test_summary gcc-4.2.1/contrib/test_summary
    1313--- gcc-4.2.1.orig/contrib/test_summary 2004-08-26 01:51:22.000000000 -0400
    14 +++ gcc-4.2.1/contrib/test_summary      2007-07-22 16:57:23.000000000 -0400
     14+++ gcc-4.2.1/contrib/test_summary      2007-07-22 19:31:03.000000000 -0400
    1515@@ -106,7 +106,7 @@
    1616     srcdir = configflags;
     
    2424diff -Naur gcc-4.2.1.orig/gcc/configure gcc-4.2.1/gcc/configure
    2525--- gcc-4.2.1.orig/gcc/configure        2007-01-01 22:44:31.000000000 -0500
    26 +++ gcc-4.2.1/gcc/configure     2007-07-22 16:57:23.000000000 -0400
     26+++ gcc-4.2.1/gcc/configure     2007-07-22 19:31:03.000000000 -0400
    2727@@ -14120,7 +14120,7 @@
    2828   # Therefore, use diff -b for the comparisons.
     
    3636diff -Naur gcc-4.2.1.orig/gcc/configure.ac gcc-4.2.1/gcc/configure.ac
    3737--- gcc-4.2.1.orig/gcc/configure.ac     2007-01-01 22:44:31.000000000 -0500
    38 +++ gcc-4.2.1/gcc/configure.ac  2007-07-22 16:57:23.000000000 -0400
     38+++ gcc-4.2.1/gcc/configure.ac  2007-07-22 19:31:03.000000000 -0400
    3939@@ -2227,7 +2227,7 @@
    4040   # Therefore, use diff -b for the comparisons.
     
    4848diff -Naur gcc-4.2.1.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.2.1/gcc/testsuite/ada/acats/run_all.sh
    4949--- gcc-4.2.1.orig/gcc/testsuite/ada/acats/run_all.sh   2006-09-14 06:12:03.000000000 -0400
    50 +++ gcc-4.2.1/gcc/testsuite/ada/acats/run_all.sh        2007-07-22 16:57:23.000000000 -0400
     50+++ gcc-4.2.1/gcc/testsuite/ada/acats/run_all.sh        2007-07-22 19:31:03.000000000 -0400
    5151@@ -68,7 +68,7 @@
    5252   ls ${i}?.adb > ${i}.lst 2> /dev/null
     
    6060diff -Naur gcc-4.2.1.orig/libgomp/acinclude.m4 gcc-4.2.1/libgomp/acinclude.m4
    6161--- gcc-4.2.1.orig/libgomp/acinclude.m4 2007-03-18 09:45:56.000000000 -0400
    62 +++ gcc-4.2.1/libgomp/acinclude.m4      2007-07-22 16:57:23.000000000 -0400
     62+++ gcc-4.2.1/libgomp/acinclude.m4      2007-07-22 19:31:03.000000000 -0400
    6363@@ -147,7 +147,7 @@
    6464   # Start by getting the version number.  I think the libtool test already
     
    7272diff -Naur gcc-4.2.1.orig/libgomp/configure gcc-4.2.1/libgomp/configure
    7373--- gcc-4.2.1.orig/libgomp/configure    2007-07-19 10:33:56.000000000 -0400
    74 +++ gcc-4.2.1/libgomp/configure 2007-07-22 16:57:23.000000000 -0400
     74+++ gcc-4.2.1/libgomp/configure 2007-07-22 19:31:03.000000000 -0400
    7575@@ -9314,7 +9314,7 @@
    7676   # Start by getting the version number.  I think the libtool test already
     
    8484diff -Naur gcc-4.2.1.orig/libjava/classpath/configure gcc-4.2.1/libjava/classpath/configure
    8585--- gcc-4.2.1.orig/libjava/classpath/configure  2007-01-17 13:10:26.000000000 -0500
    86 +++ gcc-4.2.1/libjava/classpath/configure       2007-07-22 16:57:23.000000000 -0400
     86+++ gcc-4.2.1/libjava/classpath/configure       2007-07-22 19:31:03.000000000 -0400
    8787@@ -18514,7 +18514,7 @@
    8888 fi # shortcircut to system "stdint.h"
     
    9696diff -Naur gcc-4.2.1.orig/libjava/classpath/ltcf-c.sh gcc-4.2.1/libjava/classpath/ltcf-c.sh
    9797--- gcc-4.2.1.orig/libjava/classpath/ltcf-c.sh  2006-01-17 13:09:40.000000000 -0500
    98 +++ gcc-4.2.1/libjava/classpath/ltcf-c.sh       2007-07-22 16:57:23.000000000 -0400
     98+++ gcc-4.2.1/libjava/classpath/ltcf-c.sh       2007-07-22 19:31:03.000000000 -0400
    9999@@ -153,7 +153,7 @@
    100100     # If the export-symbols file already is a .def file (1st line
     
    108108diff -Naur gcc-4.2.1.orig/libjava/classpath/ltcf-gcj.sh gcc-4.2.1/libjava/classpath/ltcf-gcj.sh
    109109--- gcc-4.2.1.orig/libjava/classpath/ltcf-gcj.sh        2005-09-23 17:31:04.000000000 -0400
    110 +++ gcc-4.2.1/libjava/classpath/ltcf-gcj.sh     2007-07-22 16:57:23.000000000 -0400
     110+++ gcc-4.2.1/libjava/classpath/ltcf-gcj.sh     2007-07-22 19:31:03.000000000 -0400
    111111@@ -156,7 +156,7 @@
    112112     # If the export-symbols file already is a .def file (1st line
     
    120120diff -Naur gcc-4.2.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.2.1/libjava/classpath/m4/ax_create_stdint_h.m4
    121121--- gcc-4.2.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4   2006-01-17 13:09:40.000000000 -0500
    122 +++ gcc-4.2.1/libjava/classpath/m4/ax_create_stdint_h.m4        2007-07-22 16:57:23.000000000 -0400
     122+++ gcc-4.2.1/libjava/classpath/m4/ax_create_stdint_h.m4        2007-07-22 19:31:03.000000000 -0400
    123123@@ -217,7 +217,7 @@
    124124 fi # shortcircut to system "stdint.h"
     
    132132diff -Naur gcc-4.2.1.orig/libjava/configure gcc-4.2.1/libjava/configure
    133133--- gcc-4.2.1.orig/libjava/configure    2007-07-19 10:33:56.000000000 -0400
    134 +++ gcc-4.2.1/libjava/configure 2007-07-22 16:57:23.000000000 -0400
     134+++ gcc-4.2.1/libjava/configure 2007-07-22 19:31:03.000000000 -0400
    135135@@ -7025,8 +7025,8 @@
    136136 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
     
    146146diff -Naur gcc-4.2.1.orig/libjava/mingwld.m4 gcc-4.2.1/libjava/mingwld.m4
    147147--- gcc-4.2.1.orig/libjava/mingwld.m4   2005-08-22 18:36:35.000000000 -0400
    148 +++ gcc-4.2.1/libjava/mingwld.m4        2007-07-22 16:57:23.000000000 -0400
     148+++ gcc-4.2.1/libjava/mingwld.m4        2007-07-22 19:31:03.000000000 -0400
    149149@@ -3,8 +3,8 @@
    150150 AC_MSG_CHECKING(whether 'ld' is at least 2.13)
     
    160160diff -Naur gcc-4.2.1.orig/libstdc++-v3/acinclude.m4 gcc-4.2.1/libstdc++-v3/acinclude.m4
    161161--- gcc-4.2.1.orig/libstdc++-v3/acinclude.m4    2007-06-28 19:02:05.000000000 -0400
    162 +++ gcc-4.2.1/libstdc++-v3/acinclude.m4 2007-07-22 16:57:23.000000000 -0400
     162+++ gcc-4.2.1/libstdc++-v3/acinclude.m4 2007-07-22 19:31:03.000000000 -0400
    163163@@ -234,7 +234,7 @@
    164164   if test x"$with_gnu_ld" = x"yes"; then
     
    172172diff -Naur gcc-4.2.1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure
    173173--- gcc-4.2.1.orig/libstdc++-v3/configure       2007-06-28 19:02:05.000000000 -0400
    174 +++ gcc-4.2.1/libstdc++-v3/configure    2007-07-22 16:57:23.000000000 -0400
     174+++ gcc-4.2.1/libstdc++-v3/configure    2007-07-22 19:31:03.000000000 -0400
    175175@@ -8541,7 +8541,7 @@
    176176     echo "$as_me:$LINENO: checking for ld version" >&5
     
    272272 
    273273     glibcxx_gnu_ld_version=`echo $ldver | \
    274 diff -Naur gcc-4.2.1.orig/libstdc++-v3/configure.orig gcc-4.2.1/libstdc++-v3/configure.orig
    275 --- gcc-4.2.1.orig/libstdc++-v3/configure.orig  1969-12-31 19:00:00.000000000 -0500
    276 +++ gcc-4.2.1/libstdc++-v3/configure.orig       2007-06-28 19:02:05.000000000 -0400
    277 @@ -0,0 +1,111817 @@
    278 +#! /bin/sh
    279 +# Guess values for system-dependent variables and create Makefiles.
    280 +# Generated by GNU Autoconf 2.59 for package-unused version-unused.
    281 +#
    282 +# Copyright (C) 2003 Free Software Foundation, Inc.
    283 +# This configure script is free software; the Free Software Foundation
    284 +# gives unlimited permission to copy, distribute and modify it.
    285 +## --------------------- ##
    286 +## M4sh Initialization.  ##
    287 +## --------------------- ##
    288 +
    289 +# Be Bourne compatible
    290 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    291 +  emulate sh
    292 +  NULLCMD=:
    293 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    294 +  # is contrary to our usage.  Disable this feature.
    295 +  alias -g '${1+"$@"}'='"$@"'
    296 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    297 +  set -o posix
    298 +fi
    299 +DUALCASE=1; export DUALCASE # for MKS sh
    300 +
    301 +# Support unset when possible.
    302 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    303 +  as_unset=unset
    304 +else
    305 +  as_unset=false
    306 +fi
    307 +
    308 +
    309 +# Work around bugs in pre-3.0 UWIN ksh.
    310 +$as_unset ENV MAIL MAILPATH
    311 +PS1='$ '
    312 +PS2='> '
    313 +PS4='+ '
    314 +
    315 +# NLS nuisances.
    316 +for as_var in \
    317 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    318 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    319 +  LC_TELEPHONE LC_TIME
    320 +do
    321 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    322 +    eval $as_var=C; export $as_var
    323 +  else
    324 +    $as_unset $as_var
    325 +  fi
    326 +done
    327 +
    328 +# Required to use basename.
    329 +if expr a : '\(a\)' >/dev/null 2>&1; then
    330 +  as_expr=expr
    331 +else
    332 +  as_expr=false
    333 +fi
    334 +
    335 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    336 +  as_basename=basename
    337 +else
    338 +  as_basename=false
    339 +fi
    340 +
    341 +
    342 +# Name of the executable.
    343 +as_me=`$as_basename "$0" ||
    344 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    345 +        X"$0" : 'X\(//\)$' \| \
    346 +        X"$0" : 'X\(/\)$' \| \
    347 +        .     : '\(.\)' 2>/dev/null ||
    348 +echo X/"$0" |
    349 +    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    350 +         /^X\/\(\/\/\)$/{ s//\1/; q; }
    351 +         /^X\/\(\/\).*/{ s//\1/; q; }
    352 +         s/.*/./; q'`
    353 +
    354 +
    355 +# PATH needs CR, and LINENO needs CR and PATH.
    356 +# Avoid depending upon Character Ranges.
    357 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    358 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    359 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    360 +as_cr_digits='0123456789'
    361 +as_cr_alnum=$as_cr_Letters$as_cr_digits
    362 +
    363 +# The user is always right.
    364 +if test "${PATH_SEPARATOR+set}" != set; then
    365 +  echo "#! /bin/sh" >conf$$.sh
    366 +  echo  "exit 0"   >>conf$$.sh
    367 +  chmod +x conf$$.sh
    368 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    369 +    PATH_SEPARATOR=';'
    370 +  else
    371 +    PATH_SEPARATOR=:
    372 +  fi
    373 +  rm -f conf$$.sh
    374 +fi
    375 +
    376 +
    377 +  as_lineno_1=$LINENO
    378 +  as_lineno_2=$LINENO
    379 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    380 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
    381 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    382 +  # Find who we are.  Look in the path if we contain no path at all
    383 +  # relative or not.
    384 +  case $0 in
    385 +    *[\\/]* ) as_myself=$0 ;;
    386 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    387 +for as_dir in $PATH
    388 +do
    389 +  IFS=$as_save_IFS
    390 +  test -z "$as_dir" && as_dir=.
    391 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    392 +done
    393 +
    394 +       ;;
    395 +  esac
    396 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
    397 +  # in which case we are not to be found in the path.
    398 +  if test "x$as_myself" = x; then
    399 +    as_myself=$0
    400 +  fi
    401 +  if test ! -f "$as_myself"; then
    402 +    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    403 +   { (exit 1); exit 1; }; }
    404 +  fi
    405 +  case $CONFIG_SHELL in
    406 +  '')
    407 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    408 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    409 +do
    410 +  IFS=$as_save_IFS
    411 +  test -z "$as_dir" && as_dir=.
    412 +  for as_base in sh bash ksh sh5; do
    413 +        case $as_dir in
    414 +        /*)
    415 +          if ("$as_dir/$as_base" -c '
    416 +  as_lineno_1=$LINENO
    417 +  as_lineno_2=$LINENO
    418 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    419 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
    420 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    421 +            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    422 +            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    423 +            CONFIG_SHELL=$as_dir/$as_base
    424 +            export CONFIG_SHELL
    425 +            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    426 +          fi;;
    427 +        esac
    428 +       done
    429 +done
    430 +;;
    431 +  esac
    432 +
    433 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    434 +  # uniformly replaced by the line number.  The first 'sed' inserts a
    435 +  # line-number line before each line; the second 'sed' does the real
    436 +  # work.  The second script uses 'N' to pair each line-number line
    437 +  # with the numbered line, and appends trailing '-' during
    438 +  # substitution so that $LINENO is not a special case at line end.
    439 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    440 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    441 +  sed '=' <$as_myself |
    442 +    sed '
    443 +      N
    444 +      s,$,-,
    445 +      : loop
    446 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    447 +      t loop
    448 +      s,-$,,
    449 +      s,^['$as_cr_digits']*\n,,
    450 +    ' >$as_me.lineno &&
    451 +  chmod +x $as_me.lineno ||
    452 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    453 +   { (exit 1); exit 1; }; }
    454 +
    455 +  # Don't try to exec as it changes $[0], causing all sort of problems
    456 +  # (the dirname of $[0] is not the place where we might find the
    457 +  # original and so on.  Autoconf is especially sensible to this).
    458 +  . ./$as_me.lineno
    459 +  # Exit status is that of the last command.
    460 +  exit
    461 +}
    462 +
    463 +
    464 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    465 +  *c*,-n*) ECHO_N= ECHO_C='
    466 +' ECHO_T='     ' ;;
    467 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    468 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    469 +esac
    470 +
    471 +if expr a : '\(a\)' >/dev/null 2>&1; then
    472 +  as_expr=expr
    473 +else
    474 +  as_expr=false
    475 +fi
    476 +
    477 +rm -f conf$$ conf$$.exe conf$$.file
    478 +echo >conf$$.file
    479 +if ln -s conf$$.file conf$$ 2>/dev/null; then
    480 +  # We could just check for DJGPP; but this test a) works b) is more generic
    481 +  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    482 +  if test -f conf$$.exe; then
    483 +    # Don't use ln at all; we don't have any links
    484 +    as_ln_s='cp -p'
    485 +  else
    486 +    as_ln_s='ln -s'
    487 +  fi
    488 +elif ln conf$$.file conf$$ 2>/dev/null; then
    489 +  as_ln_s=ln
    490 +else
    491 +  as_ln_s='cp -p'
    492 +fi
    493 +rm -f conf$$ conf$$.exe conf$$.file
    494 +
    495 +if mkdir -p . 2>/dev/null; then
    496 +  as_mkdir_p=:
    497 +else
    498 +  test -d ./-p && rmdir ./-p
    499 +  as_mkdir_p=false
    500 +fi
    501 +
    502 +as_executable_p="test -f"
    503 +
    504 +# Sed expression to map a string onto a valid CPP name.
    505 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    506 +
    507 +# Sed expression to map a string onto a valid variable name.
    508 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    509 +
    510 +
    511 +# IFS
    512 +# We need space, tab and new line, in precisely that order.
    513 +as_nl='
    514 +'
    515 +IFS="  $as_nl"
    516 +
    517 +# CDPATH.
    518 +$as_unset CDPATH
    519 +
    520 +
    521 +# Name of the host.
    522 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    523 +# so uname gets run too.
    524 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    525 +
    526 +exec 6>&1
    527 +
    528 +#
    529 +# Initializations.
    530 +#
    531 +ac_default_prefix=/usr/local
    532 +ac_config_libobj_dir=.
    533 +cross_compiling=no
    534 +subdirs=
    535 +MFLAGS=
    536 +MAKEFLAGS=
    537 +SHELL=${CONFIG_SHELL-/bin/sh}
    538 +
    539 +# Maximum number of lines to put in a shell here document.
    540 +# This variable seems obsolete.  It should probably be removed, and
    541 +# only ac_max_sed_lines should be used.
    542 +: ${ac_max_here_lines=38}
    543 +
    544 +# Identity of this package.
    545 +PACKAGE_NAME='package-unused'
    546 +PACKAGE_TARNAME='libstdc++'
    547 +PACKAGE_VERSION='version-unused'
    548 +PACKAGE_STRING='package-unused version-unused'
    549 +PACKAGE_BUGREPORT=''
    550 +
    551 +ac_unique_file="src/ios.cc"
    552 +# Factoring default headers for most tests.
    553 +ac_includes_default="\
    554 +#include <stdio.h>
    555 +#if HAVE_SYS_TYPES_H
    556 +# include <sys/types.h>
    557 +#endif
    558 +#if HAVE_SYS_STAT_H
    559 +# include <sys/stat.h>
    560 +#endif
    561 +#if STDC_HEADERS
    562 +# include <stdlib.h>
    563 +# include <stddef.h>
    564 +#else
    565 +# if HAVE_STDLIB_H
    566 +#  include <stdlib.h>
    567 +# endif
    568 +#endif
    569 +#if HAVE_STRING_H
    570 +# if !STDC_HEADERS && HAVE_MEMORY_H
    571 +#  include <memory.h>
    572 +# endif
    573 +# include <string.h>
    574 +#endif
    575 +#if HAVE_STRINGS_H
    576 +# include <strings.h>
    577 +#endif
    578 +#if HAVE_INTTYPES_H
    579 +# include <inttypes.h>
    580 +#else
    581 +# if HAVE_STDINT_H
    582 +#  include <stdint.h>
    583 +# endif
    584 +#endif
    585 +#if HAVE_UNISTD_H
    586 +# include <unistd.h>
    587 +#endif"
    588 +
    589 +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 CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC 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_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV 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 CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
    590 +ac_subst_files=''
    591 +
    592 +# Initialize some variables set by options.
    593 +ac_init_help=
    594 +ac_init_version=false
    595 +# The variables have the same names as the options, with
    596 +# dashes changed to underlines.
    597 +cache_file=/dev/null
    598 +exec_prefix=NONE
    599 +no_create=
    600 +no_recursion=
    601 +prefix=NONE
    602 +program_prefix=NONE
    603 +program_suffix=NONE
    604 +program_transform_name=s,x,x,
    605 +silent=
    606 +site=
    607 +srcdir=
    608 +verbose=
    609 +x_includes=NONE
    610 +x_libraries=NONE
    611 +
    612 +# Installation directory options.
    613 +# These are left unexpanded so users can "make install exec_prefix=/foo"
    614 +# and all the variables that are supposed to be based on exec_prefix
    615 +# by default will actually change.
    616 +# Use braces instead of parens because sh, perl, etc. also accept them.
    617 +bindir='${exec_prefix}/bin'
    618 +sbindir='${exec_prefix}/sbin'
    619 +libexecdir='${exec_prefix}/libexec'
    620 +datadir='${prefix}/share'
    621 +sysconfdir='${prefix}/etc'
    622 +sharedstatedir='${prefix}/com'
    623 +localstatedir='${prefix}/var'
    624 +libdir='${exec_prefix}/lib'
    625 +includedir='${prefix}/include'
    626 +oldincludedir='/usr/include'
    627 +infodir='${prefix}/info'
    628 +mandir='${prefix}/man'
    629 +
    630 +ac_prev=
    631 +for ac_option
    632 +do
    633 +  # If the previous option needs an argument, assign it.
    634 +  if test -n "$ac_prev"; then
    635 +    eval "$ac_prev=\$ac_option"
    636 +    ac_prev=
    637 +    continue
    638 +  fi
    639 +
    640 +  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    641 +
    642 +  # Accept the important Cygnus configure options, so we can diagnose typos.
    643 +
    644 +  case $ac_option in
    645 +
    646 +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    647 +    ac_prev=bindir ;;
    648 +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    649 +    bindir=$ac_optarg ;;
    650 +
    651 +  -build | --build | --buil | --bui | --bu)
    652 +    ac_prev=build_alias ;;
    653 +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    654 +    build_alias=$ac_optarg ;;
    655 +
    656 +  -cache-file | --cache-file | --cache-fil | --cache-fi \
    657 +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    658 +    ac_prev=cache_file ;;
    659 +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    660 +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    661 +    cache_file=$ac_optarg ;;
    662 +
    663 +  --config-cache | -C)
    664 +    cache_file=config.cache ;;
    665 +
    666 +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    667 +    ac_prev=datadir ;;
    668 +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    669 +  | --da=*)
    670 +    datadir=$ac_optarg ;;
    671 +
    672 +  -disable-* | --disable-*)
    673 +    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    674 +    # Reject names that are not valid shell variable names.
    675 +    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    676 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    677 +   { (exit 1); exit 1; }; }
    678 +    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    679 +    eval "enable_$ac_feature=no" ;;
    680 +
    681 +  -enable-* | --enable-*)
    682 +    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    683 +    # Reject names that are not valid shell variable names.
    684 +    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    685 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    686 +   { (exit 1); exit 1; }; }
    687 +    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    688 +    case $ac_option in
    689 +      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    690 +      *) ac_optarg=yes ;;
    691 +    esac
    692 +    eval "enable_$ac_feature='$ac_optarg'" ;;
    693 +
    694 +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    695 +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    696 +  | --exec | --exe | --ex)
    697 +    ac_prev=exec_prefix ;;
    698 +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    699 +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    700 +  | --exec=* | --exe=* | --ex=*)
    701 +    exec_prefix=$ac_optarg ;;
    702 +
    703 +  -gas | --gas | --ga | --g)
    704 +    # Obsolete; use --with-gas.
    705 +    with_gas=yes ;;
    706 +
    707 +  -help | --help | --hel | --he | -h)
    708 +    ac_init_help=long ;;
    709 +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    710 +    ac_init_help=recursive ;;
    711 +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    712 +    ac_init_help=short ;;
    713 +
    714 +  -host | --host | --hos | --ho)
    715 +    ac_prev=host_alias ;;
    716 +  -host=* | --host=* | --hos=* | --ho=*)
    717 +    host_alias=$ac_optarg ;;
    718 +
    719 +  -includedir | --includedir | --includedi | --included | --include \
    720 +  | --includ | --inclu | --incl | --inc)
    721 +    ac_prev=includedir ;;
    722 +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    723 +  | --includ=* | --inclu=* | --incl=* | --inc=*)
    724 +    includedir=$ac_optarg ;;
    725 +
    726 +  -infodir | --infodir | --infodi | --infod | --info | --inf)
    727 +    ac_prev=infodir ;;
    728 +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    729 +    infodir=$ac_optarg ;;
    730 +
    731 +  -libdir | --libdir | --libdi | --libd)
    732 +    ac_prev=libdir ;;
    733 +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    734 +    libdir=$ac_optarg ;;
    735 +
    736 +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    737 +  | --libexe | --libex | --libe)
    738 +    ac_prev=libexecdir ;;
    739 +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    740 +  | --libexe=* | --libex=* | --libe=*)
    741 +    libexecdir=$ac_optarg ;;
    742 +
    743 +  -localstatedir | --localstatedir | --localstatedi | --localstated \
    744 +  | --localstate | --localstat | --localsta | --localst \
    745 +  | --locals | --local | --loca | --loc | --lo)
    746 +    ac_prev=localstatedir ;;
    747 +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    748 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    749 +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    750 +    localstatedir=$ac_optarg ;;
    751 +
    752 +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    753 +    ac_prev=mandir ;;
    754 +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    755 +    mandir=$ac_optarg ;;
    756 +
    757 +  -nfp | --nfp | --nf)
    758 +    # Obsolete; use --without-fp.
    759 +    with_fp=no ;;
    760 +
    761 +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    762 +  | --no-cr | --no-c | -n)
    763 +    no_create=yes ;;
    764 +
    765 +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    766 +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    767 +    no_recursion=yes ;;
    768 +
    769 +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    770 +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    771 +  | --oldin | --oldi | --old | --ol | --o)
    772 +    ac_prev=oldincludedir ;;
    773 +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    774 +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    775 +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    776 +    oldincludedir=$ac_optarg ;;
    777 +
    778 +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    779 +    ac_prev=prefix ;;
    780 +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    781 +    prefix=$ac_optarg ;;
    782 +
    783 +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
    784 +  | --program-pre | --program-pr | --program-p)
    785 +    ac_prev=program_prefix ;;
    786 +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
    787 +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    788 +    program_prefix=$ac_optarg ;;
    789 +
    790 +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
    791 +  | --program-suf | --program-su | --program-s)
    792 +    ac_prev=program_suffix ;;
    793 +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
    794 +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    795 +    program_suffix=$ac_optarg ;;
    796 +
    797 +  -program-transform-name | --program-transform-name \
    798 +  | --program-transform-nam | --program-transform-na \
    799 +  | --program-transform-n | --program-transform- \
    800 +  | --program-transform | --program-transfor \
    801 +  | --program-transfo | --program-transf \
    802 +  | --program-trans | --program-tran \
    803 +  | --progr-tra | --program-tr | --program-t)
    804 +    ac_prev=program_transform_name ;;
    805 +  -program-transform-name=* | --program-transform-name=* \
    806 +  | --program-transform-nam=* | --program-transform-na=* \
    807 +  | --program-transform-n=* | --program-transform-=* \
    808 +  | --program-transform=* | --program-transfor=* \
    809 +  | --program-transfo=* | --program-transf=* \
    810 +  | --program-trans=* | --program-tran=* \
    811 +  | --progr-tra=* | --program-tr=* | --program-t=*)
    812 +    program_transform_name=$ac_optarg ;;
    813 +
    814 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    815 +  | -silent | --silent | --silen | --sile | --sil)
    816 +    silent=yes ;;
    817 +
    818 +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    819 +    ac_prev=sbindir ;;
    820 +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    821 +  | --sbi=* | --sb=*)
    822 +    sbindir=$ac_optarg ;;
    823 +
    824 +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
    825 +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    826 +  | --sharedst | --shareds | --shared | --share | --shar \
    827 +  | --sha | --sh)
    828 +    ac_prev=sharedstatedir ;;
    829 +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    830 +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    831 +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    832 +  | --sha=* | --sh=*)
    833 +    sharedstatedir=$ac_optarg ;;
    834 +
    835 +  -site | --site | --sit)
    836 +    ac_prev=site ;;
    837 +  -site=* | --site=* | --sit=*)
    838 +    site=$ac_optarg ;;
    839 +
    840 +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    841 +    ac_prev=srcdir ;;
    842 +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    843 +    srcdir=$ac_optarg ;;
    844 +
    845 +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    846 +  | --syscon | --sysco | --sysc | --sys | --sy)
    847 +    ac_prev=sysconfdir ;;
    848 +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    849 +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    850 +    sysconfdir=$ac_optarg ;;
    851 +
    852 +  -target | --target | --targe | --targ | --tar | --ta | --t)
    853 +    ac_prev=target_alias ;;
    854 +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    855 +    target_alias=$ac_optarg ;;
    856 +
    857 +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    858 +    verbose=yes ;;
    859 +
    860 +  -version | --version | --versio | --versi | --vers | -V)
    861 +    ac_init_version=: ;;
    862 +
    863 +  -with-* | --with-*)
    864 +    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    865 +    # Reject names that are not valid shell variable names.
    866 +    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    867 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
    868 +   { (exit 1); exit 1; }; }
    869 +    ac_package=`echo $ac_package| sed 's/-/_/g'`
    870 +    case $ac_option in
    871 +      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    872 +      *) ac_optarg=yes ;;
    873 +    esac
    874 +    eval "with_$ac_package='$ac_optarg'" ;;
    875 +
    876 +  -without-* | --without-*)
    877 +    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    878 +    # Reject names that are not valid shell variable names.
    879 +    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    880 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
    881 +   { (exit 1); exit 1; }; }
    882 +    ac_package=`echo $ac_package | sed 's/-/_/g'`
    883 +    eval "with_$ac_package=no" ;;
    884 +
    885 +  --x)
    886 +    # Obsolete; use --with-x.
    887 +    with_x=yes ;;
    888 +
    889 +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    890 +  | --x-incl | --x-inc | --x-in | --x-i)
    891 +    ac_prev=x_includes ;;
    892 +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    893 +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    894 +    x_includes=$ac_optarg ;;
    895 +
    896 +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
    897 +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    898 +    ac_prev=x_libraries ;;
    899 +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    900 +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    901 +    x_libraries=$ac_optarg ;;
    902 +
    903 +  -*) { echo "$as_me: error: unrecognized option: $ac_option
    904 +Try \`$0 --help' for more information." >&2
    905 +   { (exit 1); exit 1; }; }
    906 +    ;;
    907 +
    908 +  *=*)
    909 +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    910 +    # Reject names that are not valid shell variable names.
    911 +    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    912 +      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    913 +   { (exit 1); exit 1; }; }
    914 +    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    915 +    eval "$ac_envvar='$ac_optarg'"
    916 +    export $ac_envvar ;;
    917 +
    918 +  *)
    919 +    # FIXME: should be removed in autoconf 3.0.
    920 +    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    921 +    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    922 +      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    923 +    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    924 +    ;;
    925 +
    926 +  esac
    927 +done
    928 +
    929 +if test -n "$ac_prev"; then
    930 +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    931 +  { echo "$as_me: error: missing argument to $ac_option" >&2
    932 +   { (exit 1); exit 1; }; }
    933 +fi
    934 +
    935 +# Be sure to have absolute paths.
    936 +for ac_var in exec_prefix prefix
    937 +do
    938 +  eval ac_val=$`echo $ac_var`
    939 +  case $ac_val in
    940 +    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    941 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    942 +   { (exit 1); exit 1; }; };;
    943 +  esac
    944 +done
    945 +
    946 +# Be sure to have absolute paths.
    947 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    948 +             localstatedir libdir includedir oldincludedir infodir mandir
    949 +do
    950 +  eval ac_val=$`echo $ac_var`
    951 +  case $ac_val in
    952 +    [\\/$]* | ?:[\\/]* ) ;;
    953 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    954 +   { (exit 1); exit 1; }; };;
    955 +  esac
    956 +done
    957 +
    958 +# There might be people who depend on the old broken behavior: `$host'
    959 +# used to hold the argument of --host etc.
    960 +# FIXME: To remove some day.
    961 +build=$build_alias
    962 +host=$host_alias
    963 +target=$target_alias
    964 +
    965 +# FIXME: To remove some day.
    966 +if test "x$host_alias" != x; then
    967 +  if test "x$build_alias" = x; then
    968 +    cross_compiling=maybe
    969 +    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    970 +    If a cross compiler is detected then cross compile mode will be used." >&2
    971 +  elif test "x$build_alias" != "x$host_alias"; then
    972 +    cross_compiling=yes
    973 +  fi
    974 +fi
    975 +
    976 +ac_tool_prefix=
    977 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
    978 +
    979 +test "$silent" = yes && exec 6>/dev/null
    980 +
    981 +
    982 +# Find the source files, if location was not specified.
    983 +if test -z "$srcdir"; then
    984 +  ac_srcdir_defaulted=yes
    985 +  # Try the directory containing this script, then its parent.
    986 +  ac_confdir=`(dirname "$0") 2>/dev/null ||
    987 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    988 +        X"$0" : 'X\(//\)[^/]' \| \
    989 +        X"$0" : 'X\(//\)$' \| \
    990 +        X"$0" : 'X\(/\)' \| \
    991 +        .     : '\(.\)' 2>/dev/null ||
    992 +echo X"$0" |
    993 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    994 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    995 +         /^X\(\/\/\)$/{ s//\1/; q; }
    996 +         /^X\(\/\).*/{ s//\1/; q; }
    997 +         s/.*/./; q'`
    998 +  srcdir=$ac_confdir
    999 +  if test ! -r $srcdir/$ac_unique_file; then
    1000 +    srcdir=..
    1001 +  fi
    1002 +else
    1003 +  ac_srcdir_defaulted=no
    1004 +fi
    1005 +if test ! -r $srcdir/$ac_unique_file; then
    1006 +  if test "$ac_srcdir_defaulted" = yes; then
    1007 +    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    1008 +   { (exit 1); exit 1; }; }
    1009 +  else
    1010 +    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1011 +   { (exit 1); exit 1; }; }
    1012 +  fi
    1013 +fi
    1014 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    1015 +  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    1016 +   { (exit 1); exit 1; }; }
    1017 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    1018 +ac_env_build_alias_set=${build_alias+set}
    1019 +ac_env_build_alias_value=$build_alias
    1020 +ac_cv_env_build_alias_set=${build_alias+set}
    1021 +ac_cv_env_build_alias_value=$build_alias
    1022 +ac_env_host_alias_set=${host_alias+set}
    1023 +ac_env_host_alias_value=$host_alias
    1024 +ac_cv_env_host_alias_set=${host_alias+set}
    1025 +ac_cv_env_host_alias_value=$host_alias
    1026 +ac_env_target_alias_set=${target_alias+set}
    1027 +ac_env_target_alias_value=$target_alias
    1028 +ac_cv_env_target_alias_set=${target_alias+set}
    1029 +ac_cv_env_target_alias_value=$target_alias
    1030 +ac_env_CPP_set=${CPP+set}
    1031 +ac_env_CPP_value=$CPP
    1032 +ac_cv_env_CPP_set=${CPP+set}
    1033 +ac_cv_env_CPP_value=$CPP
    1034 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    1035 +ac_env_CPPFLAGS_value=$CPPFLAGS
    1036 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    1037 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    1038 +ac_env_CXXCPP_set=${CXXCPP+set}
    1039 +ac_env_CXXCPP_value=$CXXCPP
    1040 +ac_cv_env_CXXCPP_set=${CXXCPP+set}
    1041 +ac_cv_env_CXXCPP_value=$CXXCPP
    1042 +
    1043 +#
    1044 +# Report the --help message.
    1045 +#
    1046 +if test "$ac_init_help" = "long"; then
    1047 +  # Omit some internal or obsolete options to make the list less imposing.
    1048 +  # This message is too long to be a string in the A/UX 3.1 sh.
    1049 +  cat <<_ACEOF
    1050 +\`configure' configures package-unused version-unused to adapt to many kinds of systems.
    1051 +
    1052 +Usage: $0 [OPTION]... [VAR=VALUE]...
    1053 +
    1054 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
    1055 +VAR=VALUE.  See below for descriptions of some of the useful variables.
    1056 +
    1057 +Defaults for the options are specified in brackets.
    1058 +
    1059 +Configuration:
    1060 +  -h, --help              display this help and exit
    1061 +      --help=short        display options specific to this package
    1062 +      --help=recursive    display the short help of all the included packages
    1063 +  -V, --version           display version information and exit
    1064 +  -q, --quiet, --silent   do not print \`checking...' messages
    1065 +      --cache-file=FILE   cache test results in FILE [disabled]
    1066 +  -C, --config-cache      alias for \`--cache-file=config.cache'
    1067 +  -n, --no-create         do not create output files
    1068 +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    1069 +
    1070 +_ACEOF
    1071 +
    1072 +  cat <<_ACEOF
    1073 +Installation directories:
    1074 +  --prefix=PREFIX         install architecture-independent files in PREFIX
    1075 +                         [$ac_default_prefix]
    1076 +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1077 +                         [PREFIX]
    1078 +
    1079 +By default, \`make install' will install all the files in
    1080 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    1081 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    1082 +for instance \`--prefix=\$HOME'.
    1083 +
    1084 +For better control, use the options below.
    1085 +
    1086 +Fine tuning of the installation directories:
    1087 +  --bindir=DIR           user executables [EPREFIX/bin]
    1088 +  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1089 +  --libexecdir=DIR       program executables [EPREFIX/libexec]
    1090 +  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    1091 +  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1092 +  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    1093 +  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    1094 +  --libdir=DIR           object code libraries [EPREFIX/lib]
    1095 +  --includedir=DIR       C header files [PREFIX/include]
    1096 +  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1097 +  --infodir=DIR          info documentation [PREFIX/info]
    1098 +  --mandir=DIR           man documentation [PREFIX/man]
    1099 +_ACEOF
    1100 +
    1101 +  cat <<\_ACEOF
    1102 +
    1103 +Program names:
    1104 +  --program-prefix=PREFIX            prepend PREFIX to installed program names
    1105 +  --program-suffix=SUFFIX            append SUFFIX to installed program names
    1106 +  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    1107 +
    1108 +System types:
    1109 +  --build=BUILD     configure for building on BUILD [guessed]
    1110 +  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    1111 +  --target=TARGET   configure for building compilers for TARGET [HOST]
    1112 +_ACEOF
    1113 +fi
    1114 +
    1115 +if test -n "$ac_init_help"; then
    1116 +  case $ac_init_help in
    1117 +     short | recursive ) echo "Configuration of package-unused version-unused:";;
    1118 +   esac
    1119 +  cat <<\_ACEOF
    1120 +
    1121 +Optional Features:
    1122 +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    1123 +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    1124 +  --enable-multilib       build many library versions (default)
    1125 +  --enable-maintainer-mode  enable make rules and dependencies not useful
    1126 +                         (and sometimes confusing) to the casual installer
    1127 +  --enable-shared=PKGS  build shared libraries default=yes
    1128 +  --enable-static=PKGS  build static libraries default=yes
    1129 +  --enable-fast-install=PKGS  optimize for fast installation default=yes
    1130 +  --disable-libtool-lock  avoid locking (might break parallel builds)
    1131 +  --disable-hosted-libstdcxx
    1132 +                          only build freestanding C++ runtime support
    1133 +  --enable-sjlj-exceptions
    1134 +                          force use of builtin_setjmp for exceptions
    1135 +                          [default=auto]
    1136 +  --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
    1137 +                          [default=$is_hosted]
    1138 +  --enable-cstdio=PACKAGE use target-specific I/O package
    1139 +                          [default=stdio]
    1140 +  --enable-clocale[=MODEL]
    1141 +                          use MODEL for target locale package
    1142 +                          [default=auto]
    1143 +  --enable-nls            use Native Language Support (default)
    1144 +  --enable-libstdcxx-allocator=KIND
    1145 +                          use KIND for target std::allocator base
    1146 +                          [default=auto]
    1147 +  --enable-cheaders=KIND  construct "C" headers for g++
    1148 +                          [default=$c_model]
    1149 +  --enable-long-long      enable template specializations for 'long long'
    1150 +                          [default=yes]
    1151 +  --enable-wchar_t        enable template specializations for 'wchar_t'
    1152 +                          [default=yes]
    1153 +  --enable-c99            turns on ISO/IEC 9899:1999 support
    1154 +                          [default=yes]
    1155 +  --enable-concept-checks use Boost-derived template checks [default=no]
    1156 +  --enable-libstdcxx-debug-flags=FLAGS
    1157 +                          pass compiler FLAGS when building debug library
    1158 +                          [default="-g3 -O0"]
    1159 +  --enable-libstdcxx-debug
    1160 +                          build extra debug library [default=no]
    1161 +  --enable-cxx-flags=FLAGS
    1162 +                          pass compiler FLAGS when building library
    1163 +                          [default=]
    1164 +  --enable-fully-dynamic-string
    1165 +                          do not put empty strings in per-process static
    1166 +                          memory [default=no]
    1167 +  --enable-tls            Use thread-local storage [default=yes]
    1168 +  --enable-symvers=STYLE  enables symbol versioning of the shared library
    1169 +                          [default=yes]
    1170 +  --enable-visibility     enables visibility safe usage [default=yes]
    1171 +  --enable-version-specific-runtime-libs
    1172 +                          Specify that runtime libraries should be installed
    1173 +                          in a compiler-specific directory
    1174 +
    1175 +Optional Packages:
    1176 +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    1177 +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1178 +  --with-target-subdir=SUBDIR
    1179 +                          configuring in a subdirectory
    1180 +  --with-cross-host=HOST  configuring with a cross compiler
    1181 +  --with-newlib           assume newlib as a system C library
    1182 +  --with-gnu-ld           assume the C compiler uses GNU ld default=no
    1183 +  --with-pic              try to use only PIC/non-PIC objects default=use both
    1184 +  --with-gxx-include-dir=DIR
    1185 +                          installation directory for include files
    1186 +
    1187 +Some influential environment variables:
    1188 +  CC          C compiler command
    1189 +  CFLAGS      C compiler flags
    1190 +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1191 +              nonstandard directory <lib dir>
    1192 +  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    1193 +              headers in a nonstandard directory <include dir>
    1194 +  CXX         C++ compiler command
    1195 +  CXXFLAGS    C++ compiler flags
    1196 +  CPP         C preprocessor
    1197 +  CXXCPP      C++ preprocessor
    1198 +
    1199 +Use these variables to override the choices made by `configure' or to help
    1200 +it to find libraries and programs with nonstandard names/locations.
    1201 +
    1202 +_ACEOF
    1203 +fi
    1204 +
    1205 +if test "$ac_init_help" = "recursive"; then
    1206 +  # If there are subdirs, report their specific --help.
    1207 +  ac_popdir=`pwd`
    1208 +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1209 +    test -d $ac_dir || continue
    1210 +    ac_builddir=.
    1211 +
    1212 +if test "$ac_dir" != .; then
    1213 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    1214 +  # A "../" for each directory in $ac_dir_suffix.
    1215 +  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    1216 +else
    1217 +  ac_dir_suffix= ac_top_builddir=
    1218 +fi
    1219 +
    1220 +case $srcdir in
    1221 +  .)  # No --srcdir option.  We are building in place.
    1222 +    ac_srcdir=.
    1223 +    if test -z "$ac_top_builddir"; then
    1224 +       ac_top_srcdir=.
    1225 +    else
    1226 +       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    1227 +    fi ;;
    1228 +  [\\/]* | ?:[\\/]* )  # Absolute path.
    1229 +    ac_srcdir=$srcdir$ac_dir_suffix;
    1230 +    ac_top_srcdir=$srcdir ;;
    1231 +  *) # Relative path.
    1232 +    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    1233 +    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    1234 +esac
    1235 +
    1236 +# Do not use `cd foo && pwd` to compute absolute paths, because
    1237 +# the directories may not exist.
    1238 +case `pwd` in
    1239 +.) ac_abs_builddir="$ac_dir";;
    1240 +*)
    1241 +  case "$ac_dir" in
    1242 +  .) ac_abs_builddir=`pwd`;;
    1243 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    1244 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
    1245 +  esac;;
    1246 +esac
    1247 +case $ac_abs_builddir in
    1248 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
    1249 +*)
    1250 +  case ${ac_top_builddir}. in
    1251 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
    1252 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    1253 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    1254 +  esac;;
    1255 +esac
    1256 +case $ac_abs_builddir in
    1257 +.) ac_abs_srcdir=$ac_srcdir;;
    1258 +*)
    1259 +  case $ac_srcdir in
    1260 +  .) ac_abs_srcdir=$ac_abs_builddir;;
    1261 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    1262 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    1263 +  esac;;
    1264 +esac
    1265 +case $ac_abs_builddir in
    1266 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
    1267 +*)
    1268 +  case $ac_top_srcdir in
    1269 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
    1270 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    1271 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    1272 +  esac;;
    1273 +esac
    1274 +
    1275 +    cd $ac_dir
    1276 +    # Check for guested configure; otherwise get Cygnus style configure.
    1277 +    if test -f $ac_srcdir/configure.gnu; then
    1278 +      echo
    1279 +      $SHELL $ac_srcdir/configure.gnu  --help=recursive
    1280 +    elif test -f $ac_srcdir/configure; then
    1281 +      echo
    1282 +      $SHELL $ac_srcdir/configure  --help=recursive
    1283 +    elif test -f $ac_srcdir/configure.ac ||
    1284 +          test -f $ac_srcdir/configure.in; then
    1285 +      echo
    1286 +      $ac_configure --help
    1287 +    else
    1288 +      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1289 +    fi
    1290 +    cd $ac_popdir
    1291 +  done
    1292 +fi
    1293 +
    1294 +test -n "$ac_init_help" && exit 0
    1295 +if $ac_init_version; then
    1296 +  cat <<\_ACEOF
    1297 +package-unused configure version-unused
    1298 +generated by GNU Autoconf 2.59
    1299 +
    1300 +Copyright (C) 2003 Free Software Foundation, Inc.
    1301 +This configure script is free software; the Free Software Foundation
    1302 +gives unlimited permission to copy, distribute and modify it.
    1303 +_ACEOF
    1304 +  exit 0
    1305 +fi
    1306 +exec 5>config.log
    1307 +cat >&5 <<_ACEOF
    1308 +This file contains any messages produced by compilers while
    1309 +running configure, to aid debugging if configure makes a mistake.
    1310 +
    1311 +It was created by package-unused $as_me version-unused, which was
    1312 +generated by GNU Autoconf 2.59.  Invocation command line was
    1313 +
    1314 +  $ $0 $@
    1315 +
    1316 +_ACEOF
    1317 +{
    1318 +cat <<_ASUNAME
    1319 +## --------- ##
    1320 +## Platform. ##
    1321 +## --------- ##
    1322 +
    1323 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
    1324 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
    1325 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
    1326 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
    1327 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
    1328 +
    1329 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
    1330 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
    1331 +
    1332 +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
    1333 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    1334 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1335 +hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    1336 +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    1337 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
    1338 +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
    1339 +
    1340 +_ASUNAME
    1341 +
    1342 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1343 +for as_dir in $PATH
    1344 +do
    1345 +  IFS=$as_save_IFS
    1346 +  test -z "$as_dir" && as_dir=.
    1347 +  echo "PATH: $as_dir"
    1348 +done
    1349 +
    1350 +} >&5
    1351 +
    1352 +cat >&5 <<_ACEOF
    1353 +
    1354 +
    1355 +## ----------- ##
    1356 +## Core tests. ##
    1357 +## ----------- ##
    1358 +
    1359 +_ACEOF
    1360 +
    1361 +
    1362 +# Keep a trace of the command line.
    1363 +# Strip out --no-create and --no-recursion so they do not pile up.
    1364 +# Strip out --silent because we don't want to record it for future runs.
    1365 +# Also quote any args containing shell meta-characters.
    1366 +# Make two passes to allow for proper duplicate-argument suppression.
    1367 +ac_configure_args=
    1368 +ac_configure_args0=
    1369 +ac_configure_args1=
    1370 +ac_sep=
    1371 +ac_must_keep_next=false
    1372 +for ac_pass in 1 2
    1373 +do
    1374 +  for ac_arg
    1375 +  do
    1376 +    case $ac_arg in
    1377 +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
    1378 +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    1379 +    | -silent | --silent | --silen | --sile | --sil)
    1380 +      continue ;;
    1381 +    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1382 +      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    1383 +    esac
    1384 +    case $ac_pass in
    1385 +    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    1386 +    2)
    1387 +      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    1388 +      if test $ac_must_keep_next = true; then
    1389 +       ac_must_keep_next=false # Got value, back to normal.
    1390 +      else
    1391 +       case $ac_arg in
    1392 +         *=* | --config-cache | -C | -disable-* | --disable-* \
    1393 +         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
    1394 +         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
    1395 +         | -with-* | --with-* | -without-* | --without-* | --x)
    1396 +           case "$ac_configure_args0 " in
    1397 +             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
    1398 +           esac
    1399 +           ;;
    1400 +         -* ) ac_must_keep_next=true ;;
    1401 +       esac
    1402 +      fi
    1403 +      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1404 +      # Get rid of the leading space.
    1405 +      ac_sep=" "
    1406 +      ;;
    1407 +    esac
    1408 +  done
    1409 +done
    1410 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1411 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    1412 +
    1413 +# When interrupted or exit'd, cleanup temporary files, and complete
    1414 +# config.log.  We remove comments because anyway the quotes in there
    1415 +# would cause problems or look ugly.
    1416 +# WARNING: Be sure not to use single quotes in there, as some shells,
    1417 +# such as our DU 5.0 friend, will then `close' the trap.
    1418 +trap 'exit_status=$?
    1419 +  # Save into config.log some information that might help in debugging.
    1420 +  {
    1421 +    echo
    1422 +
    1423 +    cat <<\_ASBOX
    1424 +## ---------------- ##
    1425 +## Cache variables. ##
    1426 +## ---------------- ##
    1427 +_ASBOX
    1428 +    echo
    1429 +    # The following way of writing the cache mishandles newlines in values,
    1430 +{
    1431 +  (set) 2>&1 |
    1432 +    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1433 +    *ac_space=\ *)
    1434 +      sed -n \
    1435 +       "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1436 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    1437 +      ;;
    1438 +    *)
    1439 +      sed -n \
    1440 +       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1441 +      ;;
    1442 +    esac;
    1443 +}
    1444 +    echo
    1445 +
    1446 +    cat <<\_ASBOX
    1447 +## ----------------- ##
    1448 +## Output variables. ##
    1449 +## ----------------- ##
    1450 +_ASBOX
    1451 +    echo
    1452 +    for ac_var in $ac_subst_vars
    1453 +    do
    1454 +      eval ac_val=$`echo $ac_var`
    1455 +      echo "$ac_var='"'"'$ac_val'"'"'"
    1456 +    done | sort
    1457 +    echo
    1458 +
    1459 +    if test -n "$ac_subst_files"; then
    1460 +      cat <<\_ASBOX
    1461 +## ------------- ##
    1462 +## Output files. ##
    1463 +## ------------- ##
    1464 +_ASBOX
    1465 +      echo
    1466 +      for ac_var in $ac_subst_files
    1467 +      do
    1468 +       eval ac_val=$`echo $ac_var`
    1469 +       echo "$ac_var='"'"'$ac_val'"'"'"
    1470 +      done | sort
    1471 +      echo
    1472 +    fi
    1473 +
    1474 +    if test -s confdefs.h; then
    1475 +      cat <<\_ASBOX
    1476 +## ----------- ##
    1477 +## confdefs.h. ##
    1478 +## ----------- ##
    1479 +_ASBOX
    1480 +      echo
    1481 +      sed "/^$/d" confdefs.h | sort
    1482 +      echo
    1483 +    fi
    1484 +    test "$ac_signal" != 0 &&
    1485 +      echo "$as_me: caught signal $ac_signal"
    1486 +    echo "$as_me: exit $exit_status"
    1487 +  } >&5
    1488 +  rm -f core *.core &&
    1489 +  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    1490 +    exit $exit_status
    1491 +     ' 0
    1492 +for ac_signal in 1 2 13 15; do
    1493 +  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    1494 +done
    1495 +ac_signal=0
    1496 +
    1497 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1498 +rm -rf conftest* confdefs.h
    1499 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1500 +echo >confdefs.h
    1501 +
    1502 +# Predefined preprocessor variables.
    1503 +
    1504 +cat >>confdefs.h <<_ACEOF
    1505 +#define PACKAGE_NAME "$PACKAGE_NAME"
    1506 +_ACEOF
    1507 +
    1508 +
    1509 +cat >>confdefs.h <<_ACEOF
    1510 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    1511 +_ACEOF
    1512 +
    1513 +
    1514 +cat >>confdefs.h <<_ACEOF
    1515 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
    1516 +_ACEOF
    1517 +
    1518 +
    1519 +cat >>confdefs.h <<_ACEOF
    1520 +#define PACKAGE_STRING "$PACKAGE_STRING"
    1521 +_ACEOF
    1522 +
    1523 +
    1524 +cat >>confdefs.h <<_ACEOF
    1525 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    1526 +_ACEOF
    1527 +
    1528 +
    1529 +# Let the site file select an alternate cache file if it wants to.
    1530 +# Prefer explicitly selected file to automatically selected ones.
    1531 +if test -z "$CONFIG_SITE"; then
    1532 +  if test "x$prefix" != xNONE; then
    1533 +    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1534 +  else
    1535 +    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1536 +  fi
    1537 +fi
    1538 +for ac_site_file in $CONFIG_SITE; do
    1539 +  if test -r "$ac_site_file"; then
    1540 +    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1541 +echo "$as_me: loading site script $ac_site_file" >&6;}
    1542 +    sed 's/^/| /' "$ac_site_file" >&5
    1543 +    . "$ac_site_file"
    1544 +  fi
    1545 +done
    1546 +
    1547 +if test -r "$cache_file"; then
    1548 +  # Some versions of bash will fail to source /dev/null (special
    1549 +  # files actually), so we avoid doing that.
    1550 +  if test -f "$cache_file"; then
    1551 +    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1552 +echo "$as_me: loading cache $cache_file" >&6;}
    1553 +    case $cache_file in
    1554 +      [\\/]* | ?:[\\/]* ) . $cache_file;;
    1555 +      *)                      . ./$cache_file;;
    1556 +    esac
    1557 +  fi
    1558 +else
    1559 +  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1560 +echo "$as_me: creating cache $cache_file" >&6;}
    1561 +  >$cache_file
    1562 +fi
    1563 +
    1564 +# Check that the precious variables saved in the cache have kept the same
    1565 +# value.
    1566 +ac_cache_corrupted=false
    1567 +for ac_var in `(set) 2>&1 |
    1568 +              sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    1569 +  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    1570 +  eval ac_new_set=\$ac_env_${ac_var}_set
    1571 +  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1572 +  eval ac_new_val="\$ac_env_${ac_var}_value"
    1573 +  case $ac_old_set,$ac_new_set in
    1574 +    set,)
    1575 +      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1576 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    1577 +      ac_cache_corrupted=: ;;
    1578 +    ,set)
    1579 +      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1580 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    1581 +      ac_cache_corrupted=: ;;
    1582 +    ,);;
    1583 +    *)
    1584 +      if test "x$ac_old_val" != "x$ac_new_val"; then
    1585 +       { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1586 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1587 +       { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1588 +echo "$as_me:   former value:  $ac_old_val" >&2;}
    1589 +       { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1590 +echo "$as_me:   current value: $ac_new_val" >&2;}
    1591 +       ac_cache_corrupted=:
    1592 +      fi;;
    1593 +  esac
    1594 +  # Pass precious variables to config.status.
    1595 +  if test "$ac_new_set" = set; then
    1596 +    case $ac_new_val in
    1597 +    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1598 +      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    1599 +    *) ac_arg=$ac_var=$ac_new_val ;;
    1600 +    esac
    1601 +    case " $ac_configure_args " in
    1602 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1603 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    1604 +    esac
    1605 +  fi
    1606 +done
    1607 +if $ac_cache_corrupted; then
    1608 +  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1609 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1610 +  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1611 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1612 +   { (exit 1); exit 1; }; }
    1613 +fi
    1614 +
    1615 +ac_ext=c
    1616 +ac_cpp='$CPP $CPPFLAGS'
    1617 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1618 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1619 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1620 +
    1621 +
    1622 +
    1623 +
    1624 +
    1625 +
    1626 +
    1627 +
    1628 +
    1629 +
    1630 +
    1631 +
    1632 +
    1633 +
    1634 +
    1635 +
    1636 +
    1637 +
    1638 +
    1639 +
    1640 +
    1641 +
    1642 +
    1643 +
    1644 +
    1645 +
    1646 +
    1647 +
    1648 +          ac_config_headers="$ac_config_headers config.h"
    1649 +
    1650 +
    1651 +# This works around the fact that libtool configuration may change LD
    1652 +# for this particular configuration, but some shells, instead of
    1653 +# keeping the changes in LD private, export them just because LD is
    1654 +# exported.  Only used at the end of this file.
    1655 +### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
    1656 +
    1657 +# For libtool versioning info, format is CURRENT:REVISION:AGE
    1658 +libtool_VERSION=6:9:0
    1659 +
    1660 +
    1661 +# Find the rest of the source tree framework.
    1662 +# Default to --enable-multilib
    1663 +# Check whether --enable-multilib or --disable-multilib was given.
    1664 +if test "${enable_multilib+set}" = set; then
    1665 +  enableval="$enable_multilib"
    1666 +  case "$enableval" in
    1667 +  yes) multilib=yes ;;
    1668 +  no)  multilib=no ;;
    1669 +  *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
    1670 +echo "$as_me: error: bad value $enableval for multilib option" >&2;}
    1671 +   { (exit 1); exit 1; }; } ;;
    1672 + esac
    1673 +else
    1674 +  multilib=yes
    1675 +fi;
    1676 +
    1677 +# We may get other options which we leave undocumented:
    1678 +# --with-target-subdir, --with-multisrctop, --with-multisubdir
    1679 +# See config-ml.in if you want the gory details.
    1680 +
    1681 +if test "$srcdir" = "."; then
    1682 +  if test "$with_target_subdir" != "."; then
    1683 +    multi_basedir="$srcdir/$with_multisrctop../.."
    1684 +  else
    1685 +    multi_basedir="$srcdir/$with_multisrctop.."
    1686 +  fi
    1687 +else
    1688 +  multi_basedir="$srcdir/.."
    1689 +fi
    1690 +
    1691 +
    1692 +# Even if the default multilib is not a cross compilation,
    1693 +# it may be that some of the other multilibs are.
    1694 +if test $cross_compiling = no && test $multilib = yes \
    1695 +   && test "x${with_multisubdir}" != x ; then
    1696 +   cross_compiling=maybe
    1697 +fi
    1698 +
    1699 +          ac_config_commands="$ac_config_commands default-1"
    1700 +
    1701 +
    1702 +# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
    1703 +#
    1704 +# You will slowly go insane if you do not grok the following fact:  when
    1705 +# building v3 as part of the compiler, the top-level /target/ becomes the
    1706 +# library's /host/.  configure then causes --target to default to --host,
    1707 +# exactly like any other package using autoconf.  Therefore, 'target' and
    1708 +# 'host' will always be the same.  This makes sense both for native and
    1709 +# cross compilers, just think about it for a little while.  :-)
    1710 +#
    1711 +# Also, if v3 is being configured as part of a cross compiler, the top-level
    1712 +# configure script will pass the "real" host as $with_cross_host.
    1713 +#
    1714 +# Do not delete or change the following two lines.  For why, see
    1715 +# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
    1716 +ac_aux_dir=
    1717 +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    1718 +  if test -f $ac_dir/install-sh; then
    1719 +    ac_aux_dir=$ac_dir
    1720 +    ac_install_sh="$ac_aux_dir/install-sh -c"
    1721 +    break
    1722 +  elif test -f $ac_dir/install.sh; then
    1723 +    ac_aux_dir=$ac_dir
    1724 +    ac_install_sh="$ac_aux_dir/install.sh -c"
    1725 +    break
    1726 +  elif test -f $ac_dir/shtool; then
    1727 +    ac_aux_dir=$ac_dir
    1728 +    ac_install_sh="$ac_aux_dir/shtool install -c"
    1729 +    break
    1730 +  fi
    1731 +done
    1732 +if test -z "$ac_aux_dir"; then
    1733 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    1734 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    1735 +   { (exit 1); exit 1; }; }
    1736 +fi
    1737 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    1738 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    1739 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    1740 +
    1741 +# Make sure we can run config.sub.
    1742 +$ac_config_sub sun4 >/dev/null 2>&1 ||
    1743 +  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    1744 +echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    1745 +   { (exit 1); exit 1; }; }
    1746 +
    1747 +echo "$as_me:$LINENO: checking build system type" >&5
    1748 +echo $ECHO_N "checking build system type... $ECHO_C" >&6
    1749 +if test "${ac_cv_build+set}" = set; then
    1750 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    1751 +else
    1752 +  ac_cv_build_alias=$build_alias
    1753 +test -z "$ac_cv_build_alias" &&
    1754 +  ac_cv_build_alias=`$ac_config_guess`
    1755 +test -z "$ac_cv_build_alias" &&
    1756 +  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    1757 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    1758 +   { (exit 1); exit 1; }; }
    1759 +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    1760 +  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    1761 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
    1762 +   { (exit 1); exit 1; }; }
    1763 +
    1764 +fi
    1765 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    1766 +echo "${ECHO_T}$ac_cv_build" >&6
    1767 +build=$ac_cv_build
    1768 +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1769 +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1770 +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1771 +
    1772 +
    1773 +echo "$as_me:$LINENO: checking host system type" >&5
    1774 +echo $ECHO_N "checking host system type... $ECHO_C" >&6
    1775 +if test "${ac_cv_host+set}" = set; then
    1776 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    1777 +else
    1778 +  ac_cv_host_alias=$host_alias
    1779 +test -z "$ac_cv_host_alias" &&
    1780 +  ac_cv_host_alias=$ac_cv_build_alias
    1781 +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    1782 +  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    1783 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    1784 +   { (exit 1); exit 1; }; }
    1785 +
    1786 +fi
    1787 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    1788 +echo "${ECHO_T}$ac_cv_host" >&6
    1789 +host=$ac_cv_host
    1790 +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1791 +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1792 +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1793 +
    1794 +
    1795 +echo "$as_me:$LINENO: checking target system type" >&5
    1796 +echo $ECHO_N "checking target system type... $ECHO_C" >&6
    1797 +if test "${ac_cv_target+set}" = set; then
    1798 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    1799 +else
    1800 +  ac_cv_target_alias=$target_alias
    1801 +test "x$ac_cv_target_alias" = "x" &&
    1802 +  ac_cv_target_alias=$ac_cv_host_alias
    1803 +ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    1804 +  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    1805 +echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
    1806 +   { (exit 1); exit 1; }; }
    1807 +
    1808 +fi
    1809 +echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    1810 +echo "${ECHO_T}$ac_cv_target" >&6
    1811 +target=$ac_cv_target
    1812 +target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1813 +target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1814 +target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1815 +
    1816 +
    1817 +# The aliases save the names the user supplied, while $host etc.
    1818 +# will get canonicalized.
    1819 +test -n "$target_alias" &&
    1820 +  test "$program_prefix$program_suffix$program_transform_name" = \
    1821 +    NONENONEs,x,x, &&
    1822 +  program_prefix=${target_alias}-
    1823 +target_alias=${target_alias-$host_alias}
    1824 +
    1825 +# Handy for debugging:
    1826 +#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
    1827 +
    1828 +if test "$build" != "$host"; then
    1829 +  # We are being configured with some form of cross compiler.
    1830 +  GLIBCXX_IS_NATIVE=false
    1831 +  case "$host","$target" in
    1832 +    # Darwin crosses can use the host system's libraries and headers,
    1833 +    # because of the fat library support.  Of course, it must be the
    1834 +    # same version of Darwin on both sides.  Allow the user to
    1835 +    # just say --target=foo-darwin without a version number to mean
    1836 +    # "the version on this system".
    1837 +      *-*-darwin*,*-*-darwin*)
    1838 +       hostos=`echo $host | sed 's/.*-darwin/darwin/'`
    1839 +       targetos=`echo $target | sed 's/.*-darwin/darwin/'`
    1840 +       if test $hostos = $targetos -o $targetos = darwin ; then
    1841 +         GLIBCXX_IS_NATIVE=true
    1842 +       fi
    1843 +       ;;
    1844 +
    1845 +      *)
    1846 +
    1847 +       ;;
    1848 +  esac
    1849 +else
    1850 +  GLIBCXX_IS_NATIVE=true
    1851 +fi
    1852 +
    1853 +# Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
    1854 +# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
    1855 +#  1.x:  minimum required version
    1856 +#  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
    1857 +#              of other PACKAGE_* variables will, however, and there's nothing
    1858 +#              we can do about that; they come from AC_INIT).
    1859 +#  foreign:  we don't follow the normal rules for GNU packages (no COPYING
    1860 +#            file in the top srcdir, etc, etc), so stop complaining.
    1861 +#  no-dependencies:  turns off auto dependency generation (just for now)
    1862 +#  -Wall:  turns on all automake warnings...
    1863 +#  -Wno-portability:  ...except this one, since GNU make is now required.
    1864 +am__api_version="1.9"
    1865 +# Find a good install program.  We prefer a C program (faster),
    1866 +# so one script is as good as another.  But avoid the broken or
    1867 +# incompatible versions:
    1868 +# SysV /etc/install, /usr/sbin/install
    1869 +# SunOS /usr/etc/install
    1870 +# IRIX /sbin/install
    1871 +# AIX /bin/install
    1872 +# AmigaOS /C/install, which installs bootblocks on floppy discs
    1873 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    1874 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    1875 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    1876 +# OS/2's system install, which has a completely different semantic
    1877 +# ./install, which can be erroneously created by make from ./install.sh.
    1878 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    1879 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    1880 +if test -z "$INSTALL"; then
    1881 +if test "${ac_cv_path_install+set}" = set; then
    1882 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    1883 +else
    1884 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1885 +for as_dir in $PATH
    1886 +do
    1887 +  IFS=$as_save_IFS
    1888 +  test -z "$as_dir" && as_dir=.
    1889 +  # Account for people who put trailing slashes in PATH elements.
    1890 +case $as_dir/ in
    1891 +  ./ | .// | /cC/* | \
    1892 +  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    1893 +  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    1894 +  /usr/ucb/* ) ;;
    1895 +  *)
    1896 +    # OSF1 and SCO ODT 3.0 have their own names for install.
    1897 +    # Don't use installbsd from OSF since it installs stuff as root
    1898 +    # by default.
    1899 +    for ac_prog in ginstall scoinst install; do
    1900 +      for ac_exec_ext in '' $ac_executable_extensions; do
    1901 +       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    1902 +         if test $ac_prog = install &&
    1903 +           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1904 +           # AIX install.  It has an incompatible calling convention.
    1905 +           :
    1906 +         elif test $ac_prog = install &&
    1907 +           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1908 +           # program-specific install script used by HP pwplus--don't use.
    1909 +           :
    1910 +         else
    1911 +           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    1912 +           break 3
    1913 +         fi
    1914 +       fi
    1915 +      done
    1916 +    done
    1917 +    ;;
    1918 +esac
    1919 +done
    1920 +
    1921 +
    1922 +fi
    1923 +  if test "${ac_cv_path_install+set}" = set; then
    1924 +    INSTALL=$ac_cv_path_install
    1925 +  else
    1926 +    # As a last resort, use the slow shell script.  We don't cache a
    1927 +    # path for INSTALL within a source directory, because that will
    1928 +    # break other packages using the cache if that directory is
    1929 +    # removed, or if the path is relative.
    1930 +    INSTALL=$ac_install_sh
    1931 +  fi
    1932 +fi
    1933 +echo "$as_me:$LINENO: result: $INSTALL" >&5
    1934 +echo "${ECHO_T}$INSTALL" >&6
    1935 +
    1936 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    1937 +# It thinks the first close brace ends the variable substitution.
    1938 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    1939 +
    1940 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    1941 +
    1942 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    1943 +
    1944 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
    1945 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
    1946 +# Just in case
    1947 +sleep 1
    1948 +echo timestamp > conftest.file
    1949 +# Do `set' in a subshell so we don't clobber the current shell's
    1950 +# arguments.  Must try -L first in case configure is actually a
    1951 +# symlink; some systems play weird games with the mod time of symlinks
    1952 +# (eg FreeBSD returns the mod time of the symlink's containing
    1953 +# directory).
    1954 +if (
    1955 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    1956 +   if test "$*" = "X"; then
    1957 +      # -L didn't work.
    1958 +      set X `ls -t $srcdir/configure conftest.file`
    1959 +   fi
    1960 +   rm -f conftest.file
    1961 +   if test "$*" != "X $srcdir/configure conftest.file" \
    1962 +      && test "$*" != "X conftest.file $srcdir/configure"; then
    1963 +
    1964 +      # If neither matched, then we have a broken ls.  This can happen
    1965 +      # if, for instance, CONFIG_SHELL is bash and it inherits a
    1966 +      # broken ls alias from the environment.  This has actually
    1967 +      # happened.  Such a system could not be considered "sane".
    1968 +      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
    1969 +alias in your environment" >&5
    1970 +echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
    1971 +alias in your environment" >&2;}
    1972 +   { (exit 1); exit 1; }; }
    1973 +   fi
    1974 +
    1975 +   test "$2" = conftest.file
    1976 +   )
    1977 +then
    1978 +   # Ok.
    1979 +   :
    1980 +else
    1981 +   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
    1982 +Check your system clock" >&5
    1983 +echo "$as_me: error: newly created file is older than distributed files!
    1984 +Check your system clock" >&2;}
    1985 +   { (exit 1); exit 1; }; }
    1986 +fi
    1987 +echo "$as_me:$LINENO: result: yes" >&5
    1988 +echo "${ECHO_T}yes" >&6
    1989 +test "$program_prefix" != NONE &&
    1990 +  program_transform_name="s,^,$program_prefix,;$program_transform_name"
    1991 +# Use a double $ so make ignores it.
    1992 +test "$program_suffix" != NONE &&
    1993 +  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
    1994 +# Double any \ or $.  echo might interpret backslashes.
    1995 +# By default was `s,x,x', remove it if useless.
    1996 +cat <<\_ACEOF >conftest.sed
    1997 +s/[\\$]/&&/g;s/;s,x,x,$//
    1998 +_ACEOF
    1999 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
    2000 +rm conftest.sed
    2001 +
    2002 +# expand $ac_aux_dir to an absolute path
    2003 +am_aux_dir=`cd $ac_aux_dir && pwd`
    2004 +
    2005 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    2006 +# Use eval to expand $SHELL
    2007 +if eval "$MISSING --run true"; then
    2008 +  am_missing_run="$MISSING --run "
    2009 +else
    2010 +  am_missing_run=
    2011 +  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    2012 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    2013 +fi
    2014 +
    2015 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    2016 +  # We used to keeping the `.' as first argument, in order to
    2017 +  # allow $(mkdir_p) to be used without argument.  As in
    2018 +  #   $(mkdir_p) $(somedir)
    2019 +  # where $(somedir) is conditionally defined.  However this is wrong
    2020 +  # for two reasons:
    2021 +  #  1. if the package is installed by a user who cannot write `.'
    2022 +  #     make install will fail,
    2023 +  #  2. the above comment should most certainly read
    2024 +  #     $(mkdir_p) $(DESTDIR)$(somedir)
    2025 +  #     so it does not work when $(somedir) is undefined and
    2026 +  #     $(DESTDIR) is not.
    2027 +  #  To support the latter case, we have to write
    2028 +  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
    2029 +  #  so the `.' trick is pointless.
    2030 +  mkdir_p='mkdir -p --'
    2031 +else
    2032 +  # On NextStep and OpenStep, the `mkdir' command does not
    2033 +  # recognize any option.  It will interpret all options as
    2034 +  # directories to create, and then abort because `.' already
    2035 +  # exists.
    2036 +  for d in ./-p ./--version;
    2037 +  do
    2038 +    test -d $d && rmdir $d
    2039 +  done
    2040 +  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    2041 +  if test -f "$ac_aux_dir/mkinstalldirs"; then
    2042 +    mkdir_p='$(mkinstalldirs)'
    2043 +  else
    2044 +    mkdir_p='$(install_sh) -d'
    2045 +  fi
    2046 +fi
    2047 +
    2048 +for ac_prog in gawk mawk nawk awk
    2049 +do
    2050 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
    2051 +set dummy $ac_prog; ac_word=$2
    2052 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    2053 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2054 +if test "${ac_cv_prog_AWK+set}" = set; then
    2055 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2056 +else
    2057 +  if test -n "$AWK"; then
    2058 +  ac_cv_prog_AWK="$AWK" # Let the user override the test.
    2059 +else
    2060 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2061 +for as_dir in $PATH
    2062 +do
    2063 +  IFS=$as_save_IFS
    2064 +  test -z "$as_dir" && as_dir=.
    2065 +  for ac_exec_ext in '' $ac_executable_extensions; do
    2066 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2067 +    ac_cv_prog_AWK="$ac_prog"
    2068 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2069 +    break 2
    2070 +  fi
    2071 +done
    2072 +done
    2073 +
    2074 +fi
    2075 +fi
    2076 +AWK=$ac_cv_prog_AWK
    2077 +if test -n "$AWK"; then
    2078 +  echo "$as_me:$LINENO: result: $AWK" >&5
    2079 +echo "${ECHO_T}$AWK" >&6
    2080 +else
    2081 +  echo "$as_me:$LINENO: result: no" >&5
    2082 +echo "${ECHO_T}no" >&6
    2083 +fi
    2084 +
    2085 +  test -n "$AWK" && break
    2086 +done
    2087 +
    2088 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    2089 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    2090 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    2091 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    2092 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2093 +else
    2094 +  cat >conftest.make <<\_ACEOF
    2095 +all:
    2096 +       @echo 'ac_maketemp="$(MAKE)"'
    2097 +_ACEOF
    2098 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    2099 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    2100 +if test -n "$ac_maketemp"; then
    2101 +  eval ac_cv_prog_make_${ac_make}_set=yes
    2102 +else
    2103 +  eval ac_cv_prog_make_${ac_make}_set=no
    2104 +fi
    2105 +rm -f conftest.make
    2106 +fi
    2107 +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    2108 +  echo "$as_me:$LINENO: result: yes" >&5
    2109 +echo "${ECHO_T}yes" >&6
    2110 +  SET_MAKE=
    2111 +else
    2112 +  echo "$as_me:$LINENO: result: no" >&5
    2113 +echo "${ECHO_T}no" >&6
    2114 +  SET_MAKE="MAKE=${MAKE-make}"
    2115 +fi
    2116 +
    2117 +rm -rf .tst 2>/dev/null
    2118 +mkdir .tst 2>/dev/null
    2119 +if test -d .tst; then
    2120 +  am__leading_dot=.
    2121 +else
    2122 +  am__leading_dot=_
    2123 +fi
    2124 +rmdir .tst 2>/dev/null
    2125 +
    2126 +# test to see if srcdir already configured
    2127 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
    2128 +   test -f $srcdir/config.status; then
    2129 +  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
    2130 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
    2131 +   { (exit 1); exit 1; }; }
    2132 +fi
    2133 +
    2134 +# test whether we have cygpath
    2135 +if test -z "$CYGPATH_W"; then
    2136 +  if (cygpath --version) >/dev/null 2>/dev/null; then
    2137 +    CYGPATH_W='cygpath -w'
    2138 +  else
    2139 +    CYGPATH_W=echo
    2140 +  fi
    2141 +fi
    2142 +
    2143 +
    2144 +# Define the identity of the package.
    2145 + PACKAGE='libstdc++'
    2146 + VERSION='version-unused'
    2147 +
    2148 +
    2149 +# Some tools Automake needs.
    2150 +
    2151 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
    2152 +
    2153 +
    2154 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
    2155 +
    2156 +
    2157 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
    2158 +
    2159 +
    2160 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
    2161 +
    2162 +
    2163 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
    2164 +
    2165 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
    2166 +
    2167 +# Installed binaries are usually stripped using `strip' when the user
    2168 +# run `make install-strip'.  However `strip' might not be the right
    2169 +# tool to use in cross-compilation environments, therefore Automake
    2170 +# will honor the `STRIP' environment variable to overrule this program.
    2171 +if test "$cross_compiling" != no; then
    2172 +  if test -n "$ac_tool_prefix"; then
    2173 +  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    2174 +set dummy ${ac_tool_prefix}strip; ac_word=$2
    2175 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    2176 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2177 +if test "${ac_cv_prog_STRIP+set}" = set; then
    2178 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2179 +else
    2180 +  if test -n "$STRIP"; then
    2181 +  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    2182 +else
    2183 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2184 +for as_dir in $PATH
    2185 +do
    2186 +  IFS=$as_save_IFS
    2187 +  test -z "$as_dir" && as_dir=.
    2188 +  for ac_exec_ext in '' $ac_executable_extensions; do
    2189 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2190 +    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    2191 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2192 +    break 2
    2193 +  fi
    2194 +done
    2195 +done
    2196 +
    2197 +fi
    2198 +fi
    2199 +STRIP=$ac_cv_prog_STRIP
    2200 +if test -n "$STRIP"; then
    2201 +  echo "$as_me:$LINENO: result: $STRIP" >&5
    2202 +echo "${ECHO_T}$STRIP" >&6
    2203 +else
    2204 +  echo "$as_me:$LINENO: result: no" >&5
    2205 +echo "${ECHO_T}no" >&6
    2206 +fi
    2207 +
    2208 +fi
    2209 +if test -z "$ac_cv_prog_STRIP"; then
    2210 +  ac_ct_STRIP=$STRIP
    2211 +  # Extract the first word of "strip", so it can be a program name with args.
    2212 +set dummy strip; ac_word=$2
    2213 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    2214 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2215 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
    2216 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2217 +else
    2218 +  if test -n "$ac_ct_STRIP"; then
    2219 +  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
    2220 +else
    2221 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2222 +for as_dir in $PATH
    2223 +do
    2224 +  IFS=$as_save_IFS
    2225 +  test -z "$as_dir" && as_dir=.
    2226 +  for ac_exec_ext in '' $ac_executable_extensions; do
    2227 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2228 +    ac_cv_prog_ac_ct_STRIP="strip"
    2229 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2230 +    break 2
    2231 +  fi
    2232 +done
    2233 +done
    2234 +
    2235 +  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
    2236 +fi
    2237 +fi
    2238 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    2239 +if test -n "$ac_ct_STRIP"; then
    2240 +  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
    2241 +echo "${ECHO_T}$ac_ct_STRIP" >&6
    2242 +else
    2243 +  echo "$as_me:$LINENO: result: no" >&5
    2244 +echo "${ECHO_T}no" >&6
    2245 +fi
    2246 +
    2247 +  STRIP=$ac_ct_STRIP
    2248 +else
    2249 +  STRIP="$ac_cv_prog_STRIP"
    2250 +fi
    2251 +
    2252 +fi
    2253 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
    2254 +
    2255 +# We need awk for the "check" target.  The system "awk" is bad on
    2256 +# some platforms.
    2257 +# Always define AMTAR for backward compatibility.
    2258 +
    2259 +AMTAR=${AMTAR-"${am_missing_run}tar"}
    2260 +
    2261 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
    2262 +
    2263 +
    2264 +
    2265 +
    2266 +
    2267 +
    2268 +
    2269 +
    2270 +
    2271 +
    2272 +# Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
    2273 +# up critical shell variables.
    2274 +
    2275 +ac_ext=c
    2276 +ac_cpp='$CPP $CPPFLAGS'
    2277 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2278 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2279 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2280 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    2281 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    2282 +# On Suns, sometimes $CPP names a directory.
    2283 +if test -n "$CPP" && test -d "$CPP"; then
    2284 +  CPP=
    2285 +fi
    2286 +if test -z "$CPP"; then
    2287 +  if test "${ac_cv_prog_CPP+set}" = set; then
    2288 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2289 +else
    2290 +      # Double quotes because CPP needs to be expanded
    2291 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    2292 +    do
    2293 +      ac_preproc_ok=false
    2294 +for ac_c_preproc_warn_flag in '' yes
    2295 +do
    2296 +  # Use a header file that comes with gcc, so configuring glibc
    2297 +  # with a fresh cross-compiler works.
    2298 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2299 +  # <limits.h> exists even on freestanding compilers.
    2300 +  # On the NeXT, cc -E runs the code through the compiler's parser,
    2301 +  # not just through cpp. "Syntax error" is here to catch this case.
    2302 +  cat >conftest.$ac_ext <<_ACEOF
    2303 +/* confdefs.h.  */
    2304 +_ACEOF
    2305 +cat confdefs.h >>conftest.$ac_ext
    2306 +cat >>conftest.$ac_ext <<_ACEOF
    2307 +/* end confdefs.h.  */
    2308 +#ifdef __STDC__
    2309 +# include <limits.h>
    2310 +#else
    2311 +# include <assert.h>
    2312 +#endif
    2313 +                    Syntax error
    2314 +_ACEOF
    2315 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2316 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2317 +  ac_status=$?
    2318 +  grep -v '^ *+' conftest.er1 >conftest.err
    2319 +  rm -f conftest.er1
    2320 +  cat conftest.err >&5
    2321 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2322 +  (exit $ac_status); } >/dev/null; then
    2323 +  if test -s conftest.err; then
    2324 +    ac_cpp_err=$ac_c_preproc_warn_flag
    2325 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2326 +  else
    2327 +    ac_cpp_err=
    2328 +  fi
    2329 +else
    2330 +  ac_cpp_err=yes
    2331 +fi
    2332 +if test -z "$ac_cpp_err"; then
    2333 +  :
    2334 +else
    2335 +  echo "$as_me: failed program was:" >&5
    2336 +sed 's/^/| /' conftest.$ac_ext >&5
    2337 +
    2338 +  # Broken: fails on valid input.
    2339 +continue
    2340 +fi
    2341 +rm -f conftest.err conftest.$ac_ext
    2342 +
    2343 +  # OK, works on sane cases.  Now check whether non-existent headers
    2344 +  # can be detected and how.
    2345 +  cat >conftest.$ac_ext <<_ACEOF
    2346 +/* confdefs.h.  */
    2347 +_ACEOF
    2348 +cat confdefs.h >>conftest.$ac_ext
    2349 +cat >>conftest.$ac_ext <<_ACEOF
    2350 +/* end confdefs.h.  */
    2351 +#include <ac_nonexistent.h>
    2352 +_ACEOF
    2353 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2354 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2355 +  ac_status=$?
    2356 +  grep -v '^ *+' conftest.er1 >conftest.err
    2357 +  rm -f conftest.er1
    2358 +  cat conftest.err >&5
    2359 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2360 +  (exit $ac_status); } >/dev/null; then
    2361 +  if test -s conftest.err; then
    2362 +    ac_cpp_err=$ac_c_preproc_warn_flag
    2363 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2364 +  else
    2365 +    ac_cpp_err=
    2366 +  fi
    2367 +else
    2368 +  ac_cpp_err=yes
    2369 +fi
    2370 +if test -z "$ac_cpp_err"; then
    2371 +  # Broken: success on invalid input.
    2372 +continue
    2373 +else
    2374 +  echo "$as_me: failed program was:" >&5
    2375 +sed 's/^/| /' conftest.$ac_ext >&5
    2376 +
    2377 +  # Passes both tests.
    2378 +ac_preproc_ok=:
    2379 +break
    2380 +fi
    2381 +rm -f conftest.err conftest.$ac_ext
    2382 +
    2383 +done
    2384 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2385 +rm -f conftest.err conftest.$ac_ext
    2386 +if $ac_preproc_ok; then
    2387 +  break
    2388 +fi
    2389 +
    2390 +    done
    2391 +    ac_cv_prog_CPP=$CPP
    2392 +
    2393 +fi
    2394 +  CPP=$ac_cv_prog_CPP
    2395 +else
    2396 +  ac_cv_prog_CPP=$CPP
    2397 +fi
    2398 +echo "$as_me:$LINENO: result: $CPP" >&5
    2399 +echo "${ECHO_T}$CPP" >&6
    2400 +ac_preproc_ok=false
    2401 +for ac_c_preproc_warn_flag in '' yes
    2402 +do
    2403 +  # Use a header file that comes with gcc, so configuring glibc
    2404 +  # with a fresh cross-compiler works.
    2405 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2406 +  # <limits.h> exists even on freestanding compilers.
    2407 +  # On the NeXT, cc -E runs the code through the compiler's parser,
    2408 +  # not just through cpp. "Syntax error" is here to catch this case.
    2409 +  cat >conftest.$ac_ext <<_ACEOF
    2410 +/* confdefs.h.  */
    2411 +_ACEOF
    2412 +cat confdefs.h >>conftest.$ac_ext
    2413 +cat >>conftest.$ac_ext <<_ACEOF
    2414 +/* end confdefs.h.  */
    2415 +#ifdef __STDC__
    2416 +# include <limits.h>
    2417 +#else
    2418 +# include <assert.h>
    2419 +#endif
    2420 +                    Syntax error
    2421 +_ACEOF
    2422 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2423 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2424 +  ac_status=$?
    2425 +  grep -v '^ *+' conftest.er1 >conftest.err
    2426 +  rm -f conftest.er1
    2427 +  cat conftest.err >&5
    2428 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2429 +  (exit $ac_status); } >/dev/null; then
    2430 +  if test -s conftest.err; then
    2431 +    ac_cpp_err=$ac_c_preproc_warn_flag
    2432 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2433 +  else
    2434 +    ac_cpp_err=
    2435 +  fi
    2436 +else
    2437 +  ac_cpp_err=yes
    2438 +fi
    2439 +if test -z "$ac_cpp_err"; then
    2440 +  :
    2441 +else
    2442 +  echo "$as_me: failed program was:" >&5
    2443 +sed 's/^/| /' conftest.$ac_ext >&5
    2444 +
    2445 +  # Broken: fails on valid input.
    2446 +continue
    2447 +fi
    2448 +rm -f conftest.err conftest.$ac_ext
    2449 +
    2450 +  # OK, works on sane cases.  Now check whether non-existent headers
    2451 +  # can be detected and how.
    2452 +  cat >conftest.$ac_ext <<_ACEOF
    2453 +/* confdefs.h.  */
    2454 +_ACEOF
    2455 +cat confdefs.h >>conftest.$ac_ext
    2456 +cat >>conftest.$ac_ext <<_ACEOF
    2457 +/* end confdefs.h.  */
    2458 +#include <ac_nonexistent.h>
    2459 +_ACEOF
    2460 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2461 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2462 +  ac_status=$?
    2463 +  grep -v '^ *+' conftest.er1 >conftest.err
    2464 +  rm -f conftest.er1
    2465 +  cat conftest.err >&5
    2466 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2467 +  (exit $ac_status); } >/dev/null; then
    2468 +  if test -s conftest.err; then
    2469 +    ac_cpp_err=$ac_c_preproc_warn_flag
    2470 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2471 +  else
    2472 +    ac_cpp_err=
    2473 +  fi
    2474 +else
    2475 +  ac_cpp_err=yes
    2476 +fi
    2477 +if test -z "$ac_cpp_err"; then
    2478 +  # Broken: success on invalid input.
    2479 +continue
    2480 +else
    2481 +  echo "$as_me: failed program was:" >&5
    2482 +sed 's/^/| /' conftest.$ac_ext >&5
    2483 +
    2484 +  # Passes both tests.
    2485 +ac_preproc_ok=:
    2486 +break
    2487 +fi
    2488 +rm -f conftest.err conftest.$ac_ext
    2489 +
    2490 +done
    2491 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2492 +rm -f conftest.err conftest.$ac_ext
    2493 +if $ac_preproc_ok; then
    2494 +  :
    2495 +else
    2496 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    2497 +See \`config.log' for more details." >&5
    2498 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    2499 +See \`config.log' for more details." >&2;}
    2500 +   { (exit 1); exit 1; }; }
    2501 +fi
    2502 +
    2503 +ac_ext=c
    2504 +ac_cpp='$CPP $CPPFLAGS'
    2505 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2506 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2507 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2508 +
    2509 +
    2510 +echo "$as_me:$LINENO: checking for egrep" >&5
    2511 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    2512 +if test "${ac_cv_prog_egrep+set}" = set; then
    2513 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2514 +else
    2515 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    2516 +    then ac_cv_prog_egrep='grep -E'
    2517 +    else ac_cv_prog_egrep='egrep'
    2518 +    fi
    2519 +fi
    2520 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    2521 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    2522 + EGREP=$ac_cv_prog_egrep
    2523 +
    2524 +
    2525 +
    2526 +  # Keep these sync'd with the list in Makefile.am.  The first provides an
    2527 +  # expandable list at autoconf time; the second provides an expandable list
    2528 +  # (i.e., shell variable) at configure time.
    2529 +
    2530 +  SUBDIRS='include libmath libsupc++ src po testsuite'
    2531 +
    2532 +  # These need to be absolute paths, yet at the same time need to
    2533 +  # canonicalize only relative paths, because then amd will not unmount
    2534 +  # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
    2535 +  glibcxx_builddir=`${PWDCMD-pwd}`
    2536 +  case $srcdir in
    2537 +    \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
    2538 +    *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
    2539 +  esac
    2540 +  toplevel_srcdir=${glibcxx_srcdir}/..
    2541 +
    2542 +
    2543 +
    2544 +
    2545 +  # We use these options to decide which functions to include.  They are
    2546 +  # set from the top level.
    2547 +
    2548 +# Check whether --with-target-subdir or --without-target-subdir was given.
    2549 +if test "${with_target_subdir+set}" = set; then
    2550 +  withval="$with_target_subdir"
    2551 +
    2552 +fi;
    2553 +
    2554 +
    2555 +# Check whether --with-cross-host or --without-cross-host was given.
    2556 +if test "${with_cross_host+set}" = set; then
    2557 +  withval="$with_cross_host"
    2558 +
    2559 +fi;
    2560 +
    2561 +
    2562 +# Check whether --with-newlib or --without-newlib was given.
    2563 +if test "${with_newlib+set}" = set; then
    2564 +  withval="$with_newlib"
    2565 +
    2566 +fi;
    2567 +
    2568 +  # We're almost certainly being configured before anything else which uses
    2569 +  # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
    2570 +  # we not cache the value of CXX that we "discover" here, because it's set
    2571 +  # to something unique for us and libjava.  Other target libraries need to
    2572 +  # find CXX for themselves.  We yank the rug out from under the normal AC_*
    2573 +  # process by sneakily renaming the cache variable.  This also lets us debug
    2574 +  # the value of "our" CXX in postmortems.
    2575 +  #
    2576 +  # We must also force CXX to /not/ be a precious variable, otherwise the
    2577 +  # wrong (non-multilib-adjusted) value will be used in multilibs.  This
    2578 +  # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
    2579 +  # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
    2580 +  # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
    2581 +  #
    2582 +  # -fno-builtin must be present here so that a non-conflicting form of
    2583 +  # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
    2584 +
    2585 +
    2586 +
    2587 +
    2588 +  save_CXXFLAGS="$CXXFLAGS"
    2589 +  CXXFLAGS="$CXXFLAGS -fno-builtin"
    2590 +  ac_ext=c
    2591 +ac_cpp='$CPP $CPPFLAGS'
    2592 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2593 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2594 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2595 +if test -n "$ac_tool_prefix"; then
    2596 +  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    2597 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2598 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    2599 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2600 +if test "${ac_cv_prog_CC+set}" = set; then
    2601 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2602 +else
    2603 +  if test -n "$CC"; then
    2604 +  ac_cv_prog_CC="$CC" # Let the user override the test.
    2605 +else
    2606 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2607 +for as_dir in $PATH
    2608 +do
    2609 +  IFS=$as_save_IFS
    2610 +  test -z "$as_dir" && as_dir=.
    2611 +  for ac_exec_ext in '' $ac_executable_extensions; do
    2612 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2613 +    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2614 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2615 +    break 2
    2616 +  fi
    2617 +done
    2618 +done
    2619 +
    2620 +fi
    2621 +fi
    2622 +CC=$ac_cv_prog_CC
    2623 +if test -n "$CC"; then
    2624 +  echo "$as_me:$LINENO: result: $CC" >&5
    2625 +echo "${ECHO_T}$CC" >&6
    2626 +else
    2627 +  echo "$as_me:$LINENO: result: no" >&5
    2628 +echo "${ECHO_T}no" >&6
    2629 +fi
    2630 +
    2631 +fi
    2632 +if test -z "$ac_cv_prog_CC"; then
    2633 +  ac_ct_CC=$CC
    2634 +  # Extract the first word of "gcc", so it can be a program name with args.
    2635 +set dummy gcc; ac_word=$2
    2636 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    2637 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2638 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2639 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2640 +else
    2641 +  if test -n "$ac_ct_CC"; then
    2642 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2643 +else
    2644 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2645 +for as_dir in $PATH
    2646 +do
    2647 +  IFS=$as_save_IFS
    2648 +  test -z "$as_dir" && as_dir=.
    2649 +  for ac_exec_ext in '' $ac_executable_extensions; do
    2650 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2651 +    ac_cv_prog_ac_ct_CC="gcc"
    2652 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2653 +    break 2
    2654 +  fi
    2655 +done
    2656 +done
    2657 +
    2658 +fi
    2659 +fi
    2660 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2661 +if test -n "$ac_ct_CC"; then
    2662 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2663 +echo "${ECHO_T}$ac_ct_CC" >&6
    2664 +else
    2665 +  echo "$as_me:$LINENO: result: no" >&5
    2666 +echo "${ECHO_T}no" >&6
    2667 +fi
    2668 +
    2669 +  CC=$ac_ct_CC
    2670 +else
    2671 +  CC="$ac_cv_prog_CC"
    2672 +fi
    2673 +
    2674 +if test -z "$CC"; then
    2675 +  if test -n "$ac_tool_prefix"; then
    2676 +  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    2677 +set dummy ${ac_tool_prefix}cc; ac_word=$2
    2678 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    2679 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2680 +if test "${ac_cv_prog_CC+set}" = set; then
    2681 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2682 +else
    2683 +  if test -n "$CC"; then
    2684 +  ac_cv_prog_CC="$CC" # Let the user override the test.
    2685 +else
    2686 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2687 +for as_dir in $PATH
    2688 +do
    2689 +  IFS=$as_save_IFS
    2690 +  test -z "$as_dir" && as_dir=.
    2691 +  for ac_exec_ext in '' $ac_executable_extensions; do
    2692 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2693 +    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2694 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2695 +    break 2
    2696 +  fi
    2697 +done
    2698 +done
    2699 +
    2700 +fi
    2701 +fi
    2702 +CC=$ac_cv_prog_CC
    2703 +if test -n "$CC"; then
    2704 +  echo "$as_me:$LINENO: result: $CC" >&5
    2705 +echo "${ECHO_T}$CC" >&6
    2706 +else
    2707 +  echo "$as_me:$LINENO: result: no" >&5
    2708 +echo "${ECHO_T}no" >&6
    2709 +fi
    2710 +
    2711 +fi
    2712 +if test -z "$ac_cv_prog_CC"; then
    2713 +  ac_ct_CC=$CC
    2714 +  # Extract the first word of "cc", so it can be a program name with args.
    2715 +set dummy cc; ac_word=$2
    2716 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    2717 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2718 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2719 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2720 +else
    2721 +  if test -n "$ac_ct_CC"; then
    2722 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2723 +else
    2724 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2725 +for as_dir in $PATH
    2726 +do
    2727 +  IFS=$as_save_IFS
    2728 +  test -z "$as_dir" && as_dir=.
    2729 +  for ac_exec_ext in '' $ac_executable_extensions; do
    2730 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2731 +    ac_cv_prog_ac_ct_CC="cc"
    2732 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2733 +    break 2
    2734 +  fi
    2735 +done
    2736 +done
    2737 +
    2738 +fi
    2739 +fi
    2740 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2741 +if test -n "$ac_ct_CC"; then
    2742 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2743 +echo "${ECHO_T}$ac_ct_CC" >&6
    2744 +else
    2745 +  echo "$as_me:$LINENO: result: no" >&5
    2746 +echo "${ECHO_T}no" >&6
    2747 +fi
    2748 +
    2749 +  CC=$ac_ct_CC
    2750 +else
    2751 +  CC="$ac_cv_prog_CC"
    2752 +fi
    2753 +
    2754 +fi
    2755 +if test -z "$CC"; then
    2756 +  # Extract the first word of "cc", so it can be a program name with args.
    2757 +set dummy cc; ac_word=$2
    2758 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    2759 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2760 +if test "${ac_cv_prog_CC+set}" = set; then
    2761 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2762 +else
    2763 +  if test -n "$CC"; then
    2764 +  ac_cv_prog_CC="$CC" # Let the user override the test.
    2765 +else
    2766 +  ac_prog_rejected=no
    2767 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2768 +for as_dir in $PATH
    2769 +do
    2770 +  IFS=$as_save_IFS
    2771 +  test -z "$as_dir" && as_dir=.
    2772 +  for ac_exec_ext in '' $ac_executable_extensions; do
    2773 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2774 +    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    2775 +       ac_prog_rejected=yes
    2776 +       continue
    2777 +     fi
    2778 +    ac_cv_prog_CC="cc"
    2779 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2780 +    break 2
    2781 +  fi
    2782 +done
    2783 +done
    2784 +
    2785 +if test $ac_prog_rejected = yes; then
    2786 +  # We found a bogon in the path, so make sure we never use it.
    2787 +  set dummy $ac_cv_prog_CC
    2788 +  shift
    2789 +  if test $# != 0; then
    2790 +    # We chose a different compiler from the bogus one.
    2791 +    # However, it has the same basename, so the bogon will be chosen
    2792 +    # first if we set CC to just the basename; use the full file name.
    2793 +    shift
    2794 +    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    2795 +  fi
    2796 +fi
    2797 +fi
    2798 +fi
    2799 +CC=$ac_cv_prog_CC
    2800 +if test -n "$CC"; then
    2801 +  echo "$as_me:$LINENO: result: $CC" >&5
    2802 +echo "${ECHO_T}$CC" >&6
    2803 +else
    2804 +  echo "$as_me:$LINENO: result: no" >&5
    2805 +echo "${ECHO_T}no" >&6
    2806 +fi
    2807 +
    2808 +fi
    2809 +if test -z "$CC"; then
    2810 +  if test -n "$ac_tool_prefix"; then
    2811 +  for ac_prog in cl
    2812 +  do
    2813 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    2814 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2815 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    2816 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2817 +if test "${ac_cv_prog_CC+set}" = set; then
    2818 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2819 +else
    2820 +  if test -n "$CC"; then
    2821 +  ac_cv_prog_CC="$CC" # Let the user override the test.
    2822 +else
    2823 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2824 +for as_dir in $PATH
    2825 +do
    2826 +  IFS=$as_save_IFS
    2827 +  test -z "$as_dir" && as_dir=.
    2828 +  for ac_exec_ext in '' $ac_executable_extensions; do
    2829 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2830 +    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2831 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2832 +    break 2
    2833 +  fi
    2834 +done
    2835 +done
    2836 +
    2837 +fi
    2838 +fi
    2839 +CC=$ac_cv_prog_CC
    2840 +if test -n "$CC"; then
    2841 +  echo "$as_me:$LINENO: result: $CC" >&5
    2842 +echo "${ECHO_T}$CC" >&6
    2843 +else
    2844 +  echo "$as_me:$LINENO: result: no" >&5
    2845 +echo "${ECHO_T}no" >&6
    2846 +fi
    2847 +
    2848 +    test -n "$CC" && break
    2849 +  done
    2850 +fi
    2851 +if test -z "$CC"; then
    2852 +  ac_ct_CC=$CC
    2853 +  for ac_prog in cl
    2854 +do
    2855 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
    2856 +set dummy $ac_prog; ac_word=$2
    2857 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    2858 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2859 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2860 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    2861 +else
    2862 +  if test -n "$ac_ct_CC"; then
    2863 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2864 +else
    2865 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2866 +for as_dir in $PATH
    2867 +do
    2868 +  IFS=$as_save_IFS
    2869 +  test -z "$as_dir" && as_dir=.
    2870 +  for ac_exec_ext in '' $ac_executable_extensions; do
    2871 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2872 +    ac_cv_prog_ac_ct_CC="$ac_prog"
    2873 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2874 +    break 2
    2875 +  fi
    2876 +done
    2877 +done
    2878 +
    2879 +fi
    2880 +fi
    2881 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2882 +if test -n "$ac_ct_CC"; then
    2883 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2884 +echo "${ECHO_T}$ac_ct_CC" >&6
    2885 +else
    2886 +  echo "$as_me:$LINENO: result: no" >&5
    2887 +echo "${ECHO_T}no" >&6
    2888 +fi
    2889 +
    2890 +  test -n "$ac_ct_CC" && break
    2891 +done
    2892 +
    2893 +  CC=$ac_ct_CC
    2894 +fi
    2895 +
    2896 +fi
    2897 +
    2898 +
    2899 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2900 +See \`config.log' for more details." >&5
    2901 +echo "$as_me: error: no acceptable C compiler found in \$PATH
    2902 +See \`config.log' for more details." >&2;}
    2903 +   { (exit 1); exit 1; }; }
    2904 +
    2905 +# Provide some information about the compiler.
    2906 +echo "$as_me:$LINENO:" \
    2907 +     "checking for C compiler version" >&5
    2908 +ac_compiler=`set X $ac_compile; echo $2`
    2909 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2910 +  (eval $ac_compiler --version </dev/null >&5) 2>&5
    2911 +  ac_status=$?
    2912 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2913 +  (exit $ac_status); }
    2914 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2915 +  (eval $ac_compiler -v </dev/null >&5) 2>&5
    2916 +  ac_status=$?
    2917 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2918 +  (exit $ac_status); }
    2919 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2920 +  (eval $ac_compiler -V </dev/null >&5) 2>&5
    2921 +  ac_status=$?
    2922 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2923 +  (exit $ac_status); }
    2924 +
    2925 +cat >conftest.$ac_ext <<_ACEOF
    2926 +/* confdefs.h.  */
    2927 +_ACEOF
    2928 +cat confdefs.h >>conftest.$ac_ext
    2929 +cat >>conftest.$ac_ext <<_ACEOF
    2930 +/* end confdefs.h.  */
    2931 +
    2932 +int
    2933 +main ()
    2934 +{
    2935 +
    2936 +  ;
    2937 +  return 0;
    2938 +}
    2939 +_ACEOF
    2940 +# FIXME: Cleanup?
    2941 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2942 +  (eval $ac_link) 2>&5
    2943 +  ac_status=$?
    2944 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2945 +  (exit $ac_status); }; then
    2946 +  gcc_no_link=no
    2947 +else
    2948 +  gcc_no_link=yes
    2949 +fi
    2950 +
    2951 +if test x$gcc_no_link = xyes; then
    2952 +  # Setting cross_compile will disable run tests; it will
    2953 +  # also disable AC_CHECK_FILE but that's generally
    2954 +  # correct if we can't link.
    2955 +  cross_compiling=yes
    2956 +  EXEEXT=
    2957 +else
    2958 +  cat >conftest.$ac_ext <<_ACEOF
    2959 +/* confdefs.h.  */
    2960 +_ACEOF
    2961 +cat confdefs.h >>conftest.$ac_ext
    2962 +cat >>conftest.$ac_ext <<_ACEOF
    2963 +/* end confdefs.h.  */
    2964 +
    2965 +int
    2966 +main ()
    2967 +{
    2968 +
    2969 +  ;
    2970 +  return 0;
    2971 +}
    2972 +_ACEOF
    2973 +ac_clean_files_save=$ac_clean_files
    2974 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
    2975 +# Try to create an executable without -o first, disregard a.out.
    2976 +# It will help us diagnose broken compilers, and finding out an intuition
    2977 +# of exeext.
    2978 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2979 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    2980 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2981 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    2982 +  (eval $ac_link_default) 2>&5
    2983 +  ac_status=$?
    2984 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2985 +  (exit $ac_status); }; then
    2986 +  # Find the output, starting from the most likely.  This scheme is
    2987 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
    2988 +# resort.
    2989 +
    2990 +# Be careful to initialize this variable, since it used to be cached.
    2991 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    2992 +ac_cv_exeext=
    2993 +# b.out is created by i960 compilers.
    2994 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    2995 +do
    2996 +  test -f "$ac_file" || continue
    2997 +  case $ac_file in
    2998 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    2999 +       ;;
    3000 +    conftest.$ac_ext )
    3001 +       # This is the source file.
    3002 +       ;;
    3003 +    [ab].out )
    3004 +       # We found the default executable, but exeext='' is most
    3005 +       # certainly right.
    3006 +       break;;
    3007 +    *.* )
    3008 +       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    3009 +       # FIXME: I believe we export ac_cv_exeext for Libtool,
    3010 +       # but it would be cool to find out if it's true.  Does anybody
    3011 +       # maintain Libtool? --akim.
    3012 +       export ac_cv_exeext
    3013 +       break;;
    3014 +    * )
    3015 +       break;;
    3016 +  esac
    3017 +done
    3018 +else
    3019 +  echo "$as_me: failed program was:" >&5
    3020 +sed 's/^/| /' conftest.$ac_ext >&5
    3021 +
    3022 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
    3023 +See \`config.log' for more details." >&5
    3024 +echo "$as_me: error: C compiler cannot create executables
    3025 +See \`config.log' for more details." >&2;}
    3026 +   { (exit 77); exit 77; }; }
    3027 +fi
    3028 +
    3029 +ac_exeext=$ac_cv_exeext
    3030 +echo "$as_me:$LINENO: result: $ac_file" >&5
    3031 +echo "${ECHO_T}$ac_file" >&6
    3032 +
    3033 +# Check the compiler produces executables we can run.  If not, either
    3034 +# the compiler is broken, or we cross compile.
    3035 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    3036 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    3037 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    3038 +# If not cross compiling, check that we can run a simple program.
    3039 +if test "$cross_compiling" != yes; then
    3040 +  if { ac_try='./$ac_file'
    3041 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3042 +  (eval $ac_try) 2>&5
    3043 +  ac_status=$?
    3044 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3045 +  (exit $ac_status); }; }; then
    3046 +    cross_compiling=no
    3047 +  else
    3048 +    if test "$cross_compiling" = maybe; then
    3049 +       cross_compiling=yes
    3050 +    else
    3051 +       { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    3052 +If you meant to cross compile, use \`--host'.
    3053 +See \`config.log' for more details." >&5
    3054 +echo "$as_me: error: cannot run C compiled programs.
    3055 +If you meant to cross compile, use \`--host'.
    3056 +See \`config.log' for more details." >&2;}
    3057 +   { (exit 1); exit 1; }; }
    3058 +    fi
    3059 +  fi
    3060 +fi
    3061 +echo "$as_me:$LINENO: result: yes" >&5
    3062 +echo "${ECHO_T}yes" >&6
    3063 +
    3064 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
    3065 +ac_clean_files=$ac_clean_files_save
    3066 +# Check the compiler produces executables we can run.  If not, either
    3067 +# the compiler is broken, or we cross compile.
    3068 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    3069 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    3070 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
    3071 +echo "${ECHO_T}$cross_compiling" >&6
    3072 +
    3073 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
    3074 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    3075 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3076 +  (eval $ac_link) 2>&5
    3077 +  ac_status=$?
    3078 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3079 +  (exit $ac_status); }; then
    3080 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    3081 +# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    3082 +# work properly (i.e., refer to `conftest.exe'), while it won't with
    3083 +# `rm'.
    3084 +for ac_file in conftest.exe conftest conftest.*; do
    3085 +  test -f "$ac_file" || continue
    3086 +  case $ac_file in
    3087 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    3088 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    3089 +         export ac_cv_exeext
    3090 +         break;;
    3091 +    * ) break;;
    3092 +  esac
    3093 +done
    3094 +else
    3095 +  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    3096 +See \`config.log' for more details." >&5
    3097 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    3098 +See \`config.log' for more details." >&2;}
    3099 +   { (exit 1); exit 1; }; }
    3100 +fi
    3101 +
    3102 +rm -f conftest$ac_cv_exeext
    3103 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    3104 +echo "${ECHO_T}$ac_cv_exeext" >&6
    3105 +
    3106 +rm -f conftest.$ac_ext
    3107 +EXEEXT=$ac_cv_exeext
    3108 +ac_exeext=$EXEEXT
    3109 +fi
    3110 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
    3111 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    3112 +if test "${ac_cv_objext+set}" = set; then
    3113 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    3114 +else
    3115 +  cat >conftest.$ac_ext <<_ACEOF
    3116 +/* confdefs.h.  */
    3117 +_ACEOF
    3118 +cat confdefs.h >>conftest.$ac_ext
    3119 +cat >>conftest.$ac_ext <<_ACEOF
    3120 +/* end confdefs.h.  */
    3121 +
    3122 +int
    3123 +main ()
    3124 +{
    3125 +
    3126 +  ;
    3127 +  return 0;
    3128 +}
    3129 +_ACEOF
    3130 +rm -f conftest.o conftest.obj
    3131 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3132 +  (eval $ac_compile) 2>&5
    3133 +  ac_status=$?
    3134 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3135 +  (exit $ac_status); }; then
    3136 +  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    3137 +  case $ac_file in
    3138 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    3139 +    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    3140 +       break;;
    3141 +  esac
    3142 +done
    3143 +else
    3144 +  echo "$as_me: failed program was:" >&5
    3145 +sed 's/^/| /' conftest.$ac_ext >&5
    3146 +
    3147 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    3148 +See \`config.log' for more details." >&5
    3149 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
    3150 +See \`config.log' for more details." >&2;}
    3151 +   { (exit 1); exit 1; }; }
    3152 +fi
    3153 +
    3154 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
    3155 +fi
    3156 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    3157 +echo "${ECHO_T}$ac_cv_objext" >&6
    3158 +OBJEXT=$ac_cv_objext
    3159 +ac_objext=$OBJEXT
    3160 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    3161 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    3162 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
    3163 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    3164 +else
    3165 +  cat >conftest.$ac_ext <<_ACEOF
    3166 +/* confdefs.h.  */
    3167 +_ACEOF
    3168 +cat confdefs.h >>conftest.$ac_ext
    3169 +cat >>conftest.$ac_ext <<_ACEOF
    3170 +/* end confdefs.h.  */
    3171 +
    3172 +int
    3173 +main ()
    3174 +{
    3175 +#ifndef __GNUC__
    3176 +       choke me
    3177 +#endif
    3178 +
    3179 +  ;
    3180 +  return 0;
    3181 +}
    3182 +_ACEOF
    3183 +rm -f conftest.$ac_objext
    3184 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3185 +  (eval $ac_compile) 2>conftest.er1
    3186 +  ac_status=$?
    3187 +  grep -v '^ *+' conftest.er1 >conftest.err
    3188 +  rm -f conftest.er1
    3189 +  cat conftest.err >&5
    3190 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3191 +  (exit $ac_status); } &&
    3192 +        { ac_try='test -z "$ac_c_werror_flag"
    3193 +                        || test ! -s conftest.err'
    3194 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3195 +  (eval $ac_try) 2>&5
    3196 +  ac_status=$?
    3197 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3198 +  (exit $ac_status); }; } &&
    3199 +        { ac_try='test -s conftest.$ac_objext'
    3200 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3201 +  (eval $ac_try) 2>&5
    3202 +  ac_status=$?
    3203 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3204 +  (exit $ac_status); }; }; then
    3205 +  ac_compiler_gnu=yes
    3206 +else
    3207 +  echo "$as_me: failed program was:" >&5
    3208 +sed 's/^/| /' conftest.$ac_ext >&5
    3209 +
    3210 +ac_compiler_gnu=no
    3211 +fi
    3212 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3213 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
    3214 +
    3215 +fi
    3216 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    3217 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    3218 +GCC=`test $ac_compiler_gnu = yes && echo yes`
    3219 +ac_test_CFLAGS=${CFLAGS+set}
    3220 +ac_save_CFLAGS=$CFLAGS
    3221 +CFLAGS="-g"
    3222 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    3223 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    3224 +if test "${ac_cv_prog_cc_g+set}" = set; then
    3225 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    3226 +else
    3227 +  cat >conftest.$ac_ext <<_ACEOF
    3228 +/* confdefs.h.  */
    3229 +_ACEOF
    3230 +cat confdefs.h >>conftest.$ac_ext
    3231 +cat >>conftest.$ac_ext <<_ACEOF
    3232 +/* end confdefs.h.  */
    3233 +
    3234 +int
    3235 +main ()
    3236 +{
    3237 +
    3238 +  ;
    3239 +  return 0;
    3240 +}
    3241 +_ACEOF
    3242 +rm -f conftest.$ac_objext
    3243 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3244 +  (eval $ac_compile) 2>conftest.er1
    3245 +  ac_status=$?
    3246 +  grep -v '^ *+' conftest.er1 >conftest.err
    3247 +  rm -f conftest.er1
    3248 +  cat conftest.err >&5
    3249 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3250 +  (exit $ac_status); } &&
    3251 +        { ac_try='test -z "$ac_c_werror_flag"
    3252 +                        || test ! -s conftest.err'
    3253 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3254 +  (eval $ac_try) 2>&5
    3255 +  ac_status=$?
    3256 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3257 +  (exit $ac_status); }; } &&
    3258 +        { ac_try='test -s conftest.$ac_objext'
    3259 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3260 +  (eval $ac_try) 2>&5
    3261 +  ac_status=$?
    3262 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3263 +  (exit $ac_status); }; }; then
    3264 +  ac_cv_prog_cc_g=yes
    3265 +else
    3266 +  echo "$as_me: failed program was:" >&5
    3267 +sed 's/^/| /' conftest.$ac_ext >&5
    3268 +
    3269 +ac_cv_prog_cc_g=no
    3270 +fi
    3271 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3272 +fi
    3273 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    3274 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    3275 +if test "$ac_test_CFLAGS" = set; then
    3276 +  CFLAGS=$ac_save_CFLAGS
    3277 +elif test $ac_cv_prog_cc_g = yes; then
    3278 +  if test "$GCC" = yes; then
    3279 +    CFLAGS="-g -O2"
    3280 +  else
    3281 +    CFLAGS="-g"
    3282 +  fi
    3283 +else
    3284 +  if test "$GCC" = yes; then
    3285 +    CFLAGS="-O2"
    3286 +  else
    3287 +    CFLAGS=
    3288 +  fi
    3289 +fi
    3290 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    3291 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    3292 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
    3293 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    3294 +else
    3295 +  ac_cv_prog_cc_stdc=no
    3296 +ac_save_CC=$CC
    3297 +cat >conftest.$ac_ext <<_ACEOF
    3298 +/* confdefs.h.  */
    3299 +_ACEOF
    3300 +cat confdefs.h >>conftest.$ac_ext
    3301 +cat >>conftest.$ac_ext <<_ACEOF
    3302 +/* end confdefs.h.  */
    3303 +#include <stdarg.h>
    3304 +#include <stdio.h>
    3305 +#include <sys/types.h>
    3306 +#include <sys/stat.h>
    3307 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    3308 +struct buf { int x; };
    3309 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
    3310 +static char *e (p, i)
    3311 +     char **p;
    3312 +     int i;
    3313 +{
    3314 +  return p[i];
    3315 +}
    3316 +static char *f (char * (*g) (char **, int), char **p, ...)
    3317 +{
    3318 +  char *s;
    3319 +  va_list v;
    3320 +  va_start (v,p);
    3321 +  s = g (p, va_arg (v,int));
    3322 +  va_end (v);
    3323 +  return s;
    3324 +}
    3325 +
    3326 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    3327 +   function prototypes and stuff, but not '\xHH' hex character constants.
    3328 +   These don't provoke an error unfortunately, instead are silently treated
    3329 +   as 'x'.  The following induces an error, until -std1 is added to get
    3330 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    3331 +   array size at least.  It's necessary to write '\x00'==0 to get something
    3332 +   that's true only with -std1.  */
    3333 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    3334 +
    3335 +int test (int i, double x);
    3336 +struct s1 {int (*f) (int a);};
    3337 +struct s2 {int (*f) (double a);};
    3338 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    3339 +int argc;
    3340 +char **argv;
    3341 +int
    3342 +main ()
    3343 +{
    3344 +return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    3345 +  ;
    3346 +  return 0;
    3347 +}
    3348 +_ACEOF
    3349 +# Don't try gcc -ansi; that turns off useful extensions and
    3350 +# breaks some systems' header files.
    3351 +# AIX                  -qlanglvl=ansi
    3352 +# Ultrix and OSF/1     -std1
    3353 +# HP-UX 10.20 and later        -Ae
    3354 +# HP-UX older versions -Aa -D_HPUX_SOURCE
    3355 +# SVR4                 -Xc -D__EXTENSIONS__
    3356 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    3357 +do
    3358 +  CC="$ac_save_CC $ac_arg"
    3359 +  rm -f conftest.$ac_objext
    3360 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3361 +  (eval $ac_compile) 2>conftest.er1
    3362 +  ac_status=$?
    3363 +  grep -v '^ *+' conftest.er1 >conftest.err
    3364 +  rm -f conftest.er1
    3365 +  cat conftest.err >&5
    3366 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3367 +  (exit $ac_status); } &&
    3368 +        { ac_try='test -z "$ac_c_werror_flag"
    3369 +                        || test ! -s conftest.err'
    3370 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3371 +  (eval $ac_try) 2>&5
    3372 +  ac_status=$?
    3373 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3374 +  (exit $ac_status); }; } &&
    3375 +        { ac_try='test -s conftest.$ac_objext'
    3376 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3377 +  (eval $ac_try) 2>&5
    3378 +  ac_status=$?
    3379 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3380 +  (exit $ac_status); }; }; then
    3381 +  ac_cv_prog_cc_stdc=$ac_arg
    3382 +break
    3383 +else
    3384 +  echo "$as_me: failed program was:" >&5
    3385 +sed 's/^/| /' conftest.$ac_ext >&5
    3386 +
    3387 +fi
    3388 +rm -f conftest.err conftest.$ac_objext
    3389 +done
    3390 +rm -f conftest.$ac_ext conftest.$ac_objext
    3391 +CC=$ac_save_CC
    3392 +
    3393 +fi
    3394 +
    3395 +case "x$ac_cv_prog_cc_stdc" in
    3396 +  x|xno)
    3397 +    echo "$as_me:$LINENO: result: none needed" >&5
    3398 +echo "${ECHO_T}none needed" >&6 ;;
    3399 +  *)
    3400 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    3401 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    3402 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
    3403 +esac
    3404 +
    3405 +# Some people use a C++ compiler to compile C.  Since we use `exit',
    3406 +# in C++ we need to declare it.  In case someone uses the same compiler
    3407 +# for both compiling C and C++ we need to have the C++ compiler decide
    3408 +# the declaration of exit, since it's the most demanding environment.
    3409 +cat >conftest.$ac_ext <<_ACEOF
    3410 +#ifndef __cplusplus
    3411 +  choke me
    3412 +#endif
    3413 +_ACEOF
    3414 +rm -f conftest.$ac_objext
    3415 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3416 +  (eval $ac_compile) 2>conftest.er1
    3417 +  ac_status=$?
    3418 +  grep -v '^ *+' conftest.er1 >conftest.err
    3419 +  rm -f conftest.er1
    3420 +  cat conftest.err >&5
    3421 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3422 +  (exit $ac_status); } &&
    3423 +        { ac_try='test -z "$ac_c_werror_flag"
    3424 +                        || test ! -s conftest.err'
    3425 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3426 +  (eval $ac_try) 2>&5
    3427 +  ac_status=$?
    3428 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3429 +  (exit $ac_status); }; } &&
    3430 +        { ac_try='test -s conftest.$ac_objext'
    3431 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3432 +  (eval $ac_try) 2>&5
    3433 +  ac_status=$?
    3434 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3435 +  (exit $ac_status); }; }; then
    3436 +  for ac_declaration in \
    3437 +   '' \
    3438 +   'extern "C" void std::exit (int) throw (); using std::exit;' \
    3439 +   'extern "C" void std::exit (int); using std::exit;' \
    3440 +   'extern "C" void exit (int) throw ();' \
    3441 +   'extern "C" void exit (int);' \
    3442 +   'void exit (int);'
    3443 +do
    3444 +  cat >conftest.$ac_ext <<_ACEOF
    3445 +/* confdefs.h.  */
    3446 +_ACEOF
    3447 +cat confdefs.h >>conftest.$ac_ext
    3448 +cat >>conftest.$ac_ext <<_ACEOF
    3449 +/* end confdefs.h.  */
    3450 +$ac_declaration
    3451 +#include <stdlib.h>
    3452 +int
    3453 +main ()
    3454 +{
    3455 +exit (42);
    3456 +  ;
    3457 +  return 0;
    3458 +}
    3459 +_ACEOF
    3460 +rm -f conftest.$ac_objext
    3461 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3462 +  (eval $ac_compile) 2>conftest.er1
    3463 +  ac_status=$?
    3464 +  grep -v '^ *+' conftest.er1 >conftest.err
    3465 +  rm -f conftest.er1
    3466 +  cat conftest.err >&5
    3467 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3468 +  (exit $ac_status); } &&
    3469 +        { ac_try='test -z "$ac_c_werror_flag"
    3470 +                        || test ! -s conftest.err'
    3471 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3472 +  (eval $ac_try) 2>&5
    3473 +  ac_status=$?
    3474 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3475 +  (exit $ac_status); }; } &&
    3476 +        { ac_try='test -s conftest.$ac_objext'
    3477 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3478 +  (eval $ac_try) 2>&5
    3479 +  ac_status=$?
    3480 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3481 +  (exit $ac_status); }; }; then
    3482 +  :
    3483 +else
    3484 +  echo "$as_me: failed program was:" >&5
    3485 +sed 's/^/| /' conftest.$ac_ext >&5
    3486 +
    3487 +continue
    3488 +fi
    3489 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3490 +  cat >conftest.$ac_ext <<_ACEOF
    3491 +/* confdefs.h.  */
    3492 +_ACEOF
    3493 +cat confdefs.h >>conftest.$ac_ext
    3494 +cat >>conftest.$ac_ext <<_ACEOF
    3495 +/* end confdefs.h.  */
    3496 +$ac_declaration
    3497 +int
    3498 +main ()
    3499 +{
    3500 +exit (42);
    3501 +  ;
    3502 +  return 0;
    3503 +}
    3504 +_ACEOF
    3505 +rm -f conftest.$ac_objext
    3506 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3507 +  (eval $ac_compile) 2>conftest.er1
    3508 +  ac_status=$?
    3509 +  grep -v '^ *+' conftest.er1 >conftest.err
    3510 +  rm -f conftest.er1
    3511 +  cat conftest.err >&5
    3512 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3513 +  (exit $ac_status); } &&
    3514 +        { ac_try='test -z "$ac_c_werror_flag"
    3515 +                        || test ! -s conftest.err'
    3516 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3517 +  (eval $ac_try) 2>&5
    3518 +  ac_status=$?
    3519 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3520 +  (exit $ac_status); }; } &&
    3521 +        { ac_try='test -s conftest.$ac_objext'
    3522 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3523 +  (eval $ac_try) 2>&5
    3524 +  ac_status=$?
    3525 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3526 +  (exit $ac_status); }; }; then
    3527 +  break
    3528 +else
    3529 +  echo "$as_me: failed program was:" >&5
    3530 +sed 's/^/| /' conftest.$ac_ext >&5
    3531 +
    3532 +fi
    3533 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3534 +done
    3535 +rm -f conftest*
    3536 +if test -n "$ac_declaration"; then
    3537 +  echo '#ifdef __cplusplus' >>confdefs.h
    3538 +  echo $ac_declaration      >>confdefs.h
    3539 +  echo '#endif'             >>confdefs.h
    3540 +fi
    3541 +
    3542 +else
    3543 +  echo "$as_me: failed program was:" >&5
    3544 +sed 's/^/| /' conftest.$ac_ext >&5
    3545 +
    3546 +fi
    3547 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3548 +ac_ext=c
    3549 +ac_cpp='$CPP $CPPFLAGS'
    3550 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3551 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3552 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3553 +
    3554 +  ac_ext=cc
    3555 +ac_cpp='$CXXCPP $CPPFLAGS'
    3556 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3557 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3558 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3559 +if test -n "$ac_tool_prefix"; then
    3560 +  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    3561 +  do
    3562 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    3563 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3564 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    3565 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3566 +if test "${glibcxx_cv_prog_CXX+set}" = set; then
    3567 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    3568 +else
    3569 +  if test -n "$CXX"; then
    3570 +  glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
    3571 +else
    3572 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3573 +for as_dir in $PATH
    3574 +do
    3575 +  IFS=$as_save_IFS
    3576 +  test -z "$as_dir" && as_dir=.
    3577 +  for ac_exec_ext in '' $ac_executable_extensions; do
    3578 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3579 +    glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3580 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3581 +    break 2
    3582 +  fi
    3583 +done
    3584 +done
    3585 +
    3586 +fi
    3587 +fi
    3588 +CXX=$glibcxx_cv_prog_CXX
    3589 +if test -n "$CXX"; then
    3590 +  echo "$as_me:$LINENO: result: $CXX" >&5
    3591 +echo "${ECHO_T}$CXX" >&6
    3592 +else
    3593 +  echo "$as_me:$LINENO: result: no" >&5
    3594 +echo "${ECHO_T}no" >&6
    3595 +fi
    3596 +
    3597 +    test -n "$CXX" && break
    3598 +  done
    3599 +fi
    3600 +if test -z "$CXX"; then
    3601 +  ac_ct_CXX=$CXX
    3602 +  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    3603 +do
    3604 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
    3605 +set dummy $ac_prog; ac_word=$2
    3606 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    3607 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3608 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    3609 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    3610 +else
    3611 +  if test -n "$ac_ct_CXX"; then
    3612 +  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    3613 +else
    3614 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3615 +for as_dir in $PATH
    3616 +do
    3617 +  IFS=$as_save_IFS
    3618 +  test -z "$as_dir" && as_dir=.
    3619 +  for ac_exec_ext in '' $ac_executable_extensions; do
    3620 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3621 +    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3622 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3623 +    break 2
    3624 +  fi
    3625 +done
    3626 +done
    3627 +
    3628 +fi
    3629 +fi
    3630 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    3631 +if test -n "$ac_ct_CXX"; then
    3632 +  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    3633 +echo "${ECHO_T}$ac_ct_CXX" >&6
    3634 +else
    3635 +  echo "$as_me:$LINENO: result: no" >&5
    3636 +echo "${ECHO_T}no" >&6
    3637 +fi
    3638 +
    3639 +  test -n "$ac_ct_CXX" && break
    3640 +done
    3641 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    3642 +
    3643 +  CXX=$ac_ct_CXX
    3644 +fi
    3645 +
    3646 +
    3647 +# Provide some information about the compiler.
    3648 +echo "$as_me:$LINENO:" \
    3649 +     "checking for C++ compiler version" >&5
    3650 +ac_compiler=`set X $ac_compile; echo $2`
    3651 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    3652 +  (eval $ac_compiler --version </dev/null >&5) 2>&5
    3653 +  ac_status=$?
    3654 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3655 +  (exit $ac_status); }
    3656 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    3657 +  (eval $ac_compiler -v </dev/null >&5) 2>&5
    3658 +  ac_status=$?
    3659 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3660 +  (exit $ac_status); }
    3661 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    3662 +  (eval $ac_compiler -V </dev/null >&5) 2>&5
    3663 +  ac_status=$?
    3664 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3665 +  (exit $ac_status); }
    3666 +
    3667 +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    3668 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    3669 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    3670 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    3671 +else
    3672 +  cat >conftest.$ac_ext <<_ACEOF
    3673 +/* confdefs.h.  */
    3674 +_ACEOF
    3675 +cat confdefs.h >>conftest.$ac_ext
    3676 +cat >>conftest.$ac_ext <<_ACEOF
    3677 +/* end confdefs.h.  */
    3678 +
    3679 +int
    3680 +main ()
    3681 +{
    3682 +#ifndef __GNUC__
    3683 +       choke me
    3684 +#endif
    3685 +
    3686 +  ;
    3687 +  return 0;
    3688 +}
    3689 +_ACEOF
    3690 +rm -f conftest.$ac_objext
    3691 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3692 +  (eval $ac_compile) 2>conftest.er1
    3693 +  ac_status=$?
    3694 +  grep -v '^ *+' conftest.er1 >conftest.err
    3695 +  rm -f conftest.er1
    3696 +  cat conftest.err >&5
    3697 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3698 +  (exit $ac_status); } &&
    3699 +        { ac_try='test -z "$ac_cxx_werror_flag"
    3700 +                        || test ! -s conftest.err'
    3701 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3702 +  (eval $ac_try) 2>&5
    3703 +  ac_status=$?
    3704 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3705 +  (exit $ac_status); }; } &&
    3706 +        { ac_try='test -s conftest.$ac_objext'
    3707 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3708 +  (eval $ac_try) 2>&5
    3709 +  ac_status=$?
    3710 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3711 +  (exit $ac_status); }; }; then
    3712 +  ac_compiler_gnu=yes
    3713 +else
    3714 +  echo "$as_me: failed program was:" >&5
    3715 +sed 's/^/| /' conftest.$ac_ext >&5
    3716 +
    3717 +ac_compiler_gnu=no
    3718 +fi
    3719 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3720 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    3721 +
    3722 +fi
    3723 +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3724 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    3725 +GXX=`test $ac_compiler_gnu = yes && echo yes`
    3726 +ac_test_CXXFLAGS=${CXXFLAGS+set}
    3727 +ac_save_CXXFLAGS=$CXXFLAGS
    3728 +CXXFLAGS="-g"
    3729 +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3730 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    3731 +if test "${ac_cv_prog_cxx_g+set}" = set; then
    3732 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    3733 +else
    3734 +  cat >conftest.$ac_ext <<_ACEOF
    3735 +/* confdefs.h.  */
    3736 +_ACEOF
    3737 +cat confdefs.h >>conftest.$ac_ext
    3738 +cat >>conftest.$ac_ext <<_ACEOF
    3739 +/* end confdefs.h.  */
    3740 +
    3741 +int
    3742 +main ()
    3743 +{
    3744 +
    3745 +  ;
    3746 +  return 0;
    3747 +}
    3748 +_ACEOF
    3749 +rm -f conftest.$ac_objext
    3750 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3751 +  (eval $ac_compile) 2>conftest.er1
    3752 +  ac_status=$?
    3753 +  grep -v '^ *+' conftest.er1 >conftest.err
    3754 +  rm -f conftest.er1
    3755 +  cat conftest.err >&5
    3756 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3757 +  (exit $ac_status); } &&
    3758 +        { ac_try='test -z "$ac_cxx_werror_flag"
    3759 +                        || test ! -s conftest.err'
    3760 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3761 +  (eval $ac_try) 2>&5
    3762 +  ac_status=$?
    3763 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3764 +  (exit $ac_status); }; } &&
    3765 +        { ac_try='test -s conftest.$ac_objext'
    3766 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3767 +  (eval $ac_try) 2>&5
    3768 +  ac_status=$?
    3769 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3770 +  (exit $ac_status); }; }; then
    3771 +  ac_cv_prog_cxx_g=yes
    3772 +else
    3773 +  echo "$as_me: failed program was:" >&5
    3774 +sed 's/^/| /' conftest.$ac_ext >&5
    3775 +
    3776 +ac_cv_prog_cxx_g=no
    3777 +fi
    3778 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3779 +fi
    3780 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3781 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    3782 +if test "$ac_test_CXXFLAGS" = set; then
    3783 +  CXXFLAGS=$ac_save_CXXFLAGS
    3784 +elif test $ac_cv_prog_cxx_g = yes; then
    3785 +  if test "$GXX" = yes; then
    3786 +    CXXFLAGS="-g -O2"
    3787 +  else
    3788 +    CXXFLAGS="-g"
    3789 +  fi
    3790 +else
    3791 +  if test "$GXX" = yes; then
    3792 +    CXXFLAGS="-O2"
    3793 +  else
    3794 +    CXXFLAGS=
    3795 +  fi
    3796 +fi
    3797 +for ac_declaration in \
    3798 +   '' \
    3799 +   'extern "C" void std::exit (int) throw (); using std::exit;' \
    3800 +   'extern "C" void std::exit (int); using std::exit;' \
    3801 +   'extern "C" void exit (int) throw ();' \
    3802 +   'extern "C" void exit (int);' \
    3803 +   'void exit (int);'
    3804 +do
    3805 +  cat >conftest.$ac_ext <<_ACEOF
    3806 +/* confdefs.h.  */
    3807 +_ACEOF
    3808 +cat confdefs.h >>conftest.$ac_ext
    3809 +cat >>conftest.$ac_ext <<_ACEOF
    3810 +/* end confdefs.h.  */
    3811 +$ac_declaration
    3812 +#include <stdlib.h>
    3813 +int
    3814 +main ()
    3815 +{
    3816 +exit (42);
    3817 +  ;
    3818 +  return 0;
    3819 +}
    3820 +_ACEOF
    3821 +rm -f conftest.$ac_objext
    3822 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3823 +  (eval $ac_compile) 2>conftest.er1
    3824 +  ac_status=$?
    3825 +  grep -v '^ *+' conftest.er1 >conftest.err
    3826 +  rm -f conftest.er1
    3827 +  cat conftest.err >&5
    3828 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3829 +  (exit $ac_status); } &&
    3830 +        { ac_try='test -z "$ac_cxx_werror_flag"
    3831 +                        || test ! -s conftest.err'
    3832 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3833 +  (eval $ac_try) 2>&5
    3834 +  ac_status=$?
    3835 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3836 +  (exit $ac_status); }; } &&
    3837 +        { ac_try='test -s conftest.$ac_objext'
    3838 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3839 +  (eval $ac_try) 2>&5
    3840 +  ac_status=$?
    3841 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3842 +  (exit $ac_status); }; }; then
    3843 +  :
    3844 +else
    3845 +  echo "$as_me: failed program was:" >&5
    3846 +sed 's/^/| /' conftest.$ac_ext >&5
    3847 +
    3848 +continue
    3849 +fi
    3850 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3851 +  cat >conftest.$ac_ext <<_ACEOF
    3852 +/* confdefs.h.  */
    3853 +_ACEOF
    3854 +cat confdefs.h >>conftest.$ac_ext
    3855 +cat >>conftest.$ac_ext <<_ACEOF
    3856 +/* end confdefs.h.  */
    3857 +$ac_declaration
    3858 +int
    3859 +main ()
    3860 +{
    3861 +exit (42);
    3862 +  ;
    3863 +  return 0;
    3864 +}
    3865 +_ACEOF
    3866 +rm -f conftest.$ac_objext
    3867 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3868 +  (eval $ac_compile) 2>conftest.er1
    3869 +  ac_status=$?
    3870 +  grep -v '^ *+' conftest.er1 >conftest.err
    3871 +  rm -f conftest.er1
    3872 +  cat conftest.err >&5
    3873 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3874 +  (exit $ac_status); } &&
    3875 +        { ac_try='test -z "$ac_cxx_werror_flag"
    3876 +                        || test ! -s conftest.err'
    3877 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3878 +  (eval $ac_try) 2>&5
    3879 +  ac_status=$?
    3880 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3881 +  (exit $ac_status); }; } &&
    3882 +        { ac_try='test -s conftest.$ac_objext'
    3883 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3884 +  (eval $ac_try) 2>&5
    3885 +  ac_status=$?
    3886 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3887 +  (exit $ac_status); }; }; then
    3888 +  break
    3889 +else
    3890 +  echo "$as_me: failed program was:" >&5
    3891 +sed 's/^/| /' conftest.$ac_ext >&5
    3892 +
    3893 +fi
    3894 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3895 +done
    3896 +rm -f conftest*
    3897 +if test -n "$ac_declaration"; then
    3898 +  echo '#ifdef __cplusplus' >>confdefs.h
    3899 +  echo $ac_declaration      >>confdefs.h
    3900 +  echo '#endif'             >>confdefs.h
    3901 +fi
    3902 +
    3903 +ac_ext=c
    3904 +ac_cpp='$CPP $CPPFLAGS'
    3905 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3906 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3907 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3908 +
    3909 +  CXXFLAGS="$save_CXXFLAGS"
    3910 +
    3911 +
    3912 +
    3913 +
    3914 +  # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
    3915 +  # available).  Uncomment the next line to force a particular method.
    3916 +  echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3917 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    3918 +LN_S=$as_ln_s
    3919 +if test "$LN_S" = "ln -s"; then
    3920 +  echo "$as_me:$LINENO: result: yes" >&5
    3921 +echo "${ECHO_T}yes" >&6
    3922 +else
    3923 +  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3924 +echo "${ECHO_T}no, using $LN_S" >&6
    3925 +fi
    3926 +
    3927 +  #LN_S='cp -p'
    3928 +
    3929 +  if test -n "$ac_tool_prefix"; then
    3930 +  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
    3931 +set dummy ${ac_tool_prefix}as; ac_word=$2
    3932 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    3933 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3934 +if test "${ac_cv_prog_AS+set}" = set; then
    3935 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    3936 +else
    3937 +  if test -n "$AS"; then
    3938 +  ac_cv_prog_AS="$AS" # Let the user override the test.
    3939 +else
    3940 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3941 +for as_dir in $PATH
    3942 +do
    3943 +  IFS=$as_save_IFS
    3944 +  test -z "$as_dir" && as_dir=.
    3945 +  for ac_exec_ext in '' $ac_executable_extensions; do
    3946 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3947 +    ac_cv_prog_AS="${ac_tool_prefix}as"
    3948 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3949 +    break 2
    3950 +  fi
    3951 +done
    3952 +done
    3953 +
    3954 +fi
    3955 +fi
    3956 +AS=$ac_cv_prog_AS
    3957 +if test -n "$AS"; then
    3958 +  echo "$as_me:$LINENO: result: $AS" >&5
    3959 +echo "${ECHO_T}$AS" >&6
    3960 +else
    3961 +  echo "$as_me:$LINENO: result: no" >&5
    3962 +echo "${ECHO_T}no" >&6
    3963 +fi
    3964 +
    3965 +fi
    3966 +if test -z "$ac_cv_prog_AS"; then
    3967 +  ac_ct_AS=$AS
    3968 +  # Extract the first word of "as", so it can be a program name with args.
    3969 +set dummy as; ac_word=$2
    3970 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    3971 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3972 +if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
    3973 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    3974 +else
    3975 +  if test -n "$ac_ct_AS"; then
    3976 +  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
    3977 +else
    3978 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3979 +for as_dir in $PATH
    3980 +do
    3981 +  IFS=$as_save_IFS
    3982 +  test -z "$as_dir" && as_dir=.
    3983 +  for ac_exec_ext in '' $ac_executable_extensions; do
    3984 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3985 +    ac_cv_prog_ac_ct_AS="as"
    3986 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3987 +    break 2
    3988 +  fi
    3989 +done
    3990 +done
    3991 +
    3992 +fi
    3993 +fi
    3994 +ac_ct_AS=$ac_cv_prog_ac_ct_AS
    3995 +if test -n "$ac_ct_AS"; then
    3996 +  echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
    3997 +echo "${ECHO_T}$ac_ct_AS" >&6
    3998 +else
    3999 +  echo "$as_me:$LINENO: result: no" >&5
    4000 +echo "${ECHO_T}no" >&6
    4001 +fi
    4002 +
    4003 +  AS=$ac_ct_AS
    4004 +else
    4005 +  AS="$ac_cv_prog_AS"
    4006 +fi
    4007 +
    4008 +  if test -n "$ac_tool_prefix"; then
    4009 +  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
    4010 +set dummy ${ac_tool_prefix}ar; ac_word=$2
    4011 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    4012 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4013 +if test "${ac_cv_prog_AR+set}" = set; then
    4014 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4015 +else
    4016 +  if test -n "$AR"; then
    4017 +  ac_cv_prog_AR="$AR" # Let the user override the test.
    4018 +else
    4019 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4020 +for as_dir in $PATH
    4021 +do
    4022 +  IFS=$as_save_IFS
    4023 +  test -z "$as_dir" && as_dir=.
    4024 +  for ac_exec_ext in '' $ac_executable_extensions; do
    4025 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4026 +    ac_cv_prog_AR="${ac_tool_prefix}ar"
    4027 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4028 +    break 2
    4029 +  fi
    4030 +done
    4031 +done
    4032 +
    4033 +fi
    4034 +fi
    4035 +AR=$ac_cv_prog_AR
    4036 +if test -n "$AR"; then
    4037 +  echo "$as_me:$LINENO: result: $AR" >&5
    4038 +echo "${ECHO_T}$AR" >&6
    4039 +else
    4040 +  echo "$as_me:$LINENO: result: no" >&5
    4041 +echo "${ECHO_T}no" >&6
    4042 +fi
    4043 +
    4044 +fi
    4045 +if test -z "$ac_cv_prog_AR"; then
    4046 +  ac_ct_AR=$AR
    4047 +  # Extract the first word of "ar", so it can be a program name with args.
    4048 +set dummy ar; ac_word=$2
    4049 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    4050 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4051 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
    4052 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4053 +else
    4054 +  if test -n "$ac_ct_AR"; then
    4055 +  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
    4056 +else
    4057 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4058 +for as_dir in $PATH
    4059 +do
    4060 +  IFS=$as_save_IFS
    4061 +  test -z "$as_dir" && as_dir=.
    4062 +  for ac_exec_ext in '' $ac_executable_extensions; do
    4063 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4064 +    ac_cv_prog_ac_ct_AR="ar"
    4065 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4066 +    break 2
    4067 +  fi
    4068 +done
    4069 +done
    4070 +
    4071 +fi
    4072 +fi
    4073 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
    4074 +if test -n "$ac_ct_AR"; then
    4075 +  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
    4076 +echo "${ECHO_T}$ac_ct_AR" >&6
    4077 +else
    4078 +  echo "$as_me:$LINENO: result: no" >&5
    4079 +echo "${ECHO_T}no" >&6
    4080 +fi
    4081 +
    4082 +  AR=$ac_ct_AR
    4083 +else
    4084 +  AR="$ac_cv_prog_AR"
    4085 +fi
    4086 +
    4087 +  if test -n "$ac_tool_prefix"; then
    4088 +  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    4089 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    4090 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    4091 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4092 +if test "${ac_cv_prog_RANLIB+set}" = set; then
    4093 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4094 +else
    4095 +  if test -n "$RANLIB"; then
    4096 +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    4097 +else
    4098 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4099 +for as_dir in $PATH
    4100 +do
    4101 +  IFS=$as_save_IFS
    4102 +  test -z "$as_dir" && as_dir=.
    4103 +  for ac_exec_ext in '' $ac_executable_extensions; do
    4104 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4105 +    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    4106 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4107 +    break 2
    4108 +  fi
    4109 +done
    4110 +done
    4111 +
    4112 +fi
    4113 +fi
    4114 +RANLIB=$ac_cv_prog_RANLIB
    4115 +if test -n "$RANLIB"; then
    4116 +  echo "$as_me:$LINENO: result: $RANLIB" >&5
    4117 +echo "${ECHO_T}$RANLIB" >&6
    4118 +else
    4119 +  echo "$as_me:$LINENO: result: no" >&5
    4120 +echo "${ECHO_T}no" >&6
    4121 +fi
    4122 +
    4123 +fi
    4124 +if test -z "$ac_cv_prog_RANLIB"; then
    4125 +  ac_ct_RANLIB=$RANLIB
    4126 +  # Extract the first word of "ranlib", so it can be a program name with args.
    4127 +set dummy ranlib; ac_word=$2
    4128 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    4129 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4130 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    4131 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4132 +else
    4133 +  if test -n "$ac_ct_RANLIB"; then
    4134 +  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    4135 +else
    4136 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4137 +for as_dir in $PATH
    4138 +do
    4139 +  IFS=$as_save_IFS
    4140 +  test -z "$as_dir" && as_dir=.
    4141 +  for ac_exec_ext in '' $ac_executable_extensions; do
    4142 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4143 +    ac_cv_prog_ac_ct_RANLIB="ranlib"
    4144 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4145 +    break 2
    4146 +  fi
    4147 +done
    4148 +done
    4149 +
    4150 +  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
    4151 +fi
    4152 +fi
    4153 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    4154 +if test -n "$ac_ct_RANLIB"; then
    4155 +  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    4156 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
    4157 +else
    4158 +  echo "$as_me:$LINENO: result: no" >&5
    4159 +echo "${ECHO_T}no" >&6
    4160 +fi
    4161 +
    4162 +  RANLIB=$ac_ct_RANLIB
    4163 +else
    4164 +  RANLIB="$ac_cv_prog_RANLIB"
    4165 +fi
    4166 +
    4167 +
    4168 +  echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
    4169 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
    4170 +    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    4171 +if test "${enable_maintainer_mode+set}" = set; then
    4172 +  enableval="$enable_maintainer_mode"
    4173 +  USE_MAINTAINER_MODE=$enableval
    4174 +else
    4175 +  USE_MAINTAINER_MODE=no
    4176 +fi;
    4177 +  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
    4178 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
    4179 +
    4180 +
    4181 +if test $USE_MAINTAINER_MODE = yes; then
    4182 +  MAINTAINER_MODE_TRUE=
    4183 +  MAINTAINER_MODE_FALSE='#'
    4184 +else
    4185 +  MAINTAINER_MODE_TRUE='#'
    4186 +  MAINTAINER_MODE_FALSE=
    4187 +fi
    4188 +
    4189 +  MAINT=$MAINTAINER_MODE_TRUE
    4190 +
    4191 +
    4192 +
    4193 +  # Set up safe default values for all subsequent AM_CONDITIONAL tests
    4194 +  # which are themselves conditionally expanded.
    4195 +  ## (Right now, this only matters for enable_wchar_t, but nothing prevents
    4196 +  ## other macros from doing the same.  This should be automated.)  -pme
    4197 +  need_libmath=no
    4198 +
    4199 +  # Check for uClibc since Linux platforms use different configuration
    4200 +  # directories depending on the C library in use.
    4201 +  cat >conftest.$ac_ext <<_ACEOF
    4202 +/* confdefs.h.  */
    4203 +_ACEOF
    4204 +cat confdefs.h >>conftest.$ac_ext
    4205 +cat >>conftest.$ac_ext <<_ACEOF
    4206 +/* end confdefs.h.  */
    4207 +
    4208 +  #include <stdio.h>
    4209 +  #if __UCLIBC__
    4210 +    _using_uclibc
    4211 +  #endif
    4212 +
    4213 +_ACEOF
    4214 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4215 +  $EGREP "_using_uclibc" >/dev/null 2>&1; then
    4216 +  uclibc=yes
    4217 +else
    4218 +  uclibc=no
    4219 +fi
    4220 +rm -f conftest*
    4221 +
    4222 +
    4223 +  # Find platform-specific directories containing configuration info.
    4224 +  # Also possibly modify flags used elsewhere, as needed by the platform.
    4225 +
    4226 +  . $glibcxx_srcdir/configure.host
    4227 +  { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
    4228 +echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
    4229 +  { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
    4230 +echo "$as_me: OS config directory is $os_include_dir" >&6;}
    4231 +
    4232 +
    4233 +
    4234 +
    4235 +# Check whether --enable-shared or --disable-shared was given.
    4236 +if test "${enable_shared+set}" = set; then
    4237 +  enableval="$enable_shared"
    4238 +  p=${PACKAGE-default}
    4239 +case $enableval in
    4240 +yes) enable_shared=yes ;;
    4241 +no) enable_shared=no ;;
    4242 +*)
    4243 +  enable_shared=no
    4244 +  # Look at the argument we got.  We use all the common list separators.
    4245 +  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    4246 +  for pkg in $enableval; do
    4247 +    if test "X$pkg" = "X$p"; then
    4248 +      enable_shared=yes
    4249 +    fi
    4250 +  done
    4251 +  IFS="$ac_save_ifs"
    4252 +  ;;
    4253 +esac
    4254 +else
    4255 +  enable_shared=yes
    4256 +fi;
    4257 +# Check whether --enable-static or --disable-static was given.
    4258 +if test "${enable_static+set}" = set; then
    4259 +  enableval="$enable_static"
    4260 +  p=${PACKAGE-default}
    4261 +case $enableval in
    4262 +yes) enable_static=yes ;;
    4263 +no) enable_static=no ;;
    4264 +*)
    4265 +  enable_static=no
    4266 +  # Look at the argument we got.  We use all the common list separators.
    4267 +  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    4268 +  for pkg in $enableval; do
    4269 +    if test "X$pkg" = "X$p"; then
    4270 +      enable_static=yes
    4271 +    fi
    4272 +  done
    4273 +  IFS="$ac_save_ifs"
    4274 +  ;;
    4275 +esac
    4276 +else
    4277 +  enable_static=yes
    4278 +fi;
    4279 +# Check whether --enable-fast-install or --disable-fast-install was given.
    4280 +if test "${enable_fast_install+set}" = set; then
    4281 +  enableval="$enable_fast_install"
    4282 +  p=${PACKAGE-default}
    4283 +case $enableval in
    4284 +yes) enable_fast_install=yes ;;
    4285 +no) enable_fast_install=no ;;
    4286 +*)
    4287 +  enable_fast_install=no
    4288 +  # Look at the argument we got.  We use all the common list separators.
    4289 +  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    4290 +  for pkg in $enableval; do
    4291 +    if test "X$pkg" = "X$p"; then
    4292 +      enable_fast_install=yes
    4293 +    fi
    4294 +  done
    4295 +  IFS="$ac_save_ifs"
    4296 +  ;;
    4297 +esac
    4298 +else
    4299 +  enable_fast_install=yes
    4300 +fi;
    4301 +
    4302 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
    4303 +if test "${with_gnu_ld+set}" = set; then
    4304 +  withval="$with_gnu_ld"
    4305 +  test "$withval" = no || with_gnu_ld=yes
    4306 +else
    4307 +  with_gnu_ld=no
    4308 +fi;
    4309 +ac_prog=ld
    4310 +if test "$GCC" = yes; then
    4311 +  # Check if gcc -print-prog-name=ld gives a path.
    4312 +  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
    4313 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
    4314 +  case $host in
    4315 +  *-*-mingw*)
    4316 +    # gcc leaves a trailing carriage return which upsets mingw
    4317 +    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    4318 +  *)
    4319 +    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    4320 +  esac
    4321 +  case $ac_prog in
    4322 +    # Accept absolute paths.
    4323 +    [\\/]* | [A-Za-z]:[\\/]*)
    4324 +      re_direlt='/[^/][^/]*/\.\./'
    4325 +      # Canonicalize the path of ld
    4326 +      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
    4327 +      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
    4328 +       ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
    4329 +      done
    4330 +      test -z "$LD" && LD="$ac_prog"
    4331 +      ;;
    4332 +  "")
    4333 +    # If it fails, then pretend we aren't using GCC.
    4334 +    ac_prog=ld
    4335 +    ;;
    4336 +  *)
    4337 +    # If it is relative, then search for the first ld in PATH.
    4338 +    with_gnu_ld=unknown
    4339 +    ;;
    4340 +  esac
    4341 +elif test "$with_gnu_ld" = yes; then
    4342 +  echo "$as_me:$LINENO: checking for GNU ld" >&5
    4343 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
    4344 +else
    4345 +  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
    4346 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
    4347 +fi
    4348 +if test "${lt_cv_path_LD+set}" = set; then
    4349 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4350 +else
    4351 +  if test -z "$LD"; then
    4352 +  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
    4353 +  for ac_dir in $PATH; do
    4354 +    test -z "$ac_dir" && ac_dir=.
    4355 +    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    4356 +      lt_cv_path_LD="$ac_dir/$ac_prog"
    4357 +      # Check to see if the program is GNU ld.  I'd rather use --version,
    4358 +      # but apparently some GNU ld's only accept -v.
    4359 +      # Break only if it was the GNU/non-GNU ld that we prefer.
    4360 +      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    4361 +       test "$with_gnu_ld" != no && break
    4362 +      else
    4363 +       test "$with_gnu_ld" != yes && break
    4364 +      fi
    4365 +    fi
    4366 +  done
    4367 +  IFS="$ac_save_ifs"
    4368 +else
    4369 +  lt_cv_path_LD="$LD" # Let the user override the test with a path.
    4370 +fi
    4371 +fi
    4372 +
    4373 +LD="$lt_cv_path_LD"
    4374 +if test -n "$LD"; then
    4375 +  echo "$as_me:$LINENO: result: $LD" >&5
    4376 +echo "${ECHO_T}$LD" >&6
    4377 +else
    4378 +  echo "$as_me:$LINENO: result: no" >&5
    4379 +echo "${ECHO_T}no" >&6
    4380 +fi
    4381 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
    4382 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
    4383 +   { (exit 1); exit 1; }; }
    4384 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
    4385 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
    4386 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
    4387 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4388 +else
    4389 +  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    4390 +if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    4391 +  lt_cv_prog_gnu_ld=yes
    4392 +else
    4393 +  lt_cv_prog_gnu_ld=no
    4394 +fi
    4395 +fi
    4396 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
    4397 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
    4398 +with_gnu_ld=$lt_cv_prog_gnu_ld
    4399 +
    4400 +
    4401 +echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
    4402 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
    4403 +if test "${lt_cv_ld_reload_flag+set}" = set; then
    4404 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4405 +else
    4406 +  lt_cv_ld_reload_flag='-r'
    4407 +fi
    4408 +echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
    4409 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
    4410 +reload_flag=$lt_cv_ld_reload_flag
    4411 +test -n "$reload_flag" && reload_flag=" $reload_flag"
    4412 +
    4413 +echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
    4414 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
    4415 +if test "${lt_cv_path_NM+set}" = set; then
    4416 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4417 +else
    4418 +  if test -n "$NM"; then
    4419 +  # Let the user override the test.
    4420 +  lt_cv_path_NM="$NM"
    4421 +else
    4422 +  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
    4423 +  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
    4424 +    test -z "$ac_dir" && ac_dir=.
    4425 +    tmp_nm=$ac_dir/${ac_tool_prefix}nm
    4426 +    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
    4427 +      # Check to see if the nm accepts a BSD-compat flag.
    4428 +      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
    4429 +      #   nm: unknown option "B" ignored
    4430 +      # Tru64's nm complains that /dev/null is an invalid object file
    4431 +      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    4432 +       lt_cv_path_NM="$tmp_nm -B"
    4433 +       break
    4434 +      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
    4435 +       lt_cv_path_NM="$tmp_nm -p"
    4436 +       break
    4437 +      else
    4438 +       lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    4439 +       continue # so that we can try to find one that supports BSD flags
    4440 +      fi
    4441 +    fi
    4442 +  done
    4443 +  IFS="$ac_save_ifs"
    4444 +  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
    4445 +fi
    4446 +fi
    4447 +
    4448 +NM="$lt_cv_path_NM"
    4449 +echo "$as_me:$LINENO: result: $NM" >&5
    4450 +echo "${ECHO_T}$NM" >&6
    4451 +
    4452 +echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
    4453 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
    4454 +if test "${lt_cv_deplibs_check_method+set}" = set; then
    4455 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4456 +else
    4457 +  lt_cv_file_magic_cmd='$MAGIC_CMD'
    4458 +lt_cv_file_magic_test_file=
    4459 +lt_cv_deplibs_check_method='unknown'
    4460 +# Need to set the preceding variable on all platforms that support
    4461 +# interlibrary dependencies.
    4462 +# 'none' -- dependencies not supported.
    4463 +# `unknown' -- same as none, but documents that we really don't know.
    4464 +# 'pass_all' -- all dependencies passed with no checks.
    4465 +# 'test_compile' -- check by making test program.
    4466 +# 'file_magic [regex]' -- check by looking for files in library path
    4467 +# which responds to the $file_magic_cmd with a given egrep regex.
    4468 +# If you have `file' or equivalent on your system and you're not sure
    4469 +# whether `pass_all' will *always* work, you probably want this one.
    4470 +
    4471 +case $host_os in
    4472 +aix*)
    4473 +  lt_cv_deplibs_check_method=pass_all
    4474 +  ;;
    4475 +
    4476 +beos*)
    4477 +  lt_cv_deplibs_check_method=pass_all
    4478 +  ;;
    4479 +
    4480 +bsdi4*)
    4481 +  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    4482 +  lt_cv_file_magic_cmd='/usr/bin/file -L'
    4483 +  lt_cv_file_magic_test_file=/shlib/libc.so
    4484 +  ;;
    4485 +
    4486 +cygwin* | mingw* |pw32*)
    4487 +  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
    4488 +  lt_cv_file_magic_cmd='$OBJDUMP -f'
    4489 +  ;;
    4490 +
    4491 +darwin* | rhapsody*)
    4492 +  # this will be overwritten by pass_all, but leave it in just in case
    4493 +  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
    4494 +  lt_cv_file_magic_cmd='/usr/bin/file -L'
    4495 +  case "$host_os" in
    4496 +  rhapsody* | darwin1.012)
    4497 +    lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
    4498 +    ;;
    4499 +  *) # Darwin 1.3 on
    4500 +    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
    4501 +    ;;
    4502 +  esac
    4503 +  lt_cv_deplibs_check_method=pass_all
    4504 +  ;;
    4505 +
    4506 +freebsd* | kfreebsd*-gnu)
    4507 +  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    4508 +    case $host_cpu in
    4509 +    i*86 )
    4510 +      # Not sure whether the presence of OpenBSD here was a mistake.
    4511 +      # Let's accept both of them until this is cleared up.
    4512 +      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
    4513 +      lt_cv_file_magic_cmd=/usr/bin/file
    4514 +      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    4515 +      ;;
    4516 +    esac
    4517 +  else
    4518 +    lt_cv_deplibs_check_method=pass_all
    4519 +  fi
    4520 +  ;;
    4521 +
    4522 +gnu*)
    4523 +  lt_cv_deplibs_check_method=pass_all
    4524 +  ;;
    4525 +
    4526 +hpux10.20*|hpux11*)
    4527 +  case $host_cpu in
    4528 +  hppa*)
    4529 +    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    4530 +    lt_cv_file_magic_cmd=/usr/bin/file
    4531 +    lt_cv_file_magic_test_file=/usr/lib/libc.sl
    4532 +    ;;
    4533 +  ia64*)
    4534 +    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
    4535 +    lt_cv_file_magic_cmd=/usr/bin/file
    4536 +    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    4537 +    ;;
    4538 +  esac
    4539 +  ;;
    4540 +
    4541 +irix5* | irix6*)
    4542 +  case $host_os in
    4543 +  irix5*)
    4544 +    # this will be overridden with pass_all, but let us keep it just in case
    4545 +    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
    4546 +    ;;
    4547 +  *)
    4548 +    case $LD in
    4549 +    *-32|*"-32 ") libmagic=32-bit;;
    4550 +    *-n32|*"-n32 ") libmagic=N32;;
    4551 +    *-64|*"-64 ") libmagic=64-bit;;
    4552 +    *) libmagic=never-match;;
    4553 +    esac
    4554 +    # this will be overridden with pass_all, but let us keep it just in case
    4555 +    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    4556 +    ;;
    4557 +  esac
    4558 +  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
    4559 +  lt_cv_deplibs_check_method=pass_all
    4560 +  ;;
    4561 +
    4562 +# This must be Linux ELF.
    4563 +linux-gnu*)
    4564 +  lt_cv_deplibs_check_method=pass_all
    4565 +  ;;
    4566 +
    4567 +netbsd* | knetbsd*-gnu)
    4568 +  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    4569 +    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    4570 +  else
    4571 +    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    4572 +  fi
    4573 +  ;;
    4574 +
    4575 +newsos6)
    4576 +  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
    4577 +  lt_cv_file_magic_cmd=/usr/bin/file
    4578 +  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    4579 +  ;;
    4580 +
    4581 +osf3* | osf4* | osf5*)
    4582 +  # this will be overridden with pass_all, but let us keep it just in case
    4583 +  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
    4584 +  lt_cv_file_magic_test_file=/shlib/libc.so
    4585 +  lt_cv_deplibs_check_method=pass_all
    4586 +  ;;
    4587 +
    4588 +sco3.2v5*)
    4589 +  lt_cv_deplibs_check_method=pass_all
    4590 +  ;;
    4591 +
    4592 +solaris*)
    4593 +  lt_cv_deplibs_check_method=pass_all
    4594 +  lt_cv_file_magic_test_file=/lib/libc.so
    4595 +  ;;
    4596 +
    4597 +sysv5uw[78]* | sysv4*uw2*)
    4598 +  lt_cv_deplibs_check_method=pass_all
    4599 +  ;;
    4600 +
    4601 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    4602 +  case $host_vendor in
    4603 +  ncr)
    4604 +    lt_cv_deplibs_check_method=pass_all
    4605 +    ;;
    4606 +  motorola)
    4607 +    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]'
    4608 +    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    4609 +    ;;
    4610 +  esac
    4611 +  ;;
    4612 +esac
    4613 +
    4614 +fi
    4615 +echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
    4616 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
    4617 +file_magic_cmd=$lt_cv_file_magic_cmd
    4618 +deplibs_check_method=$lt_cv_deplibs_check_method
    4619 +
    4620 +
    4621 +
    4622 +
    4623 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
    4624 +
    4625 +# find the maximum length of command line arguments
    4626 +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
    4627 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
    4628 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
    4629 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4630 +else
    4631 +    i=0
    4632 +  teststring="ABCD"
    4633 +
    4634 +  case $build_os in
    4635 +  msdosdjgpp*)
    4636 +    # On DJGPP, this test can blow up pretty badly due to problems in libc
    4637 +    # (any single argument exceeding 2000 bytes causes a buffer overrun
    4638 +    # during glob expansion).  Even if it were fixed, the result of this
    4639 +    # check would be larger than it should be.
    4640 +    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
    4641 +    ;;
    4642 +
    4643 +  cygwin* | mingw*)
    4644 +    # On Win9x/ME, this test blows up -- it succeeds, but takes
    4645 +    # about 5 minutes as the teststring grows exponentially.
    4646 +    # Worse, since 9x/ME are not pre-emptively multitasking,
    4647 +    # you end up with a "frozen" computer, even though with patience
    4648 +    # the test eventually succeeds (with a max line length of 256k).
    4649 +    # Instead, let's just punt: use the minimum linelength reported by
    4650 +    # all of the supported platforms: 8192 (on NT/2K/XP).
    4651 +    lt_cv_sys_max_cmd_len=8192;
    4652 +    ;;
    4653 +
    4654 +  amigaos*)
    4655 +    # On AmigaOS with pdksh, this test takes hours, literally.
    4656 +    # So we just punt and use a minimum line length of 8192.
    4657 +    lt_cv_sys_max_cmd_len=8192;
    4658 +    ;;
    4659 +
    4660 +  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
    4661 +    # This has been around since 386BSD, at least.  Likely further.
    4662 +    if test -x /sbin/sysctl; then
    4663 +      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
    4664 +    elif test -x /usr/sbin/sysctl; then
    4665 +      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
    4666 +    else
    4667 +      lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
    4668 +    fi
    4669 +    # And add a safety zone
    4670 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    4671 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
    4672 +    ;;
    4673 +  esac
    4674 +
    4675 +fi
    4676 +
    4677 +if test -n "$lt_cv_sys_max_cmd_len" ; then
    4678 +  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
    4679 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
    4680 +else
    4681 +  echo "$as_me:$LINENO: result: none" >&5
    4682 +echo "${ECHO_T}none" >&6
    4683 +fi
    4684 +
    4685 +
    4686 +# Only perform the check for file, if the check method requires it
    4687 +case $deplibs_check_method in
    4688 +file_magic*)
    4689 +  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    4690 +    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
    4691 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
    4692 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    4693 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4694 +else
    4695 +  case $MAGIC_CMD in
    4696 +  /*)
    4697 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
    4698 +  ;;
    4699 +  ?:/*)
    4700 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
    4701 +  ;;
    4702 +  *)
    4703 +  ac_save_MAGIC_CMD="$MAGIC_CMD"
    4704 +  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    4705 +  ac_dummy="/usr/bin:$PATH"
    4706 +  for ac_dir in $ac_dummy; do
    4707 +    test -z "$ac_dir" && ac_dir=.
    4708 +    if test -f $ac_dir/${ac_tool_prefix}file; then
    4709 +      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    4710 +      if test -n "$file_magic_test_file"; then
    4711 +       case $deplibs_check_method in
    4712 +       "file_magic "*)
    4713 +         file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
    4714 +         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    4715 +         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    4716 +           egrep "$file_magic_regex" > /dev/null; then
    4717 +           :
    4718 +         else
    4719 +           cat <<EOF 1>&2
    4720 +
    4721 +*** Warning: the command libtool uses to detect shared libraries,
    4722 +*** $file_magic_cmd, produces output that libtool cannot recognize.
    4723 +*** The result is that libtool may fail to recognize shared libraries
    4724 +*** as such.  This will affect the creation of libtool libraries that
    4725 +*** depend on shared libraries, but programs linked with such libtool
    4726 +*** libraries will work regardless of this problem.  Nevertheless, you
    4727 +*** may want to report the problem to your system manager and/or to
    4728 +*** bug-libtool@gnu.org
    4729 +
    4730 +EOF
    4731 +         fi ;;
    4732 +       esac
    4733 +      fi
    4734 +      break
    4735 +    fi
    4736 +  done
    4737 +  IFS="$ac_save_ifs"
    4738 +  MAGIC_CMD="$ac_save_MAGIC_CMD"
    4739 +  ;;
    4740 +esac
    4741 +fi
    4742 +
    4743 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    4744 +if test -n "$MAGIC_CMD"; then
    4745 +  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    4746 +echo "${ECHO_T}$MAGIC_CMD" >&6
    4747 +else
    4748 +  echo "$as_me:$LINENO: result: no" >&5
    4749 +echo "${ECHO_T}no" >&6
    4750 +fi
    4751 +
    4752 +if test -z "$lt_cv_path_MAGIC_CMD"; then
    4753 +  if test -n "$ac_tool_prefix"; then
    4754 +    echo "$as_me:$LINENO: checking for file" >&5
    4755 +echo $ECHO_N "checking for file... $ECHO_C" >&6
    4756 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    4757 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4758 +else
    4759 +  case $MAGIC_CMD in
    4760 +  /*)
    4761 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
    4762 +  ;;
    4763 +  ?:/*)
    4764 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
    4765 +  ;;
    4766 +  *)
    4767 +  ac_save_MAGIC_CMD="$MAGIC_CMD"
    4768 +  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    4769 +  ac_dummy="/usr/bin:$PATH"
    4770 +  for ac_dir in $ac_dummy; do
    4771 +    test -z "$ac_dir" && ac_dir=.
    4772 +    if test -f $ac_dir/file; then
    4773 +      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    4774 +      if test -n "$file_magic_test_file"; then
    4775 +       case $deplibs_check_method in
    4776 +       "file_magic "*)
    4777 +         file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
    4778 +         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    4779 +         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    4780 +           egrep "$file_magic_regex" > /dev/null; then
    4781 +           :
    4782 +         else
    4783 +           cat <<EOF 1>&2
    4784 +
    4785 +*** Warning: the command libtool uses to detect shared libraries,
    4786 +*** $file_magic_cmd, produces output that libtool cannot recognize.
    4787 +*** The result is that libtool may fail to recognize shared libraries
    4788 +*** as such.  This will affect the creation of libtool libraries that
    4789 +*** depend on shared libraries, but programs linked with such libtool
    4790 +*** libraries will work regardless of this problem.  Nevertheless, you
    4791 +*** may want to report the problem to your system manager and/or to
    4792 +*** bug-libtool@gnu.org
    4793 +
    4794 +EOF
    4795 +         fi ;;
    4796 +       esac
    4797 +      fi
    4798 +      break
    4799 +    fi
    4800 +  done
    4801 +  IFS="$ac_save_ifs"
    4802 +  MAGIC_CMD="$ac_save_MAGIC_CMD"
    4803 +  ;;
    4804 +esac
    4805 +fi
    4806 +
    4807 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    4808 +if test -n "$MAGIC_CMD"; then
    4809 +  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    4810 +echo "${ECHO_T}$MAGIC_CMD" >&6
    4811 +else
    4812 +  echo "$as_me:$LINENO: result: no" >&5
    4813 +echo "${ECHO_T}no" >&6
    4814 +fi
    4815 +
    4816 +  else
    4817 +    MAGIC_CMD=:
    4818 +  fi
    4819 +fi
    4820 +
    4821 +  fi
    4822 +  ;;
    4823 +esac
    4824 +
    4825 +if test -n "$ac_tool_prefix"; then
    4826 +  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    4827 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    4828 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    4829 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4830 +if test "${ac_cv_prog_RANLIB+set}" = set; then
    4831 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4832 +else
    4833 +  if test -n "$RANLIB"; then
    4834 +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    4835 +else
    4836 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4837 +for as_dir in $PATH
    4838 +do
    4839 +  IFS=$as_save_IFS
    4840 +  test -z "$as_dir" && as_dir=.
    4841 +  for ac_exec_ext in '' $ac_executable_extensions; do
    4842 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4843 +    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    4844 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4845 +    break 2
    4846 +  fi
    4847 +done
    4848 +done
    4849 +
    4850 +fi
    4851 +fi
    4852 +RANLIB=$ac_cv_prog_RANLIB
    4853 +if test -n "$RANLIB"; then
    4854 +  echo "$as_me:$LINENO: result: $RANLIB" >&5
    4855 +echo "${ECHO_T}$RANLIB" >&6
    4856 +else
    4857 +  echo "$as_me:$LINENO: result: no" >&5
    4858 +echo "${ECHO_T}no" >&6
    4859 +fi
    4860 +
    4861 +fi
    4862 +if test -z "$ac_cv_prog_RANLIB"; then
    4863 +  ac_ct_RANLIB=$RANLIB
    4864 +  # Extract the first word of "ranlib", so it can be a program name with args.
    4865 +set dummy ranlib; ac_word=$2
    4866 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    4867 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4868 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    4869 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4870 +else
    4871 +  if test -n "$ac_ct_RANLIB"; then
    4872 +  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    4873 +else
    4874 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4875 +for as_dir in $PATH
    4876 +do
    4877 +  IFS=$as_save_IFS
    4878 +  test -z "$as_dir" && as_dir=.
    4879 +  for ac_exec_ext in '' $ac_executable_extensions; do
    4880 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4881 +    ac_cv_prog_ac_ct_RANLIB="ranlib"
    4882 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4883 +    break 2
    4884 +  fi
    4885 +done
    4886 +done
    4887 +
    4888 +  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    4889 +fi
    4890 +fi
    4891 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    4892 +if test -n "$ac_ct_RANLIB"; then
    4893 +  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    4894 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
    4895 +else
    4896 +  echo "$as_me:$LINENO: result: no" >&5
    4897 +echo "${ECHO_T}no" >&6
    4898 +fi
    4899 +
    4900 +  RANLIB=$ac_ct_RANLIB
    4901 +else
    4902 +  RANLIB="$ac_cv_prog_RANLIB"
    4903 +fi
    4904 +
    4905 +if test -n "$ac_tool_prefix"; then
    4906 +  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    4907 +set dummy ${ac_tool_prefix}strip; ac_word=$2
    4908 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    4909 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4910 +if test "${ac_cv_prog_STRIP+set}" = set; then
    4911 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4912 +else
    4913 +  if test -n "$STRIP"; then
    4914 +  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    4915 +else
    4916 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4917 +for as_dir in $PATH
    4918 +do
    4919 +  IFS=$as_save_IFS
    4920 +  test -z "$as_dir" && as_dir=.
    4921 +  for ac_exec_ext in '' $ac_executable_extensions; do
    4922 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4923 +    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    4924 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4925 +    break 2
    4926 +  fi
    4927 +done
    4928 +done
    4929 +
    4930 +fi
    4931 +fi
    4932 +STRIP=$ac_cv_prog_STRIP
    4933 +if test -n "$STRIP"; then
    4934 +  echo "$as_me:$LINENO: result: $STRIP" >&5
    4935 +echo "${ECHO_T}$STRIP" >&6
    4936 +else
    4937 +  echo "$as_me:$LINENO: result: no" >&5
    4938 +echo "${ECHO_T}no" >&6
    4939 +fi
    4940 +
    4941 +fi
    4942 +if test -z "$ac_cv_prog_STRIP"; then
    4943 +  ac_ct_STRIP=$STRIP
    4944 +  # Extract the first word of "strip", so it can be a program name with args.
    4945 +set dummy strip; ac_word=$2
    4946 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    4947 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4948 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
    4949 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    4950 +else
    4951 +  if test -n "$ac_ct_STRIP"; then
    4952 +  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
    4953 +else
    4954 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4955 +for as_dir in $PATH
    4956 +do
    4957 +  IFS=$as_save_IFS
    4958 +  test -z "$as_dir" && as_dir=.
    4959 +  for ac_exec_ext in '' $ac_executable_extensions; do
    4960 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4961 +    ac_cv_prog_ac_ct_STRIP="strip"
    4962 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4963 +    break 2
    4964 +  fi
    4965 +done
    4966 +done
    4967 +
    4968 +  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
    4969 +fi
    4970 +fi
    4971 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    4972 +if test -n "$ac_ct_STRIP"; then
    4973 +  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
    4974 +echo "${ECHO_T}$ac_ct_STRIP" >&6
    4975 +else
    4976 +  echo "$as_me:$LINENO: result: no" >&5
    4977 +echo "${ECHO_T}no" >&6
    4978 +fi
    4979 +
    4980 +  STRIP=$ac_ct_STRIP
    4981 +else
    4982 +  STRIP="$ac_cv_prog_STRIP"
    4983 +fi
    4984 +
    4985 +
    4986 +# Check for any special flags to pass to ltconfig.
    4987 +libtool_flags="--cache-file=$cache_file"
    4988 +test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
    4989 +test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
    4990 +test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
    4991 +test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
    4992 +test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
    4993 +
    4994 +
    4995 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
    4996 +if test "${enable_libtool_lock+set}" = set; then
    4997 +  enableval="$enable_libtool_lock"
    4998 +
    4999 +fi;
    5000 +test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
    5001 +test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
    5002 +
    5003 +
    5004 +# Check whether --with-pic or --without-pic was given.
    5005 +if test "${with_pic+set}" = set; then
    5006 +  withval="$with_pic"
    5007 +  pic_mode="$withval"
    5008 +else
    5009 +  pic_mode=default
    5010 +fi;
    5011 +test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
    5012 +test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
    5013 +
    5014 +# Some flags need to be propagated to the compiler or linker for good
    5015 +# libtool support.
    5016 +case $host in
    5017 +*-*-irix6*)
    5018 +  # Find out which ABI we are using.
    5019 +  echo '#line 4742 "configure"' > conftest.$ac_ext
    5020 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5021 +  (eval $ac_compile) 2>&5
    5022 +  ac_status=$?
    5023 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5024 +  (exit $ac_status); }; then
    5025 +   if test "$lt_cv_prog_gnu_ld" = yes; then
    5026 +    case `/usr/bin/file conftest.$ac_objext` in
    5027 +    *32-bit*)
    5028 +      LD="${LD-ld} -melf32bsmip"
    5029 +      ;;
    5030 +    *N32*)
    5031 +      LD="${LD-ld} -melf32bmipn32"
    5032 +      ;;
    5033 +    *64-bit*)
    5034 +      LD="${LD-ld} -melf64bmip"
    5035 +      ;;
    5036 +    esac
    5037 +   else
    5038 +    case `/usr/bin/file conftest.$ac_objext` in
    5039 +    *32-bit*)
    5040 +      LD="${LD-ld} -32"
    5041 +      ;;
    5042 +    *N32*)
    5043 +      LD="${LD-ld} -n32"
    5044 +      ;;
    5045 +    *64-bit*)
    5046 +      LD="${LD-ld} -64"
    5047 +      ;;
    5048 +    esac
    5049 +   fi
    5050 +  fi
    5051 +  rm -rf conftest*
    5052 +  ;;
    5053 +
    5054 +ia64-*-hpux*)
    5055 +  # Find out which ABI we are using.
    5056 +  echo 'int i;' > conftest.$ac_ext
    5057 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5058 +  (eval $ac_compile) 2>&5
    5059 +  ac_status=$?
    5060 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5061 +  (exit $ac_status); }; then
    5062 +    case "`/usr/bin/file conftest.o`" in
    5063 +    *ELF-32*)
    5064 +      HPUX_IA64_MODE="32"
    5065 +      ;;
    5066 +    *ELF-64*)
    5067 +      HPUX_IA64_MODE="64"
    5068 +      ;;
    5069 +    esac
    5070 +  fi
    5071 +  rm -rf conftest*
    5072 +  ;;
    5073 +
    5074 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
    5075 +  # Find out which ABI we are using.
    5076 +  echo 'int i;' > conftest.$ac_ext
    5077 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5078 +  (eval $ac_compile) 2>&5
    5079 +  ac_status=$?
    5080 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5081 +  (exit $ac_status); }; then
    5082 +    case "`/usr/bin/file conftest.o`" in
    5083 +    *32-bit*)
    5084 +      case $host in
    5085 +        x86_64-*linux*)
    5086 +          LD="${LD-ld} -m elf_i386"
    5087 +          ;;
    5088 +        ppc64-*linux*|powerpc64-*linux*)
    5089 +          LD="${LD-ld} -m elf32ppclinux"
    5090 +          ;;
    5091 +        s390x-*linux*)
    5092 +          LD="${LD-ld} -m elf_s390"
    5093 +          ;;
    5094 +        sparc64-*linux*)
    5095 +          LD="${LD-ld} -m elf32_sparc"
    5096 +          ;;
    5097 +      esac
    5098 +      ;;
    5099 +    *64-bit*)
    5100 +      case $host in
    5101 +        x86_64-*linux*)
    5102 +          LD="${LD-ld} -m elf_x86_64"
    5103 +          ;;
    5104 +        ppc*-*linux*|powerpc*-*linux*)
    5105 +          LD="${LD-ld} -m elf64ppc"
    5106 +          ;;
    5107 +        s390*-*linux*)
    5108 +          LD="${LD-ld} -m elf64_s390"
    5109 +          ;;
    5110 +        sparc*-*linux*)
    5111 +          LD="${LD-ld} -m elf64_sparc"
    5112 +          ;;
    5113 +      esac
    5114 +      ;;
    5115 +    esac
    5116 +  fi
    5117 +  rm -rf conftest*
    5118 +  ;;
    5119 +
    5120 +*-*-sco3.2v5*)
    5121 +  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    5122 +  SAVE_CFLAGS="$CFLAGS"
    5123 +  CFLAGS="$CFLAGS -belf"
    5124 +  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
    5125 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
    5126 +if test "${lt_cv_cc_needs_belf+set}" = set; then
    5127 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    5128 +else
    5129 +
    5130 +
    5131 +     ac_ext=c
    5132 +ac_cpp='$CPP $CPPFLAGS'
    5133 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5134 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5135 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5136 +
    5137 +     if test x$gcc_no_link = xyes; then
    5138 +  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
    5139 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
    5140 +   { (exit 1); exit 1; }; }
    5141 +fi
    5142 +cat >conftest.$ac_ext <<_ACEOF
    5143 +/* confdefs.h.  */
    5144 +_ACEOF
    5145 +cat confdefs.h >>conftest.$ac_ext
    5146 +cat >>conftest.$ac_ext <<_ACEOF
    5147 +/* end confdefs.h.  */
    5148 +
    5149 +int
    5150 +main ()
    5151 +{
    5152 +
    5153 +  ;
    5154 +  return 0;
    5155 +}
    5156 +_ACEOF
    5157 +rm -f conftest.$ac_objext conftest$ac_exeext
    5158 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5159 +  (eval $ac_link) 2>conftest.er1
    5160 +  ac_status=$?
    5161 +  grep -v '^ *+' conftest.er1 >conftest.err
    5162 +  rm -f conftest.er1
    5163 +  cat conftest.err >&5
    5164 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5165 +  (exit $ac_status); } &&
    5166 +        { ac_try='test -z "$ac_c_werror_flag"
    5167 +                        || test ! -s conftest.err'
    5168 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5169 +  (eval $ac_try) 2>&5
    5170 +  ac_status=$?
    5171 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5172 +  (exit $ac_status); }; } &&
    5173 +        { ac_try='test -s conftest$ac_exeext'
    5174 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5175 +  (eval $ac_try) 2>&5
    5176 +  ac_status=$?
    5177 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5178 +  (exit $ac_status); }; }; then
    5179 +  lt_cv_cc_needs_belf=yes
    5180 +else
    5181 +  echo "$as_me: failed program was:" >&5
    5182 +sed 's/^/| /' conftest.$ac_ext >&5
    5183 +
    5184 +lt_cv_cc_needs_belf=no
    5185 +fi
    5186 +rm -f conftest.err conftest.$ac_objext \
    5187 +      conftest$ac_exeext conftest.$ac_ext
    5188 +     ac_ext=c
    5189 +ac_cpp='$CPP $CPPFLAGS'
    5190 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5191 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5192 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5193 +
    5194 +fi
    5195 +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
    5196 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
    5197 +  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    5198 +    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    5199 +    CFLAGS="$SAVE_CFLAGS"
    5200 +  fi
    5201 +  ;;
    5202 +
    5203 +
    5204 +esac
    5205 +
    5206 +
    5207 +# Save cache, so that ltconfig can load it
    5208 +cat >confcache <<\_ACEOF
    5209 +# This file is a shell script that caches the results of configure
    5210 +# tests run on this system so they can be shared between configure
    5211 +# scripts and configure runs, see configure's option --config-cache.
    5212 +# It is not useful on other systems.  If it contains results you don't
    5213 +# want to keep, you may remove or edit it.
    5214 +#
    5215 +# config.status only pays attention to the cache file if you give it
    5216 +# the --recheck option to rerun configure.
    5217 +#
    5218 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
    5219 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
    5220 +# following values.
    5221 +
    5222 +_ACEOF
    5223 +
    5224 +# The following way of writing the cache mishandles newlines in values,
    5225 +# but we know of no workaround that is simple, portable, and efficient.
    5226 +# So, don't put newlines in cache variables' values.
    5227 +# Ultrix sh set writes to stderr and can't be redirected directly,
    5228 +# and sets the high bit in the cache file unless we assign to the vars.
    5229 +{
    5230 +  (set) 2>&1 |
    5231 +    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    5232 +    *ac_space=\ *)
    5233 +      # `set' does not quote correctly, so add quotes (double-quote
    5234 +      # substitution turns \\\\ into \\, and sed turns \\ into \).
    5235 +      sed -n \
    5236 +       "s/'/'\\\\''/g;
    5237 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    5238 +      ;;
    5239 +    *)
    5240 +      # `set' quotes correctly as required by POSIX, so do not add quotes.
    5241 +      sed -n \
    5242 +       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    5243 +      ;;
    5244 +    esac;
    5245 +} |
    5246 +  sed '
    5247 +     t clear
    5248 +     : clear
    5249 +     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    5250 +     t end
    5251 +     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    5252 +     : end' >>confcache
    5253 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
    5254 +  if test -w $cache_file; then
    5255 +    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    5256 +    cat confcache >$cache_file
    5257 +  else
    5258 +    echo "not updating unwritable cache $cache_file"
    5259 +  fi
    5260 +fi
    5261 +rm -f confcache
    5262 +
    5263 +# Actually configure libtool.  ac_aux_dir is where install-sh is found.
    5264 +AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
    5265 +MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
    5266 +LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
    5267 +AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
    5268 +objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
    5269 +deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
    5270 +${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
    5271 +$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
    5272 +|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
    5273 +echo "$as_me: error: libtool configure failed" >&2;}
    5274 +   { (exit 1); exit 1; }; }
    5275 +
    5276 +# Reload cache, that may have been modified by ltconfig
    5277 +if test -r "$cache_file"; then
    5278 +  # Some versions of bash will fail to source /dev/null (special
    5279 +  # files actually), so we avoid doing that.
    5280 +  if test -f "$cache_file"; then
    5281 +    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    5282 +echo "$as_me: loading cache $cache_file" >&6;}
    5283 +    case $cache_file in
    5284 +      [\\/]* | ?:[\\/]* ) . $cache_file;;
    5285 +      *)                      . ./$cache_file;;
    5286 +    esac
    5287 +  fi
    5288 +else
    5289 +  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    5290 +echo "$as_me: creating cache $cache_file" >&6;}
    5291 +  >$cache_file
    5292 +fi
    5293 +
    5294 +
    5295 +# This can be used to rebuild libtool when needed
    5296 +LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
    5297 +
    5298 +# Always use our own libtool.
    5299 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
    5300 +
    5301 +# Redirect the config.log output again, so that the ltconfig log is not
    5302 +# clobbered by the next message.
    5303 +exec 5>>./config.log
    5304 +
    5305 +ac_ext=cc
    5306 +ac_cpp='$CXXCPP $CPPFLAGS'
    5307 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5308 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5309 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    5310 +echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    5311 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
    5312 +if test -z "$CXXCPP"; then
    5313 +  if test "${ac_cv_prog_CXXCPP+set}" = set; then
    5314 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    5315 +else
    5316 +      # Double quotes because CXXCPP needs to be expanded
    5317 +    for CXXCPP in "$CXX -E" "/lib/cpp"
    5318 +    do
    5319 +      ac_preproc_ok=false
    5320 +for ac_cxx_preproc_warn_flag in '' yes
    5321 +do
    5322 +  # Use a header file that comes with gcc, so configuring glibc
    5323 +  # with a fresh cross-compiler works.
    5324 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5325 +  # <limits.h> exists even on freestanding compilers.
    5326 +  # On the NeXT, cc -E runs the code through the compiler's parser,
    5327 +  # not just through cpp. "Syntax error" is here to catch this case.
    5328 +  cat >conftest.$ac_ext <<_ACEOF
    5329 +/* confdefs.h.  */
    5330 +_ACEOF
    5331 +cat confdefs.h >>conftest.$ac_ext
    5332 +cat >>conftest.$ac_ext <<_ACEOF
    5333 +/* end confdefs.h.  */
    5334 +#ifdef __STDC__
    5335 +# include <limits.h>
    5336 +#else
    5337 +# include <assert.h>
    5338 +#endif
    5339 +                    Syntax error
    5340 +_ACEOF
    5341 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5342 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5343 +  ac_status=$?
    5344 +  grep -v '^ *+' conftest.er1 >conftest.err
    5345 +  rm -f conftest.er1
    5346 +  cat conftest.err >&5
    5347 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5348 +  (exit $ac_status); } >/dev/null; then
    5349 +  if test -s conftest.err; then
    5350 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
    5351 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    5352 +  else
    5353 +    ac_cpp_err=
    5354 +  fi
    5355 +else
    5356 +  ac_cpp_err=yes
    5357 +fi
    5358 +if test -z "$ac_cpp_err"; then
    5359 +  :
    5360 +else
    5361 +  echo "$as_me: failed program was:" >&5
    5362 +sed 's/^/| /' conftest.$ac_ext >&5
    5363 +
    5364 +  # Broken: fails on valid input.
    5365 +continue
    5366 +fi
    5367 +rm -f conftest.err conftest.$ac_ext
    5368 +
    5369 +  # OK, works on sane cases.  Now check whether non-existent headers
    5370 +  # can be detected and how.
    5371 +  cat >conftest.$ac_ext <<_ACEOF
    5372 +/* confdefs.h.  */
    5373 +_ACEOF
    5374 +cat confdefs.h >>conftest.$ac_ext
    5375 +cat >>conftest.$ac_ext <<_ACEOF
    5376 +/* end confdefs.h.  */
    5377 +#include <ac_nonexistent.h>
    5378 +_ACEOF
    5379 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5380 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5381 +  ac_status=$?
    5382 +  grep -v '^ *+' conftest.er1 >conftest.err
    5383 +  rm -f conftest.er1
    5384 +  cat conftest.err >&5
    5385 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5386 +  (exit $ac_status); } >/dev/null; then
    5387 +  if test -s conftest.err; then
    5388 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
    5389 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    5390 +  else
    5391 +    ac_cpp_err=
    5392 +  fi
    5393 +else
    5394 +  ac_cpp_err=yes
    5395 +fi
    5396 +if test -z "$ac_cpp_err"; then
    5397 +  # Broken: success on invalid input.
    5398 +continue
    5399 +else
    5400 +  echo "$as_me: failed program was:" >&5
    5401 +sed 's/^/| /' conftest.$ac_ext >&5
    5402 +
    5403 +  # Passes both tests.
    5404 +ac_preproc_ok=:
    5405 +break
    5406 +fi
    5407 +rm -f conftest.err conftest.$ac_ext
    5408 +
    5409 +done
    5410 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5411 +rm -f conftest.err conftest.$ac_ext
    5412 +if $ac_preproc_ok; then
    5413 +  break
    5414 +fi
    5415 +
    5416 +    done
    5417 +    ac_cv_prog_CXXCPP=$CXXCPP
    5418 +
    5419 +fi
    5420 +  CXXCPP=$ac_cv_prog_CXXCPP
    5421 +else
    5422 +  ac_cv_prog_CXXCPP=$CXXCPP
    5423 +fi
    5424 +echo "$as_me:$LINENO: result: $CXXCPP" >&5
    5425 +echo "${ECHO_T}$CXXCPP" >&6
    5426 +ac_preproc_ok=false
    5427 +for ac_cxx_preproc_warn_flag in '' yes
    5428 +do
    5429 +  # Use a header file that comes with gcc, so configuring glibc
    5430 +  # with a fresh cross-compiler works.
    5431 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5432 +  # <limits.h> exists even on freestanding compilers.
    5433 +  # On the NeXT, cc -E runs the code through the compiler's parser,
    5434 +  # not just through cpp. "Syntax error" is here to catch this case.
    5435 +  cat >conftest.$ac_ext <<_ACEOF
    5436 +/* confdefs.h.  */
    5437 +_ACEOF
    5438 +cat confdefs.h >>conftest.$ac_ext
    5439 +cat >>conftest.$ac_ext <<_ACEOF
    5440 +/* end confdefs.h.  */
    5441 +#ifdef __STDC__
    5442 +# include <limits.h>
    5443 +#else
    5444 +# include <assert.h>
    5445 +#endif
    5446 +                    Syntax error
    5447 +_ACEOF
    5448 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5449 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5450 +  ac_status=$?
    5451 +  grep -v '^ *+' conftest.er1 >conftest.err
    5452 +  rm -f conftest.er1
    5453 +  cat conftest.err >&5
    5454 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5455 +  (exit $ac_status); } >/dev/null; then
    5456 +  if test -s conftest.err; then
    5457 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
    5458 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    5459 +  else
    5460 +    ac_cpp_err=
    5461 +  fi
    5462 +else
    5463 +  ac_cpp_err=yes
    5464 +fi
    5465 +if test -z "$ac_cpp_err"; then
    5466 +  :
    5467 +else
    5468 +  echo "$as_me: failed program was:" >&5
    5469 +sed 's/^/| /' conftest.$ac_ext >&5
    5470 +
    5471 +  # Broken: fails on valid input.
    5472 +continue
    5473 +fi
    5474 +rm -f conftest.err conftest.$ac_ext
    5475 +
    5476 +  # OK, works on sane cases.  Now check whether non-existent headers
    5477 +  # can be detected and how.
    5478 +  cat >conftest.$ac_ext <<_ACEOF
    5479 +/* confdefs.h.  */
    5480 +_ACEOF
    5481 +cat confdefs.h >>conftest.$ac_ext
    5482 +cat >>conftest.$ac_ext <<_ACEOF
    5483 +/* end confdefs.h.  */
    5484 +#include <ac_nonexistent.h>
    5485 +_ACEOF
    5486 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5487 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5488 +  ac_status=$?
    5489 +  grep -v '^ *+' conftest.er1 >conftest.err
    5490 +  rm -f conftest.er1
    5491 +  cat conftest.err >&5
    5492 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5493 +  (exit $ac_status); } >/dev/null; then
    5494 +  if test -s conftest.err; then
    5495 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
    5496 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    5497 +  else
    5498 +    ac_cpp_err=
    5499 +  fi
    5500 +else
    5501 +  ac_cpp_err=yes
    5502 +fi
    5503 +if test -z "$ac_cpp_err"; then
    5504 +  # Broken: success on invalid input.
    5505 +continue
    5506 +else
    5507 +  echo "$as_me: failed program was:" >&5
    5508 +sed 's/^/| /' conftest.$ac_ext >&5
    5509 +
    5510 +  # Passes both tests.
    5511 +ac_preproc_ok=:
    5512 +break
    5513 +fi
    5514 +rm -f conftest.err conftest.$ac_ext
    5515 +
    5516 +done
    5517 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5518 +rm -f conftest.err conftest.$ac_ext
    5519 +if $ac_preproc_ok; then
    5520 +  :
    5521 +else
    5522 +  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5523 +See \`config.log' for more details." >&5
    5524 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5525 +See \`config.log' for more details." >&2;}
    5526 +   { (exit 1); exit 1; }; }
    5527 +fi
    5528 +
    5529 +ac_ext=c
    5530 +ac_cpp='$CPP $CPPFLAGS'
    5531 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5532 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5533 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5534 +
    5535 +
    5536 +
    5537 +LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
    5538 +lt_save_CC="$CC"
    5539 +lt_save_CFLAGS="$CFLAGS"
    5540 +AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
    5541 +MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
    5542 +LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
    5543 +AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
    5544 +objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
    5545 +deplibs_check_method="$deplibs_check_method" \
    5546 +file_magic_cmd="$file_magic_cmd" \
    5547 +${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
    5548 +--build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
    5549 +|| { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
    5550 +echo "$as_me: error: libtool tag configuration failed" >&2;}
    5551 +   { (exit 1); exit 1; }; }
    5552 +CC="$lt_save_CC"
    5553 +CFLAGS="$lt_save_CFLAGS"
    5554 +
    5555 +# Redirect the config.log output again, so that the ltconfig log is not
    5556 +# clobbered by the next message.
    5557 +exec 5>>./config.log
    5558 +
    5559 +
    5560 +
    5561 +
    5562 +
    5563 +
    5564 +
    5565 +
    5566 +
    5567 +# Possibly disable most of the library.
    5568 +## TODO: Consider skipping unncessary tests altogether in this case, rather
    5569 +## than just ignoring the results.  Faster /and/ more correct, win win.
    5570 +
    5571 +  # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
    5572 +if test "${enable_hosted_libstdcxx+set}" = set; then
    5573 +  enableval="$enable_hosted_libstdcxx"
    5574 +
    5575 +else
    5576 +  case "$host" in
    5577 +       arm*-*-symbianelf*)
    5578 +           enable_hosted_libstdcxx=no
    5579 +           ;;
    5580 +        *)
    5581 +           enable_hosted_libstdcxx=yes
    5582 +           ;;
    5583 +     esac
    5584 +fi;
    5585 +  if test "$enable_hosted_libstdcxx" = no; then
    5586 +    { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
    5587 +echo "$as_me: Only freestanding libraries will be built" >&6;}
    5588 +    is_hosted=no
    5589 +    hosted_define=0
    5590 +    enable_abi_check=no
    5591 +    enable_libstdcxx_pch=no
    5592 +  else
    5593 +    is_hosted=yes
    5594 +    hosted_define=1
    5595 +  fi
    5596 +
    5597 +
    5598 +cat >>confdefs.h <<_ACEOF
    5599 +#define _GLIBCXX_HOSTED $hosted_define
    5600 +_ACEOF
    5601 +
    5602 +
    5603 +
    5604 +# Check for compiler support that doesn't require linking.
    5605 +
    5606 +  echo "$as_me:$LINENO: checking for exception model to use" >&5
    5607 +echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
    5608 +
    5609 +
    5610 +  ac_ext=cc
    5611 +ac_cpp='$CXXCPP $CPPFLAGS'
    5612 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5613 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5614 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    5615 +
    5616 +   # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
    5617 +if test "${enable_sjlj_exceptions+set}" = set; then
    5618 +  enableval="$enable_sjlj_exceptions"
    5619 +
    5620 +      case "$enableval" in
    5621 +       yes|no|auto) ;;
    5622 +       *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
    5623 +echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
    5624 +   { (exit 1); exit 1; }; } ;;
    5625 +                          esac
    5626 +
    5627 +else
    5628 +  enable_sjlj_exceptions=auto
    5629 +fi;
    5630 +
    5631 +
    5632 +  if test $enable_sjlj_exceptions = auto; then
    5633 +    # Botheration.  Now we've got to detect the exception model.  Link tests
    5634 +    # against libgcc.a are problematic since we've not been given proper -L
    5635 +    # bits for single-tree newlib and libgloss.
    5636 +    #
    5637 +    # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
    5638 +    cat > conftest.$ac_ext << EOF
    5639 +#line 5362 "configure"
    5640 +struct S { ~S(); };
    5641 +void bar();
    5642 +void foo()
    5643 +{
    5644 +  S s;
    5645 +  bar();
    5646 +}
    5647 +EOF
    5648 +    old_CXXFLAGS="$CXXFLAGS"
    5649 +    CXXFLAGS=-S
    5650 +    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5651 +  (eval $ac_compile) 2>&5
    5652 +  ac_status=$?
    5653 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5654 +  (exit $ac_status); }; then
    5655 +      if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
    5656 +        enable_sjlj_exceptions=yes
    5657 +      elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
    5658 +        enable_sjlj_exceptions=no
    5659 +      elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
    5660 +        enable_sjlj_exceptions=no
    5661 +      fi
    5662 +    fi
    5663 +    CXXFLAGS="$old_CXXFLAGS"
    5664 +    rm -f conftest*
    5665 +  fi
    5666 +
    5667 +  # This is a tad weird, for hysterical raisins.  We have to map
    5668 +  # enable/disable to two different models.
    5669 +  case $enable_sjlj_exceptions in
    5670 +    yes)
    5671 +
    5672 +cat >>confdefs.h <<\_ACEOF
    5673 +#define _GLIBCXX_SJLJ_EXCEPTIONS 1
    5674 +_ACEOF
    5675 +
    5676 +      ac_exception_model_name=sjlj
    5677 +      ;;
    5678 +    no)
    5679 +      ac_exception_model_name="call frame"
    5680 +      ;;
    5681 +    *)
    5682 +      { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
    5683 +echo "$as_me: error: unable to detect exception model" >&2;}
    5684 +   { (exit 1); exit 1; }; }
    5685 +      ;;
    5686 +  esac
    5687 + ac_ext=c
    5688 +ac_cpp='$CPP $CPPFLAGS'
    5689 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5690 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5691 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5692 +
    5693 + echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
    5694 +echo "${ECHO_T}$ac_exception_model_name" >&6
    5695 +
    5696 +
    5697 +   # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
    5698 +if test "${enable_libstdcxx_pch+set}" = set; then
    5699 +  enableval="$enable_libstdcxx_pch"
    5700 +
    5701 +      case "$enableval" in
    5702 +       yes|no) ;;
    5703 +       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
    5704 +echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
    5705 +   { (exit 1); exit 1; }; } ;;
    5706 +      esac
    5707 +
    5708 +else
    5709 +  enable_libstdcxx_pch=$is_hosted
    5710 +fi;
    5711 +
    5712 +  if test $enable_libstdcxx_pch = yes; then
    5713 +    echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
    5714 +echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
    5715 +if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
    5716 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    5717 +else
    5718 +  ac_save_CXXFLAGS="$CXXFLAGS"
    5719 +       CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
    5720 +
    5721 +
    5722 +       ac_ext=cc
    5723 +ac_cpp='$CXXCPP $CPPFLAGS'
    5724 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5725 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5726 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    5727 +
    5728 +       echo '#include <math.h>' > conftest.h
    5729 +       if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
    5730 +                         -o conftest.h.gch 1>&5 2>&1 &&
    5731 +               echo '#error "pch failed"' > conftest.h &&
    5732 +          echo '#include "conftest.h"' > conftest.cc &&
    5733 +              $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
    5734 +       then
    5735 +         glibcxx_cv_prog_CXX_pch=yes
    5736 +       else
    5737 +         glibcxx_cv_prog_CXX_pch=no
    5738 +       fi
    5739 +       rm -f conftest*
    5740 +       CXXFLAGS=$ac_save_CXXFLAGS
    5741 +       ac_ext=c
    5742 +ac_cpp='$CPP $CPPFLAGS'
    5743 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5744 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5745 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5746 +
    5747 +
    5748 +fi
    5749 +echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
    5750 +echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
    5751 +    enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
    5752 +  fi
    5753 +
    5754 +  echo "$as_me:$LINENO: checking for enabled PCH" >&5
    5755 +echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
    5756 +  echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
    5757 +echo "${ECHO_T}$enable_libstdcxx_pch" >&6
    5758 +
    5759 +
    5760 +  if test $enable_libstdcxx_pch = yes; then
    5761 +    glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
    5762 +  else
    5763 +    glibcxx_PCHFLAGS=""
    5764 +  fi
    5765 +
    5766 +
    5767 +
    5768 +# Enable all the variable C++ runtime options.
    5769 +
    5770 +  echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
    5771 +echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
    5772 +   # Check whether --enable-cstdio or --disable-cstdio was given.
    5773 +if test "${enable_cstdio+set}" = set; then
    5774 +  enableval="$enable_cstdio"
    5775 +
    5776 +      case "$enableval" in
    5777 +       stdio) ;;
    5778 +       *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
    5779 +echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
    5780 +   { (exit 1); exit 1; }; } ;;
    5781 +                          esac
    5782 +
    5783 +else
    5784 +  enable_cstdio=stdio
    5785 +fi;
    5786 +
    5787 +
    5788 +  # Now that libio has been removed, you can have any color you want as long
    5789 +  # as it's black.  This is one big no-op until other packages are added, but
    5790 +  # showing the framework never hurts.
    5791 +  case ${enable_cstdio} in
    5792 +    stdio)
    5793 +      CSTDIO_H=config/io/c_io_stdio.h
    5794 +      BASIC_FILE_H=config/io/basic_file_stdio.h
    5795 +      BASIC_FILE_CC=config/io/basic_file_stdio.cc
    5796 +      echo "$as_me:$LINENO: result: stdio" >&5
    5797 +echo "${ECHO_T}stdio" >&6
    5798 +      ;;
    5799 +  esac
    5800 +
    5801 +
    5802 +
    5803 +
    5804 +
    5805 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5806 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    5807 +if test "${ac_cv_header_stdc+set}" = set; then
    5808 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    5809 +else
    5810 +  cat >conftest.$ac_ext <<_ACEOF
    5811 +/* confdefs.h.  */
    5812 +_ACEOF
    5813 +cat confdefs.h >>conftest.$ac_ext
    5814 +cat >>conftest.$ac_ext <<_ACEOF
    5815 +/* end confdefs.h.  */
    5816 +#include <stdlib.h>
    5817 +#include <stdarg.h>
    5818 +#include <string.h>
    5819 +#include <float.h>
    5820 +
    5821 +int
    5822 +main ()
    5823 +{
    5824 +
    5825 +  ;
    5826 +  return 0;
    5827 +}
    5828 +_ACEOF
    5829 +rm -f conftest.$ac_objext
    5830 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5831 +  (eval $ac_compile) 2>conftest.er1
    5832 +  ac_status=$?
    5833 +  grep -v '^ *+' conftest.er1 >conftest.err
    5834 +  rm -f conftest.er1
    5835 +  cat conftest.err >&5
    5836 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5837 +  (exit $ac_status); } &&
    5838 +        { ac_try='test -z "$ac_c_werror_flag"
    5839 +                        || test ! -s conftest.err'
    5840 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5841 +  (eval $ac_try) 2>&5
    5842 +  ac_status=$?
    5843 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5844 +  (exit $ac_status); }; } &&
    5845 +        { ac_try='test -s conftest.$ac_objext'
    5846 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5847 +  (eval $ac_try) 2>&5
    5848 +  ac_status=$?
    5849 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5850 +  (exit $ac_status); }; }; then
    5851 +  ac_cv_header_stdc=yes
    5852 +else
    5853 +  echo "$as_me: failed program was:" >&5
    5854 +sed 's/^/| /' conftest.$ac_ext >&5
    5855 +
    5856 +ac_cv_header_stdc=no
    5857 +fi
    5858 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5859 +
    5860 +if test $ac_cv_header_stdc = yes; then
    5861 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    5862 +  cat >conftest.$ac_ext <<_ACEOF
    5863 +/* confdefs.h.  */
    5864 +_ACEOF
    5865 +cat confdefs.h >>conftest.$ac_ext
    5866 +cat >>conftest.$ac_ext <<_ACEOF
    5867 +/* end confdefs.h.  */
    5868 +#include <string.h>
    5869 +
    5870 +_ACEOF
    5871 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5872 +  $EGREP "memchr" >/dev/null 2>&1; then
    5873 +  :
    5874 +else
    5875 +  ac_cv_header_stdc=no
    5876 +fi
    5877 +rm -f conftest*
    5878 +
    5879 +fi
    5880 +
    5881 +if test $ac_cv_header_stdc = yes; then
    5882 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    5883 +  cat >conftest.$ac_ext <<_ACEOF
    5884 +/* confdefs.h.  */
    5885 +_ACEOF
    5886 +cat confdefs.h >>conftest.$ac_ext
    5887 +cat >>conftest.$ac_ext <<_ACEOF
    5888 +/* end confdefs.h.  */
    5889 +#include <stdlib.h>
    5890 +
    5891 +_ACEOF
    5892 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5893 +  $EGREP "free" >/dev/null 2>&1; then
    5894 +  :
    5895 +else
    5896 +  ac_cv_header_stdc=no
    5897 +fi
    5898 +rm -f conftest*
    5899 +
    5900 +fi
    5901 +
    5902 +if test $ac_cv_header_stdc = yes; then
    5903 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    5904 +  if test "$cross_compiling" = yes; then
    5905 +  :
    5906 +else
    5907 +  cat >conftest.$ac_ext <<_ACEOF
    5908 +/* confdefs.h.  */
    5909 +_ACEOF
    5910 +cat confdefs.h >>conftest.$ac_ext
    5911 +cat >>conftest.$ac_ext <<_ACEOF
    5912 +/* end confdefs.h.  */
    5913 +#include <ctype.h>
    5914 +#if ((' ' & 0x0FF) == 0x020)
    5915 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    5916 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    5917 +#else
    5918 +# define ISLOWER(c) \
    5919 +                  (('a' <= (c) && (c) <= 'i') \
    5920 +                    || ('j' <= (c) && (c) <= 'r') \
    5921 +                    || ('s' <= (c) && (c) <= 'z'))
    5922 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    5923 +#endif
    5924 +
    5925 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    5926 +int
    5927 +main ()
    5928 +{
    5929 +  int i;
    5930 +  for (i = 0; i < 256; i++)
    5931 +    if (XOR (islower (i), ISLOWER (i))
    5932 +       || toupper (i) != TOUPPER (i))
    5933 +      exit(2);
    5934 +  exit (0);
    5935 +}
    5936 +_ACEOF
    5937 +rm -f conftest$ac_exeext
    5938 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5939 +  (eval $ac_link) 2>&5
    5940 +  ac_status=$?
    5941 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5942 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5943 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5944 +  (eval $ac_try) 2>&5
    5945 +  ac_status=$?
    5946 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5947 +  (exit $ac_status); }; }; then
    5948 +  :
    5949 +else
    5950 +  echo "$as_me: program exited with status $ac_status" >&5
    5951 +echo "$as_me: failed program was:" >&5
    5952 +sed 's/^/| /' conftest.$ac_ext >&5
    5953 +
    5954 +( exit $ac_status )
    5955 +ac_cv_header_stdc=no
    5956 +fi
    5957 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5958 +fi
    5959 +fi
    5960 +fi
    5961 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5962 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
    5963 +if test $ac_cv_header_stdc = yes; then
    5964 +
    5965 +cat >>confdefs.h <<\_ACEOF
    5966 +#define STDC_HEADERS 1
    5967 +_ACEOF
    5968 +
    5969 +fi
    5970 +
    5971 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    5972 +
    5973 +
    5974 +
    5975 +
    5976 +
    5977 +
    5978 +
    5979 +
    5980 +
    5981 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    5982 +                 inttypes.h stdint.h unistd.h
    5983 +do
    5984 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5985 +echo "$as_me:$LINENO: checking for $ac_header" >&5
    5986 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5987 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5988 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    5989 +else
    5990 +  cat >conftest.$ac_ext <<_ACEOF
    5991 +/* confdefs.h.  */
    5992 +_ACEOF
    5993 +cat confdefs.h >>conftest.$ac_ext
    5994 +cat >>conftest.$ac_ext <<_ACEOF
    5995 +/* end confdefs.h.  */
    5996 +$ac_includes_default
    5997 +
    5998 +#include <$ac_header>
    5999 +_ACEOF
    6000 +rm -f conftest.$ac_objext
    6001 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6002 +  (eval $ac_compile) 2>conftest.er1
    6003 +  ac_status=$?
    6004 +  grep -v '^ *+' conftest.er1 >conftest.err
    6005 +  rm -f conftest.er1
    6006 +  cat conftest.err >&5
    6007 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6008 +  (exit $ac_status); } &&
    6009 +        { ac_try='test -z "$ac_c_werror_flag"
    6010 +                        || test ! -s conftest.err'
    6011 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6012 +  (eval $ac_try) 2>&5
    6013 +  ac_status=$?
    6014 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6015 +  (exit $ac_status); }; } &&
    6016 +        { ac_try='test -s conftest.$ac_objext'
    6017 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6018 +  (eval $ac_try) 2>&5
    6019 +  ac_status=$?
    6020 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6021 +  (exit $ac_status); }; }; then
    6022 +  eval "$as_ac_Header=yes"
    6023 +else
    6024 +  echo "$as_me: failed program was:" >&5
    6025 +sed 's/^/| /' conftest.$ac_ext >&5
    6026 +
    6027 +eval "$as_ac_Header=no"
    6028 +fi
    6029 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6030 +fi
    6031 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    6032 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    6033 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
    6034 +  cat >>confdefs.h <<_ACEOF
    6035 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6036 +_ACEOF
    6037 +
    6038 +fi
    6039 +
    6040 +done
    6041 +
    6042 +
    6043 +
    6044 +   # Check whether --enable-clocale or --disable-clocale was given.
    6045 +if test "${enable_clocale+set}" = set; then
    6046 +  enableval="$enable_clocale"
    6047 +
    6048 +      case "$enableval" in
    6049 +       generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
    6050 +       *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
    6051 +echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
    6052 +   { (exit 1); exit 1; }; } ;;
    6053 +                          esac
    6054 +
    6055 +else
    6056 +  enable_clocale=auto
    6057 +fi;
    6058 +
    6059 +
    6060 +  # Deal with gettext issues.  Default to not using it (=no) until we detect
    6061 +  # support for it later.  Let the user turn it off via --e/d, but let that
    6062 +  # default to on for easier handling.
    6063 +  USE_NLS=no
    6064 +  # Check whether --enable-nls or --disable-nls was given.
    6065 +if test "${enable_nls+set}" = set; then
    6066 +  enableval="$enable_nls"
    6067 +
    6068 +else
    6069 +  enable_nls=yes
    6070 +fi;
    6071 +
    6072 +  # Either a known packaage, or "auto"
    6073 +  if test $enable_clocale = no || test $enable_clocale = yes; then
    6074 +     enable_clocale=auto
    6075 +  fi
    6076 +  enable_clocale_flag=$enable_clocale
    6077 +
    6078 +  # Probe for locale model to use if none specified.
    6079 +  # Default to "generic".
    6080 +  if test $enable_clocale_flag = auto; then
    6081 +    case ${target_os} in
    6082 +      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
    6083 +        enable_clocale_flag=gnu
    6084 +        ;;
    6085 +      darwin* | freebsd*)
    6086 +        enable_clocale_flag=darwin
    6087 +       ;;
    6088 +      *)
    6089 +        enable_clocale_flag=generic
    6090 +        ;;
    6091 +    esac
    6092 +  fi
    6093 +
    6094 +  # Sanity check model, and test for special functionality.
    6095 +  if test $enable_clocale_flag = gnu; then
    6096 +    cat >conftest.$ac_ext <<_ACEOF
    6097 +/* confdefs.h.  */
    6098 +_ACEOF
    6099 +cat confdefs.h >>conftest.$ac_ext
    6100 +cat >>conftest.$ac_ext <<_ACEOF
    6101 +/* end confdefs.h.  */
    6102 +
    6103 +    #include <features.h>
    6104 +    #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
    6105 +      _GLIBCXX_ok
    6106 +    #endif
    6107 +
    6108 +_ACEOF
    6109 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6110 +  $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
    6111 +  enable_clocale_flag=gnu
    6112 +else
    6113 +  enable_clocale_flag=generic
    6114 +fi
    6115 +rm -f conftest*
    6116 +
    6117 +
    6118 +    if test $enable_clocale = auto; then
    6119 +      # Test for bugs early in glibc-2.2.x series
    6120 +      if test "$cross_compiling" = yes; then
    6121 +  enable_clocale_flag=generic
    6122 +else
    6123 +  cat >conftest.$ac_ext <<_ACEOF
    6124 +/* confdefs.h.  */
    6125 +_ACEOF
    6126 +cat confdefs.h >>conftest.$ac_ext
    6127 +cat >>conftest.$ac_ext <<_ACEOF
    6128 +/* end confdefs.h.  */
    6129 +
    6130 +      #define _GNU_SOURCE 1
    6131 +      #include <locale.h>
    6132 +      #include <string.h>
    6133 +      #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
    6134 +      extern __typeof(newlocale) __newlocale;
    6135 +      extern __typeof(duplocale) __duplocale;
    6136 +      extern __typeof(strcoll_l) __strcoll_l;
    6137 +      #endif
    6138 +      int main()
    6139 +      {
    6140 +       const char __one[] = "Äuglein Augmen";
    6141 +        const char __two[] = "Äuglein";
    6142 +               int i;
    6143 +        int j;
    6144 +        __locale_t        loc;
    6145 +        __locale_t        loc_dup;
    6146 +        loc = __newlocale(1 << LC_ALL, "de_DE", 0);
    6147 +        loc_dup = __duplocale(loc);
    6148 +        i = __strcoll_l(__one, __two, loc);
    6149 +        j = __strcoll_l(__one, __two, loc_dup);
    6150 +        return 0;
    6151 +      }
    6152 +
    6153 +_ACEOF
    6154 +rm -f conftest$ac_exeext
    6155 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6156 +  (eval $ac_link) 2>&5
    6157 +  ac_status=$?
    6158 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6159 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6160 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6161 +  (eval $ac_try) 2>&5
    6162 +  ac_status=$?
    6163 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6164 +  (exit $ac_status); }; }; then
    6165 +  enable_clocale_flag=gnu
    6166 +else
    6167 +  echo "$as_me: program exited with status $ac_status" >&5
    6168 +echo "$as_me: failed program was:" >&5
    6169 +sed 's/^/| /' conftest.$ac_ext >&5
    6170 +
    6171 +( exit $ac_status )
    6172 +enable_clocale_flag=generic
    6173 +fi
    6174 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6175 +fi
    6176 +    fi
    6177 +
    6178 +    # Set it to scream when it hurts.
    6179 +    ac_save_CFLAGS="$CFLAGS"
    6180 +    CFLAGS="-Wimplicit-function-declaration -Werror"
    6181 +
    6182 +    # Use strxfrm_l if available.
    6183 +    cat >conftest.$ac_ext <<_ACEOF
    6184 +/* confdefs.h.  */
    6185 +_ACEOF
    6186 +cat confdefs.h >>conftest.$ac_ext
    6187 +cat >>conftest.$ac_ext <<_ACEOF
    6188 +/* end confdefs.h.  */
    6189 +#define _GNU_SOURCE 1
    6190 +                   #include <string.h>
    6191 +                   #include <locale.h>
    6192 +int
    6193 +main ()
    6194 +{
    6195 +char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
    6196 +  ;
    6197 +  return 0;
    6198 +}
    6199 +_ACEOF
    6200 +rm -f conftest.$ac_objext
    6201 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6202 +  (eval $ac_compile) 2>conftest.er1
    6203 +  ac_status=$?
    6204 +  grep -v '^ *+' conftest.er1 >conftest.err
    6205 +  rm -f conftest.er1
    6206 +  cat conftest.err >&5
    6207 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6208 +  (exit $ac_status); } &&
    6209 +        { ac_try='test -z "$ac_c_werror_flag"
    6210 +                        || test ! -s conftest.err'
    6211 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6212 +  (eval $ac_try) 2>&5
    6213 +  ac_status=$?
    6214 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6215 +  (exit $ac_status); }; } &&
    6216 +        { ac_try='test -s conftest.$ac_objext'
    6217 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6218 +  (eval $ac_try) 2>&5
    6219 +  ac_status=$?
    6220 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6221 +  (exit $ac_status); }; }; then
    6222 +
    6223 +cat >>confdefs.h <<\_ACEOF
    6224 +#define HAVE_STRXFRM_L 1
    6225 +_ACEOF
    6226 +
    6227 +else
    6228 +  echo "$as_me: failed program was:" >&5
    6229 +sed 's/^/| /' conftest.$ac_ext >&5
    6230 +
    6231 +fi
    6232 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6233 +
    6234 +    # Use strerror_l if available.
    6235 +    cat >conftest.$ac_ext <<_ACEOF
    6236 +/* confdefs.h.  */
    6237 +_ACEOF
    6238 +cat confdefs.h >>conftest.$ac_ext
    6239 +cat >>conftest.$ac_ext <<_ACEOF
    6240 +/* end confdefs.h.  */
    6241 +#define _GNU_SOURCE 1
    6242 +                   #include <string.h>
    6243 +                   #include <locale.h>
    6244 +int
    6245 +main ()
    6246 +{
    6247 +__locale_t loc; strerror_l(5, loc);
    6248 +  ;
    6249 +  return 0;
    6250 +}
    6251 +_ACEOF
    6252 +rm -f conftest.$ac_objext
    6253 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6254 +  (eval $ac_compile) 2>conftest.er1
    6255 +  ac_status=$?
    6256 +  grep -v '^ *+' conftest.er1 >conftest.err
    6257 +  rm -f conftest.er1
    6258 +  cat conftest.err >&5
    6259 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6260 +  (exit $ac_status); } &&
    6261 +        { ac_try='test -z "$ac_c_werror_flag"
    6262 +                        || test ! -s conftest.err'
    6263 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6264 +  (eval $ac_try) 2>&5
    6265 +  ac_status=$?
    6266 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6267 +  (exit $ac_status); }; } &&
    6268 +        { ac_try='test -s conftest.$ac_objext'
    6269 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6270 +  (eval $ac_try) 2>&5
    6271 +  ac_status=$?
    6272 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6273 +  (exit $ac_status); }; }; then
    6274 +
    6275 +cat >>confdefs.h <<\_ACEOF
    6276 +#define HAVE_STRERROR_L 1
    6277 +_ACEOF
    6278 +
    6279 +else
    6280 +  echo "$as_me: failed program was:" >&5
    6281 +sed 's/^/| /' conftest.$ac_ext >&5
    6282 +
    6283 +fi
    6284 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6285 +
    6286 +    CFLAGS="$ac_save_CFLAGS"
    6287 +  fi
    6288 +
    6289 +  # Perhaps use strerror_r if available, and strerror_l isn't.
    6290 +  ac_save_CFLAGS="$CFLAGS"
    6291 +  CFLAGS="-Wimplicit-function-declaration -Werror"
    6292 +  cat >conftest.$ac_ext <<_ACEOF
    6293 +/* confdefs.h.  */
    6294 +_ACEOF
    6295 +cat confdefs.h >>conftest.$ac_ext
    6296 +cat >>conftest.$ac_ext <<_ACEOF
    6297 +/* end confdefs.h.  */
    6298 +#define _GNU_SOURCE 1
    6299 +                 #include <string.h>
    6300 +                 #include <locale.h>
    6301 +int
    6302 +main ()
    6303 +{
    6304 +char s[128]; strerror_r(5, s, 128);
    6305 +  ;
    6306 +  return 0;
    6307 +}
    6308 +_ACEOF
    6309 +rm -f conftest.$ac_objext
    6310 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6311 +  (eval $ac_compile) 2>conftest.er1
    6312 +  ac_status=$?
    6313 +  grep -v '^ *+' conftest.er1 >conftest.err
    6314 +  rm -f conftest.er1
    6315 +  cat conftest.err >&5
    6316 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6317 +  (exit $ac_status); } &&
    6318 +        { ac_try='test -z "$ac_c_werror_flag"
    6319 +                        || test ! -s conftest.err'
    6320 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6321 +  (eval $ac_try) 2>&5
    6322 +  ac_status=$?
    6323 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6324 +  (exit $ac_status); }; } &&
    6325 +        { ac_try='test -s conftest.$ac_objext'
    6326 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6327 +  (eval $ac_try) 2>&5
    6328 +  ac_status=$?
    6329 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6330 +  (exit $ac_status); }; }; then
    6331 +
    6332 +cat >>confdefs.h <<\_ACEOF
    6333 +#define HAVE_STRERROR_R 1
    6334 +_ACEOF
    6335 +
    6336 +else
    6337 +  echo "$as_me: failed program was:" >&5
    6338 +sed 's/^/| /' conftest.$ac_ext >&5
    6339 +
    6340 +fi
    6341 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6342 +  CFLAGS="$ac_save_CFLAGS"
    6343 +
    6344 +  # Set configure bits for specified locale package
    6345 +  echo "$as_me:$LINENO: checking for C locale to use" >&5
    6346 +echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
    6347 +  case ${enable_clocale_flag} in
    6348 +    generic)
    6349 +      echo "$as_me:$LINENO: result: generic" >&5
    6350 +echo "${ECHO_T}generic" >&6
    6351 +
    6352 +      CLOCALE_H=config/locale/generic/c_locale.h
    6353 +      CLOCALE_CC=config/locale/generic/c_locale.cc
    6354 +      CCODECVT_CC=config/locale/generic/codecvt_members.cc
    6355 +      CCOLLATE_CC=config/locale/generic/collate_members.cc
    6356 +      CCTYPE_CC=config/locale/generic/ctype_members.cc
    6357 +      CMESSAGES_H=config/locale/generic/messages_members.h
    6358 +      CMESSAGES_CC=config/locale/generic/messages_members.cc
    6359 +      CMONEY_CC=config/locale/generic/monetary_members.cc
    6360 +      CNUMERIC_CC=config/locale/generic/numeric_members.cc
    6361 +      CTIME_H=config/locale/generic/time_members.h
    6362 +      CTIME_CC=config/locale/generic/time_members.cc
    6363 +      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
    6364 +      ;;
    6365 +    darwin)
    6366 +      echo "$as_me:$LINENO: result: darwin or freebsd" >&5
    6367 +echo "${ECHO_T}darwin or freebsd" >&6
    6368 +
    6369 +      CLOCALE_H=config/locale/generic/c_locale.h
    6370 +      CLOCALE_CC=config/locale/generic/c_locale.cc
    6371 +      CCODECVT_CC=config/locale/generic/codecvt_members.cc
    6372 +      CCOLLATE_CC=config/locale/generic/collate_members.cc
    6373 +      CCTYPE_CC=config/locale/darwin/ctype_members.cc
    6374 +      CMESSAGES_H=config/locale/generic/messages_members.h
    6375 +      CMESSAGES_CC=config/locale/generic/messages_members.cc
    6376 +      CMONEY_CC=config/locale/generic/monetary_members.cc
    6377 +      CNUMERIC_CC=config/locale/generic/numeric_members.cc
    6378 +      CTIME_H=config/locale/generic/time_members.h
    6379 +      CTIME_CC=config/locale/generic/time_members.cc
    6380 +      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
    6381 +      ;;
    6382 +
    6383 +    gnu)
    6384 +      echo "$as_me:$LINENO: result: gnu" >&5
    6385 +echo "${ECHO_T}gnu" >&6
    6386 +
    6387 +      # Declare intention to use gettext, and add support for specific
    6388 +      # languages.
    6389 +      # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
    6390 +      ALL_LINGUAS="de fr"
    6391 +
    6392 +      # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
    6393 +      # Extract the first word of "msgfmt", so it can be a program name with args.
    6394 +set dummy msgfmt; ac_word=$2
    6395 +echo "$as_me:$LINENO: checking for $ac_word" >&5
    6396 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    6397 +if test "${ac_cv_prog_check_msgfmt+set}" = set; then
    6398 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    6399 +else
    6400 +  if test -n "$check_msgfmt"; then
    6401 +  ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
    6402 +else
    6403 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6404 +for as_dir in $PATH
    6405 +do
    6406 +  IFS=$as_save_IFS
    6407 +  test -z "$as_dir" && as_dir=.
    6408 +  for ac_exec_ext in '' $ac_executable_extensions; do
    6409 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6410 +    ac_cv_prog_check_msgfmt="yes"
    6411 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    6412 +    break 2
    6413 +  fi
    6414 +done
    6415 +done
    6416 +
    6417 +  test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
    6418 +fi
    6419 +fi
    6420 +check_msgfmt=$ac_cv_prog_check_msgfmt
    6421 +if test -n "$check_msgfmt"; then
    6422 +  echo "$as_me:$LINENO: result: $check_msgfmt" >&5
    6423 +echo "${ECHO_T}$check_msgfmt" >&6
    6424 +else
    6425 +  echo "$as_me:$LINENO: result: no" >&5
    6426 +echo "${ECHO_T}no" >&6
    6427 +fi
    6428 +
    6429 +      if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
    6430 +        USE_NLS=yes
    6431 +      fi
    6432 +      # Export the build objects.
    6433 +      for ling in $ALL_LINGUAS; do \
    6434 +        glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
    6435 +        glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
    6436 +      done
    6437 +
    6438 +
    6439 +
    6440 +      CLOCALE_H=config/locale/gnu/c_locale.h
    6441 +      CLOCALE_CC=config/locale/gnu/c_locale.cc
    6442 +      CCODECVT_CC=config/locale/gnu/codecvt_members.cc
    6443 +      CCOLLATE_CC=config/locale/gnu/collate_members.cc
    6444 +      CCTYPE_CC=config/locale/gnu/ctype_members.cc
    6445 +      CMESSAGES_H=config/locale/gnu/messages_members.h
    6446 +      CMESSAGES_CC=config/locale/gnu/messages_members.cc
    6447 +      CMONEY_CC=config/locale/gnu/monetary_members.cc
    6448 +      CNUMERIC_CC=config/locale/gnu/numeric_members.cc
    6449 +      CTIME_H=config/locale/gnu/time_members.h
    6450 +      CTIME_CC=config/locale/gnu/time_members.cc
    6451 +      CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
    6452 +      ;;
    6453 +    ieee_1003.1-2001)
    6454 +      echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
    6455 +echo "${ECHO_T}IEEE 1003.1" >&6
    6456 +
    6457 +      CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
    6458 +      CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
    6459 +      CCODECVT_CC=config/locale/generic/codecvt_members.cc
    6460 +      CCOLLATE_CC=config/locale/generic/collate_members.cc
    6461 +      CCTYPE_CC=config/locale/generic/ctype_members.cc
    6462 +      CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
    6463 +      CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
    6464 +      CMONEY_CC=config/locale/generic/monetary_members.cc
    6465 +      CNUMERIC_CC=config/locale/generic/numeric_members.cc
    6466 +      CTIME_H=config/locale/generic/time_members.h
    6467 +      CTIME_CC=config/locale/generic/time_members.cc
    6468 +      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
    6469 +      ;;
    6470 +  esac
    6471 +
    6472 +  # This is where the testsuite looks for locale catalogs, using the
    6473 +  # -DLOCALEDIR define during testsuite compilation.
    6474 +  glibcxx_localedir=${glibcxx_builddir}/po/share/locale
    6475 +
    6476 +
    6477 +  # A standalone libintl (e.g., GNU libintl) may be in use.
    6478 +  if test $USE_NLS = yes; then
    6479 +
    6480 +for ac_header in libintl.h
    6481 +do
    6482 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6483 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
    6484 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
    6485 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    6486 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
    6487 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    6488 +fi
    6489 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    6490 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    6491 +else
    6492 +  # Is the header compilable?
    6493 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6494 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    6495 +cat >conftest.$ac_ext <<_ACEOF
    6496 +/* confdefs.h.  */
    6497 +_ACEOF
    6498 +cat confdefs.h >>conftest.$ac_ext
    6499 +cat >>conftest.$ac_ext <<_ACEOF
    6500 +/* end confdefs.h.  */
    6501 +$ac_includes_default
    6502 +#include <$ac_header>
    6503 +_ACEOF
    6504 +rm -f conftest.$ac_objext
    6505 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6506 +  (eval $ac_compile) 2>conftest.er1
    6507 +  ac_status=$?
    6508 +  grep -v '^ *+' conftest.er1 >conftest.err
    6509 +  rm -f conftest.er1
    6510 +  cat conftest.err >&5
    6511 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6512 +  (exit $ac_status); } &&
    6513 +        { ac_try='test -z "$ac_c_werror_flag"
    6514 +                        || test ! -s conftest.err'
    6515 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6516 +  (eval $ac_try) 2>&5
    6517 +  ac_status=$?
    6518 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6519 +  (exit $ac_status); }; } &&
    6520 +        { ac_try='test -s conftest.$ac_objext'
    6521 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6522 +  (eval $ac_try) 2>&5
    6523 +  ac_status=$?
    6524 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6525 +  (exit $ac_status); }; }; then
    6526 +  ac_header_compiler=yes
    6527 +else
    6528 +  echo "$as_me: failed program was:" >&5
    6529 +sed 's/^/| /' conftest.$ac_ext >&5
    6530 +
    6531 +ac_header_compiler=no
    6532 +fi
    6533 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6534 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6535 +echo "${ECHO_T}$ac_header_compiler" >&6
    6536 +
    6537 +# Is the header present?
    6538 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6539 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    6540 +cat >conftest.$ac_ext <<_ACEOF
    6541 +/* confdefs.h.  */
    6542 +_ACEOF
    6543 +cat confdefs.h >>conftest.$ac_ext
    6544 +cat >>conftest.$ac_ext <<_ACEOF
    6545 +/* end confdefs.h.  */
    6546 +#include <$ac_header>
    6547 +_ACEOF
    6548 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    6549 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    6550 +  ac_status=$?
    6551 +  grep -v '^ *+' conftest.er1 >conftest.err
    6552 +  rm -f conftest.er1
    6553 +  cat conftest.err >&5
    6554 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6555 +  (exit $ac_status); } >/dev/null; then
    6556 +  if test -s conftest.err; then
    6557 +    ac_cpp_err=$ac_c_preproc_warn_flag
    6558 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    6559 +  else
    6560 +    ac_cpp_err=
    6561 +  fi
    6562 +else
    6563 +  ac_cpp_err=yes
    6564 +fi
    6565 +if test -z "$ac_cpp_err"; then
    6566 +  ac_header_preproc=yes
    6567 +else
    6568 +  echo "$as_me: failed program was:" >&5
    6569 +sed 's/^/| /' conftest.$ac_ext >&5
    6570 +
    6571 +  ac_header_preproc=no
    6572 +fi
    6573 +rm -f conftest.err conftest.$ac_ext
    6574 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6575 +echo "${ECHO_T}$ac_header_preproc" >&6
    6576 +
    6577 +# So?  What about this header?
    6578 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6579 +  yes:no: )
    6580 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6581 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6582 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6583 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6584 +    ac_header_preproc=yes
    6585 +    ;;
    6586 +  no:yes:* )
    6587 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6588 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6589 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6590 +echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6591 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6592 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6593 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6594 +echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6595 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6596 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6597 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6598 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6599 +    (
    6600 +      cat <<\_ASBOX
    6601 +## ----------------------------------------- ##
    6602 +## Report this to the package-unused lists.  ##
    6603 +## ----------------------------------------- ##
    6604 +_ASBOX
    6605 +    ) |
    6606 +      sed "s/^/$as_me: WARNING:     /" >&2
    6607 +    ;;
    6608 +esac
    6609 +echo "$as_me:$LINENO: checking for $ac_header" >&5
    6610 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    6611 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
    6612 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    6613 +else
    6614 +  eval "$as_ac_Header=\$ac_header_preproc"
    6615 +fi
    6616 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    6617 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    6618 +
    6619 +fi
    6620 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
    6621 +  cat >>confdefs.h <<_ACEOF
    6622 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6623 +_ACEOF
    6624 +
    6625 +else
    6626 +  USE_NLS=no
    6627 +fi
    6628 +
    6629 +done
    6630 +
    6631 +    echo "$as_me:$LINENO: checking for library containing gettext" >&5
    6632 +echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
    6633 +if test "${ac_cv_search_gettext+set}" = set; then
    6634 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    6635 +else
    6636 +  ac_func_search_save_LIBS=$LIBS
    6637 +ac_cv_search_gettext=no
    6638 +if test x$gcc_no_link = xyes; then
    6639 +  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
    6640 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
    6641 +   { (exit 1); exit 1; }; }
    6642 +fi
    6643 +cat >conftest.$ac_ext <<_ACEOF
    6644 +/* confdefs.h.  */
    6645 +_ACEOF
    6646 +cat confdefs.h >>conftest.$ac_ext
    6647 +cat >>conftest.$ac_ext <<_ACEOF
    6648 +/* end confdefs.h.  */
    6649 +
    6650 +/* Override any gcc2 internal prototype to avoid an error.  */
    6651 +#ifdef __cplusplus
    6652 +extern "C"
    6653 +#endif
    6654 +/* We use char because int might match the return type of a gcc2
    6655 +   builtin and then its argument prototype would still apply.  */
    6656 +char gettext ();
    6657 +int
    6658 +main ()
    6659 +{
    6660 +gettext ();
    6661 +  ;
    6662 +  return 0;
    6663 +}
    6664 +_ACEOF
    6665 +rm -f conftest.$ac_objext conftest$ac_exeext
    6666 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6667 +  (eval $ac_link) 2>conftest.er1
    6668 +  ac_status=$?
    6669 +  grep -v '^ *+' conftest.er1 >conftest.err
    6670 +  rm -f conftest.er1
    6671 +  cat conftest.err >&5
    6672 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6673 +  (exit $ac_status); } &&
    6674 +        { ac_try='test -z "$ac_c_werror_flag"
    6675 +                        || test ! -s conftest.err'
    6676 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6677 +  (eval $ac_try) 2>&5
    6678 +  ac_status=$?
    6679 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6680 +  (exit $ac_status); }; } &&
    6681 +        { ac_try='test -s conftest$ac_exeext'
    6682 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6683 +  (eval $ac_try) 2>&5
    6684 +  ac_status=$?
    6685 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6686 +  (exit $ac_status); }; }; then
    6687 +  ac_cv_search_gettext="none required"
    6688 +else
    6689 +  echo "$as_me: failed program was:" >&5
    6690 +sed 's/^/| /' conftest.$ac_ext >&5
    6691 +
    6692 +fi
    6693 +rm -f conftest.err conftest.$ac_objext \
    6694 +      conftest$ac_exeext conftest.$ac_ext
    6695 +if test "$ac_cv_search_gettext" = no; then
    6696 +  for ac_lib in intl; do
    6697 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    6698 +    if test x$gcc_no_link = xyes; then
    6699 +  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
    6700 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
    6701 +   { (exit 1); exit 1; }; }
    6702 +fi
    6703 +cat >conftest.$ac_ext <<_ACEOF
    6704 +/* confdefs.h.  */
    6705 +_ACEOF
    6706 +cat confdefs.h >>conftest.$ac_ext
    6707 +cat >>conftest.$ac_ext <<_ACEOF
    6708 +/* end confdefs.h.  */
    6709 +
    6710 +/* Override any gcc2 internal prototype to avoid an error.  */
    6711 +#ifdef __cplusplus
    6712 +extern "C"
    6713 +#endif
    6714 +/* We use char because int might match the return type of a gcc2
    6715 +   builtin and then its argument prototype would still apply.  */
    6716 +char gettext ();
    6717 +int
    6718 +main ()
    6719 +{
    6720 +gettext ();
    6721 +  ;
    6722 +  return 0;
    6723 +}
    6724 +_ACEOF
    6725 +rm -f conftest.$ac_objext conftest$ac_exeext
    6726 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6727 +  (eval $ac_link) 2>conftest.er1
    6728 +  ac_status=$?
    6729 +  grep -v '^ *+' conftest.er1 >conftest.err
    6730 +  rm -f conftest.er1
    6731 +  cat conftest.err >&5
    6732 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6733 +  (exit $ac_status); } &&
    6734 +        { ac_try='test -z "$ac_c_werror_flag"
    6735 +                        || test ! -s conftest.err'
    6736 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6737 +  (eval $ac_try) 2>&5
    6738 +  ac_status=$?
    6739 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6740 +  (exit $ac_status); }; } &&
    6741 +        { ac_try='test -s conftest$ac_exeext'
    6742 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6743 +  (eval $ac_try) 2>&5
    6744 +  ac_status=$?
    6745 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6746 +  (exit $ac_status); }; }; then
    6747 +  ac_cv_search_gettext="-l$ac_lib"
    6748 +break
    6749 +else
    6750 +  echo "$as_me: failed program was:" >&5
    6751 +sed 's/^/| /' conftest.$ac_ext >&5
    6752 +
    6753 +fi
    6754 +rm -f conftest.err conftest.$ac_objext \
    6755 +      conftest$ac_exeext conftest.$ac_ext
    6756 +  done
    6757 +fi
    6758 +LIBS=$ac_func_search_save_LIBS
    6759 +fi
    6760 +echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
    6761 +echo "${ECHO_T}$ac_cv_search_gettext" >&6
    6762 +if test "$ac_cv_search_gettext" != no; then
    6763 +  test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
    6764 +
    6765 +else
    6766 +  USE_NLS=no
    6767 +fi
    6768 +
    6769 +  fi
    6770 +  if test $USE_NLS = yes; then
    6771 +
    6772 +cat >>confdefs.h <<\_ACEOF
    6773 +#define _GLIBCXX_USE_NLS 1
    6774 +_ACEOF
    6775 +
    6776 +  fi
    6777 +
    6778 +
    6779 +
    6780 +
    6781 +
    6782 +
    6783 +
    6784 +
    6785 +
    6786 +
    6787 +
    6788 +
    6789 +
    6790 +
    6791 +
    6792 +
    6793 +  echo "$as_me:$LINENO: checking for std::allocator base class" >&5
    6794 +echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
    6795 +   # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
    6796 +if test "${enable_libstdcxx_allocator+set}" = set; then
    6797 +  enableval="$enable_libstdcxx_allocator"
    6798 +
    6799 +      case "$enableval" in
    6800 +       new|malloc|mt|bitmap|pool|yes|no|auto) ;;
    6801 +       *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
    6802 +echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
    6803 +   { (exit 1); exit 1; }; } ;;
    6804 +                          esac
    6805 +
    6806 +else
    6807 +  enable_libstdcxx_allocator=auto
    6808 +fi;
    6809 +
    6810 +
    6811 +  # If they didn't use this option switch, or if they specified --enable
    6812 +  # with no specific model, we'll have to look for one.  If they
    6813 +  # specified --disable (???), do likewise.
    6814 +  if test $enable_libstdcxx_allocator = no ||
    6815 +     test $enable_libstdcxx_allocator = yes;
    6816 +  then
    6817 +     enable_libstdcxx_allocator=auto
    6818 +  fi
    6819 +
    6820 +  # Either a known package, or "auto". Auto implies the default choice
    6821 +  # for a particular platform.
    6822 +  enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
    6823 +
    6824 +  # Probe for host-specific support if no specific model is specified.
    6825 +  # Default to "new".
    6826 +  if test $enable_libstdcxx_allocator_flag = auto; then
    6827 +    case ${target_os} in
    6828 +      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
    6829 +        enable_libstdcxx_allocator_flag=new
    6830 +        ;;
    6831 +      *)
    6832 +        enable_libstdcxx_allocator_flag=new
    6833 +        ;;
    6834 +    esac
    6835 +  fi
    6836 +  echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
    6837 +echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
    6838 +
    6839 +
    6840 +  # Set configure bits for specified locale package
    6841 +  case ${enable_libstdcxx_allocator_flag} in
    6842 +    bitmap)
    6843 +      ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
    6844 +      ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
    6845 +      ;;
    6846 +    malloc)
    6847 +      ALLOCATOR_H=config/allocator/malloc_allocator_base.h
    6848 +      ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
    6849 +      ;;
    6850 +    mt)
    6851 +      ALLOCATOR_H=config/allocator/mt_allocator_base.h
    6852 +      ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
    6853 +      ;;
    6854 +    new)
    6855 +      ALLOCATOR_H=config/allocator/new_allocator_base.h
    6856 +      ALLOCATOR_NAME=__gnu_cxx::new_allocator
    6857 +      ;;
    6858 +    pool)
    6859 +      ALLOCATOR_H=config/allocator/pool_allocator_base.h
    6860 +      ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
    6861 +      ;;
    6862 +  esac
    6863 +
    6864 +
    6865 +
    6866 +
    6867 +
    6868 +   # Check whether --enable-cheaders or --disable-cheaders was given.
    6869 +if test "${enable_cheaders+set}" = set; then
    6870 +  enableval="$enable_cheaders"
    6871 +
    6872 +      case "$enableval" in
    6873 +       c|c_std) ;;
    6874 +       *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
    6875 +echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
    6876 +   { (exit 1); exit 1; }; } ;;
    6877 +                          esac
    6878 +
    6879 +else
    6880 +  enable_cheaders=$c_model
    6881 +fi;
    6882 +
    6883 +  { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
    6884 +echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
    6885 +
    6886 +  C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
    6887 +
    6888 +
    6889 +
    6890 +
    6891 +
    6892 +
    6893 +   # Check whether --enable-long-long or --disable-long-long was given.
    6894 +if test "${enable_long_long+set}" = set; then
    6895 +  enableval="$enable_long_long"
    6896 +
    6897 +      case "$enableval" in
    6898 +       yes|no) ;;
    6899 +       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
    6900 +echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
    6901 +   { (exit 1); exit 1; }; } ;;
    6902 +      esac
    6903 +
    6904 +else
    6905 +  enable_long_long=yes
    6906 +fi;
    6907 +
    6908 +  if test $enable_long_long = yes; then
    6909 +
    6910 +cat >>confdefs.h <<\_ACEOF
    6911 +#define _GLIBCXX_USE_LONG_LONG 1
    6912 +_ACEOF
    6913 +
    6914 +  fi
    6915 +  echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
    6916 +echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
    6917 +  echo "$as_me:$LINENO: result: $enable_long_long" >&5
    6918 +echo "${ECHO_T}$enable_long_long" >&6
    6919 +
    6920 +
    6921 +
    6922 +   # Check whether --enable-wchar_t or --disable-wchar_t was given.
    6923 +if test "${enable_wchar_t+set}" = set; then
    6924 +  enableval="$enable_wchar_t"
    6925 +
    6926 +      case "$enableval" in
    6927 +       yes|no) ;;
    6928 +       *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
    6929 +echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
    6930 +   { (exit 1); exit 1; }; } ;;
    6931 +      esac
    6932 +
    6933 +else
    6934 +  enable_wchar_t=yes
    6935 +fi;
    6936 +
    6937 +
    6938 +  # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
    6939 +
    6940 +for ac_header in wchar.h
    6941 +do
    6942 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6943 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
    6944 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
    6945 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    6946 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
    6947 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    6948 +fi
    6949 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    6950 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    6951 +else
    6952 +  # Is the header compilable?
    6953 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6954 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    6955 +cat >conftest.$ac_ext <<_ACEOF
    6956 +/* confdefs.h.  */
    6957 +_ACEOF
    6958 +cat confdefs.h >>conftest.$ac_ext
    6959 +cat >>conftest.$ac_ext <<_ACEOF
    6960 +/* end confdefs.h.  */
    6961 +$ac_includes_default
    6962 +#include <$ac_header>
    6963 +_ACEOF
    6964 +rm -f conftest.$ac_objext
    6965 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6966 +  (eval $ac_compile) 2>conftest.er1
    6967 +  ac_status=$?
    6968 +  grep -v '^ *+' conftest.er1 >conftest.err
    6969 +  rm -f conftest.er1
    6970 +  cat conftest.err >&5
    6971 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6972 +  (exit $ac_status); } &&
    6973 +        { ac_try='test -z "$ac_c_werror_flag"
    6974 +                        || test ! -s conftest.err'
    6975 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6976 +  (eval $ac_try) 2>&5
    6977 +  ac_status=$?
    6978 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6979 +  (exit $ac_status); }; } &&
    6980 +        { ac_try='test -s conftest.$ac_objext'
    6981 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6982 +  (eval $ac_try) 2>&5
    6983 +  ac_status=$?
    6984 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6985 +  (exit $ac_status); }; }; then
    6986 +  ac_header_compiler=yes
    6987 +else
    6988 +  echo "$as_me: failed program was:" >&5
    6989 +sed 's/^/| /' conftest.$ac_ext >&5
    6990 +
    6991 +ac_header_compiler=no
    6992 +fi
    6993 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6994 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6995 +echo "${ECHO_T}$ac_header_compiler" >&6
    6996 +
    6997 +# Is the header present?
    6998 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6999 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    7000 +cat >conftest.$ac_ext <<_ACEOF
    7001 +/* confdefs.h.  */
    7002 +_ACEOF
    7003 +cat confdefs.h >>conftest.$ac_ext
    7004 +cat >>conftest.$ac_ext <<_ACEOF
    7005 +/* end confdefs.h.  */
    7006 +#include <$ac_header>
    7007 +_ACEOF
    7008 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    7009 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    7010 +  ac_status=$?
    7011 +  grep -v '^ *+' conftest.er1 >conftest.err
    7012 +  rm -f conftest.er1
    7013 +  cat conftest.err >&5
    7014 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7015 +  (exit $ac_status); } >/dev/null; then
    7016 +  if test -s conftest.err; then
    7017 +    ac_cpp_err=$ac_c_preproc_warn_flag
    7018 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    7019 +  else
    7020 +    ac_cpp_err=
    7021 +  fi
    7022 +else
    7023 +  ac_cpp_err=yes
    7024 +fi
    7025 +if test -z "$ac_cpp_err"; then
    7026 +  ac_header_preproc=yes
    7027 +else
    7028 +  echo "$as_me: failed program was:" >&5
    7029 +sed 's/^/| /' conftest.$ac_ext >&5
    7030 +
    7031 +  ac_header_preproc=no
    7032 +fi
    7033 +rm -f conftest.err conftest.$ac_ext
    7034 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7035 +echo "${ECHO_T}$ac_header_preproc" >&6
    7036 +
    7037 +# So?  What about this header?
    7038 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    7039 +  yes:no: )
    7040 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7041 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7042 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7043 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7044 +    ac_header_preproc=yes
    7045 +    ;;
    7046 +  no:yes:* )
    7047 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7048 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7049 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7050 +echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7051 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7052 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7053 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7054 +echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7055 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7056 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7057 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7058 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7059 +    (
    7060 +      cat <<\_ASBOX
    7061 +## ----------------------------------------- ##
    7062 +## Report this to the package-unused lists.  ##
    7063 +## ----------------------------------------- ##
    7064 +_ASBOX
    7065 +    ) |
    7066 +      sed "s/^/$as_me: WARNING:     /" >&2
    7067 +    ;;
    7068 +esac
    7069 +echo "$as_me:$LINENO: checking for $ac_header" >&5
    7070 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    7071 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
    7072 +  echo $ECHO_N "(cached) $ECHO_C" >&6
    7073 +else
    7074 +  eval "$as_ac_Header=\$ac_header_preproc"
    7075 +fi
    7076 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    7077 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    7078 +
    7079 +fi
    7080 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
    7081 +  cat >>confdefs.h <<_ACEOF
    7082 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7083 +_ACEOF
    7084 + ac_has_wchar_h=yes
    7085 +else
    7086 +  ac_has_wchar_h=no
    7087 +fi
    7088 +
    7089 +done
    7090 +
    7091 +  echo "$as_me:$LINENO: checking for mbstate_t" >&5