head	1.80;
access;
symbols;
locks; strict;
comment	@# @;


1.80
date	2000.04.06.08.37.31;	author bkoz;	state Exp;
branches;
next	1.79;

1.79
date	2000.04.04.18.26.43;	author bkoz;	state Exp;
branches;
next	1.78;

1.78
date	2000.04.03.16.42.04;	author bkoz;	state Exp;
branches;
next	1.77;

1.77
date	2000.03.28.04.25.38;	author bkoz;	state Exp;
branches;
next	1.76;

1.76
date	2000.03.27.19.53.00;	author pme;	state Exp;
branches;
next	1.75;

1.75
date	2000.03.23.23.09.00;	author bkoz;	state Exp;
branches;
next	1.74;

1.74
date	2000.03.23.20.58.37;	author pme;	state Exp;
branches;
next	1.73;

1.73
date	2000.03.22.09.44.52;	author bkoz;	state Exp;
branches;
next	1.72;

1.72
date	2000.03.22.09.24.02;	author bkoz;	state Exp;
branches;
next	1.71;

1.71
date	2000.03.22.08.35.31;	author bkoz;	state Exp;
branches;
next	1.70;

1.70
date	2000.03.20.05.21.02;	author bkoz;	state Exp;
branches;
next	1.69;

1.69
date	2000.03.17.02.24.17;	author bkoz;	state Exp;
branches;
next	1.68;

1.68
date	2000.03.16.23.06.22;	author pme;	state Exp;
branches;
next	1.67;

1.67
date	2000.03.16.07.45.41;	author bkoz;	state Exp;
branches;
next	1.66;

1.66
date	2000.03.15.12.47.15;	author bkoz;	state Exp;
branches;
next	1.65;

1.65
date	2000.03.14.01.26.25;	author bkoz;	state Exp;
branches;
next	1.64;

1.64
date	2000.03.13.19.01.35;	author bkoz;	state Exp;
branches;
next	1.63;

1.63
date	2000.03.08.21.49.31;	author bkoz;	state Exp;
branches;
next	1.62;

1.62
date	2000.03.08.20.10.54;	author bkoz;	state Exp;
branches;
next	1.61;

1.61
date	2000.02.29.00.05.24;	author bkoz;	state Exp;
branches;
next	1.60;

1.60
date	2000.02.26.00.42.57;	author bkoz;	state Exp;
branches;
next	1.59;

1.59
date	2000.02.19.22.50.33;	author bkoz;	state Exp;
branches;
next	1.58;

1.58
date	2000.02.18.05.15.06;	author bkoz;	state Exp;
branches;
next	1.57;

1.57
date	2000.02.17.13.24.52;	author bkoz;	state Exp;
branches;
next	1.56;

1.56
date	2000.02.17.13.15.13;	author bkoz;	state Exp;
branches;
next	1.55;

1.55
date	2000.02.17.10.51.28;	author bkoz;	state Exp;
branches;
next	1.54;

1.54
date	2000.02.15.22.36.20;	author bkoz;	state Exp;
branches;
next	1.53;

1.53
date	2000.02.15.02.36.50;	author bkoz;	state Exp;
branches;
next	1.52;

1.52
date	2000.02.14.06.37.34;	author bkoz;	state Exp;
branches;
next	1.51;

1.51
date	2000.02.11.11.27.32;	author bkoz;	state Exp;
branches;
next	1.50;

1.50
date	2000.02.10.20.00.58;	author bkoz;	state Exp;
branches;
next	1.49;

1.49
date	2000.02.09.18.06.34;	author bkoz;	state Exp;
branches;
next	1.48;

1.48
date	2000.02.04.23.12.11;	author bkoz;	state Exp;
branches;
next	1.47;

1.47
date	2000.02.03.06.35.20;	author bkoz;	state Exp;
branches;
next	1.46;

1.46
date	2000.02.02.08.48.05;	author bkoz;	state Exp;
branches;
next	1.45;

1.45
date	2000.02.02.04.57.44;	author bkoz;	state Exp;
branches;
next	1.44;

1.44
date	2000.01.14.19.55.25;	author pme;	state Exp;
branches;
next	1.43;

1.43
date	2000.01.10.21.44.48;	author bkoz;	state Exp;
branches;
next	1.42;

1.42
date	2000.01.07.01.44.03;	author bkoz;	state Exp;
branches;
next	1.41;

1.41
date	2000.01.07.01.24.55;	author bkoz;	state Exp;
branches;
next	1.40;

1.40
date	2000.01.07.00.19.38;	author bkoz;	state Exp;
branches;
next	1.39;

1.39
date	99.12.21.16.53.15;	author pme;	state Exp;
branches;
next	1.38;

1.38
date	99.12.20.08.37.25;	author bkoz;	state Exp;
branches;
next	1.37;

1.37
date	99.12.17.21.46.24;	author pme;	state Exp;
branches;
next	1.36;

1.36
date	99.12.02.08.07.41;	author bkoz;	state Exp;
branches;
next	1.35;

1.35
date	99.11.30.23.58.26;	author bkoz;	state Exp;
branches;
next	1.34;

1.34
date	99.11.29.18.32.59;	author bkoz;	state Exp;
branches;
next	1.33;

1.33
date	99.11.22.20.03.05;	author bkoz;	state Exp;
branches;
next	1.32;

1.32
date	99.11.11.20.19.52;	author bkoz;	state Exp;
branches;
next	1.31;

1.31
date	99.11.02.20.31.39;	author bkoz;	state Exp;
branches;
next	1.30;

1.30
date	99.10.10.02.58.38;	author bkoz;	state Exp;
branches;
next	1.29;

1.29
date	99.09.23.18.04.47;	author bkoz;	state Exp;
branches;
next	1.28;

1.28
date	99.09.21.02.18.51;	author bkoz;	state Exp;
branches;
next	1.27;

1.27
date	99.08.26.08.51.13;	author bkoz;	state Exp;
branches;
next	1.26;

1.26
date	99.08.04.01.21.40;	author bkoz;	state Exp;
branches;
next	1.25;

1.25
date	99.08.04.01.13.18;	author bkoz;	state Exp;
branches;
next	1.24;

1.24
date	99.08.03.21.26.04;	author bkoz;	state Exp;
branches;
next	1.23;

1.23
date	99.07.30.09.06.23;	author bkoz;	state Exp;
branches;
next	1.22;

1.22
date	99.07.30.08.52.36;	author bkoz;	state Exp;
branches;
next	1.21;

1.21
date	99.07.30.08.34.52;	author bkoz;	state Exp;
branches;
next	1.20;

1.20
date	99.07.30.08.04.32;	author bkoz;	state Exp;
branches;
next	1.19;

1.19
date	99.07.30.07.58.12;	author bkoz;	state Exp;
branches;
next	1.18;

1.18
date	99.07.29.04.22.45;	author bkoz;	state Exp;
branches;
next	1.17;

1.17
date	99.07.28.08.55.47;	author bkoz;	state Exp;
branches;
next	1.16;

1.16
date	99.07.19.03.55.39;	author bkoz;	state Exp;
branches;
next	1.15;

1.15
date	99.06.25.03.55.20;	author bkoz;	state Exp;
branches;
next	1.14;

1.14
date	99.06.24.18.20.05;	author bkoz;	state Exp;
branches;
next	1.13;

1.13
date	99.06.24.02.29.04;	author bkoz;	state Exp;
branches;
next	1.12;

1.12
date	99.06.07.18.52.44;	author bkoz;	state Exp;
branches;
next	1.11;

1.11
date	99.06.01.19.17.56;	author bkoz;	state Exp;
branches;
next	1.10;

1.10
date	99.05.17.20.03.04;	author bkoz;	state Exp;
branches;
next	1.9;

1.9
date	99.04.19.20.04.02;	author bkoz;	state Exp;
branches;
next	1.8;

1.8
date	99.03.17.18.33.56;	author bkoz;	state Exp;
branches;
next	1.7;

1.7
date	99.02.18.15.01.50;	author drepper;	state Exp;
branches;
next	1.6;

1.6
date	99.01.22.17.16.02;	author drepper;	state Exp;
branches;
next	1.5;

1.5
date	98.10.16.01.18.04;	author drepper;	state Exp;
branches;
next	1.4;

1.4
date	98.10.15.18.42.24;	author drepper;	state Exp;
branches;
next	1.3;

1.3
date	98.09.01.23.31.33;	author brendan;	state Exp;
branches;
next	1.2;

1.2
date	98.07.14.23.09.13;	author drepper;	state Exp;
branches;
next	1.1;

1.1
date	98.07.14.17.49.18;	author drepper;	state Exp;
branches;
next	;


desc
@@


1.80
log
@
2000-04-05  Benjamin Kosnik  <bkoz@@cygnus.com>

	* src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
	by default when using --enable-libstdcxx-v3.
	* src/Makefile.in: Regenerate.
	* configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
	GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
	* configure: Regenerate.
	* mkcheck.in: Deal with NAMESPACES.
@
text
@#! /bin/sh

# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.

# Defaults:
ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
  --with-target-subdir=SUBDIR
                           configuring in a subdirectory"
ac_help="$ac_help
  --with-cross-host=HOST  configuring with a cross compiler"
ac_help="$ac_help
  --enable-multilib       build hella library versions (default)"
ac_help="$ac_help
  --enable-maintainer-mode enable make rules and dependencies not useful
                          (and sometimes confusing) to the casual installer"
ac_help="$ac_help
  --enable-shared[=PKGS]  build shared libraries [default=yes]"
ac_help="$ac_help
  --enable-static[=PKGS]  build static libraries [default=yes]"
ac_help="$ac_help
  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
ac_help="$ac_help
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
ac_help="$ac_help
  --disable-libtool-lock  avoid locking (might break parallel builds)"
ac_help="$ac_help
  --enable-debug          extra debugging, turn off optimization [default=no]"
ac_help="$ac_help
  --enable-cstdio         enable GNU libio for target io package. (default)
  --enable-cstdio=LIB     use LIB target-speific io package."
ac_help="$ac_help
  --enable-long_long      turns on 'long long' [default=no]"
ac_help="$ac_help
  --enable-threads        enable thread usage for target GCC.
  --enable-threads=LIB    use LIB thread package for target GCC."

# Initialize some variables set by options.
# The variables have the same names as the options, with
# dashes changed to underlines.
build=NONE
cache_file=./config.cache
exec_prefix=NONE
host=NONE
no_create=
nonopt=NONE
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
target=NONE
verbose=
x_includes=NONE
x_libraries=NONE
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include'
oldincludedir='/usr/include'
infodir='${prefix}/info'
mandir='${prefix}/man'

# Initialize some other variables.
subdirs=
MFLAGS= MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Maximum number of lines to put in a shell here document.
ac_max_here_lines=12

ac_prev=
for ac_option
do

  # If the previous option needs an argument, assign it.
  if test -n "$ac_prev"; then
    eval "$ac_prev=\$ac_option"
    ac_prev=
    continue
  fi

  case "$ac_option" in
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) ac_optarg= ;;
  esac

  # Accept the important Cygnus configure options, so we can diagnose typos.

  case "$ac_option" in

  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    ac_prev=bindir ;;
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    bindir="$ac_optarg" ;;

  -build | --build | --buil | --bui | --bu)
    ac_prev=build ;;
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    build="$ac_optarg" ;;

  -cache-file | --cache-file | --cache-fil | --cache-fi \
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    ac_prev=cache_file ;;
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    cache_file="$ac_optarg" ;;

  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    ac_prev=datadir ;;
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
    datadir="$ac_optarg" ;;

  -disable-* | --disable-*)
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    eval "enable_${ac_feature}=no" ;;

  -enable-* | --enable-*)
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    case "$ac_option" in
      *=*) ;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_${ac_feature}='$ac_optarg'" ;;

  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  | --exec | --exe | --ex)
    ac_prev=exec_prefix ;;
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  | --exec=* | --exe=* | --ex=*)
    exec_prefix="$ac_optarg" ;;

  -gas | --gas | --ga | --g)
    # Obsolete; use --with-gas.
    with_gas=yes ;;

  -help | --help | --hel | --he)
    # Omit some internal or obsolete options to make the list less imposing.
    # This message is too long to be a string in the A/UX 3.1 sh.
    cat << EOF
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print \`checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
EOF
    cat << EOF
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
EOF
    if test -n "$ac_help"; then
      echo "--enable and --with options recognized:$ac_help"
    fi
    exit 0 ;;

  -host | --host | --hos | --ho)
    ac_prev=host ;;
  -host=* | --host=* | --hos=* | --ho=*)
    host="$ac_optarg" ;;

  -includedir | --includedir | --includedi | --included | --include \
  | --includ | --inclu | --incl | --inc)
    ac_prev=includedir ;;
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  | --includ=* | --inclu=* | --incl=* | --inc=*)
    includedir="$ac_optarg" ;;

  -infodir | --infodir | --infodi | --infod | --info | --inf)
    ac_prev=infodir ;;
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    infodir="$ac_optarg" ;;

  -libdir | --libdir | --libdi | --libd)
    ac_prev=libdir ;;
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    libdir="$ac_optarg" ;;

  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  | --libexe | --libex | --libe)
    ac_prev=libexecdir ;;
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  | --libexe=* | --libex=* | --libe=*)
    libexecdir="$ac_optarg" ;;

  -localstatedir | --localstatedir | --localstatedi | --localstated \
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    localstatedir="$ac_optarg" ;;

  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    ac_prev=mandir ;;
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    mandir="$ac_optarg" ;;

  -nfp | --nfp | --nf)
    # Obsolete; use --without-fp.
    with_fp=no ;;

  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c)
    no_create=yes ;;

  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    no_recursion=yes ;;

  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  | --oldin | --oldi | --old | --ol | --o)
    ac_prev=oldincludedir ;;
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    oldincludedir="$ac_optarg" ;;

  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    ac_prev=prefix ;;
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    prefix="$ac_optarg" ;;

  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  | --program-pre | --program-pr | --program-p)
    ac_prev=program_prefix ;;
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    program_prefix="$ac_optarg" ;;

  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  | --program-suf | --program-su | --program-s)
    ac_prev=program_suffix ;;
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    program_suffix="$ac_optarg" ;;

  -program-transform-name | --program-transform-name \
  | --program-transform-nam | --program-transform-na \
  | --program-transform-n | --program-transform- \
  | --program-transform | --program-transfor \
  | --program-transfo | --program-transf \
  | --program-trans | --program-tran \
  | --progr-tra | --program-tr | --program-t)
    ac_prev=program_transform_name ;;
  -program-transform-name=* | --program-transform-name=* \
  | --program-transform-nam=* | --program-transform-na=* \
  | --program-transform-n=* | --program-transform-=* \
  | --program-transform=* | --program-transfor=* \
  | --program-transfo=* | --program-transf=* \
  | --program-trans=* | --program-tran=* \
  | --progr-tra=* | --program-tr=* | --program-t=*)
    program_transform_name="$ac_optarg" ;;

  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil)
    silent=yes ;;

  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    ac_prev=sbindir ;;
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  | --sbi=* | --sb=*)
    sbindir="$ac_optarg" ;;

  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  | --sharedst | --shareds | --shared | --share | --shar \
  | --sha | --sh)
    ac_prev=sharedstatedir ;;
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  | --sha=* | --sh=*)
    sharedstatedir="$ac_optarg" ;;

  -site | --site | --sit)
    ac_prev=site ;;
  -site=* | --site=* | --sit=*)
    site="$ac_optarg" ;;

  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    ac_prev=srcdir ;;
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    srcdir="$ac_optarg" ;;

  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  | --syscon | --sysco | --sysc | --sys | --sy)
    ac_prev=sysconfdir ;;
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    sysconfdir="$ac_optarg" ;;

  -target | --target | --targe | --targ | --tar | --ta | --t)
    ac_prev=target ;;
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    target="$ac_optarg" ;;

  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    verbose=yes ;;

  -version | --version | --versio | --versi | --vers)
    echo "configure generated by autoconf version 2.13"
    exit 0 ;;

  -with-* | --with-*)
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case "$ac_option" in
      *=*) ;;
      *) ac_optarg=yes ;;
    esac
    eval "with_${ac_package}='$ac_optarg'" ;;

  -without-* | --without-*)
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    eval "with_${ac_package}=no" ;;

  --x)
    # Obsolete; use --with-x.
    with_x=yes ;;

  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  | --x-incl | --x-inc | --x-in | --x-i)
    ac_prev=x_includes ;;
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    x_includes="$ac_optarg" ;;

  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    ac_prev=x_libraries ;;
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    x_libraries="$ac_optarg" ;;

  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
    ;;

  *)
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
      echo "configure: warning: $ac_option: invalid host type" 1>&2
    fi
    if test "x$nonopt" != xNONE; then
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    fi
    nonopt="$ac_option"
    ;;

  esac
done

if test -n "$ac_prev"; then
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
fi

trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

# File descriptor usage:
# 0 standard input
# 1 file creation
# 2 errors and warnings
# 3 some systems may open it to /dev/tty
# 4 used on the Kubota Titan
# 6 checking for... messages and results
# 5 compiler messages saved in config.log
if test "$silent" = yes; then
  exec 6>/dev/null
else
  exec 6>&1
fi
exec 5>./config.log

echo "\
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
" 1>&5

# Strip out --no-create and --no-recursion so they do not pile up.
# Also quote any args containing shell metacharacters.
ac_configure_args=
for ac_arg
do
  case "$ac_arg" in
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c) ;;
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  esac
done

# NLS nuisances.
# Only set these to C if already set.  These must not be set unconditionally
# because not all systems understand e.g. LANG=C (notably SCO).
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
# Non-C LC_CTYPE values break the ctype check.
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi

# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo > confdefs.h

# A filename unique to this package, relative to the directory that
# configure is in, which we can look for to find out if srcdir is correct.
ac_unique_file=src/complex.cc

# Find the source files, if location was not specified.
if test -z "$srcdir"; then
  ac_srcdir_defaulted=yes
  # Try the directory containing this script, then its parent.
  ac_prog=$0
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  srcdir=$ac_confdir
  if test ! -r $srcdir/$ac_unique_file; then
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  else
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  fi
fi
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`

# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  fi
fi
for ac_site_file in $CONFIG_SITE; do
  if test -r "$ac_site_file"; then
    echo "loading site script $ac_site_file"
    . "$ac_site_file"
  fi
done

if test -r "$cache_file"; then
  echo "loading cache $cache_file"
  . $cache_file
else
  echo "creating cache $cache_file"
  > $cache_file
fi

ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

ac_exeext=
ac_objext=o
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@@caip.rutgers.edu.
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
    ac_n= ac_c='
' ac_t='	'
  else
    ac_n=-n ac_c= ac_t=
  fi
else
  ac_n= ac_c='\c' ac_t=
fi


ac_aux_dir=
for ac_dir in .. $srcdir/..; do
  if test -f $ac_dir/install-sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install-sh -c"
    break
  elif test -f $ac_dir/install.sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install.sh -c"
    break
  fi
done
if test -z "$ac_aux_dir"; then
  { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
fi
ac_config_guess=$ac_aux_dir/config.guess
ac_config_sub=$ac_aux_dir/config.sub
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.


# Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.

# Do some error checking and defaulting for the host and target type.
# The inputs are:
#    configure --host=HOST --target=TARGET --build=BUILD NONOPT
#
# The rules are:
# 1. You are not allowed to specify --host, --target, and nonopt at the
#    same time.
# 2. Host defaults to nonopt.
# 3. If nonopt is not specified, then host defaults to the current host,
#    as determined by config.guess.
# 4. Target and build default to nonopt.
# 5. If nonopt is not specified, then target and build default to host.

# The aliases save the names the user supplied, while $host etc.
# will get canonicalized.
case $host---$target---$nonopt in
NONE---*---* | *---NONE---* | *---*---NONE) ;;
*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
esac


# Make sure we can run config.sub.
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi

echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:604: checking host system type" >&5

host_alias=$host
case "$host_alias" in
NONE)
  case $nonopt in
  NONE)
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
    fi ;;
  *) host_alias=$nonopt ;;
  esac ;;
esac

host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6

echo $ac_n "checking target system type""... $ac_c" 1>&6
echo "configure:625: checking target system type" >&5

target_alias=$target
case "$target_alias" in
NONE)
  case $nonopt in
  NONE) target_alias=$host_alias ;;
  *) target_alias=$nonopt ;;
  esac ;;
esac

target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$target" 1>&6

echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:643: checking build system type" >&5

build_alias=$build
case "$build_alias" in
NONE)
  case $nonopt in
  NONE) build_alias=$host_alias ;;
  *) build_alias=$nonopt ;;
  esac ;;
esac

build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$build" 1>&6

test "$host_alias" != "$target_alias" &&
  test "$program_prefix$program_suffix$program_transform_name" = \
    NONENONEs,x,x, &&
  program_prefix=${target_alias}-


# We use these options to decide which functions to include.
# Check whether --with-target-subdir or --without-target-subdir was given.
if test "${with_target_subdir+set}" = set; then
  withval="$with_target_subdir"
  :
fi

# Check whether --with-cross-host or --without-cross-host was given.
if test "${with_cross_host+set}" = set; then
  withval="$with_cross_host"
  :
fi


# Find a good install program.  We prefer a C program (faster),
# so one script is as good as another.  But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:692: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"
  for ac_dir in $PATH; do
    # Account for people who put trailing slashes in PATH elements.
    case "$ac_dir/" in
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    *)
      # OSF1 and SCO ODT 3.0 have their own names for install.
      # Don't use installbsd from OSF since it installs stuff as root
      # by default.
      for ac_prog in ginstall scoinst install; do
        if test -f $ac_dir/$ac_prog; then
	  if test $ac_prog = install &&
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
	    # AIX install.  It has an incompatible calling convention.
	    :
	  else
	    ac_cv_path_install="$ac_dir/$ac_prog -c"
	    break 2
	  fi
	fi
      done
      ;;
    esac
  done
  IFS="$ac_save_IFS"

fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL="$ac_cv_path_install"
  else
    # As a last resort, use the slow shell script.  We don't cache a
    # path for INSTALL within a source directory, because that will
    # break other packages using the cache if that directory is
    # removed, or if the path is relative.
    INSTALL="$ac_install_sh"
  fi
fi
echo "$ac_t""$INSTALL" 1>&6

# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'

test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'

echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
echo "configure:745: checking whether build environment is sane" >&5
# Just in case
sleep 1
echo timestamp > conftestfile
# Do `set' in a subshell so we don't clobber the current shell's
# arguments.  Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
   if test "$*" = "X"; then
      # -L didn't work.
      set X `ls -t $srcdir/configure conftestfile`
   fi
   if test "$*" != "X $srcdir/configure conftestfile" \
      && test "$*" != "X conftestfile $srcdir/configure"; then

      # If neither matched, then we have a broken ls.  This can happen
      # if, for instance, CONFIG_SHELL is bash and it inherits a
      # broken ls alias from the environment.  This has actually
      # happened.  Such a system could not be considered "sane".
      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
alias in your environment" 1>&2; exit 1; }
   fi

   test "$2" = conftestfile
   )
then
   # Ok.
   :
else
   { echo "configure: error: newly created file is older than distributed files!
Check your system clock" 1>&2; exit 1; }
fi
rm -f conftest*
echo "$ac_t""yes" 1>&6
if test "$program_transform_name" = s,x,x,; then
  program_transform_name=
else
  # Double any \ or $.  echo might interpret backslashes.
  cat <<\EOF_SED > conftestsed
s,\\,\\\\,g; s,\$,$$,g
EOF_SED
  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
  rm -f conftestsed
fi
test "$program_prefix" != NONE &&
  program_transform_name="s,^,${program_prefix},; $program_transform_name"
# Use a double $ so make ignores it.
test "$program_suffix" != NONE &&
  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"

# sed with no file args requires a program.
test "$program_transform_name" = "" && program_transform_name="s,x,x,"

echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:802: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftestmake <<\EOF
all:
	@@echo 'ac_maketemp="${MAKE}"'
EOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
if test -n "$ac_maketemp"; then
  eval ac_cv_prog_make_${ac_make}_set=yes
else
  eval ac_cv_prog_make_${ac_make}_set=no
fi
rm -f conftestmake
fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  SET_MAKE=
else
  echo "$ac_t""no" 1>&6
  SET_MAKE="MAKE=${MAKE-make}"
fi

if test $host != $build; then
  ac_tool_prefix=${host_alias}-
else
  ac_tool_prefix=
fi

echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
echo "configure:835: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 840 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
EOF
if { (eval echo configure:851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_cygwin=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_cygwin=no
fi
rm -f conftest*
rm -f conftest*
fi

echo "$ac_t""$ac_cv_cygwin" 1>&6
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
echo "configure:868: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 873 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
EOF
if { (eval echo configure:880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_mingw32=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_mingw32=no
fi
rm -f conftest*
rm -f conftest*
fi

echo "$ac_t""$ac_cv_mingw32" 1>&6
MINGW32=
test "$ac_cv_mingw32" = yes && MINGW32=yes

    # Check whether --enable-multilib or --disable-multilib was given.
if test "${enable_multilib+set}" = set; then
  enableval="$enable_multilib"
  case "${enableval}" in
    yes) multilib=yes ;;
    no)  multilib=no ;;
    *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
   esac
else
  multilib=yes
fi

      if test "${srcdir}" = "."; then
    if test "${with_target_subdir}" != "."; then
      glibcpp_basedir="${srcdir}/${with_multisrctop}../."
    else
      glibcpp_basedir="${srcdir}/${with_multisrctop}."
    fi
  else
    glibcpp_basedir="${srcdir}/."
  fi
  

  
# Make sure we can run config.sub.
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi

echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:927: checking host system type" >&5

host_alias=$host
case "$host_alias" in
NONE)
  case $nonopt in
  NONE)
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
    fi ;;
  *) host_alias=$nonopt ;;
  esac ;;
esac

host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6


  
PACKAGE=libstdc++

VERSION=2.90.8

if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
fi
cat >> confdefs.h <<EOF
#define PACKAGE "$PACKAGE"
EOF

cat >> confdefs.h <<EOF
#define VERSION "$VERSION"
EOF



missing_dir=`cd $ac_aux_dir && pwd`
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
echo "configure:968: checking for working aclocal" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
   ACLOCAL=aclocal
   echo "$ac_t""found" 1>&6
else
   ACLOCAL="$missing_dir/missing aclocal"
   echo "$ac_t""missing" 1>&6
fi

echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
echo "configure:981: checking for working autoconf" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
   AUTOCONF=autoconf
   echo "$ac_t""found" 1>&6
else
   AUTOCONF="$missing_dir/missing autoconf"
   echo "$ac_t""missing" 1>&6
fi

echo $ac_n "checking for working automake""... $ac_c" 1>&6
echo "configure:994: checking for working automake" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (automake --version) < /dev/null > /dev/null 2>&1; then
   AUTOMAKE=automake
   echo "$ac_t""found" 1>&6
else
   AUTOMAKE="$missing_dir/missing automake"
   echo "$ac_t""missing" 1>&6
fi

echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
echo "configure:1007: checking for working autoheader" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
   AUTOHEADER=autoheader
   echo "$ac_t""found" 1>&6
else
   AUTOHEADER="$missing_dir/missing autoheader"
   echo "$ac_t""missing" 1>&6
fi

echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
echo "configure:1020: checking for working makeinfo" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
   MAKEINFO=makeinfo
   echo "$ac_t""found" 1>&6
else
   MAKEINFO="$missing_dir/missing makeinfo"
   echo "$ac_t""missing" 1>&6
fi



# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
# are probably using a cross compiler, which will not be able to fully
# link an executable.  This should really be fixed in autoconf
# itself.




# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1046: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CC="gcc"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1076: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_prog_rejected=no
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
	continue
      fi
      ac_cv_prog_CC="cc"
      break
    fi
  done
  IFS="$ac_save_ifs"
if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# -gt 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    set dummy "$ac_dir/$ac_word" "$@@"
    shift
    ac_cv_prog_CC="$@@"
  fi
fi
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi

echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:1125: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.c <<EOF
#ifdef __GNUC__
  yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gcc=yes
else
  ac_cv_prog_gcc=no
fi
fi

echo "$ac_t""$ac_cv_prog_gcc" 1>&6

if test $ac_cv_prog_gcc = yes; then
  GCC=yes
  ac_test_CFLAGS="${CFLAGS+set}"
  ac_save_CFLAGS="$CFLAGS"
  CFLAGS=
  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1149: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  ac_cv_prog_cc_g=yes
else
  ac_cv_prog_cc_g=no
fi
rm -f conftest*

fi

echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  if test "$ac_test_CFLAGS" = set; then
    CFLAGS="$ac_save_CFLAGS"
  elif test $ac_cv_prog_cc_g = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-O2"
  fi
else
  GCC=
  test "${CFLAGS+set}" = set || CFLAGS="-g"
fi


# Likewise for AC_PROG_CXX.



for ac_prog in $CCC c++ g++ gcc CC cxx cc++
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1186: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CXX"; then
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CXX="$ac_prog"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
CXX="$ac_cv_prog_CXX"
if test -n "$CXX"; then
  echo "$ac_t""$CXX" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

test -n "$CXX" && break
done
test -n "$CXX" || CXX="gcc"

test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }

echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
echo "configure:1219: checking whether we are using GNU C++" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.C <<EOF
#ifdef __GNUC__
  yes;
#endif
EOF
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gxx=yes
else
  ac_cv_prog_gxx=no
fi
fi

echo "$ac_t""$ac_cv_prog_gxx" 1>&6

if test $ac_cv_prog_gxx = yes; then
  GXX=yes
  ac_test_CXXFLAGS="${CXXFLAGS+set}"
  ac_save_CXXFLAGS="$CXXFLAGS"
  CXXFLAGS=
  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
echo "configure:1243: checking whether ${CXX-g++} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  echo 'void f(){}' > conftest.cc
if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
  ac_cv_prog_cxx_g=yes
else
  ac_cv_prog_cxx_g=no
fi
rm -f conftest*

fi

echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
  if test "$ac_test_CXXFLAGS" = set; then
    CXXFLAGS="$ac_save_CXXFLAGS"
  elif test $ac_cv_prog_cxx_g = yes; then
    CXXFLAGS="-g -O2"
  else
    CXXFLAGS="-O2"
  fi
else
  GXX=
  test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
fi


# AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we dont
# run it explicitly here, it will be run implicitly before
# LIBGCJ_CONFIGURE, which doesn't work because that means that it will
# be run before AC_CANONICAL_HOST.
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:1276: checking build system type" >&5

build_alias=$build
case "$build_alias" in
NONE)
  case $nonopt in
  NONE) build_alias=$host_alias ;;
  *) build_alias=$nonopt ;;
  esac ;;
esac

build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$build" 1>&6


# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
set dummy ${ac_tool_prefix}as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1297: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$AS"; then
  ac_cv_prog_AS="$AS" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_AS="${ac_tool_prefix}as"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
fi
fi
AS="$ac_cv_prog_AS"
if test -n "$AS"; then
  echo "$ac_t""$AS" 1>&6
else
  echo "$ac_t""no" 1>&6
fi



# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1329: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$AR"; then
  ac_cv_prog_AR="$AR" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_AR="${ac_tool_prefix}ar"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
fi
fi
AR="$ac_cv_prog_AR"
if test -n "$AR"; then
  echo "$ac_t""$AR" 1>&6
else
  echo "$ac_t""no" 1>&6
fi



# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1361: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
RANLIB="$ac_cv_prog_RANLIB"
if test -n "$RANLIB"; then
  echo "$ac_t""$RANLIB" 1>&6
else
  echo "$ac_t""no" 1>&6
fi


if test -z "$ac_cv_prog_RANLIB"; then
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1393: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
fi
fi
RANLIB="$ac_cv_prog_RANLIB"
if test -n "$RANLIB"; then
  echo "$ac_t""$RANLIB" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

else
  RANLIB=":"
fi
fi


# Find a good install program.  We prefer a C program (faster),
# so one script is as good as another.  But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:1438: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"
  for ac_dir in $PATH; do
    # Account for people who put trailing slashes in PATH elements.
    case "$ac_dir/" in
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    *)
      # OSF1 and SCO ODT 3.0 have their own names for install.
      # Don't use installbsd from OSF since it installs stuff as root
      # by default.
      for ac_prog in ginstall scoinst install; do
        if test -f $ac_dir/$ac_prog; then
	  if test $ac_prog = install &&
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
	    # AIX install.  It has an incompatible calling convention.
	    :
	  else
	    ac_cv_path_install="$ac_dir/$ac_prog -c"
	    break 2
	  fi
	fi
      done
      ;;
    esac
  done
  IFS="$ac_save_IFS"

fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL="$ac_cv_path_install"
  else
    # As a last resort, use the slow shell script.  We don't cache a
    # path for INSTALL within a source directory, because that will
    # break other packages using the cache if that directory is
    # removed, or if the path is relative.
    INSTALL="$ac_install_sh"
  fi
fi
echo "$ac_t""$INSTALL" 1>&6

# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'

test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'


echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
echo "configure:1492: checking whether to enable maintainer-specific portions of Makefiles" >&5
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
  enableval="$enable_maintainer_mode"
  USE_MAINTAINER_MODE=$enableval
else
  USE_MAINTAINER_MODE=no
fi

  echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
  

if test $USE_MAINTAINER_MODE = yes; then
  MAINTAINER_MODE_TRUE=
  MAINTAINER_MODE_FALSE='#'
else
  MAINTAINER_MODE_TRUE='#'
  MAINTAINER_MODE_FALSE=
fi
  MAINT=$MAINTAINER_MODE_TRUE
  


# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
# at least currently, we never actually build a program, so we never
# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
# fails, because we are probably configuring with a cross compiler
# which cant create executables.  So we include AC_EXEEXT to keep
# automake happy, but we dont execute it, since we dont care about
# the result.
if false; then
  

echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
echo "configure:1526: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
  ac_cv_exeext=.exe
else
  rm -f conftest*
  echo 'int main () { return 0; }' > conftest.$ac_ext
  ac_cv_exeext=
  if { (eval echo configure:1536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    for file in conftest.*; do
      case $file in
      *.c | *.o | *.obj) ;;
      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
      esac
    done
  else
    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
  fi
  rm -f conftest*
  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
fi
fi

EXEEXT=""
test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
echo "$ac_t""${ac_cv_exeext}" 1>&6
ac_exeext=$EXEEXT

fi

# configure.host sets the following important variables
#	glibcpp_cflags    - host specific C compiler flags
#	glibcpp_cxxflags  - host specific C++ compiler flags

glibcpp_cflags=
glibcpp_cxxflags=

. ${glibcpp_basedir}/configure.host

case ${glibcpp_basedir} in
/* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
*) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
esac

GLIBCPP_CFLAGS="${glibcpp_cflags}"
GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"




# Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
  enableval="$enable_shared"
  p=${PACKAGE-default}
case "$enableval" in
yes) enable_shared=yes ;;
no) enable_shared=no ;;
*)
  enable_shared=no
  # Look at the argument we got.  We use all the common list separators.
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  for pkg in $enableval; do
    if test "X$pkg" = "X$p"; then
      enable_shared=yes
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
else
  enable_shared=yes
fi

# Check whether --enable-static or --disable-static was given.
if test "${enable_static+set}" = set; then
  enableval="$enable_static"
  p=${PACKAGE-default}
case "$enableval" in
yes) enable_static=yes ;;
no) enable_static=no ;;
*)
  enable_static=no
  # Look at the argument we got.  We use all the common list separators.
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  for pkg in $enableval; do
    if test "X$pkg" = "X$p"; then
      enable_static=yes
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
else
  enable_static=yes
fi

# Check whether --enable-fast-install or --disable-fast-install was given.
if test "${enable_fast_install+set}" = set; then
  enableval="$enable_fast_install"
  p=${PACKAGE-default}
case "$enableval" in
yes) enable_fast_install=yes ;;
no) enable_fast_install=no ;;
*)
  enable_fast_install=no
  # Look at the argument we got.  We use all the common list separators.
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  for pkg in $enableval; do
    if test "X$pkg" = "X$p"; then
      enable_fast_install=yes
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
else
  enable_fast_install=yes
fi

# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1650: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
fi
fi
RANLIB="$ac_cv_prog_RANLIB"
if test -n "$RANLIB"; then
  echo "$ac_t""$RANLIB" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

# Check whether --with-gnu-ld or --without-gnu-ld was given.
if test "${with_gnu_ld+set}" = set; then
  withval="$with_gnu_ld"
  test "$withval" = no || with_gnu_ld=yes
else
  with_gnu_ld=no
fi

ac_prog=ld
if test "$ac_cv_prog_gcc" = yes; then
  # Check if gcc -print-prog-name=ld gives a path.
  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
echo "configure:1689: checking for ld used by GCC" >&5
  ac_prog=`($CC -print-prog-name=ld) 2>&5`
  case "$ac_prog" in
    # Accept absolute paths.
    [\\/]* | [A-Za-z]:[\\/]*)
      re_direlt='/[^/][^/]*/\.\./'
      # Canonicalize the path of ld
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
      done
      test -z "$LD" && LD="$ac_prog"
      ;;
  "")
    # If it fails, then pretend we aren't using GCC.
    ac_prog=ld
    ;;
  *)
    # If it is relative, then search for the first ld in PATH.
    with_gnu_ld=unknown
    ;;
  esac
elif test "$with_gnu_ld" = yes; then
  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
echo "configure:1713: checking for GNU ld" >&5
else
  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
echo "configure:1716: checking for non-GNU ld" >&5
fi
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -z "$LD"; then
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
      ac_cv_path_LD="$ac_dir/$ac_prog"
      # Check to see if the program is GNU ld.  I'd rather use --version,
      # but apparently some GNU ld's only accept -v.
      # Break only if it was the GNU/non-GNU ld that we prefer.
      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
	test "$with_gnu_ld" != no && break
      else
	test "$with_gnu_ld" != yes && break
      fi
    fi
  done
  IFS="$ac_save_ifs"
else
  ac_cv_path_LD="$LD" # Let the user override the test with a path.
fi
fi

LD="$ac_cv_path_LD"
if test -n "$LD"; then
  echo "$ac_t""$LD" 1>&6
else
  echo "$ac_t""no" 1>&6
fi
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
echo "configure:1751: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  ac_cv_prog_gnu_ld=yes
else
  ac_cv_prog_gnu_ld=no
fi
fi

echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6


echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
echo "configure:1767: checking for BSD-compatible nm" >&5
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$NM"; then
  # Let the user override the test.
  ac_cv_path_NM="$NM"
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
      # Check to see if the nm accepts a BSD-compat flag.
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
      #   nm: unknown option "B" ignored
      if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
	ac_cv_path_NM="$ac_dir/nm -B"
	break
      elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
	ac_cv_path_NM="$ac_dir/nm -p"
	break
      else
	ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
	continue # so that we can try to find one that supports BSD flags
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
fi
fi

NM="$ac_cv_path_NM"
echo "$ac_t""$NM" 1>&6

echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
echo "configure:1803: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  rm -f conftestdata
if ln -s X conftestdata 2>/dev/null
then
  rm -f conftestdata
  ac_cv_prog_LN_S="ln -s"
else
  ac_cv_prog_LN_S=ln
fi
fi
LN_S="$ac_cv_prog_LN_S"
if test "$ac_cv_prog_LN_S" = "ln -s"; then
  echo "$ac_t""yes" 1>&6
else
  echo "$ac_t""no" 1>&6
fi


case "$target" in
NONE) lt_target="$host" ;;
*) lt_target="$target" ;;
esac

# Check for any special flags to pass to ltconfig.
libtool_flags="--cache-file=$cache_file"
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
libtool_flags="$libtool_flags --enable-dlopen"

# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then
  enableval="$enable_libtool_lock"
  :
fi

test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"

# Some flags need to be propagated to the compiler or linker for good
# libtool support.
case "$lt_target" in
*-*-irix6*)
  # Find out which ABI we are using.
  echo '#line 1852 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    case "`/usr/bin/file conftest.o`" in
    *32-bit*)
      LD="${LD-ld} -32"
      ;;
    *N32*)
      LD="${LD-ld} -n32"
      ;;
    *64-bit*)
      LD="${LD-ld} -64"
      ;;
    esac
  fi
  rm -rf conftest*
  ;;

*-*-sco3.2v5*)
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  SAVE_CFLAGS="$CFLAGS"
  CFLAGS="$CFLAGS -belf"
  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
echo "configure:1874: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1879 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  lt_cv_cc_needs_belf=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  lt_cv_cc_needs_belf=no
fi
rm -f conftest*
fi

echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    CFLAGS="$SAVE_CFLAGS"
  fi
  ;;


esac


# Save cache, so that ltconfig can load it
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
  *ac_space=\ *)
    # `set' does not quote correctly, so add quotes (double-quote substitution
    # turns \\\\ into \\, and sed turns \\ into \).
    sed -n \
      -e "s/'/'\\\\''/g" \
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    ;;
  *)
    # `set' quotes correctly as required by POSIX, so do not add quotes.
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    ;;
  esac >> confcache
if cmp -s $cache_file confcache; then
  :
else
  if test -w $cache_file; then
    echo "updating cache $cache_file"
    cat confcache > $cache_file
  else
    echo "not updating unwritable cache $cache_file"
  fi
fi
rm -f confcache


# Actually configure libtool.  ac_aux_dir is where install-sh is found.
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }

# Reload cache, that may have been modified by ltconfig
if test -r "$cache_file"; then
  echo "loading cache $cache_file"
  . $cache_file
else
  echo "creating cache $cache_file"
  > $cache_file
fi


# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"

# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

# Redirect the config.log output again, so that the ltconfig log is not
# clobbered by the next message.
exec 5>>./config.log





# Check for c++ or library specific bits that don't require linking.
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1993: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
fi
if test -z "$CPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
    # This must be in double quotes, not single quotes, because CPP may get
  # substituted into the Makefile and "${CC-cc}" will confuse make.
  CPP="${CC-cc} -E"
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp.
  cat > conftest.$ac_ext <<EOF
#line 2008 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -E -traditional-cpp"
  cat > conftest.$ac_ext <<EOF
#line 2025 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -nologo -E"
  cat > conftest.$ac_ext <<EOF
#line 2042 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP=/lib/cpp
fi
rm -f conftest*
fi
rm -f conftest*
fi
rm -f conftest*
  ac_cv_prog_CPP="$CPP"
fi
  CPP="$ac_cv_prog_CPP"
else
  ac_cv_prog_CPP="$CPP"
fi
echo "$ac_t""$CPP" 1>&6


  echo $ac_n "checking for g++ that will successfullly compile this code""... $ac_c" 1>&6
echo "configure:2074: checking for g++ that will successfullly compile this code" >&5
  cat > conftest.$ac_ext <<EOF
#line 2076 "configure"
#include "confdefs.h"

  #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) 
    ok
  #endif
  
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "ok" >/dev/null 2>&1; then
  rm -rf conftest*
  gpp_satisfactory=yes
else
  rm -rf conftest*
  { echo "configure: error: "please upgrade to gcc-2.95 or above"" 1>&2; exit 1; }
fi
rm -f conftest*

  echo "$ac_t""$gpp_satisfactory" 1>&6

  echo $ac_n "checking for g++ that supports new inlining mechanism""... $ac_c" 1>&6
echo "configure:2097: checking for g++ that supports new inlining mechanism" >&5
  cat > conftest.$ac_ext <<EOF
#line 2099 "configure"
#include "confdefs.h"

  #if  __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 95)
    ok
  #endif
  
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "ok" >/dev/null 2>&1; then
  rm -rf conftest*
  OPTLEVEL='-O2'
      WERRORSUPPRESS=
  
else
  rm -rf conftest*
  OPTLEVEL=
      WERRORSUPPRESS=-Wno-error
  
fi
rm -f conftest*

  if test "$OPTLEVEL" = ""; then
    echo "$ac_t""no" 1>&6
  else
    echo "$ac_t""yes" 1>&6
  fi
  
  


    echo $ac_n "checking for cpu primitives directory""... $ac_c" 1>&6
echo "configure:2131: checking for cpu primitives directory" >&5
    case "$target_cpu" in
      alpha*)
	cpu_include_dir="config/cpu/alpha"
        ;;
      arm*)
	cpu_include_dir="config/cpu/arm"
        ;;
      i486 | i586 | i686 | i786)
	cpu_include_dir="config/cpu/i386"
        ;;
      powerpc | rs6000)
	cpu_include_dir="config/cpu/powerpc"
        ;;
      sparc64 | ultrasparc)
	cpu_include_dir="config/cpu/sparc/sparc64"
        ;;
      sparc*)
	cpu_include_dir="config/cpu/sparc/sparc32"
        ;;
      *)
	cpu_include_dir="config/cpu/generic"
        ;;
    esac
    echo "$ac_t""$cpu_include_dir" 1>&6
    


# Enable all the crazy c++ stuff.
# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then
  enableval="$enable_debug"
  case "$enableval" in
 yes) enable_debug=yes ;;
 no)  enable_debug=no ;;
 *)   { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
 esac
else
  enable_debug=no
fi
case "$enable_debug" in
    yes)  DEBUGFLAGS='-ggdb -O0'
          ;;
    no)   DEBUGFLAGS='-g'
          ;;
esac



  echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
echo "configure:2181: checking for cstdio to use" >&5
  # Check whether --enable-cstdio or --disable-cstdio was given.
if test "${enable_cstdio+set}" = set; then
  enableval="$enable_cstdio"
  if test x$enable_cstdio = xno; then
    enable_cstdio=libio
  fi
else
  enable_cstdio=libio
fi


  enable_cstdio_flag=$enable_cstdio

    case x${enable_cstdio_flag} in
	xlibio | x | xno | xnone | xyes)
		# default
		CSTDIO_H=c_io_libio.h
		CSTDIO_CC=c_io_libio.cc
 		echo "$ac_t""libio" 1>&6

		# see if we are on a system with libio native (ie, linux)
  		ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for libio.h""... $ac_c" 1>&6
echo "configure:2205: checking for libio.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2210 "configure"
#include "confdefs.h"
#include <libio.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  has_libio=yes
else
  echo "$ac_t""no" 1>&6
has_libio=no
fi

  		if test $has_libio = "yes"; then
   		  BUILD_LIBIO_INCLUDE=
		  need_libio=no
  		else
   		  BUILD_LIBIO_INCLUDE='-I../libio'
		  need_libio=yes
  		fi
  		
		;;
        xwince)
                CSTDIO_H=c_io_wince.h
                CSTDIO_CC=c_io_wince.cc
                echo "$ac_t""wince" 1>&6

                need_libio=no
                BUILD_LIBIO_INCLUDE=
                
                ;;
	*)
		echo "$enable_cstdio is an unknown io package" 1>&2
		exit 1
		;;
  esac
  
  
  

if test "$need_libio" = yes; then
  GLIBCPP_NEED_LIBIO_TRUE=
  GLIBCPP_NEED_LIBIO_FALSE='#'
else
  GLIBCPP_NEED_LIBIO_TRUE='#'
  GLIBCPP_NEED_LIBIO_FALSE=
fi

    # Check whether --enable-long-long or --disable-long-long was given.
if test "${enable_long_long+set}" = set; then
  enableval="$enable_long_long"
    case "$enableval" in
   yes) enable_long_long=yes ;;
   no)  enable_long_long=no ;;
   *)   { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
   esac
else
  enable_long_long=no
fi
    case "$enable_long_long" in
    yes)  cat >> confdefs.h <<\EOF
#define _GLIBCPP_USE_LONG_LONG 1
EOF

          ;;
  esac


      echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
echo "configure:2293: checking for threads package to use" >&5
  # Check whether --enable-threads or --disable-threads was given.
if test "${enable_threads+set}" = set; then
  enableval="$enable_threads"
  if test x$enable_threads = xno; then
    enable_threads=''
  fi
else
  enable_threads=''
fi


  enable_threads_flag=$enable_threads

    case x${enable_threads_flag} in
	x | xno | xnone)
		# No threads
		target_thread_file='single'
		;;
	xyes)
		# default
		target_thread_file=''
		;;
	xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
	xsolaris | xwin32 | xdce | xvxworks)
		target_thread_file=$enable_threads_flag
		;;
	*)
		echo "$enable_threads is an unknown thread package" 1>&2
		exit 1
		;;
  esac

    case "$target_thread_file" in
    no | none | single)
      THREADS=none
      ;;
    posix | pthreads)
      THREADS=posix
      case "$host" in
        *-*-linux*)
	;;
      esac
      ;;
    decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
      { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
      ;;
    *)
      { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
      ;;
  esac
  echo "$ac_t""$THREADS" 1>&6

  THREADLIBS=
  THREADINCS=
  THREADDEPS=
  THREADOBJS=
  THREADH=
  THREADSPEC=
  case "$THREADS" in
    posix)
      ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
echo "configure:2356: checking for pthread.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2361 "configure"
#include "confdefs.h"
#include <pthread.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  have_pthread_h=yes
else
  echo "$ac_t""no" 1>&6
have_pthread_h=
fi

      THREADLIBS=-lpthread
      THREADSPEC=-lpthread
                  THREADH=threads-posix.h
      ;;
    none)
                  THREADH=threads-no.h
      ;;
  esac
  
  
  
  
  

#GLIBCPP_ENABLE_NAMESPACES(yes)
#GLIBCPP_ENABLE_RELIBGCC([../..])

if test -n "$with_cross_host"; then

  # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
  # may not work correctly, because the compiler may not be able to
  # link executables.

  xcompiling=1
  NATIVE=no
  # If Canadian cross, then don't pick up tools from the build
  # directory.
  if test "$build" != "$with_cross_host"; then
    CANADIAN=yes
    NULL_TARGET=yes
  else
    CANADIAN=no
    NULL_TARGET=no
  fi

  case "$target_alias" in
    *-wince-*)
	# Configure for Microsoft Windows CE, or whatever they are
	# currently calling it.
	cat >> confdefs.h <<\EOF
#define HAVE_FLOAT_H 1
EOF


    	cat >> confdefs.h <<\EOF
#define HAVE__FINITE 1
EOF

    	cat >> confdefs.h <<\EOF
#define HAVE__ISNAN 1
EOF

    	cat >> confdefs.h <<\EOF
#define HAVE__COPYSIGN 1
EOF

    	cat >> confdefs.h <<\EOF
#define HAVE__FPCLASS 1
EOF

    	cat >> confdefs.h <<\EOF
#define HAVE_MODF 1
EOF


    	ctype_include_dir="config/wince"
    	

    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_NEED_MBSTATE_T 1
EOF


    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
EOF

    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_COMPLEX 1
EOF

	;;
    *)
	# We assume newlib.  This lets us hard-code the functions we know
	# we'll have.
    	cat >> confdefs.h <<\EOF
#define HAVE_FINITE 1
EOF

    	cat >> confdefs.h <<\EOF
#define HAVE_ISNAN 1
EOF

    	cat >> confdefs.h <<\EOF
#define HAVE_ISNANF 1
EOF

    	cat >> confdefs.h <<\EOF
#define HAVE_ISINF 1
EOF

    	cat >> confdefs.h <<\EOF
#define HAVE_ISINFF 1
EOF


    	ctype_include_dir="config/newlib"
    	

    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_NEED_MBSTATE_T 1
EOF


    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
EOF

    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_COMPLEX 1
EOF

    	# need to ceck for faster f versions of math functions, ie sinf?
	;;
  esac
else

  # We are being configured natively. We can do more elaborate tests
  # that include AC_TRY_COMPILE now, as the linker is assumed to be
  # working.

  xcompiling=0
  NATIVE=yes
  CANADIAN=no
  NULL_TARGET=no

  # Check for available headers.
  for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
  machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:2530: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2535 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done


  
  
  echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
echo "configure:2570: checking for GNU C++ __complex__ support" >&5
  if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
    
    ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

    cat > conftest.$ac_ext <<EOF
#line 2584 "configure"
#include "confdefs.h"
struct dcomplex { __complex__ double x; }; \
		    dcomplex f(const dcomplex& x) { return dcomplex(x); }
int main() {
\
		     dcomplex x; f(x); 
; return 0; }
EOF
if { (eval echo configure:2593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  glibcpp_cv_complex=ok
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  glibcpp_cv_complex=buggy
    
fi
rm -f conftest*
    ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

  
fi

  echo "$ac_t""$glibcpp_cv_complex" 1>&6
  if test $glibcpp_cv_complex = buggy; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_COMPLEX 1
EOF

  fi

  
  
  echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
echo "configure:2625: checking for GNU C++ __complex__ float support" >&5
  if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
    
    ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

    rm -f conftest.h
    cat > conftest.h <<EOB
      //
      // Check for buggy __complex__ that causes ICE in most versions of egcs
      // and gcc-2.95.x on certain platforms (eg., x86-win32).
      //
      // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
      // more info on the bug itself.
      //
      struct
      float_complex
      {
       __complex__ float m_value;
       float_complex (float = 0.0f, float = 0.0f);
       float_complex (__complex__ float val) : m_value (val) {}
       float_complex foo (const float_complex &val)
         { return float_complex (~val.m_value); }
      };
EOB
    cat > conftest.$ac_ext <<EOF
#line 2658 "configure"
#include "confdefs.h"
#include "conftest.h"
int main() {

; return 0; }
EOF
if { (eval echo configure:2665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  glibcpp_cv_float_complex=ok
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  glibcpp_cv_float_complex=buggy
    
fi
rm -f conftest*
    ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

  
fi

  echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
  if test $glibcpp_cv_float_complex = buggy; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
EOF

  fi

  
    echo $ac_n "checking for __builtin_sinf""... $ac_c" 1>&6
echo "configure:2696: checking for __builtin_sinf" >&5
  cat > conftest.$ac_ext <<EOF
#line 2698 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
float foo(void) { __builtin_sinf(0.0); }
; return 0; }
EOF
if { (eval echo configure:2705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  use_builtin_sinf=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  use_builtin_sinf=no
fi
rm -f conftest*
  echo "$ac_t""$use_builtin_sinf" 1>&6
  if test $use_builtin_sinf = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_BUILTIN_SINF 1
EOF

  fi

  echo $ac_n "checking for __builtin_cosf""... $ac_c" 1>&6
echo "configure:2724: checking for __builtin_cosf" >&5
  cat > conftest.$ac_ext <<EOF
#line 2726 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
float foo(void) { __builtin_cosf(0.0); }
; return 0; }
EOF
if { (eval echo configure:2733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  use_builtin_cosf=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  use_builtin_cosf=no
fi
rm -f conftest*
  echo "$ac_t""$use_builtin_cosf" 1>&6
  if test $use_builtin_cosf = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_BUILTIN_COSF 1
EOF

  fi

  echo $ac_n "checking for __builtin_fabsf""... $ac_c" 1>&6
echo "configure:2752: checking for __builtin_fabsf" >&5
  cat > conftest.$ac_ext <<EOF
#line 2754 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
float foo(void) { __builtin_fabsf(0.0); }
; return 0; }
EOF
if { (eval echo configure:2761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  use_builtin_fabsf=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  use_builtin_fabsf=no
fi
rm -f conftest*
  echo "$ac_t""$use_builtin_fabsf" 1>&6
  if test $use_builtin_fabsf = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_BUILTIN_FABSF 1
EOF

  fi

  echo $ac_n "checking for __builtin_sqrtf""... $ac_c" 1>&6
echo "configure:2780: checking for __builtin_sqrtf" >&5
  cat > conftest.$ac_ext <<EOF
#line 2782 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
float foo(void) { __builtin_sqrtf(0.0); }
; return 0; }
EOF
if { (eval echo configure:2789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  use_builtin_sqrtf=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  use_builtin_sqrtf=no
fi
rm -f conftest*
  echo "$ac_t""$use_builtin_sqrtf" 1>&6
  if test $use_builtin_sqrtf = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_BUILTIN_SQRTF 1
EOF

  fi

  
  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
echo "configure:2809: checking for sin in -lm" >&5
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lm  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2817 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sin();

int main() {
sin()
; return 0; }
EOF
if { (eval echo configure:2828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  libm="-lm"
else
  echo "$ac_t""no" 1>&6
fi

  save_LIBS="$LIBS"
  LIBS="$LIBS $libm"

    for ac_hdr in complex.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:2855: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2860 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

  for ac_func in ccos ccosf ccosh ccoshf cexp cexpf c_log c_logf \
  clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt csqrtf \
  ctan ctanf ctanh ctanhf \
  carg cargf nan hypot hypotf atan2f expf copysignf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2897: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2902 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:2925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
fi
done



      USE_LONG_DOUBLE=no
  echo $ac_n "checking for sinl""... $ac_c" 1>&6
echo "configure:2954: checking for sinl" >&5
if eval "test \"`echo '$''{'ac_cv_func_sinl'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2959 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sinl(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sinl();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sinl) || defined (__stub___sinl)
choke me
#else
sinl();
#endif

; return 0; }
EOF
if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_sinl=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_sinl=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'sinl`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  USE_LONG_DOUBLE=yes
  for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
  csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3001: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3006 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:3029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
fi
done


else
  echo "$ac_t""no" 1>&6
fi

  

    for ac_func in modf isnan isnanf isnanl isinf isinff isinfl copysign \
  copysignl cosf coshf logf log10f powf sinf sinhf sqrtf tanf tanhf \
  strtof strtold fabsf sincos sincosf sincosl finite finite fqfinite \
  fpclass qfpclass
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3067: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3072 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:3095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done


#Some runtimes have these functions with a preceding underscore. Please
# keep this sync'd with the one above. And if you add any new symbol,
# please add the corresponding block in the @@BOTTOM@@ section of
# acconfig.h.
for ac_func in _modf _isnan _isnanf _isnanl _isinf _isinff _isinfl _copysign \
_copysignl _cosf _coshf _logf _log10f _powf _sinf _sinhf _sqrtf _tanf _tanhf \
_strtof _strtold _fabsf _sincos _sincosf _sincosl _finite _finitef _qfinite \
_fpclass _qfpclass
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3130: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3135 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:3158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done


LIBS="$save_LIBS"

  
  ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
echo "configure:3188: checking for wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3193 "configure"
#include "confdefs.h"
#include <wchar.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  
    echo $ac_n "checking for native mbstate_t""... $ac_c" 1>&6
echo "configure:3216: checking for native mbstate_t" >&5
  cat > conftest.$ac_ext <<EOF
#line 3218 "configure"
#include "confdefs.h"
#include <wchar.h>
int main() {
mbstate_t teststate;
; return 0; }
EOF
if { (eval echo configure:3225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  use_native_mbstatet=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  use_native_mbstatet=no
fi
rm -f conftest*
  echo "$ac_t""$use_native_mbstatet" 1>&6
  if test $use_native_mbstatet = "no"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_NEED_MBSTATE_T 1
EOF

  fi
  
      echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
echo "configure:3244: checking for WCHAR_MIN and WCHAR_MAX" >&5
  cat > conftest.$ac_ext <<EOF
#line 3246 "configure"
#include "confdefs.h"
#include <wchar.h>
int main() {
int i = WCHAR_MIN; int j = WCHAR_MAX;
; return 0; }
EOF
if { (eval echo configure:3253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  has_wchar_minmax=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  has_wchar_minmax=no
fi
rm -f conftest*
  echo "$ac_t""$has_wchar_minmax" 1>&6
  if test $has_wchar_minmax = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_WCHAR_MIN_MAX 1
EOF

  fi
  
  # Test wchar.h for WEOF, which is what we use to determine whether
  # to specialize for wchar_t or not.
  echo $ac_n "checking for WEOF""... $ac_c" 1>&6
echo "configure:3274: checking for WEOF" >&5
  cat > conftest.$ac_ext <<EOF
#line 3276 "configure"
#include "confdefs.h"

    #include <wchar.h>
    #include <stddef.h>
int main() {
wint_t i = WEOF;
; return 0; }
EOF
if { (eval echo configure:3285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  has_weof=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  has_weof=no
fi
rm -f conftest*
  echo "$ac_t""$has_weof" 1>&6

    for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3300: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3305 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:3328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
LIBSTRINGOBJS="$LIBSTRINGOBJS ${ac_func}.lo"
fi
done



  echo $ac_n "checking for wide character support""... $ac_c" 1>&6
echo "configure:3356: checking for wide character support" >&5
  if test $has_weof = "yes" && test $has_wchar_minmax = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_USE_WCHAR_T 1
EOF

    echo "$ac_t""ok" 1>&6
  else
    echo "$ac_t"""not specializing for wchar_t"" 1>&6
  fi
  
else
  echo "$ac_t""no" 1>&6

  echo "configure: warning: <wchar.h> not found" 1>&2
  cat >> confdefs.h <<\EOF
#define _GLIBCPP_NEED_MBSTATE_T 1
EOF

  
fi


  
  ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
echo "configure:3382: checking for ctype.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3387 "configure"
#include "confdefs.h"
#include <ctype.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  
    
        ctype_default=yes

        echo $ac_n "checking for gnu-linux <ctype>""... $ac_c" 1>&6
echo "configure:3413: checking for gnu-linux <ctype>" >&5
    cat > conftest.$ac_ext <<EOF
#line 3415 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
int
    foo (int a)
    { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
	+ _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
	+ __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
; return 0; }
EOF
if { (eval echo configure:3426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
    ctype_linux=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_linux=no
fi
rm -f conftest*
    echo "$ac_t""$ctype_linux" 1>&6
    if test $ctype_linux = "yes"; then
      ctype_include_dir="config/gnu-linux"
      ctype_default=no
    fi

        if test $ctype_default = "yes"; then
    echo $ac_n "checking for solaris 2.6 or 2.7 <ctype>""... $ac_c" 1>&6
echo "configure:3445: checking for solaris 2.6 or 2.7 <ctype>" >&5
    cat > conftest.$ac_ext <<EOF
#line 3447 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
int
    foo (int a)
    { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
	+ _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
	+ __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
; return 0; }
EOF
if { (eval echo configure:3458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
    ctype_solaris=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_solaris=no
fi
rm -f conftest*
    echo "$ac_t""$ctype_solaris" 1>&6

    if test $ctype_solaris = "yes"; then
      echo $ac_n "checking   for version""... $ac_c" 1>&6
echo "configure:3473: checking   for version" >&5
      ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
 
      cat > conftest.$ac_ext <<EOF
#line 3482 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
; return 0; }
EOF
if { (eval echo configure:3489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
      ctype_solaris26=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_solaris26=no
fi
rm -f conftest*
      ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

      if test $ctype_solaris26 = "yes"; then
        ctype_include_dir="config/solaris/solaris2.6"
        echo "$ac_t"""solaris2.6"" 1>&6
        ctype_default=no
      else
        ctype_include_dir="config/solaris/solaris2.7"
        echo "$ac_t"""solaris2.7"" 1>&6
        ctype_default=no
      fi
    fi
    fi  

        if test $ctype_default = "yes"; then
    echo $ac_n "checking for solaris 2.5.1 <ctype>""... $ac_c" 1>&6
echo "configure:3521: checking for solaris 2.5.1 <ctype>" >&5
    cat > conftest.$ac_ext <<EOF
#line 3523 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
int
    foo (int a)
    { return _U + _L + _N + _S + _P + _C + _X + _B \
	+ __ctype[a];}
; return 0; }
EOF
if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
    ctype_solaris25=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_solaris25=no
fi
rm -f conftest*
    echo "$ac_t""$ctype_solaris25" 1>&6
    if test $ctype_solaris25 = "yes"; then
      ctype_include_dir="config/solaris/solaris2.5"
      ctype_default=no
    fi
    fi

        if test $ctype_default = "yes"; then
    echo $ac_n "checking for aix <ctype>""... $ac_c" 1>&6
echo "configure:3553: checking for aix <ctype>" >&5
    cat > conftest.$ac_ext <<EOF
#line 3555 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
int
    foo (int a)
    { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
	+ _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
	+ _VALC('a') + _IS('c', 0);}
; return 0; }
EOF
if { (eval echo configure:3566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
    ctype_aix=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_aix=no
fi
rm -f conftest*
    echo "$ac_t""$ctype_aix" 1>&6
    if test $ctype_aix = "yes"; then
      ctype_include_dir="config/aix"
      ctype_default=no
    fi
    fi

        if test $ctype_default = "yes"; then
    echo $ac_n "checking for newlib <ctype>""... $ac_c" 1>&6
echo "configure:3586: checking for newlib <ctype>" >&5
    cat > conftest.$ac_ext <<EOF
#line 3588 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
int
    foo (int a)
    { return _U + _L + _N + _S + _P + _C + _X + _B \
	+ _ctype_[a];}
; return 0; }
EOF
if { (eval echo configure:3598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
    ctype_newlib=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_newlib=no
fi
rm -f conftest*
    echo "$ac_t""$ctype_newlib" 1>&6
    if test $ctype_newlib = "yes"; then
      ctype_include_dir="config/newlib"
      ctype_default=no
    fi
    fi

    if test $ctype_default = "yes"; then
      ctype_include_dir="config/generic"
      echo "configure: warning: "Using default ctype headers."" 1>&2
    fi
    
  
else
  echo "$ac_t""no" 1>&6
fi



  for ac_hdr in unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3632: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3637 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in getpagesize
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3671: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3676 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:3699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

echo $ac_n "checking for working mmap""... $ac_c" 1>&6
echo "configure:3724: checking for working mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_func_mmap_fixed_mapped=no
else
  cat > conftest.$ac_ext <<EOF
#line 3732 "configure"
#include "confdefs.h"

/* Thanks to Mike Haertel and Jim Avera for this test.
   Here is a matrix of mmap possibilities:
	mmap private not fixed
	mmap private fixed at somewhere currently unmapped
	mmap private fixed at somewhere already mapped
	mmap shared not fixed
	mmap shared fixed at somewhere currently unmapped
	mmap shared fixed at somewhere already mapped
   For private mappings, we should verify that changes cannot be read()
   back from the file, nor mmap's back from the file at a different
   address.  (There have been systems where private was not correctly
   implemented like the infamous i386 svr4.0, and systems where the
   VM page cache was not coherent with the filesystem buffer cache
   like early versions of FreeBSD and possibly contemporary NetBSD.)
   For shared mappings, we should conversely verify that changes get
   propogated back to all the places they're supposed to be.

   Grep wants private fixed already mapped.
   The main things grep needs to know about mmap are:
   * does it exist and is it safe to write into the mmap'd area
   * how to use it (BSD variants)  */
#include <sys/types.h>
#include <fcntl.h>
#include <sys/mman.h>

/* This mess was copied from the GNU getpagesize.h.  */
#ifndef HAVE_GETPAGESIZE
# ifdef HAVE_UNISTD_H
#  include <unistd.h>
# endif

/* Assume that all systems that can run configure have sys/param.h.  */
# ifndef HAVE_SYS_PARAM_H
#  define HAVE_SYS_PARAM_H 1
# endif

# ifdef _SC_PAGESIZE
#  define getpagesize() sysconf(_SC_PAGESIZE)
# else /* no _SC_PAGESIZE */
#  ifdef HAVE_SYS_PARAM_H
#   include <sys/param.h>
#   ifdef EXEC_PAGESIZE
#    define getpagesize() EXEC_PAGESIZE
#   else /* no EXEC_PAGESIZE */
#    ifdef NBPG
#     define getpagesize() NBPG * CLSIZE
#     ifndef CLSIZE
#      define CLSIZE 1
#     endif /* no CLSIZE */
#    else /* no NBPG */
#     ifdef NBPC
#      define getpagesize() NBPC
#     else /* no NBPC */
#      ifdef PAGESIZE
#       define getpagesize() PAGESIZE
#      endif /* PAGESIZE */
#     endif /* no NBPC */
#    endif /* no NBPG */
#   endif /* no EXEC_PAGESIZE */
#  else /* no HAVE_SYS_PARAM_H */
#   define getpagesize() 8192	/* punt totally */
#  endif /* no HAVE_SYS_PARAM_H */
# endif /* no _SC_PAGESIZE */

#endif /* no HAVE_GETPAGESIZE */

#ifdef __cplusplus
extern "C" { void *malloc(unsigned); }
#else
char *malloc();
#endif

int
main()
{
	char *data, *data2, *data3;
	int i, pagesize;
	int fd;

	pagesize = getpagesize();

	/*
	 * First, make a file with some known garbage in it.
	 */
	data = malloc(pagesize);
	if (!data)
		exit(1);
	for (i = 0; i < pagesize; ++i)
		*(data + i) = rand();
	umask(0);
	fd = creat("conftestmmap", 0600);
	if (fd < 0)
		exit(1);
	if (write(fd, data, pagesize) != pagesize)
		exit(1);
	close(fd);

	/*
	 * Next, try to mmap the file at a fixed address which
	 * already has something else allocated at it.  If we can,
	 * also make sure that we see the same garbage.
	 */
	fd = open("conftestmmap", O_RDWR);
	if (fd < 0)
		exit(1);
	data2 = malloc(2 * pagesize);
	if (!data2)
		exit(1);
	data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
	if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
	    MAP_PRIVATE | MAP_FIXED, fd, 0L))
		exit(1);
	for (i = 0; i < pagesize; ++i)
		if (*(data + i) != *(data2 + i))
			exit(1);

	/*
	 * Finally, make sure that changes to the mapped area
	 * do not percolate back to the file as seen by read().
	 * (This is a bug on some variants of i386 svr4.0.)
	 */
	for (i = 0; i < pagesize; ++i)
		*(data2 + i) = *(data2 + i) + 1;
	data3 = malloc(pagesize);
	if (!data3)
		exit(1);
	if (read(fd, data3, pagesize) != pagesize)
		exit(1);
	for (i = 0; i < pagesize; ++i)
		if (*(data + i) != *(data3 + i))
			exit(1);
	close(fd);
	unlink("conftestmmap");
	exit(0);
}

EOF
if { (eval echo configure:3872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_func_mmap_fixed_mapped=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_func_mmap_fixed_mapped=no
fi
rm -fr conftest*
fi

fi

echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
if test $ac_cv_func_mmap_fixed_mapped = yes; then
  cat >> confdefs.h <<\EOF
#define HAVE_MMAP 1
EOF

fi

fi



if test "$CANADIAN" = yes; then
  CANADIAN_TRUE=
  CANADIAN_FALSE='#'
else
  CANADIAN_TRUE='#'
  CANADIAN_FALSE=
fi


if test "$NULL_TARGET" = yes; then
  NULL_TARGET_TRUE=
  NULL_TARGET_FALSE='#'
else
  NULL_TARGET_TRUE='#'
  NULL_TARGET_FALSE=
fi


if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
  NATIVE_TRUE=
  NATIVE_FALSE='#'
else
  NATIVE_TRUE='#'
  NATIVE_FALSE=
fi


if test -z "$with_cross_host"; then
  USE_LIBDIR_TRUE=
  USE_LIBDIR_FALSE='#'
else
  USE_LIBDIR_TRUE='#'
  USE_LIBDIR_FALSE=
fi

if test $ac_cv_header_locale_h = yes; then
    echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
echo "configure:3935: checking for LC_MESSAGES" >&5
if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3940 "configure"
#include "confdefs.h"
#include <locale.h>
int main() {
return LC_MESSAGES
; return 0; }
EOF
if { (eval echo configure:3947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_val_LC_MESSAGES=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_val_LC_MESSAGES=no
fi
rm -f conftest*
fi

echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
    if test $ac_cv_val_LC_MESSAGES = yes; then
      cat >> confdefs.h <<\EOF
#define HAVE_LC_MESSAGES 1
EOF

    fi
  fi


# Sanity checking & User-visible messages.
# Checks down here, otherwise they get scrolled off before
# the user will notice.
if test "$enable_namespaces" = "yes" && test "$enable_libgcc_rebuild" = "no"
then
  echo "configure: warning: libgcc.a will not match mangled symbols unless it is rebuilt" 1>&2
fi
if test "$enable_namespaces" = "no" && test "$enable_libgcc_rebuild" != "no"
then
  # Other things besides namespaces can make this true as well, but none
  # of them are done automatically... yet
  echo "configure: warning: no point in rebuilding libgcc.a if namespaces aren't used" 1>&2
fi


if test "${multilib}" = "yes"; then
  multilib_arg="--enable-multilib"
else
  multilib_arg=
fi


# Generate the various Makefiles, include files, and scripts.

# NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
# so that multilib installs will end up installed in the correct
# place. To work around this not being passed down from config-ml.in
# -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
# append it here.

trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
  *ac_space=\ *)
    # `set' does not quote correctly, so add quotes (double-quote substitution
    # turns \\\\ into \\, and sed turns \\ into \).
    sed -n \
      -e "s/'/'\\\\''/g" \
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    ;;
  *)
    # `set' quotes correctly as required by POSIX, so do not add quotes.
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    ;;
  esac >> confcache
if cmp -s $cache_file confcache; then
  :
else
  if test -w $cache_file; then
    echo "updating cache $cache_file"
    cat confcache > $cache_file
  else
    echo "not updating unwritable cache $cache_file"
  fi
fi
rm -f confcache

trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

# Any assignment to VPATH causes Sun make to only execute
# the first set of double-colon rules, so remove it if not needed.
# If there is a colon in the path, we need to keep it.
if test "x$srcdir" = x.; then
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
fi

trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15

DEFS=-DHAVE_CONFIG_H

# Without the "./", some shells look in PATH for config.status.
: ${CONFIG_STATUS=./config.status}

echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.

ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
for ac_option
do
  case "\$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "\$ac_cs_usage"; exit 0 ;;
  *) echo "\$ac_cs_usage"; exit 1 ;;
  esac
done

ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"

trap 'rm -fr `echo "mkcheck Makefile src/Makefile math/Makefile libio/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF

# Protect against being on the right side of a sed subst in config.status.
sed 's/%@@/@@@@/; s/@@%/@@@@/; s/%g\$/@@g/; /@@g\$/s/[\\\\&%]/\\\\&/g;
 s/@@@@/%@@/; s/@@@@/@@%/; s/@@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
s%@@SHELL@@%$SHELL%g
s%@@CFLAGS@@%$CFLAGS%g
s%@@CPPFLAGS@@%$CPPFLAGS%g
s%@@CXXFLAGS@@%$CXXFLAGS%g
s%@@FFLAGS@@%$FFLAGS%g
s%@@DEFS@@%$DEFS%g
s%@@LDFLAGS@@%$LDFLAGS%g
s%@@LIBS@@%$LIBS%g
s%@@exec_prefix@@%$exec_prefix%g
s%@@prefix@@%$prefix%g
s%@@program_transform_name@@%$program_transform_name%g
s%@@bindir@@%$bindir%g
s%@@sbindir@@%$sbindir%g
s%@@libexecdir@@%$libexecdir%g
s%@@datadir@@%$datadir%g
s%@@sysconfdir@@%$sysconfdir%g
s%@@sharedstatedir@@%$sharedstatedir%g
s%@@localstatedir@@%$localstatedir%g
s%@@libdir@@%$libdir%g
s%@@includedir@@%$includedir%g
s%@@oldincludedir@@%$oldincludedir%g
s%@@infodir@@%$infodir%g
s%@@mandir@@%$mandir%g
s%@@host@@%$host%g
s%@@host_alias@@%$host_alias%g
s%@@host_cpu@@%$host_cpu%g
s%@@host_vendor@@%$host_vendor%g
s%@@host_os@@%$host_os%g
s%@@target@@%$target%g
s%@@target_alias@@%$target_alias%g
s%@@target_cpu@@%$target_cpu%g
s%@@target_vendor@@%$target_vendor%g
s%@@target_os@@%$target_os%g
s%@@build@@%$build%g
s%@@build_alias@@%$build_alias%g
s%@@build_cpu@@%$build_cpu%g
s%@@build_vendor@@%$build_vendor%g
s%@@build_os@@%$build_os%g
s%@@glibcpp_basedir@@%$glibcpp_basedir%g
s%@@INSTALL_PROGRAM@@%$INSTALL_PROGRAM%g
s%@@INSTALL_SCRIPT@@%$INSTALL_SCRIPT%g
s%@@INSTALL_DATA@@%$INSTALL_DATA%g
s%@@PACKAGE@@%$PACKAGE%g
s%@@VERSION@@%$VERSION%g
s%@@ACLOCAL@@%$ACLOCAL%g
s%@@AUTOCONF@@%$AUTOCONF%g
s%@@AUTOMAKE@@%$AUTOMAKE%g
s%@@AUTOHEADER@@%$AUTOHEADER%g
s%@@MAKEINFO@@%$MAKEINFO%g
s%@@SET_MAKE@@%$SET_MAKE%g
s%@@CC@@%$CC%g
s%@@CXX@@%$CXX%g
s%@@AS@@%$AS%g
s%@@AR@@%$AR%g
s%@@RANLIB@@%$RANLIB%g
s%@@MAINTAINER_MODE_TRUE@@%$MAINTAINER_MODE_TRUE%g
s%@@MAINTAINER_MODE_FALSE@@%$MAINTAINER_MODE_FALSE%g
s%@@MAINT@@%$MAINT%g
s%@@EXEEXT@@%$EXEEXT%g
s%@@GLIBCPP_CFLAGS@@%$GLIBCPP_CFLAGS%g
s%@@GLIBCPP_CXXFLAGS@@%$GLIBCPP_CXXFLAGS%g
s%@@LN_S@@%$LN_S%g
s%@@LIBTOOL@@%$LIBTOOL%g
s%@@CPP@@%$CPP%g
s%@@OPTLEVEL@@%$OPTLEVEL%g
s%@@WERRORSUPPRESS@@%$WERRORSUPPRESS%g
s%@@cpu_include_dir@@%$cpu_include_dir%g
s%@@DEBUGFLAGS@@%$DEBUGFLAGS%g
s%@@BUILD_LIBIO_INCLUDE@@%$BUILD_LIBIO_INCLUDE%g
s%@@CSTDIO_H@@%$CSTDIO_H%g
s%@@CSTDIO_CC@@%$CSTDIO_CC%g
s%@@GLIBCPP_NEED_LIBIO_TRUE@@%$GLIBCPP_NEED_LIBIO_TRUE%g
s%@@GLIBCPP_NEED_LIBIO_FALSE@@%$GLIBCPP_NEED_LIBIO_FALSE%g
s%@@THREADLIBS@@%$THREADLIBS%g
s%@@THREADINCS@@%$THREADINCS%g
s%@@THREADDEPS@@%$THREADDEPS%g
s%@@THREADOBJS@@%$THREADOBJS%g
s%@@THREADSPEC@@%$THREADSPEC%g
s%@@ctype_include_dir@@%$ctype_include_dir%g
s%@@LIBMATHOBJS@@%$LIBMATHOBJS%g
s%@@USE_LONG_DOUBLE@@%$USE_LONG_DOUBLE%g
s%@@LIBSTRINGOBJS@@%$LIBSTRINGOBJS%g
s%@@CANADIAN_TRUE@@%$CANADIAN_TRUE%g
s%@@CANADIAN_FALSE@@%$CANADIAN_FALSE%g
s%@@NULL_TARGET_TRUE@@%$NULL_TARGET_TRUE%g
s%@@NULL_TARGET_FALSE@@%$NULL_TARGET_FALSE%g
s%@@NATIVE_TRUE@@%$NATIVE_TRUE%g
s%@@NATIVE_FALSE@@%$NATIVE_FALSE%g
s%@@USE_LIBDIR_TRUE@@%$USE_LIBDIR_TRUE%g
s%@@USE_LIBDIR_FALSE@@%$USE_LIBDIR_FALSE%g

CEOF
EOF

cat >> $CONFIG_STATUS <<\EOF

# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
  if test $ac_beg -gt 1; then
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  else
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  fi
  if test ! -s conftest.s$ac_file; then
    ac_more_lines=false
    rm -f conftest.s$ac_file
  else
    if test -z "$ac_sed_cmds"; then
      ac_sed_cmds="sed -f conftest.s$ac_file"
    else
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    fi
    ac_file=`expr $ac_file + 1`
    ac_beg=$ac_end
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
  fi
done
if test -z "$ac_sed_cmds"; then
  ac_sed_cmds=cat
fi
EOF

cat >> $CONFIG_STATUS <<EOF

CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile src/Makefile math/Makefile libio/Makefile"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.

  # Remove last slash and all that follows it.  Not all systems have dirname.
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test ! -d "$ac_dir" && mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  else
    ac_dir_suffix= ac_dots=
  fi

  case "$ac_given_srcdir" in
  .)  srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  *) # Relative path.
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  esac

  case "$ac_given_INSTALL" in
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  esac

  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  case "$ac_file" in
  *Makefile*) ac_comsub="1i\\
# $configure_input" ;;
  *) ac_comsub= ;;
  esac

  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  sed -e "$ac_comsub
s%@@configure_input@@%$configure_input%g
s%@@srcdir@@%$srcdir%g
s%@@top_srcdir@@%$top_srcdir%g
s%@@INSTALL@@%$INSTALL%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*

# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
ac_dB='\([ 	][ 	]*\)[^ 	]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_uB='\([ 	]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'

if test "${CONFIG_HEADERS+set}" != set; then
EOF
cat >> $CONFIG_STATUS <<EOF
  CONFIG_HEADERS="config.h"
EOF
cat >> $CONFIG_STATUS <<\EOF
fi
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  echo creating $ac_file

  rm -f conftest.frag conftest.in conftest.out
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  cat $ac_file_inputs > conftest.in

EOF

# Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h.  And first:
# Protect against being on the right side of a sed subst in config.status.
# Protect against being in an unquoted here document in config.status.
rm -f conftest.vals
cat > conftest.hdr <<\EOF
s/[\\&%]/\\&/g
s%[\\$`]%\\&%g
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
s%ac_d%ac_u%gp
s%ac_u%ac_e%gp
EOF
sed -n -f conftest.hdr confdefs.h > conftest.vals
rm -f conftest.hdr

# This sed command replaces #undef with comments.  This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
cat >> conftest.vals <<\EOF
s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
EOF

# Break up conftest.vals because some shells have a limit on
# the size of here documents, and old seds have small limits too.

rm -f conftest.tail
while :
do
  ac_lines=`grep -c . conftest.vals`
  # grep -c gives empty output for an empty file on some AIX systems.
  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  # Write a limited-size here document to conftest.frag.
  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  echo 'CEOF
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in
' >> $CONFIG_STATUS
  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
  rm -f conftest.vals
  mv conftest.tail conftest.vals
done
rm -f conftest.vals

cat >> $CONFIG_STATUS <<\EOF
  rm -f conftest.frag conftest.h
  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  cat conftest.in >> conftest.h
  rm -f conftest.in
  if cmp -s $ac_file conftest.h 2>/dev/null; then
    echo "$ac_file is unchanged"
    rm -f conftest.h
  else
    # Remove last slash and all that follows it.  Not all systems have dirname.
      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
      # The file is in a subdirectory.
      test ! -d "$ac_dir" && mkdir "$ac_dir"
    fi
    rm -f $ac_file
    mv conftest.h $ac_file
  fi
fi; done

EOF
cat >> $CONFIG_STATUS <<EOF

srcdir=${srcdir}
host=${host}
target=${target}
with_multisubdir=${with_multisubdir}
ac_configure_args="${multilib_arg} ${ac_configure_args}"
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
glibcpp_basedir=${glibcpp_basedir}
CC="${CC}"
CXX="${CXX}"

EOF
cat >> $CONFIG_STATUS <<\EOF
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
if test -n "$CONFIG_FILES"; then
  ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
  grep '^MULTISUBDIR =' Makefile >> src/Makefile
fi
exit 0
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1



blddir=`pwd`
# Generate mkcheck having execute privs


# Generate bits/c++config.h
# NB: This must be the first generated file as others include it. . .


# Generate bits/std_limits.h and src/limitsMEMBERS.cc


# Generate bits/c++threads.h


# Generate bits/c++io.h and src/c++io.cc











chmod +x $blddir/mkcheck
$srcdir/mkc++config $blddir $srcdir
$srcdir/mknumeric_limits $blddir $srcdir $xcompiling
cp $srcdir/config/$THREADH $blddir/bits/c++threads.h
cp $srcdir/config/$CSTDIO_H $blddir/bits/c++io.h
cp $srcdir/config/$CSTDIO_CC $blddir/src/c++io.cc






@


1.79
log
@
2000-04-03  Benjamin Kosnik  <bkoz@@redhat.com>

	* acinclude.m4 (GCC_OBJDIR): Tweaks
@
text
@a41 2
  --enable-namespaces     turns on 'std' [default=yes]"
ac_help="$ac_help
a43 3
ac_help="$ac_help
  --enable-libgcc-rebuild=DIR     also rebuild libgcc.a; DIR is
                                  the GCC objdir; see install.html"
d603 1
a603 1
echo "configure:609: checking host system type" >&5
d624 1
a624 1
echo "configure:630: checking target system type" >&5
d642 1
a642 1
echo "configure:648: checking build system type" >&5
d691 1
a691 1
echo "configure:697: checking for a BSD compatible install" >&5
d744 1
a744 1
echo "configure:750: checking whether build environment is sane" >&5
d801 1
a801 1
echo "configure:807: checking whether ${MAKE-make} sets \${MAKE}" >&5
d834 1
a834 1
echo "configure:840: checking for Cygwin environment" >&5
d839 1
a839 1
#line 845 "configure"
d850 1
a850 1
if { (eval echo configure:856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d867 1
a867 1
echo "configure:873: checking for mingw32 environment" >&5
d872 1
a872 1
#line 878 "configure"
d879 1
a879 1
if { (eval echo configure:885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d926 1
a926 1
echo "configure:932: checking host system type" >&5
d967 1
a967 1
echo "configure:973: checking for working aclocal" >&5
d980 1
a980 1
echo "configure:986: checking for working autoconf" >&5
d993 1
a993 1
echo "configure:999: checking for working automake" >&5
d1006 1
a1006 1
echo "configure:1012: checking for working autoheader" >&5
d1019 1
a1019 1
echo "configure:1025: checking for working makeinfo" >&5
d1045 1
a1045 1
echo "configure:1051: checking for $ac_word" >&5
d1075 1
a1075 1
echo "configure:1081: checking for $ac_word" >&5
d1124 1
a1124 1
echo "configure:1130: checking whether we are using GNU C" >&5
d1133 1
a1133 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1148 1
a1148 1
echo "configure:1154: checking whether ${CC-cc} accepts -g" >&5
d1185 1
a1185 1
echo "configure:1191: checking for $ac_word" >&5
d1218 1
a1218 1
echo "configure:1224: checking whether we are using GNU C++" >&5
d1227 1
a1227 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1242 1
a1242 1
echo "configure:1248: checking whether ${CXX-g++} accepts -g" >&5
d1275 1
a1275 1
echo "configure:1281: checking build system type" >&5
d1296 1
a1296 1
echo "configure:1302: checking for $ac_word" >&5
d1328 1
a1328 1
echo "configure:1334: checking for $ac_word" >&5
d1360 1
a1360 1
echo "configure:1366: checking for $ac_word" >&5
d1392 1
a1392 1
echo "configure:1398: checking for $ac_word" >&5
d1437 1
a1437 1
echo "configure:1443: checking for a BSD compatible install" >&5
d1491 1
a1491 1
echo "configure:1497: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1525 1
a1525 1
echo "configure:1531: checking for executable suffix" >&5
d1535 1
a1535 1
  if { (eval echo configure:1541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1649 1
a1649 1
echo "configure:1655: checking for $ac_word" >&5
d1688 1
a1688 1
echo "configure:1694: checking for ld used by GCC" >&5
d1712 1
a1712 1
echo "configure:1718: checking for GNU ld" >&5
d1715 1
a1715 1
echo "configure:1721: checking for non-GNU ld" >&5
d1750 1
a1750 1
echo "configure:1756: checking if the linker ($LD) is GNU ld" >&5
d1766 1
a1766 1
echo "configure:1772: checking for BSD-compatible nm" >&5
d1802 1
a1802 1
echo "configure:1808: checking whether ln -s works" >&5
d1851 2
a1852 2
  echo '#line 1857 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1873 1
a1873 1
echo "configure:1879: checking whether the C compiler needs -belf" >&5
d1878 1
a1878 1
#line 1884 "configure"
d1885 1
a1885 1
if { (eval echo configure:1891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1992 1
a1992 1
echo "configure:1998: checking how to run the C preprocessor" >&5
d2007 1
a2007 1
#line 2013 "configure"
d2013 1
a2013 1
{ (eval echo configure:2019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2024 1
a2024 1
#line 2030 "configure"
d2030 1
a2030 1
{ (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2041 1
a2041 1
#line 2047 "configure"
d2047 1
a2047 1
{ (eval echo configure:2053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2073 1
a2073 1
echo "configure:2079: checking for g++ that will successfullly compile this code" >&5
d2075 1
a2075 1
#line 2081 "configure"
d2096 1
a2096 1
echo "configure:2102: checking for g++ that supports new inlining mechanism" >&5
d2098 1
a2098 1
#line 2104 "configure"
d2130 1
a2130 1
echo "configure:2136: checking for cpu primitives directory" >&5
d2180 1
a2180 1
echo "configure:2186: checking for cstdio to use" >&5
d2204 1
a2204 1
echo "configure:2210: checking for libio.h" >&5
d2209 1
a2209 1
#line 2215 "configure"
d2214 1
a2214 1
{ (eval echo configure:2220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a2289 23
# Check whether --enable-namespaces or --disable-namespaces was given.
if test "${enable_namespaces+set}" = set; then
  enableval="$enable_namespaces"
  case "$enableval" in
 yes) enable_namespaces=yes ;;
 no)  enable_namespaces=no ;;
 *)   { echo "configure: error: Unknown argument to enable/disable namespaces" 1>&2; exit 1; } ;;
 esac
else
  enable_namespaces=yes
fi
case "$enable_namespaces" in
    yes)  NAMESPACES='-fhonor-std'
          cat >> confdefs.h <<\EOF
#define _GLIBCPP_USE_NAMESPACES 1
EOF

          ;;
    no)   NAMESPACES='-fno-honor-std'
          ;;
esac


d2292 1
a2292 1
echo "configure:2321: checking for threads package to use" >&5
d2355 1
a2355 1
echo "configure:2384: checking for pthread.h" >&5
d2360 1
a2360 1
#line 2389 "configure"
d2365 1
a2365 1
{ (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2401 2
a2402 21
# Check whether --enable-libgcc-rebuild or --disable-libgcc-rebuild was given.
if test "${enable_libgcc_rebuild+set}" = set; then
  enableval="$enable_libgcc_rebuild"
  case "$enableval" in
 yes) { echo "configure: error: --enable-libgcc-rebuild needs a pathname" 1>&2; exit 1; } ;;
 no)  enable_libgcc_rebuild=no ;;
 *)   if test -d "$enableval" && test -d "${enableval}/gcc" && \
         test -d "${enableval}/libiberty"
      then
         enable_libgcc_rebuild="$enableval"
      else
         { echo "configure: error: "$enableval" does not appear to be the GCC objdir" 1>&2; exit 1; }
      fi
      ;;
 esac
else
  enable_libgcc_rebuild=../..
fi
GCC_OBJDIR="$enable_libgcc_rebuild"


d2529 1
a2529 1
echo "configure:2577: checking for $ac_hdr" >&5
d2534 1
a2534 1
#line 2582 "configure"
d2539 1
a2539 1
{ (eval echo configure:2587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2569 1
a2569 1
echo "configure:2617: checking for GNU C++ __complex__ support" >&5
d2583 1
a2583 1
#line 2631 "configure"
d2592 1
a2592 1
if { (eval echo configure:2640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2624 1
a2624 1
echo "configure:2672: checking for GNU C++ __complex__ float support" >&5
d2657 1
a2657 1
#line 2705 "configure"
d2664 1
a2664 1
if { (eval echo configure:2712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2695 1
a2695 1
echo "configure:2743: checking for __builtin_sinf" >&5
d2697 1
a2697 1
#line 2745 "configure"
d2704 1
a2704 1
if { (eval echo configure:2752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2723 1
a2723 1
echo "configure:2771: checking for __builtin_cosf" >&5
d2725 1
a2725 1
#line 2773 "configure"
d2732 1
a2732 1
if { (eval echo configure:2780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2751 1
a2751 1
echo "configure:2799: checking for __builtin_fabsf" >&5
d2753 1
a2753 1
#line 2801 "configure"
d2760 1
a2760 1
if { (eval echo configure:2808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2779 1
a2779 1
echo "configure:2827: checking for __builtin_sqrtf" >&5
d2781 1
a2781 1
#line 2829 "configure"
d2788 1
a2788 1
if { (eval echo configure:2836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2808 1
a2808 1
echo "configure:2856: checking for sin in -lm" >&5
d2816 1
a2816 1
#line 2864 "configure"
d2827 1
a2827 1
if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2854 1
a2854 1
echo "configure:2902: checking for $ac_hdr" >&5
d2859 1
a2859 1
#line 2907 "configure"
d2864 1
a2864 1
{ (eval echo configure:2912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2896 1
a2896 1
echo "configure:2944: checking for $ac_func" >&5
d2901 1
a2901 1
#line 2949 "configure"
d2924 1
a2924 1
if { (eval echo configure:2972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2953 1
a2953 1
echo "configure:3001: checking for sinl" >&5
d2958 1
a2958 1
#line 3006 "configure"
d2981 1
a2981 1
if { (eval echo configure:3029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3000 1
a3000 1
echo "configure:3048: checking for $ac_func" >&5
d3005 1
a3005 1
#line 3053 "configure"
d3028 1
a3028 1
if { (eval echo configure:3076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3066 1
a3066 1
echo "configure:3114: checking for $ac_func" >&5
d3071 1
a3071 1
#line 3119 "configure"
d3094 1
a3094 1
if { (eval echo configure:3142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3129 1
a3129 1
echo "configure:3177: checking for $ac_func" >&5
d3134 1
a3134 1
#line 3182 "configure"
d3157 1
a3157 1
if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3187 1
a3187 1
echo "configure:3235: checking for wchar.h" >&5
d3192 1
a3192 1
#line 3240 "configure"
d3197 1
a3197 1
{ (eval echo configure:3245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3215 1
a3215 1
echo "configure:3263: checking for native mbstate_t" >&5
d3217 1
a3217 1
#line 3265 "configure"
d3224 1
a3224 1
if { (eval echo configure:3272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3243 1
a3243 1
echo "configure:3291: checking for WCHAR_MIN and WCHAR_MAX" >&5
d3245 1
a3245 1
#line 3293 "configure"
d3252 1
a3252 1
if { (eval echo configure:3300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3273 1
a3273 1
echo "configure:3321: checking for WEOF" >&5
d3275 1
a3275 1
#line 3323 "configure"
d3284 1
a3284 1
if { (eval echo configure:3332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3299 1
a3299 1
echo "configure:3347: checking for $ac_func" >&5
d3304 1
a3304 1
#line 3352 "configure"
d3327 1
a3327 1
if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3355 1
a3355 1
echo "configure:3403: checking for wide character support" >&5
d3381 1
a3381 1
echo "configure:3429: checking for ctype.h" >&5
d3386 1
a3386 1
#line 3434 "configure"
d3391 1
a3391 1
{ (eval echo configure:3439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3412 1
a3412 1
echo "configure:3460: checking for gnu-linux <ctype>" >&5
d3414 1
a3414 1
#line 3462 "configure"
d3425 1
a3425 1
if { (eval echo configure:3473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3444 1
a3444 1
echo "configure:3492: checking for solaris 2.6 or 2.7 <ctype>" >&5
d3446 1
a3446 1
#line 3494 "configure"
d3457 1
a3457 1
if { (eval echo configure:3505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3472 1
a3472 1
echo "configure:3520: checking   for version" >&5
d3481 1
a3481 1
#line 3529 "configure"
d3488 1
a3488 1
if { (eval echo configure:3536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3520 1
a3520 1
echo "configure:3568: checking for solaris 2.5.1 <ctype>" >&5
d3522 1
a3522 1
#line 3570 "configure"
d3532 1
a3532 1
if { (eval echo configure:3580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3552 1
a3552 1
echo "configure:3600: checking for aix <ctype>" >&5
d3554 1
a3554 1
#line 3602 "configure"
d3565 1
a3565 1
if { (eval echo configure:3613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3585 1
a3585 1
echo "configure:3633: checking for newlib <ctype>" >&5
d3587 1
a3587 1
#line 3635 "configure"
d3597 1
a3597 1
if { (eval echo configure:3645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3631 1
a3631 1
echo "configure:3679: checking for $ac_hdr" >&5
d3636 1
a3636 1
#line 3684 "configure"
d3641 1
a3641 1
{ (eval echo configure:3689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3670 1
a3670 1
echo "configure:3718: checking for $ac_func" >&5
d3675 1
a3675 1
#line 3723 "configure"
d3698 1
a3698 1
if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3723 1
a3723 1
echo "configure:3771: checking for working mmap" >&5
d3731 1
a3731 1
#line 3779 "configure"
d3871 1
a3871 1
if { (eval echo configure:3919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3934 1
a3934 1
echo "configure:3982: checking for LC_MESSAGES" >&5
d3939 1
a3939 1
#line 3987 "configure"
d3946 1
a3946 1
if { (eval echo configure:3994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a4180 1
s%@@NAMESPACES@@%$NAMESPACES%g
a4185 1
s%@@GCC_OBJDIR@@%$GCC_OBJDIR%g
@


1.78
log
@
2000-04-03  Benjamin Kosnik  <bkoz@@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
	* config/cpu/arm: New directory.

	Jesper Skov  <jskov@@redhat.com>
	* config/cpu/arm/atomicity.h: New file.
@
text
@d2184 1
a2184 1
      echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
@


1.77
log
@
2000-03-27  Chris Faylor  <cgf@@cygnus.com>

	* configure.in: Remove setting of CXX if canadian cross.
	* configure: Regenerate.
@
text
@d2140 2
a2141 2
      powerpc | rs6000)
	cpu_include_dir="config/cpu/powerpc"
d2146 3
d2185 1
a2185 1
echo "configure:2183: checking for cstdio to use" >&5
d2209 1
a2209 1
echo "configure:2207: checking for libio.h" >&5
d2214 1
a2214 1
#line 2212 "configure"
d2219 1
a2219 1
{ (eval echo configure:2217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2320 1
a2320 1
echo "configure:2318: checking for threads package to use" >&5
d2383 1
a2383 1
echo "configure:2381: checking for pthread.h" >&5
d2388 1
a2388 1
#line 2386 "configure"
d2393 1
a2393 1
{ (eval echo configure:2391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2576 1
a2576 1
echo "configure:2574: checking for $ac_hdr" >&5
d2581 1
a2581 1
#line 2579 "configure"
d2586 1
a2586 1
{ (eval echo configure:2584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2616 1
a2616 1
echo "configure:2614: checking for GNU C++ __complex__ support" >&5
d2630 1
a2630 1
#line 2628 "configure"
d2639 1
a2639 1
if { (eval echo configure:2637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2671 1
a2671 1
echo "configure:2669: checking for GNU C++ __complex__ float support" >&5
d2704 1
a2704 1
#line 2702 "configure"
d2711 1
a2711 1
if { (eval echo configure:2709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2742 1
a2742 1
echo "configure:2740: checking for __builtin_sinf" >&5
d2744 1
a2744 1
#line 2742 "configure"
d2751 1
a2751 1
if { (eval echo configure:2749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2770 1
a2770 1
echo "configure:2768: checking for __builtin_cosf" >&5
d2772 1
a2772 1
#line 2770 "configure"
d2779 1
a2779 1
if { (eval echo configure:2777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2798 1
a2798 1
echo "configure:2796: checking for __builtin_fabsf" >&5
d2800 1
a2800 1
#line 2798 "configure"
d2807 1
a2807 1
if { (eval echo configure:2805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2826 1
a2826 1
echo "configure:2824: checking for __builtin_sqrtf" >&5
d2828 1
a2828 1
#line 2826 "configure"
d2835 1
a2835 1
if { (eval echo configure:2833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2855 1
a2855 1
echo "configure:2853: checking for sin in -lm" >&5
d2863 1
a2863 1
#line 2861 "configure"
d2874 1
a2874 1
if { (eval echo configure:2872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2901 1
a2901 1
echo "configure:2899: checking for $ac_hdr" >&5
d2906 1
a2906 1
#line 2904 "configure"
d2911 1
a2911 1
{ (eval echo configure:2909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2943 1
a2943 1
echo "configure:2941: checking for $ac_func" >&5
d2948 1
a2948 1
#line 2946 "configure"
d2971 1
a2971 1
if { (eval echo configure:2969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3000 1
a3000 1
echo "configure:2998: checking for sinl" >&5
d3005 1
a3005 1
#line 3003 "configure"
d3028 1
a3028 1
if { (eval echo configure:3026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3047 1
a3047 1
echo "configure:3045: checking for $ac_func" >&5
d3052 1
a3052 1
#line 3050 "configure"
d3075 1
a3075 1
if { (eval echo configure:3073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3113 1
a3113 1
echo "configure:3111: checking for $ac_func" >&5
d3118 1
a3118 1
#line 3116 "configure"
d3141 1
a3141 1
if { (eval echo configure:3139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3176 1
a3176 1
echo "configure:3174: checking for $ac_func" >&5
d3181 1
a3181 1
#line 3179 "configure"
d3204 1
a3204 1
if { (eval echo configure:3202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3234 1
a3234 1
echo "configure:3232: checking for wchar.h" >&5
d3239 1
a3239 1
#line 3237 "configure"
d3244 1
a3244 1
{ (eval echo configure:3242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3262 1
a3262 1
echo "configure:3260: checking for native mbstate_t" >&5
d3264 1
a3264 1
#line 3262 "configure"
d3271 1
a3271 1
if { (eval echo configure:3269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3290 1
a3290 1
echo "configure:3288: checking for WCHAR_MIN and WCHAR_MAX" >&5
d3292 1
a3292 1
#line 3290 "configure"
d3299 1
a3299 1
if { (eval echo configure:3297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3320 1
a3320 1
echo "configure:3318: checking for WEOF" >&5
d3322 1
a3322 1
#line 3320 "configure"
d3331 1
a3331 1
if { (eval echo configure:3329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3346 1
a3346 1
echo "configure:3344: checking for $ac_func" >&5
d3351 1
a3351 1
#line 3349 "configure"
d3374 1
a3374 1
if { (eval echo configure:3372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3402 1
a3402 1
echo "configure:3400: checking for wide character support" >&5
d3428 1
a3428 1
echo "configure:3426: checking for ctype.h" >&5
d3433 1
a3433 1
#line 3431 "configure"
d3438 1
a3438 1
{ (eval echo configure:3436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3459 1
a3459 1
echo "configure:3457: checking for gnu-linux <ctype>" >&5
d3461 1
a3461 1
#line 3459 "configure"
d3472 1
a3472 1
if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3491 1
a3491 1
echo "configure:3489: checking for solaris 2.6 or 2.7 <ctype>" >&5
d3493 1
a3493 1
#line 3491 "configure"
d3504 1
a3504 1
if { (eval echo configure:3502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3519 1
a3519 1
echo "configure:3517: checking   for version" >&5
d3528 1
a3528 1
#line 3526 "configure"
d3535 1
a3535 1
if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3567 1
a3567 1
echo "configure:3565: checking for solaris 2.5.1 <ctype>" >&5
d3569 1
a3569 1
#line 3567 "configure"
d3579 1
a3579 1
if { (eval echo configure:3577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3599 1
a3599 1
echo "configure:3597: checking for aix <ctype>" >&5
d3601 1
a3601 1
#line 3599 "configure"
d3612 1
a3612 1
if { (eval echo configure:3610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3632 1
a3632 1
echo "configure:3630: checking for newlib <ctype>" >&5
d3634 1
a3634 1
#line 3632 "configure"
d3644 1
a3644 1
if { (eval echo configure:3642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3678 1
a3678 1
echo "configure:3676: checking for $ac_hdr" >&5
d3683 1
a3683 1
#line 3681 "configure"
d3688 1
a3688 1
{ (eval echo configure:3686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3717 1
a3717 1
echo "configure:3715: checking for $ac_func" >&5
d3722 1
a3722 1
#line 3720 "configure"
d3745 1
a3745 1
if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3770 1
a3770 1
echo "configure:3768: checking for working mmap" >&5
d3778 1
a3778 1
#line 3776 "configure"
d3918 1
a3918 1
if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3981 1
a3981 1
echo "configure:3979: checking for LC_MESSAGES" >&5
d3986 1
a3986 1
#line 3984 "configure"
d3993 1
a3993 1
if { (eval echo configure:3991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.76
log
@2000-03-27  Phil Edwards  <pme@@sourceware.cygnus.com>

	* acinclude.m4:  (GLIBCPP_CHECK_COMPILER_VERSION)  When using <2.96,
	  define WERRORSUPPRESS so that the inlining warnings won't kill us.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.
	* src/Makefile.am:  Use WERRORSUPPRESS for the files that need it.
	* src/Makefile.in:  Regenerate.

	* docs/install.html:  Almost complete rewrite.
@
text
@a2460 1
    CXX="${target_alias}-$CXX"
d2573 1
a2573 1
echo "configure:2575: checking for $ac_hdr" >&5
d2578 1
a2578 1
#line 2580 "configure"
d2583 1
a2583 1
{ (eval echo configure:2585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2613 1
a2613 1
echo "configure:2615: checking for GNU C++ __complex__ support" >&5
d2627 1
a2627 1
#line 2629 "configure"
d2636 1
a2636 1
if { (eval echo configure:2638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2668 1
a2668 1
echo "configure:2670: checking for GNU C++ __complex__ float support" >&5
d2701 1
a2701 1
#line 2703 "configure"
d2708 1
a2708 1
if { (eval echo configure:2710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2739 1
a2739 1
echo "configure:2741: checking for __builtin_sinf" >&5
d2741 1
a2741 1
#line 2743 "configure"
d2748 1
a2748 1
if { (eval echo configure:2750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2767 1
a2767 1
echo "configure:2769: checking for __builtin_cosf" >&5
d2769 1
a2769 1
#line 2771 "configure"
d2776 1
a2776 1
if { (eval echo configure:2778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2795 1
a2795 1
echo "configure:2797: checking for __builtin_fabsf" >&5
d2797 1
a2797 1
#line 2799 "configure"
d2804 1
a2804 1
if { (eval echo configure:2806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2823 1
a2823 1
echo "configure:2825: checking for __builtin_sqrtf" >&5
d2825 1
a2825 1
#line 2827 "configure"
d2832 1
a2832 1
if { (eval echo configure:2834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2852 1
a2852 1
echo "configure:2854: checking for sin in -lm" >&5
d2860 1
a2860 1
#line 2862 "configure"
d2871 1
a2871 1
if { (eval echo configure:2873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2898 1
a2898 1
echo "configure:2900: checking for $ac_hdr" >&5
d2903 1
a2903 1
#line 2905 "configure"
d2908 1
a2908 1
{ (eval echo configure:2910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2940 1
a2940 1
echo "configure:2942: checking for $ac_func" >&5
d2945 1
a2945 1
#line 2947 "configure"
d2968 1
a2968 1
if { (eval echo configure:2970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2997 1
a2997 1
echo "configure:2999: checking for sinl" >&5
d3002 1
a3002 1
#line 3004 "configure"
d3025 1
a3025 1
if { (eval echo configure:3027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3044 1
a3044 1
echo "configure:3046: checking for $ac_func" >&5
d3049 1
a3049 1
#line 3051 "configure"
d3072 1
a3072 1
if { (eval echo configure:3074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3110 1
a3110 1
echo "configure:3112: checking for $ac_func" >&5
d3115 1
a3115 1
#line 3117 "configure"
d3138 1
a3138 1
if { (eval echo configure:3140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3173 1
a3173 1
echo "configure:3175: checking for $ac_func" >&5
d3178 1
a3178 1
#line 3180 "configure"
d3201 1
a3201 1
if { (eval echo configure:3203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3231 1
a3231 1
echo "configure:3233: checking for wchar.h" >&5
d3236 1
a3236 1
#line 3238 "configure"
d3241 1
a3241 1
{ (eval echo configure:3243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3259 1
a3259 1
echo "configure:3261: checking for native mbstate_t" >&5
d3261 1
a3261 1
#line 3263 "configure"
d3268 1
a3268 1
if { (eval echo configure:3270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3287 1
a3287 1
echo "configure:3289: checking for WCHAR_MIN and WCHAR_MAX" >&5
d3289 1
a3289 1
#line 3291 "configure"
d3296 1
a3296 1
if { (eval echo configure:3298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3317 1
a3317 1
echo "configure:3319: checking for WEOF" >&5
d3319 1
a3319 1
#line 3321 "configure"
d3328 1
a3328 1
if { (eval echo configure:3330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3343 1
a3343 1
echo "configure:3345: checking for $ac_func" >&5
d3348 1
a3348 1
#line 3350 "configure"
d3371 1
a3371 1
if { (eval echo configure:3373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3399 1
a3399 1
echo "configure:3401: checking for wide character support" >&5
d3425 1
a3425 1
echo "configure:3427: checking for ctype.h" >&5
d3430 1
a3430 1
#line 3432 "configure"
d3435 1
a3435 1
{ (eval echo configure:3437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3456 1
a3456 1
echo "configure:3458: checking for gnu-linux <ctype>" >&5
d3458 1
a3458 1
#line 3460 "configure"
d3469 1
a3469 1
if { (eval echo configure:3471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3488 1
a3488 1
echo "configure:3490: checking for solaris 2.6 or 2.7 <ctype>" >&5
d3490 1
a3490 1
#line 3492 "configure"
d3501 1
a3501 1
if { (eval echo configure:3503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3516 1
a3516 1
echo "configure:3518: checking   for version" >&5
d3525 1
a3525 1
#line 3527 "configure"
d3532 1
a3532 1
if { (eval echo configure:3534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3564 1
a3564 1
echo "configure:3566: checking for solaris 2.5.1 <ctype>" >&5
d3566 1
a3566 1
#line 3568 "configure"
d3576 1
a3576 1
if { (eval echo configure:3578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3596 1
a3596 1
echo "configure:3598: checking for aix <ctype>" >&5
d3598 1
a3598 1
#line 3600 "configure"
d3609 1
a3609 1
if { (eval echo configure:3611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3629 1
a3629 1
echo "configure:3631: checking for newlib <ctype>" >&5
d3631 1
a3631 1
#line 3633 "configure"
d3641 1
a3641 1
if { (eval echo configure:3643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3675 1
a3675 1
echo "configure:3677: checking for $ac_hdr" >&5
d3680 1
a3680 1
#line 3682 "configure"
d3685 1
a3685 1
{ (eval echo configure:3687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3714 1
a3714 1
echo "configure:3716: checking for $ac_func" >&5
d3719 1
a3719 1
#line 3721 "configure"
d3742 1
a3742 1
if { (eval echo configure:3744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3767 1
a3767 1
echo "configure:3769: checking for working mmap" >&5
d3775 1
a3775 1
#line 3777 "configure"
d3915 1
a3915 1
if { (eval echo configure:3917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3978 1
a3978 1
echo "configure:3980: checking for LC_MESSAGES" >&5
d3983 1
a3983 1
#line 3985 "configure"
d3990 1
a3990 1
if { (eval echo configure:3992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.75
log
@
2000-03-22  Benjamin Kosnik  <bkoz@@cygnus.com>

	* bits/sstream.tcc (seekoff): Fix for gptr() null cases.
	Return newoff.
	* bits/fstream.tcc (seekoff): Sync.
	(seekpos): Sync.
	* testsuite/27_io/ostream_unformatted.cc: New file.
	* testsuite/27_io/stringbuf.cc: Fix.
	* testsuite/27_io/istream_unformatted.cc (test04): Fix.

	* config/newlib/bits/ctype_base.h (ctype_base): Fix.
	* config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.

	* src/complex_io.cc (operator>>complex): Tweak.

	* config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
	<inttypes.h> does not exist.
	* config/cpu/sparc/sparc64/atomicity.h: Same.
	* config/cpu/sparc/sparc32/atomicity.h: Same.
	* config/cpu/powerpc/atomicity.h: Same.
	* config/cpu/i386/atomicity.h: Same.
	* config/cpu/generic/atomicity.h: Same.
	* configure.in: Check for inttypes.h.
	* configure: Regnerate.
@
text
@d2115 2
d2120 2
d2125 6
a2130 1
  echo "$ac_t""$OPTLEVEL" 1>&6
d2135 1
a2135 1
echo "configure:2127: checking for cpu primitives directory" >&5
d2182 1
a2182 1
echo "configure:2174: checking for cstdio to use" >&5
d2206 1
a2206 1
echo "configure:2198: checking for libio.h" >&5
d2211 1
a2211 1
#line 2203 "configure"
d2216 1
a2216 1
{ (eval echo configure:2208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2317 1
a2317 1
echo "configure:2309: checking for threads package to use" >&5
d2380 1
a2380 1
echo "configure:2372: checking for pthread.h" >&5
d2385 1
a2385 1
#line 2377 "configure"
d2390 1
a2390 1
{ (eval echo configure:2382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2574 1
a2574 1
echo "configure:2566: checking for $ac_hdr" >&5
d2579 1
a2579 1
#line 2571 "configure"
d2584 1
a2584 1
{ (eval echo configure:2576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2614 1
a2614 1
echo "configure:2606: checking for GNU C++ __complex__ support" >&5
d2628 1
a2628 1
#line 2620 "configure"
d2637 1
a2637 1
if { (eval echo configure:2629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2669 1
a2669 1
echo "configure:2661: checking for GNU C++ __complex__ float support" >&5
d2702 1
a2702 1
#line 2694 "configure"
d2709 1
a2709 1
if { (eval echo configure:2701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2740 1
a2740 1
echo "configure:2732: checking for __builtin_sinf" >&5
d2742 1
a2742 1
#line 2734 "configure"
d2749 1
a2749 1
if { (eval echo configure:2741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2768 1
a2768 1
echo "configure:2760: checking for __builtin_cosf" >&5
d2770 1
a2770 1
#line 2762 "configure"
d2777 1
a2777 1
if { (eval echo configure:2769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2796 1
a2796 1
echo "configure:2788: checking for __builtin_fabsf" >&5
d2798 1
a2798 1
#line 2790 "configure"
d2805 1
a2805 1
if { (eval echo configure:2797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2824 1
a2824 1
echo "configure:2816: checking for __builtin_sqrtf" >&5
d2826 1
a2826 1
#line 2818 "configure"
d2833 1
a2833 1
if { (eval echo configure:2825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2853 1
a2853 1
echo "configure:2845: checking for sin in -lm" >&5
d2861 1
a2861 1
#line 2853 "configure"
d2872 1
a2872 1
if { (eval echo configure:2864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2899 1
a2899 1
echo "configure:2891: checking for $ac_hdr" >&5
d2904 1
a2904 1
#line 2896 "configure"
d2909 1
a2909 1
{ (eval echo configure:2901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2941 1
a2941 1
echo "configure:2933: checking for $ac_func" >&5
d2946 1
a2946 1
#line 2938 "configure"
d2969 1
a2969 1
if { (eval echo configure:2961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2998 1
a2998 1
echo "configure:2990: checking for sinl" >&5
d3003 1
a3003 1
#line 2995 "configure"
d3026 1
a3026 1
if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3045 1
a3045 1
echo "configure:3037: checking for $ac_func" >&5
d3050 1
a3050 1
#line 3042 "configure"
d3073 1
a3073 1
if { (eval echo configure:3065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3111 1
a3111 1
echo "configure:3103: checking for $ac_func" >&5
d3116 1
a3116 1
#line 3108 "configure"
d3139 1
a3139 1
if { (eval echo configure:3131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3174 1
a3174 1
echo "configure:3166: checking for $ac_func" >&5
d3179 1
a3179 1
#line 3171 "configure"
d3202 1
a3202 1
if { (eval echo configure:3194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3232 1
a3232 1
echo "configure:3224: checking for wchar.h" >&5
d3237 1
a3237 1
#line 3229 "configure"
d3242 1
a3242 1
{ (eval echo configure:3234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3260 1
a3260 1
echo "configure:3252: checking for native mbstate_t" >&5
d3262 1
a3262 1
#line 3254 "configure"
d3269 1
a3269 1
if { (eval echo configure:3261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3288 1
a3288 1
echo "configure:3280: checking for WCHAR_MIN and WCHAR_MAX" >&5
d3290 1
a3290 1
#line 3282 "configure"
d3297 1
a3297 1
if { (eval echo configure:3289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3318 1
a3318 1
echo "configure:3310: checking for WEOF" >&5
d3320 1
a3320 1
#line 3312 "configure"
d3329 1
a3329 1
if { (eval echo configure:3321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3344 1
a3344 1
echo "configure:3336: checking for $ac_func" >&5
d3349 1
a3349 1
#line 3341 "configure"
d3372 1
a3372 1
if { (eval echo configure:3364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3400 1
a3400 1
echo "configure:3392: checking for wide character support" >&5
d3426 1
a3426 1
echo "configure:3418: checking for ctype.h" >&5
d3431 1
a3431 1
#line 3423 "configure"
d3436 1
a3436 1
{ (eval echo configure:3428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3457 1
a3457 1
echo "configure:3449: checking for gnu-linux <ctype>" >&5
d3459 1
a3459 1
#line 3451 "configure"
d3470 1
a3470 1
if { (eval echo configure:3462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3489 1
a3489 1
echo "configure:3481: checking for solaris 2.6 or 2.7 <ctype>" >&5
d3491 1
a3491 1
#line 3483 "configure"
d3502 1
a3502 1
if { (eval echo configure:3494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3517 1
a3517 1
echo "configure:3509: checking   for version" >&5
d3526 1
a3526 1
#line 3518 "configure"
d3533 1
a3533 1
if { (eval echo configure:3525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3565 1
a3565 1
echo "configure:3557: checking for solaris 2.5.1 <ctype>" >&5
d3567 1
a3567 1
#line 3559 "configure"
d3577 1
a3577 1
if { (eval echo configure:3569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3597 1
a3597 1
echo "configure:3589: checking for aix <ctype>" >&5
d3599 1
a3599 1
#line 3591 "configure"
d3610 1
a3610 1
if { (eval echo configure:3602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3630 1
a3630 1
echo "configure:3622: checking for newlib <ctype>" >&5
d3632 1
a3632 1
#line 3624 "configure"
d3642 1
a3642 1
if { (eval echo configure:3634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3676 1
a3676 1
echo "configure:3668: checking for $ac_hdr" >&5
d3681 1
a3681 1
#line 3673 "configure"
d3686 1
a3686 1
{ (eval echo configure:3678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3715 1
a3715 1
echo "configure:3707: checking for $ac_func" >&5
d3720 1
a3720 1
#line 3712 "configure"
d3743 1
a3743 1
if { (eval echo configure:3735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3768 1
a3768 1
echo "configure:3760: checking for working mmap" >&5
d3776 1
a3776 1
#line 3768 "configure"
d3916 1
a3916 1
if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3979 1
a3979 1
echo "configure:3971: checking for LC_MESSAGES" >&5
d3984 1
a3984 1
#line 3976 "configure"
d3991 1
a3991 1
if { (eval echo configure:3983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4218 1
@


1.74
log
@2000-03-23  Phil Edwards  <pme@@sourceware.cygnus.com>

	* Makefile.am:  Better error message when missing libgcc2.ready.
	* Makefile.in:  Regenerate.
	* acinclude.m4:  Fastidious nitpicking reformatting.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.
	* mkcheck.in:  Must use same namespace settings as the library being
	  tested.  Also log ST_FLAG, since it's being passed.
	* docs/install.html:  Add brief chunk on configuration.
	* docs/17_intro/RELEASE-NOTES:  Fix minor Cygwin typo.
	* docs/23_containers/howto.html:  Mention MT-safe string.
	* docs/faq/index.html:  Minor updates.
	* docs/faq/index.txt:  Regerarate.
@
text
@d2561 1
a2561 1
  machine/param.h sys/machine.h fp.h locale.h float.h
@


1.73
log
@
2000-03-21  Benjamin Kosnik  <bkoz@@cygnus.com>

	* docs/17_intro/RELEASE-NOTES (New): Add bits.

	* configure.in: Move AC_CHECK_HEADERS to a point where we know we
	are compiling natively.

	* libio/*: Update to CVS libio from egcs.
@
text
@d20 1
a20 1
  --enable-multilib         build hella library versions (default)"
d37 2
a38 2
  --enable-cstdio        enable GNU libio for target io package. (default)
     --enable-cstdio=LIB    use LIB target-speific io package."
d40 1
a40 1
    --enable-long_long     turns on 'long long' [default=no]"
d45 1
a45 1
     --enable-threads=LIB    use LIB thread package for target GCC."
@


1.72
log
@
2000-03-21  Benjamin Kosnik  <bkoz@@cygnus.com>

	* docs/17_intro/RELEASE-NOTES (New): Add bits.

	* configure.in: Move AC_CHECK_HEADERS to a point where we know we
	are compiling natively.

	* libio/*: Update to CVS libio from egcs.
@
text
@d3552 1
a3552 2
    fi
    fi
d3556 1
a3556 1
echo "configure:3558: checking for solaris 2.5.1 <ctype>" >&5
d3558 1
a3558 1
#line 3560 "configure"
d3568 1
a3568 1
if { (eval echo configure:3570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3583 1
@


1.71
log
@
2000-03-21  Benjamin Kosnik  <bkoz@@cygnus.com>

	* docs/17_intro/RELEASE-NOTES (New): Add bits.

	* configure.in: Move AC_CHECK_HEADERS to a point where we know we
	are compiling natively.

	* libio/*: Update to CVS libio from egcs.
@
text
@d3479 2
a3480 2
    echo $ac_n "checking for solaris 2.5.1 <ctype>""... $ac_c" 1>&6
echo "configure:3481: checking for solaris 2.5.1 <ctype>" >&5
a3487 30
    { return _U + _L + _N + _S + _P + _C + _X + _B \
	+ __ctype[a];}
; return 0; }
EOF
if { (eval echo configure:3493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
    ctype_solaris25=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_solaris25=no
fi
rm -f conftest*
    echo "$ac_t""$ctype_solaris25" 1>&6
    if test $ctype_solaris25 = "yes"; then
      ctype_include_dir="config/solaris/solaris2.5"
      ctype_default=no
    fi

        echo $ac_n "checking for solaris 2.6 or 2.7 <ctype>""... $ac_c" 1>&6
echo "configure:3511: checking for solaris 2.6 or 2.7 <ctype>" >&5
    cat > conftest.$ac_ext <<EOF
#line 3513 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
int
    foo (int a)
d3493 1
a3493 1
if { (eval echo configure:3524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3508 1
a3508 1
echo "configure:3539: checking   for version" >&5
d3517 1
a3517 1
#line 3548 "configure"
d3524 1
a3524 1
if { (eval echo configure:3555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3553 32
d3588 1
a3588 1
echo "configure:3587: checking for aix <ctype>" >&5
d3590 1
a3590 1
#line 3589 "configure"
d3601 1
a3601 1
if { (eval echo configure:3600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3621 1
a3621 1
echo "configure:3620: checking for newlib <ctype>" >&5
d3623 1
a3623 1
#line 3622 "configure"
d3633 1
a3633 1
if { (eval echo configure:3632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3667 1
a3667 1
echo "configure:3666: checking for $ac_hdr" >&5
d3672 1
a3672 1
#line 3671 "configure"
d3677 1
a3677 1
{ (eval echo configure:3676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3706 1
a3706 1
echo "configure:3705: checking for $ac_func" >&5
d3711 1
a3711 1
#line 3710 "configure"
d3734 1
a3734 1
if { (eval echo configure:3733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3759 1
a3759 1
echo "configure:3758: checking for working mmap" >&5
d3767 1
a3767 1
#line 3766 "configure"
d3907 1
a3907 1
if { (eval echo configure:3906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3970 1
a3970 1
echo "configure:3969: checking for LC_MESSAGES" >&5
d3975 1
a3975 1
#line 3974 "configure"
d3982 1
a3982 1
if { (eval echo configure:3981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.70
log
@
2000-03-18  Petter Urkedal  <petter@@matfys.lth.se>
            Benjamin Kosnik  <bkoz@@gnu.org>

        * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
        to the right place.
        * aclocal.m4: Regenerate.
        * configure: Regenerate.
@
text
@a2150 43
# Check for available headers.
for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
machine/param.h sys/machine.h fp.h locale.h float.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:2158: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2163 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done


d2173 1
a2173 1
echo "configure:2217: checking for cstdio to use" >&5
d2197 1
a2197 1
echo "configure:2241: checking for libio.h" >&5
d2202 1
a2202 1
#line 2246 "configure"
d2207 1
a2207 1
{ (eval echo configure:2251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2308 1
a2308 1
echo "configure:2352: checking for threads package to use" >&5
d2371 1
a2371 1
echo "configure:2415: checking for pthread.h" >&5
d2376 1
a2376 1
#line 2420 "configure"
d2381 1
a2381 1
{ (eval echo configure:2425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2558 43
@


1.69
log
@
2000-03-16  Benjamin Kosnik  <bkoz@@cygnus.com>

	* mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
	atomicity.h
	* configure: Regenerate.
	* aclocal.m4: Regnerate.

2000-03-16  Nathan Myers  <ncm@@zembu.com>

	* bits/string.tcc: Add MT support.
	* bits/basic_string.h: Same.
@
text
@a2617 14
    rm -f conftest.h
    cat > conftest.h <<EOB
      //
      // Check for buggy __complex__ that will cause ICE in gcc-2.95.x when
      // using the library, unless we define the default copy ctor in the
      // specializations of complex<>.
      //
      struct dcomplex { __complex__ double x; };
      dcomplex f(const dcomplex& x) { return dcomplex(x); }
      int main() {
	dcomplex x;
	f(x);
      }
EOB
d2619 1
a2619 1
#line 2634 "configure"
d2621 2
a2622 1
#include "conftest.h"
d2624 2
a2625 1

d2628 1
a2628 1
if { (eval echo configure:2641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2660 1
a2660 1
echo "configure:2673: checking for GNU C++ __complex__ float support" >&5
d2693 1
a2693 1
#line 2706 "configure"
d2700 1
a2700 1
if { (eval echo configure:2713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2731 1
a2731 1
echo "configure:2744: checking for __builtin_sinf" >&5
d2733 1
a2733 1
#line 2746 "configure"
d2740 1
a2740 1
if { (eval echo configure:2753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2759 1
a2759 1
echo "configure:2772: checking for __builtin_cosf" >&5
d2761 1
a2761 1
#line 2774 "configure"
d2768 1
a2768 1
if { (eval echo configure:2781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2787 1
a2787 1
echo "configure:2800: checking for __builtin_fabsf" >&5
d2789 1
a2789 1
#line 2802 "configure"
d2796 1
a2796 1
if { (eval echo configure:2809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2815 1
a2815 1
echo "configure:2828: checking for __builtin_sqrtf" >&5
d2817 1
a2817 1
#line 2830 "configure"
d2824 1
a2824 1
if { (eval echo configure:2837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2844 1
a2844 1
echo "configure:2857: checking for sin in -lm" >&5
d2852 1
a2852 1
#line 2865 "configure"
d2863 1
a2863 1
if { (eval echo configure:2876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2890 1
a2890 1
echo "configure:2903: checking for $ac_hdr" >&5
d2895 1
a2895 1
#line 2908 "configure"
d2900 1
a2900 1
{ (eval echo configure:2913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2932 1
a2932 1
echo "configure:2945: checking for $ac_func" >&5
d2937 1
a2937 1
#line 2950 "configure"
d2960 1
a2960 1
if { (eval echo configure:2973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2989 1
a2989 1
echo "configure:3002: checking for sinl" >&5
d2994 1
a2994 1
#line 3007 "configure"
d3017 1
a3017 1
if { (eval echo configure:3030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3036 1
a3036 1
echo "configure:3049: checking for $ac_func" >&5
d3041 1
a3041 1
#line 3054 "configure"
d3064 1
a3064 1
if { (eval echo configure:3077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3102 1
a3102 1
echo "configure:3115: checking for $ac_func" >&5
d3107 1
a3107 1
#line 3120 "configure"
d3130 1
a3130 1
if { (eval echo configure:3143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3165 1
a3165 1
echo "configure:3178: checking for $ac_func" >&5
d3170 1
a3170 1
#line 3183 "configure"
d3193 1
a3193 1
if { (eval echo configure:3206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3223 1
a3223 1
echo "configure:3236: checking for wchar.h" >&5
d3228 1
a3228 1
#line 3241 "configure"
d3233 1
a3233 1
{ (eval echo configure:3246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3251 1
a3251 1
echo "configure:3264: checking for native mbstate_t" >&5
d3253 1
a3253 1
#line 3266 "configure"
d3260 1
a3260 1
if { (eval echo configure:3273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3279 1
a3279 1
echo "configure:3292: checking for WCHAR_MIN and WCHAR_MAX" >&5
d3281 1
a3281 1
#line 3294 "configure"
d3288 1
a3288 1
if { (eval echo configure:3301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3309 1
a3309 1
echo "configure:3322: checking for WEOF" >&5
d3311 1
a3311 1
#line 3324 "configure"
d3320 1
a3320 1
if { (eval echo configure:3333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3335 1
a3335 1
echo "configure:3348: checking for $ac_func" >&5
d3340 1
a3340 1
#line 3353 "configure"
d3363 1
a3363 1
if { (eval echo configure:3376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3391 1
a3391 1
echo "configure:3404: checking for wide character support" >&5
d3417 1
a3417 1
echo "configure:3430: checking for ctype.h" >&5
d3422 1
a3422 1
#line 3435 "configure"
d3427 1
a3427 1
{ (eval echo configure:3440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3448 1
a3448 1
echo "configure:3461: checking for gnu-linux <ctype>" >&5
d3450 1
a3450 1
#line 3463 "configure"
d3461 1
a3461 1
if { (eval echo configure:3474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3480 1
a3480 1
echo "configure:3493: checking for solaris 2.5.1 <ctype>" >&5
d3482 1
a3482 1
#line 3495 "configure"
d3492 1
a3492 1
if { (eval echo configure:3505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3510 1
a3510 1
echo "configure:3523: checking for solaris 2.6 or 2.7 <ctype>" >&5
d3512 1
a3512 1
#line 3525 "configure"
d3523 1
a3523 1
if { (eval echo configure:3536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3538 1
a3538 1
echo "configure:3551: checking   for version" >&5
d3547 1
a3547 1
#line 3560 "configure"
d3554 1
a3554 1
if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3586 1
a3586 1
echo "configure:3599: checking for aix <ctype>" >&5
d3588 1
a3588 1
#line 3601 "configure"
d3599 1
a3599 1
if { (eval echo configure:3612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3619 1
a3619 1
echo "configure:3632: checking for newlib <ctype>" >&5
d3621 1
a3621 1
#line 3634 "configure"
d3631 1
a3631 1
if { (eval echo configure:3644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3665 1
a3665 1
echo "configure:3678: checking for $ac_hdr" >&5
d3670 1
a3670 1
#line 3683 "configure"
d3675 1
a3675 1
{ (eval echo configure:3688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3704 1
a3704 1
echo "configure:3717: checking for $ac_func" >&5
d3709 1
a3709 1
#line 3722 "configure"
d3732 1
a3732 1
if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3757 1
a3757 1
echo "configure:3770: checking for working mmap" >&5
d3765 1
a3765 1
#line 3778 "configure"
d3905 1
a3905 1
if { (eval echo configure:3918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3968 1
a3968 1
echo "configure:3981: checking for LC_MESSAGES" >&5
d3973 1
a3973 1
#line 3986 "configure"
d3980 1
a3980 1
if { (eval echo configure:3993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.68
log
@
2000-03-16  Phil Edwards  <pme@@sourceware.cygnus.com>

	* configure.in:  Make --enable-namespaces and -libgcc-rebuild=../..
	  the defaults.
	* configure:  Regenerate.

	* config/solaris/solaris2.7/ctype.cc:  Fix unsigned/signed comparison.
@
text
@a2126 1
    echo "$target_cpu" 
@


1.67
log
@
2000-03-15  Benjamin Kosnik  <bkoz@@cygnus.com>

	* config/cpu: New directory, intended to be used to provide
	cpu-specific configuration files. In particular, assembly language
	primitives for thread safety.
	* config/cpu/alpha: Populate.
	* config/cpu/alpha/atomicity.h: New file.
	* config/cpu/arm: Populate.
	* config/cpu/generic: Populate.
	* config/cpu/generic/atomicity.h: New file.
	* config/cpu/hppa: Populate.
	* config/cpu/i386: Populate.
	* config/cpu/i386/atomicity.h: New file, take from i486.
	* config/cpu/m68k: Populate.
	* config/cpu/mips: Populate.
	* config/cpu/powerpc: Populate.
	* config/cpu/powerpc/atomicity.h: New file.
	* config/cpu/sparc: Populate.
	* config/cpu/sparc/sparc32: Populate.
	* config/cpu/sparc/sparc64: Populate.
	* config/cpu/sparc/sparc32/atomicity.h: New file.
	* config/cpu/sparc/sparc64/atomicity.h: New file.

	* src/Makefile.am (myinstallheaders): Add install routines.
	* acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
	cpu dir.
	* configure.in: Add.

	* config/default: Adopt glibc naming conventions, and so move to
	* config/generic: Here.
	* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
@
text
@d42 1
a42 1
  --enable-namespaces     turns on 'std' [default=no]"
d47 2
a48 2
  --enable-libgcc-rebuild=DIR     also rebuild libgcc.a; the GCC objdir is
                                  DIR (absolute path); see README.html"
d2158 1
a2158 1
echo "configure:2159: checking for $ac_hdr" >&5
d2163 1
a2163 1
#line 2164 "configure"
d2168 1
a2168 1
{ (eval echo configure:2169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2217 1
a2217 1
echo "configure:2218: checking for cstdio to use" >&5
d2241 1
a2241 1
echo "configure:2242: checking for libio.h" >&5
d2246 1
a2246 1
#line 2247 "configure"
d2251 1
a2251 1
{ (eval echo configure:2252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2336 1
a2336 1
  enable_namespaces=no
d2352 1
a2352 1
echo "configure:2353: checking for threads package to use" >&5
d2415 1
a2415 1
echo "configure:2416: checking for pthread.h" >&5
d2420 1
a2420 1
#line 2421 "configure"
d2425 1
a2425 1
{ (eval echo configure:2426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2477 1
a2477 1
  enable_libgcc_rebuild=no
d2606 1
a2606 1
echo "configure:2607: checking for GNU C++ __complex__ support" >&5
d2634 1
a2634 1
#line 2635 "configure"
d2641 1
a2641 1
if { (eval echo configure:2642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2673 1
a2673 1
echo "configure:2674: checking for GNU C++ __complex__ float support" >&5
d2706 1
a2706 1
#line 2707 "configure"
d2713 1
a2713 1
if { (eval echo configure:2714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2744 1
a2744 1
echo "configure:2745: checking for __builtin_sinf" >&5
d2746 1
a2746 1
#line 2747 "configure"
d2753 1
a2753 1
if { (eval echo configure:2754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2772 1
a2772 1
echo "configure:2773: checking for __builtin_cosf" >&5
d2774 1
a2774 1
#line 2775 "configure"
d2781 1
a2781 1
if { (eval echo configure:2782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2800 1
a2800 1
echo "configure:2801: checking for __builtin_fabsf" >&5
d2802 1
a2802 1
#line 2803 "configure"
d2809 1
a2809 1
if { (eval echo configure:2810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2828 1
a2828 1
echo "configure:2829: checking for __builtin_sqrtf" >&5
d2830 1
a2830 1
#line 2831 "configure"
d2837 1
a2837 1
if { (eval echo configure:2838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2857 1
a2857 1
echo "configure:2858: checking for sin in -lm" >&5
d2865 1
a2865 1
#line 2866 "configure"
d2876 1
a2876 1
if { (eval echo configure:2877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2903 1
a2903 1
echo "configure:2904: checking for $ac_hdr" >&5
d2908 1
a2908 1
#line 2909 "configure"
d2913 1
a2913 1
{ (eval echo configure:2914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2945 1
a2945 1
echo "configure:2946: checking for $ac_func" >&5
d2950 1
a2950 1
#line 2951 "configure"
d2973 1
a2973 1
if { (eval echo configure:2974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3002 1
a3002 1
echo "configure:3003: checking for sinl" >&5
d3007 1
a3007 1
#line 3008 "configure"
d3030 1
a3030 1
if { (eval echo configure:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3049 1
a3049 1
echo "configure:3050: checking for $ac_func" >&5
d3054 1
a3054 1
#line 3055 "configure"
d3077 1
a3077 1
if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3115 1
a3115 1
echo "configure:3116: checking for $ac_func" >&5
d3120 1
a3120 1
#line 3121 "configure"
d3143 1
a3143 1
if { (eval echo configure:3144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3178 1
a3178 1
echo "configure:3179: checking for $ac_func" >&5
d3183 1
a3183 1
#line 3184 "configure"
d3206 1
a3206 1
if { (eval echo configure:3207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3236 1
a3236 1
echo "configure:3237: checking for wchar.h" >&5
d3241 1
a3241 1
#line 3242 "configure"
d3246 1
a3246 1
{ (eval echo configure:3247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3264 1
a3264 1
echo "configure:3265: checking for native mbstate_t" >&5
d3266 1
a3266 1
#line 3267 "configure"
d3273 1
a3273 1
if { (eval echo configure:3274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3292 1
a3292 1
echo "configure:3293: checking for WCHAR_MIN and WCHAR_MAX" >&5
d3294 1
a3294 1
#line 3295 "configure"
d3301 1
a3301 1
if { (eval echo configure:3302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3322 1
a3322 1
echo "configure:3323: checking for WEOF" >&5
d3324 1
a3324 1
#line 3325 "configure"
d3333 1
a3333 1
if { (eval echo configure:3334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3348 1
a3348 1
echo "configure:3349: checking for $ac_func" >&5
d3353 1
a3353 1
#line 3354 "configure"
d3376 1
a3376 1
if { (eval echo configure:3377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3404 1
a3404 1
echo "configure:3405: checking for wide character support" >&5
d3430 1
a3430 1
echo "configure:3431: checking for ctype.h" >&5
d3435 1
a3435 1
#line 3436 "configure"
d3440 1
a3440 1
{ (eval echo configure:3441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3461 1
a3461 1
echo "configure:3462: checking for gnu-linux <ctype>" >&5
d3463 1
a3463 1
#line 3464 "configure"
d3474 1
a3474 1
if { (eval echo configure:3475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3493 1
a3493 1
echo "configure:3494: checking for solaris 2.5.1 <ctype>" >&5
d3495 1
a3495 1
#line 3496 "configure"
d3505 1
a3505 1
if { (eval echo configure:3506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3520 1
    fi
d3522 2
a3523 3
        if test $ctype_default = "yes"; then
    echo $ac_n "checking for solaris 2.6 or 2.7 <ctype>""... $ac_c" 1>&6
echo "configure:3526: checking for solaris 2.6 or 2.7 <ctype>" >&5
d3525 1
a3525 1
#line 3528 "configure"
d3536 1
a3536 1
if { (eval echo configure:3539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3551 1
a3551 1
echo "configure:3554: checking   for version" >&5
d3560 1
a3560 1
#line 3563 "configure"
d3567 1
a3567 1
if { (eval echo configure:3570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3599 1
a3599 1
echo "configure:3602: checking for aix <ctype>" >&5
d3601 1
a3601 1
#line 3604 "configure"
d3612 1
a3612 1
if { (eval echo configure:3615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3632 1
a3632 1
echo "configure:3635: checking for newlib <ctype>" >&5
d3634 1
a3634 1
#line 3637 "configure"
d3644 1
a3644 1
if { (eval echo configure:3647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3678 1
a3678 1
echo "configure:3681: checking for $ac_hdr" >&5
d3683 1
a3683 1
#line 3686 "configure"
d3688 1
a3688 1
{ (eval echo configure:3691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3717 1
a3717 1
echo "configure:3720: checking for $ac_func" >&5
d3722 1
a3722 1
#line 3725 "configure"
d3745 1
a3745 1
if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3770 1
a3770 1
echo "configure:3773: checking for working mmap" >&5
d3778 1
a3778 1
#line 3781 "configure"
d3918 1
a3918 1
if { (eval echo configure:3921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3981 1
a3981 1
echo "configure:3984: checking for LC_MESSAGES" >&5
d3986 1
a3986 1
#line 3989 "configure"
d3993 1
a3993 1
if { (eval echo configure:3996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.66
log
@
2000-03-14  Phil Edwards  <pme@@sourceware.cygnus.com>

	* docs/17_intro/howto.html:  Add missing "TOC" entry, and new section.

	* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
@
text
@d2125 27
d2158 1
a2158 1
echo "configure:2132: checking for $ac_hdr" >&5
d2163 1
a2163 1
#line 2137 "configure"
d2168 1
a2168 1
{ (eval echo configure:2142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2217 1
a2217 1
echo "configure:2191: checking for cstdio to use" >&5
d2241 1
a2241 1
echo "configure:2215: checking for libio.h" >&5
d2246 1
a2246 1
#line 2220 "configure"
d2251 1
a2251 1
{ (eval echo configure:2225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2352 1
a2352 1
echo "configure:2326: checking for threads package to use" >&5
d2415 1
a2415 1
echo "configure:2389: checking for pthread.h" >&5
d2420 1
a2420 1
#line 2394 "configure"
d2425 1
a2425 1
{ (eval echo configure:2399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2606 1
a2606 1
echo "configure:2580: checking for GNU C++ __complex__ support" >&5
d2634 1
a2634 1
#line 2608 "configure"
d2641 1
a2641 1
if { (eval echo configure:2615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2673 1
a2673 1
echo "configure:2647: checking for GNU C++ __complex__ float support" >&5
d2706 1
a2706 1
#line 2680 "configure"
d2713 1
a2713 1
if { (eval echo configure:2687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2744 1
a2744 1
echo "configure:2718: checking for __builtin_sinf" >&5
d2746 1
a2746 1
#line 2720 "configure"
d2753 1
a2753 1
if { (eval echo configure:2727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2772 1
a2772 1
echo "configure:2746: checking for __builtin_cosf" >&5
d2774 1
a2774 1
#line 2748 "configure"
d2781 1
a2781 1
if { (eval echo configure:2755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2800 1
a2800 1
echo "configure:2774: checking for __builtin_fabsf" >&5
d2802 1
a2802 1
#line 2776 "configure"
d2809 1
a2809 1
if { (eval echo configure:2783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2828 1
a2828 1
echo "configure:2802: checking for __builtin_sqrtf" >&5
d2830 1
a2830 1
#line 2804 "configure"
d2837 1
a2837 1
if { (eval echo configure:2811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2857 1
a2857 1
echo "configure:2831: checking for sin in -lm" >&5
d2865 1
a2865 1
#line 2839 "configure"
d2876 1
a2876 1
if { (eval echo configure:2850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2903 1
a2903 1
echo "configure:2877: checking for $ac_hdr" >&5
d2908 1
a2908 1
#line 2882 "configure"
d2913 1
a2913 1
{ (eval echo configure:2887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2945 1
a2945 1
echo "configure:2919: checking for $ac_func" >&5
d2950 1
a2950 1
#line 2924 "configure"
d2973 1
a2973 1
if { (eval echo configure:2947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3002 1
a3002 1
echo "configure:2976: checking for sinl" >&5
d3007 1
a3007 1
#line 2981 "configure"
d3030 1
a3030 1
if { (eval echo configure:3004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3049 1
a3049 1
echo "configure:3023: checking for $ac_func" >&5
d3054 1
a3054 1
#line 3028 "configure"
d3077 1
a3077 1
if { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3115 1
a3115 1
echo "configure:3089: checking for $ac_func" >&5
d3120 1
a3120 1
#line 3094 "configure"
d3143 1
a3143 1
if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3178 1
a3178 1
echo "configure:3152: checking for $ac_func" >&5
d3183 1
a3183 1
#line 3157 "configure"
d3206 1
a3206 1
if { (eval echo configure:3180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3236 1
a3236 1
echo "configure:3210: checking for wchar.h" >&5
d3241 1
a3241 1
#line 3215 "configure"
d3246 1
a3246 1
{ (eval echo configure:3220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3264 1
a3264 1
echo "configure:3238: checking for native mbstate_t" >&5
d3266 1
a3266 1
#line 3240 "configure"
d3273 1
a3273 1
if { (eval echo configure:3247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3292 1
a3292 1
echo "configure:3266: checking for WCHAR_MIN and WCHAR_MAX" >&5
d3294 1
a3294 1
#line 3268 "configure"
d3301 1
a3301 1
if { (eval echo configure:3275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3322 1
a3322 1
echo "configure:3296: checking for WEOF" >&5
d3324 1
a3324 1
#line 3298 "configure"
d3333 1
a3333 1
if { (eval echo configure:3307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3348 1
a3348 1
echo "configure:3322: checking for $ac_func" >&5
d3353 1
a3353 1
#line 3327 "configure"
d3376 1
a3376 1
if { (eval echo configure:3350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3404 1
a3404 1
echo "configure:3378: checking for wide character support" >&5
d3430 1
a3430 1
echo "configure:3404: checking for ctype.h" >&5
d3435 1
a3435 1
#line 3409 "configure"
d3440 1
a3440 1
{ (eval echo configure:3414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3461 1
a3461 1
echo "configure:3435: checking for gnu-linux <ctype>" >&5
d3463 1
a3463 1
#line 3437 "configure"
d3474 1
a3474 1
if { (eval echo configure:3448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3493 1
a3493 1
echo "configure:3467: checking for solaris 2.5.1 <ctype>" >&5
d3495 1
a3495 1
#line 3469 "configure"
d3505 1
a3505 1
if { (eval echo configure:3479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3525 1
a3525 1
echo "configure:3499: checking for solaris 2.6 or 2.7 <ctype>" >&5
d3527 1
a3527 1
#line 3501 "configure"
d3538 1
a3538 1
if { (eval echo configure:3512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3553 1
a3553 1
echo "configure:3527: checking   for version" >&5
d3562 1
a3562 1
#line 3536 "configure"
d3569 1
a3569 1
if { (eval echo configure:3543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3601 1
a3601 1
echo "configure:3575: checking for aix <ctype>" >&5
d3603 1
a3603 1
#line 3577 "configure"
d3614 1
a3614 1
if { (eval echo configure:3588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3634 1
a3634 1
echo "configure:3608: checking for newlib <ctype>" >&5
d3636 1
a3636 1
#line 3610 "configure"
d3646 1
a3646 1
if { (eval echo configure:3620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3665 1
a3665 1
      ctype_include_dir="config/default"
d3680 1
a3680 1
echo "configure:3654: checking for $ac_hdr" >&5
d3685 1
a3685 1
#line 3659 "configure"
d3690 1
a3690 1
{ (eval echo configure:3664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3719 1
a3719 1
echo "configure:3693: checking for $ac_func" >&5
d3724 1
a3724 1
#line 3698 "configure"
d3747 1
a3747 1
if { (eval echo configure:3721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3772 1
a3772 1
echo "configure:3746: checking for working mmap" >&5
d3780 1
a3780 1
#line 3754 "configure"
d3920 1
a3920 1
if { (eval echo configure:3894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3983 1
a3983 1
echo "configure:3957: checking for LC_MESSAGES" >&5
d3988 1
a3988 1
#line 3962 "configure"
d3995 1
a3995 1
if { (eval echo configure:3969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4222 1
@


1.65
log
@
2000-03-13  Benjamin Kosnik  <bkoz@@cygnus.com>

	* acconfig.h: Add bits.
	* configure.in: Move AM_PROG_LIBTOOL up in file.
	Tweak cross compiling info.
	* configure: Regenerate.

	* mknumeric_limits (XCOMPILE): Echo compilation line for
	gen-num-limits.cc

	* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	* config/aix/ctype.cc (ctype): Tweak.
	* config/aix/bits/ctype_base.h (ctype_base): Tweak.
	* config/aix/bits/ctype_specializations.h: New file.
@
text
@d3464 3
a3466 2
        echo $ac_n "checking for solaris 2.5.1 <ctype>""... $ac_c" 1>&6
echo "configure:3466: checking for solaris 2.5.1 <ctype>" >&5
d3468 1
a3468 1
#line 3468 "configure"
d3478 1
a3478 1
if { (eval echo configure:3478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3494 1
d3496 3
a3498 2
        echo $ac_n "checking for solaris 2.6 or 2.7 <ctype>""... $ac_c" 1>&6
echo "configure:3496: checking for solaris 2.6 or 2.7 <ctype>" >&5
d3500 1
a3500 1
#line 3498 "configure"
d3511 1
a3511 1
if { (eval echo configure:3509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3526 1
a3526 1
echo "configure:3524: checking   for version" >&5
d3535 1
a3535 1
#line 3533 "configure"
d3542 1
a3542 1
if { (eval echo configure:3540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3570 1
d3572 3
a3574 2
        echo $ac_n "checking for aix <ctype>""... $ac_c" 1>&6
echo "configure:3570: checking for aix <ctype>" >&5
d3576 1
a3576 1
#line 3572 "configure"
d3587 1
a3587 1
if { (eval echo configure:3583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3603 1
d3605 3
a3607 2
        echo $ac_n "checking for newlib <ctype>""... $ac_c" 1>&6
echo "configure:3601: checking for newlib <ctype>" >&5
d3609 1
a3609 1
#line 3603 "configure"
d3619 1
a3619 1
if { (eval echo configure:3613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3635 1
d3653 1
a3653 1
echo "configure:3646: checking for $ac_hdr" >&5
d3658 1
a3658 1
#line 3651 "configure"
d3663 1
a3663 1
{ (eval echo configure:3656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3692 1
a3692 1
echo "configure:3685: checking for $ac_func" >&5
d3697 1
a3697 1
#line 3690 "configure"
d3720 1
a3720 1
if { (eval echo configure:3713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3745 1
a3745 1
echo "configure:3738: checking for working mmap" >&5
d3753 1
a3753 1
#line 3746 "configure"
d3893 1
a3893 1
if { (eval echo configure:3886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3956 1
a3956 1
echo "configure:3949: checking for LC_MESSAGES" >&5
d3961 1
a3961 1
#line 3954 "configure"
d3968 1
a3968 1
if { (eval echo configure:3961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.64
log
@
2000-03-13  Benjamin Kosnik  <bkoz@@cygnus.com>

	* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	* config/aix/ctype.cc (ctype): Tweak.
	* config/aix/bits/ctype_base.h (ctype_base): Tweak.
	* config/aix/bits/ctype_specializations.h: New file.
@
text
@d25 10
a48 10
ac_help="$ac_help
  --enable-shared[=PKGS]  build shared libraries [default=yes]"
ac_help="$ac_help
  --enable-static[=PKGS]  build static libraries [default=yes]"
ac_help="$ac_help
  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
ac_help="$ac_help
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
ac_help="$ac_help
  --disable-libtool-lock  avoid locking (might break parallel builds)"
d1582 19
a1600 13



# Check for c++ or library specific bits that don't require linking.
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1588: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
fi
if test -z "$CPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1602 1
a1602 67
    # This must be in double quotes, not single quotes, because CPP may get
  # substituted into the Makefile and "${CC-cc}" will confuse make.
  CPP="${CC-cc} -E"
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp.
  cat > conftest.$ac_ext <<EOF
#line 1603 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -E -traditional-cpp"
  cat > conftest.$ac_ext <<EOF
#line 1620 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -nologo -E"
  cat > conftest.$ac_ext <<EOF
#line 1637 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP=/lib/cpp
fi
rm -f conftest*
fi
rm -f conftest*
fi
rm -f conftest*
  ac_cv_prog_CPP="$CPP"
fi
  CPP="$ac_cv_prog_CPP"
else
  ac_cv_prog_CPP="$CPP"
a1603 1
echo "$ac_t""$CPP" 1>&6
d1605 19
a1623 16

  echo $ac_n "checking for g++ that will successfullly compile this code""... $ac_c" 1>&6
echo "configure:1669: checking for g++ that will successfullly compile this code" >&5
  cat > conftest.$ac_ext <<EOF
#line 1671 "configure"
#include "confdefs.h"

  #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) 
    ok
  #endif
  
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "ok" >/dev/null 2>&1; then
  rm -rf conftest*
  gpp_satisfactory=yes
d1625 1
a1625 2
  rm -rf conftest*
  { echo "configure: error: "please upgrade to gcc-2.95 or above"" 1>&2; exit 1; }
a1626 1
rm -f conftest*
d1628 19
a1646 17
  echo "$ac_t""$gpp_satisfactory" 1>&6

  echo $ac_n "checking for g++ that supports new inlining mechanism""... $ac_c" 1>&6
echo "configure:1692: checking for g++ that supports new inlining mechanism" >&5
  cat > conftest.$ac_ext <<EOF
#line 1694 "configure"
#include "confdefs.h"

  #if  __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 95)
    ok
  #endif
  
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "ok" >/dev/null 2>&1; then
  rm -rf conftest*
  OPTLEVEL='-O2'
d1648 1
a1648 2
  rm -rf conftest*
  OPTLEVEL=
a1649 1
rm -f conftest*
d1651 5
a1655 12
  echo "$ac_t""$OPTLEVEL" 1>&6
  


# Check for available headers.
for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
machine/param.h sys/machine.h fp.h locale.h float.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1722: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
d1658 2
a1659 11
  cat > conftest.$ac_ext <<EOF
#line 1727 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
d1661 11
a1671 5
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
a1672 1
rm -f conftest*
d1674 3
a1676 7
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
a1679 1
done
d1681 7
d1689 73
a1761 9
# Enable all the crazy c++ stuff.
# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then
  enableval="$enable_debug"
  case "$enableval" in
 yes) enable_debug=yes ;;
 no)  enable_debug=no ;;
 *)   { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
 esac
d1763 2
a1764 1
  enable_debug=no
a1765 6
case "$enable_debug" in
    yes)  DEBUGFLAGS='-ggdb -O0'
          ;;
    no)   DEBUGFLAGS='-g'
          ;;
esac
d1767 35
d1803 2
d1806 17
a1822 8
      echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
echo "configure:1781: checking for cstdio to use" >&5
  # Check whether --enable-cstdio or --disable-cstdio was given.
if test "${enable_cstdio+set}" = set; then
  enableval="$enable_cstdio"
  if test x$enable_cstdio = xno; then
    enable_cstdio=libio
  fi
d1824 1
a1824 1
  enable_cstdio=libio
d1828 22
a1849 1
  enable_cstdio_flag=$enable_cstdio
d1851 21
a1871 6
    case x${enable_cstdio_flag} in
	xlibio | x | xno | xnone | xyes)
		# default
		CSTDIO_H=c_io_libio.h
		CSTDIO_CC=c_io_libio.cc
 		echo "$ac_t""libio" 1>&6
d1873 7
a1879 5
		# see if we are on a system with libio native (ie, linux)
  		ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for libio.h""... $ac_c" 1>&6
echo "configure:1805: checking for libio.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
d1883 1
a1883 1
#line 1810 "configure"
d1885 4
a1888 1
#include <libio.h>
d1890 1
a1890 4
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
d1892 1
a1892 1
  eval "ac_cv_header_$ac_safe=yes"
a1893 1
  echo "$ac_err" >&5
d1897 1
a1897 1
  eval "ac_cv_header_$ac_safe=no"
a1900 7
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  has_libio=yes
else
  echo "$ac_t""no" 1>&6
has_libio=no
fi
d1902 9
a1910 13
  		if test $has_libio = "yes"; then
   		  BUILD_LIBIO_INCLUDE=
		  need_libio=no
  		else
   		  BUILD_LIBIO_INCLUDE='-I../libio'
		  need_libio=yes
  		fi
  		
		;;
        xwince)
                CSTDIO_H=c_io_wince.h
                CSTDIO_CC=c_io_wince.cc
                echo "$ac_t""wince" 1>&6
a1911 12
                need_libio=no
                BUILD_LIBIO_INCLUDE=
                
                ;;
	*)
		echo "$enable_cstdio is an unknown io package" 1>&2
		exit 1
		;;
  esac
  
  
  
d1913 38
a1950 3
if test "$need_libio" = yes; then
  GLIBCPP_NEED_LIBIO_TRUE=
  GLIBCPP_NEED_LIBIO_FALSE='#'
d1952 6
a1957 2
  GLIBCPP_NEED_LIBIO_TRUE='#'
  GLIBCPP_NEED_LIBIO_FALSE=
d1959 1
a1960 15
    # Check whether --enable-long-long or --disable-long-long was given.
if test "${enable_long_long+set}" = set; then
  enableval="$enable_long_long"
    case "$enableval" in
   yes) enable_long_long=yes ;;
   no)  enable_long_long=no ;;
   *)   { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
   esac
else
  enable_long_long=no
fi
    case "$enable_long_long" in
    yes)  cat >> confdefs.h <<\EOF
#define _GLIBCPP_USE_LONG_LONG 1
EOF
d1962 8
a1969 2
          ;;
  esac
d1971 4
a1974 8
# Check whether --enable-namespaces or --disable-namespaces was given.
if test "${enable_namespaces+set}" = set; then
  enableval="$enable_namespaces"
  case "$enableval" in
 yes) enable_namespaces=yes ;;
 no)  enable_namespaces=no ;;
 *)   { echo "configure: error: Unknown argument to enable/disable namespaces" 1>&2; exit 1; } ;;
 esac
d1976 2
a1977 1
  enable_namespaces=no
a1978 5
case "$enable_namespaces" in
    yes)  NAMESPACES='-fhonor-std'
          cat >> confdefs.h <<\EOF
#define _GLIBCPP_USE_NAMESPACES 1
EOF
a1979 4
          ;;
    no)   NAMESPACES='-fno-honor-std'
          ;;
esac
d1981 2
d1984 2
d1987 3
a1989 11
      echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
echo "configure:1916: checking for threads package to use" >&5
  # Check whether --enable-threads or --disable-threads was given.
if test "${enable_threads+set}" = set; then
  enableval="$enable_threads"
  if test x$enable_threads = xno; then
    enable_threads=''
  fi
else
  enable_threads=''
fi
a1991 1
  enable_threads_flag=$enable_threads
a1992 18
    case x${enable_threads_flag} in
	x | xno | xnone)
		# No threads
		target_thread_file='single'
		;;
	xyes)
		# default
		target_thread_file=''
		;;
	xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
	xsolaris | xwin32 | xdce | xvxworks)
		target_thread_file=$enable_threads_flag
		;;
	*)
		echo "$enable_threads is an unknown thread package" 1>&2
		exit 1
		;;
  esac
a1993 19
    case "$target_thread_file" in
    no | none | single)
      THREADS=none
      ;;
    posix | pthreads)
      THREADS=posix
      case "$host" in
        *-*-linux*)
	;;
      esac
      ;;
    decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
      { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
      ;;
    *)
      { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
      ;;
  esac
  echo "$ac_t""$THREADS" 1>&6
d1995 9
a2003 12
  THREADLIBS=
  THREADINCS=
  THREADDEPS=
  THREADOBJS=
  THREADH=
  THREADSPEC=
  case "$THREADS" in
    posix)
      ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
echo "configure:1979: checking for pthread.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
d2006 22
d2029 1
a2029 1
#line 1984 "configure"
d2031 2
a2032 1
#include <pthread.h>
d2035 1
a2035 1
{ (eval echo configure:1989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2038 5
d2044 12
a2055 1
  eval "ac_cv_header_$ac_safe=yes"
d2061 5
a2065 1
  eval "ac_cv_header_$ac_safe=no"
d2068 1
d2070 1
a2070 3
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  have_pthread_h=yes
d2072 1
a2072 2
  echo "$ac_t""no" 1>&6
have_pthread_h=
d2074 8
d2083 3
a2085 12
      THREADLIBS=-lpthread
      THREADSPEC=-lpthread
                  THREADH=threads-posix.h
      ;;
    none)
                  THREADH=threads-no.h
      ;;
  esac
  
  
  
  
d2087 10
d2098 1
a2098 19
# Check whether --enable-libgcc-rebuild or --disable-libgcc-rebuild was given.
if test "${enable_libgcc_rebuild+set}" = set; then
  enableval="$enable_libgcc_rebuild"
  case "$enableval" in
 yes) { echo "configure: error: --enable-libgcc-rebuild needs a pathname" 1>&2; exit 1; } ;;
 no)  enable_libgcc_rebuild=no ;;
 *)   if test -d "$enableval" && test -d "${enableval}/gcc" && \
         test -d "${enableval}/libiberty"
      then
         enable_libgcc_rebuild="$enableval"
      else
         { echo "configure: error: "$enableval" does not appear to be the GCC objdir" 1>&2; exit 1; }
      fi
      ;;
 esac
else
  enable_libgcc_rebuild=no
fi
GCC_OBJDIR="$enable_libgcc_rebuild"
d2100 5
d2106 3
a2108 20

if test -n "$with_cross_host"; then

  # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
  # may not work correctly, because the compiler may not be able to
  # link executables.

  xcompiling=1
  NATIVE=no
  # If Canadian cross, then don't pick up tools from the build
  # directory.
  if test "$build" != "$with_cross_host"; then
    CANADIAN=yes
    NULL_TARGET=yes
    CXX="${target_alias}-$CXX"
  else
    CANADIAN=no
    NULL_TARGET=no
  fi

a2109 7

  case "$target_alias" in
    *-wince-*)
	# Configure for Microsoft Windows CE, or whatever they are
	# currently calling it.
    	cat >> confdefs.h <<\EOF
#define HAVE__FINITE 1
d2111 9
d2121 2
a2122 3
    	cat >> confdefs.h <<\EOF
#define HAVE__ISNAN 1
EOF
a2123 3
    	cat >> confdefs.h <<\EOF
#define HAVE__COPYSIGN 1
EOF
d2125 14
a2138 2
    	cat >> confdefs.h <<\EOF
#define HAVE__FPCLASS 1
d2140 20
a2159 7


    	ctype_include_dir="config/wince"
    	

    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_NEED_MBSTATE_T 1
d2161 5
d2168 18
a2185 7
    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
EOF

    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_COMPLEX 1
EOF
a2186 8
    	# need to ceck for faster f versions of math functions, ie sinf?
	;;
    *)
	# We assume newlib.  This lets us hard-code the functions we know
	# we'll have.
    	cat >> confdefs.h <<\EOF
#define HAVE_FINITE 1
EOF
a2187 3
    	cat >> confdefs.h <<\EOF
#define HAVE_ISNAN 1
EOF
d2189 11
a2199 3
    	cat >> confdefs.h <<\EOF
#define HAVE_ISNANF 1
EOF
a2200 3
    	cat >> confdefs.h <<\EOF
#define HAVE_ISINF 1
EOF
d2202 1
a2202 3
    	cat >> confdefs.h <<\EOF
#define HAVE_ISINFF 1
EOF
d2204 6
d2211 5
a2215 35
    	ctype_include_dir="config/newlib"
    	

    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_NEED_MBSTATE_T 1
EOF


    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
EOF

    	cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_COMPLEX 1
EOF

    	# need to ceck for faster f versions of math functions, ie sinf?
	;;
  esac
else

  # We are being configured natively. We can do more elaborate tests
  # that include AC_TRY_COMPILE now, as the linker is assumed to be
  # working.

  xcompiling=0
  NATIVE=yes
  CANADIAN=no
  NULL_TARGET=no

  
  
  echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
echo "configure:2164: checking for GNU C++ __complex__ support" >&5
  if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
d2218 2
a2219 25
  
    
    ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

    rm -f conftest.h
    cat > conftest.h <<EOB
      //
      // Check for buggy __complex__ that will cause ICE in gcc-2.95.x when
      // using the library, unless we define the default copy ctor in the
      // specializations of complex<>.
      //
      struct dcomplex { __complex__ double x; };
      dcomplex f(const dcomplex& x) { return dcomplex(x); }
      int main() {
	dcomplex x;
	f(x);
      }
EOB
    cat > conftest.$ac_ext <<EOF
#line 2192 "configure"
d2221 1
a2221 4
#include "conftest.h"
int main() {

; return 0; }
d2223 4
a2226 1
if { (eval echo configure:2199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2228 1
a2228 1
  glibcpp_cv_complex=ok
d2230 1
d2234 1
a2234 2
  glibcpp_cv_complex=buggy
    
d2237 7
a2243 8
    ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

  
d2246 13
a2258 7
  echo "$ac_t""$glibcpp_cv_complex" 1>&6
  if test $glibcpp_cv_complex = buggy; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_COMPLEX 1
EOF

  fi
d2260 9
a2270 5
  echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
echo "configure:2231: checking for GNU C++ __complex__ float support" >&5
  if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
a2271 7
    
    ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
d2273 3
a2275 30
    rm -f conftest.h
    cat > conftest.h <<EOB
      //
      // Check for buggy __complex__ that causes ICE in most versions of egcs
      // and gcc-2.95.x on certain platforms (eg., x86-win32).
      //
      // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
      // more info on the bug itself.
      //
      struct
      float_complex
      {
       __complex__ float m_value;
       float_complex (float = 0.0f, float = 0.0f);
       float_complex (__complex__ float val) : m_value (val) {}
       float_complex foo (const float_complex &val)
         { return float_complex (~val.m_value); }
      };
EOB
    cat > conftest.$ac_ext <<EOF
#line 2264 "configure"
#include "confdefs.h"
#include "conftest.h"
int main() {

; return 0; }
EOF
if { (eval echo configure:2271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  glibcpp_cv_float_complex=ok
d2277 2
a2278 5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  glibcpp_cv_float_complex=buggy
    
a2279 7
rm -f conftest*
    ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d2281 10
a2290 1
  
d2292 3
a2294 5

  echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
  if test $glibcpp_cv_float_complex = buggy; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
d2297 2
a2298 1
  fi
d2300 8
a2307 14
  
    echo $ac_n "checking for __builtin_sinf""... $ac_c" 1>&6
echo "configure:2302: checking for __builtin_sinf" >&5
  cat > conftest.$ac_ext <<EOF
#line 2304 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
float foo(void) { __builtin_sinf(0.0); }
; return 0; }
EOF
if { (eval echo configure:2311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  use_builtin_sinf=yes
d2309 1
a2309 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  use_builtin_sinf=no
d2311 4
a2314 5
rm -f conftest*
  echo "$ac_t""$use_builtin_sinf" 1>&6
  if test $use_builtin_sinf = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_BUILTIN_SINF 1
d2317 14
a2331 14

  echo $ac_n "checking for __builtin_cosf""... $ac_c" 1>&6
echo "configure:2330: checking for __builtin_cosf" >&5
  cat > conftest.$ac_ext <<EOF
#line 2332 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
float foo(void) { __builtin_cosf(0.0); }
; return 0; }
EOF
if { (eval echo configure:2339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  use_builtin_cosf=yes
d2333 1
a2333 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  use_builtin_cosf=no
a2334 6
rm -f conftest*
  echo "$ac_t""$use_builtin_cosf" 1>&6
  if test $use_builtin_cosf = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_BUILTIN_COSF 1
EOF
a2335 1
  fi
d2337 55
a2391 2
  echo $ac_n "checking for __builtin_fabsf""... $ac_c" 1>&6
echo "configure:2358: checking for __builtin_fabsf" >&5
d2393 1
a2393 1
#line 2360 "configure"
d2395 1
a2395 4
#include <math.h>
int main() {
float foo(void) { __builtin_fabsf(0.0); }
; return 0; }
d2397 4
a2400 1
if { (eval echo configure:2367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2402 1
a2402 1
  use_builtin_fabsf=yes
d2404 1
d2408 382
a2789 1
  use_builtin_fabsf=no
d2801 1
a2801 1
echo "configure:2386: checking for __builtin_sqrtf" >&5
d2803 1
a2803 1
#line 2388 "configure"
d2810 1
a2810 1
if { (eval echo configure:2395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2830 1
a2830 1
echo "configure:2415: checking for sin in -lm" >&5
d2838 1
a2838 1
#line 2423 "configure"
d2849 1
a2849 1
if { (eval echo configure:2434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2876 1
a2876 1
echo "configure:2461: checking for $ac_hdr" >&5
d2881 1
a2881 1
#line 2466 "configure"
d2886 1
a2886 1
{ (eval echo configure:2471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2918 1
a2918 1
echo "configure:2503: checking for $ac_func" >&5
d2923 1
a2923 1
#line 2508 "configure"
d2946 1
a2946 1
if { (eval echo configure:2531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2975 1
a2975 1
echo "configure:2560: checking for sinl" >&5
d2980 1
a2980 1
#line 2565 "configure"
d3003 1
a3003 1
if { (eval echo configure:2588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3022 1
a3022 1
echo "configure:2607: checking for $ac_func" >&5
d3027 1
a3027 1
#line 2612 "configure"
d3050 1
a3050 1
if { (eval echo configure:2635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3088 1
a3088 64
echo "configure:2673: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2678 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:2701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done


#Some runtimes have these functions with a preceding underscore. Please
# keep this sync'd with the one above. And if you add any new symbol,
# please add the corresponding block in the @@BOTTOM@@ section of
# acconfig.h.
for ac_func in _modf _isnan _isnanf _isnanl _isinf _isinff _isinfl _copysign \
_copysignl _cosf _coshf _logf _log10f _powf _sinf _sinhf _sqrtf _tanf _tanhf \
_strtof _strtold _fabsf _sincos _sincosf _sincosl _finite _finitef _qfinite \
_fpclass _qfpclass
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2736: checking for $ac_func" >&5
d3093 1
a3093 1
#line 2741 "configure"
d3104 10
a3113 137

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:2764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done


LIBS="$save_LIBS"

  
  ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
echo "configure:2794: checking for wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2799 "configure"
#include "confdefs.h"
#include <wchar.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  
    echo $ac_n "checking for native mbstate_t""... $ac_c" 1>&6
echo "configure:2822: checking for native mbstate_t" >&5
  cat > conftest.$ac_ext <<EOF
#line 2824 "configure"
#include "confdefs.h"
#include <wchar.h>
int main() {
mbstate_t teststate;
; return 0; }
EOF
if { (eval echo configure:2831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  use_native_mbstatet=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  use_native_mbstatet=no
fi
rm -f conftest*
  echo "$ac_t""$use_native_mbstatet" 1>&6
  if test $use_native_mbstatet = "no"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_NEED_MBSTATE_T 1
EOF

  fi
  
      echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
echo "configure:2850: checking for WCHAR_MIN and WCHAR_MAX" >&5
  cat > conftest.$ac_ext <<EOF
#line 2852 "configure"
#include "confdefs.h"
#include <wchar.h>
int main() {
int i = WCHAR_MIN; int j = WCHAR_MAX;
; return 0; }
EOF
if { (eval echo configure:2859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  has_wchar_minmax=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  has_wchar_minmax=no
fi
rm -f conftest*
  echo "$ac_t""$has_wchar_minmax" 1>&6
  if test $has_wchar_minmax = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_WCHAR_MIN_MAX 1
EOF

  fi
  
  # Test wchar.h for WEOF, which is what we use to determine whether
  # to specialize for wchar_t or not.
  echo $ac_n "checking for WEOF""... $ac_c" 1>&6
echo "configure:2880: checking for WEOF" >&5
  cat > conftest.$ac_ext <<EOF
#line 2882 "configure"
#include "confdefs.h"

    #include <wchar.h>
    #include <stddef.h>
int main() {
wint_t i = WEOF;
d3116 1
a3116 1
if { (eval echo configure:2891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3118 1
a3118 1
  has_weof=yes
d3123 1
a3123 1
  has_weof=no
d3126 14
a3139 1
  echo "$ac_t""$has_weof" 1>&6
d3141 8
a3148 1
    for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
d3151 1
a3151 1
echo "configure:2906: checking for $ac_func" >&5
d3156 1
a3156 1
#line 2911 "configure"
d3179 1
a3179 1
if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3199 1
LIBSTRINGOBJS="$LIBSTRINGOBJS ${ac_func}.lo"
d3204 1
a3205 11
  echo $ac_n "checking for wide character support""... $ac_c" 1>&6
echo "configure:2962: checking for wide character support" >&5
  if test $has_weof = "yes" && test $has_wchar_minmax = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_USE_WCHAR_T 1
EOF

    echo "$ac_t""ok" 1>&6
  else
    echo "$ac_t"""not specializing for wchar_t"" 1>&6
  fi
d3207 3
a3209 16
else
  echo "$ac_t""no" 1>&6

  echo "configure: warning: <wchar.h> not found" 1>&2
  cat >> confdefs.h <<\EOF
#define _GLIBCPP_NEED_MBSTATE_T 1
EOF

  
fi


  
  ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
echo "configure:2988: checking for ctype.h" >&5
d3214 1
a3214 1
#line 2993 "configure"
d3216 1
a3216 1
#include <ctype.h>
d3219 1
a3219 1
{ (eval echo configure:2998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3236 4
a3239 7
    
        ctype_default=yes

        echo $ac_n "checking for gnu-linux <ctype>""... $ac_c" 1>&6
echo "configure:3019: checking for gnu-linux <ctype>" >&5
    cat > conftest.$ac_ext <<EOF
#line 3021 "configure"
d3241 1
a3241 1
#include <ctype.h>
d3243 1
a3243 5
int
    foo (int a)
    { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
	+ _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
	+ __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
d3246 1
a3246 1
if { (eval echo configure:3032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3248 1
a3248 2
  \
    ctype_linux=yes
d3253 1
a3253 1
  ctype_linux=no
d3256 4
a3259 49
    echo "$ac_t""$ctype_linux" 1>&6
    if test $ctype_linux = "yes"; then
      ctype_include_dir="config/gnu-linux"
      ctype_default=no
    fi

        echo $ac_n "checking for solaris 2.5.1 <ctype>""... $ac_c" 1>&6
echo "configure:3050: checking for solaris 2.5.1 <ctype>" >&5
    cat > conftest.$ac_ext <<EOF
#line 3052 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
int
    foo (int a)
    { return _U + _L + _N + _S + _P + _C + _X + _B \
	+ __ctype[a];}
; return 0; }
EOF
if { (eval echo configure:3062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
    ctype_solaris25=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_solaris25=no
fi
rm -f conftest*
    echo "$ac_t""$ctype_solaris25" 1>&6
    if test $ctype_solaris25 = "yes"; then
      ctype_include_dir="config/solaris/solaris2.5"
      ctype_default=no
    fi

        echo $ac_n "checking for solaris 2.6 or 2.7 <ctype>""... $ac_c" 1>&6
echo "configure:3080: checking for solaris 2.6 or 2.7 <ctype>" >&5
    cat > conftest.$ac_ext <<EOF
#line 3082 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
int
    foo (int a)
    { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
	+ _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
	+ __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
; return 0; }
a3260 12
if { (eval echo configure:3093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
    ctype_solaris=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_solaris=no
fi
rm -f conftest*
    echo "$ac_t""$ctype_solaris" 1>&6
d3262 6
a3267 12
    if test $ctype_solaris = "yes"; then
      echo $ac_n "checking   for version""... $ac_c" 1>&6
echo "configure:3108: checking   for version" >&5
      ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
 
      cat > conftest.$ac_ext <<EOF
#line 3117 "configure"
d3269 1
a3269 1
#include <ctype.h>
d3271 1
a3271 1
typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
d3274 1
a3274 1
if { (eval echo configure:3124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3276 1
a3276 94
  \
      ctype_solaris26=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_solaris26=no
fi
rm -f conftest*
      ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

      if test $ctype_solaris26 = "yes"; then
        ctype_include_dir="config/solaris/solaris2.6"
        echo "$ac_t"""solaris2.6"" 1>&6
        ctype_default=no
      else
        ctype_include_dir="config/solaris/solaris2.7"
        echo "$ac_t"""solaris2.7"" 1>&6
        ctype_default=no
      fi
    fi

        echo $ac_n "checking for aix <ctype>""... $ac_c" 1>&6
echo "configure:3154: checking for aix <ctype>" >&5
    cat > conftest.$ac_ext <<EOF
#line 3156 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
int
    foo (int a)
    { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
	+ _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
	+ _VALC('a') + _IS('c', 0);}
; return 0; }
EOF
if { (eval echo configure:3167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
    ctype_aix=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_aix=no
fi
rm -f conftest*
    echo "$ac_t""$ctype_aix" 1>&6
    if test $ctype_aix = "yes"; then
      ctype_include_dir="config/aix"
      ctype_default=no
    fi

        echo $ac_n "checking for newlib <ctype>""... $ac_c" 1>&6
echo "configure:3185: checking for newlib <ctype>" >&5
    cat > conftest.$ac_ext <<EOF
#line 3187 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
int
    foo (int a)
    { return _U + _L + _N + _S + _P + _C + _X + _B \
	+ _ctype_[a];}
; return 0; }
EOF
if { (eval echo configure:3197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
    ctype_newlib=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_newlib=no
fi
rm -f conftest*
    echo "$ac_t""$ctype_newlib" 1>&6
    if test $ctype_newlib = "yes"; then
      ctype_include_dir="config/newlib"
      ctype_default=no
    fi

    if test $ctype_default = "yes"; then
      ctype_include_dir="config/default"
      echo "configure: warning: "Using default ctype headers."" 1>&2
    fi
    
  
d3278 4
a3281 1
  echo "$ac_t""no" 1>&6
d3283 6
d3290 6
a3295 10


  for ac_hdr in unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3230: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
d3297 1
a3297 1
#line 3235 "configure"
d3299 6
a3304 1
#include <$ac_hdr>
d3306 1
a3306 4
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
d3308 1
a3308 1
  eval "ac_cv_header_$ac_safe=yes"
a3309 1
  echo "$ac_err" >&5
d3313 1
a3313 1
  eval "ac_cv_header_$ac_safe=no"
d3316 1
a3316 12
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done
d3318 1
a3318 1
for ac_func in getpagesize
d3321 1
a3321 1
echo "configure:3269: checking for $ac_func" >&5
d3326 1
a3326 1
#line 3274 "configure"
d3349 1
a3349 1
if { (eval echo configure:3297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3370 1
a3373 11
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
echo "configure:3322: checking for working mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_func_mmap_fixed_mapped=no
else
  cat > conftest.$ac_ext <<EOF
#line 3330 "configure"
#include "confdefs.h"
a3374 16
/* Thanks to Mike Haertel and Jim Avera for this test.
   Here is a matrix of mmap possibilities:
	mmap private not fixed
	mmap private fixed at somewhere currently unmapped
	mmap private fixed at somewhere already mapped
	mmap shared not fixed
	mmap shared fixed at somewhere currently unmapped
	mmap shared fixed at somewhere already mapped
   For private mappings, we should verify that changes cannot be read()
   back from the file, nor mmap's back from the file at a different
   address.  (There have been systems where private was not correctly
   implemented like the infamous i386 svr4.0, and systems where the
   VM page cache was not coherent with the filesystem buffer cache
   like early versions of FreeBSD and possibly contemporary NetBSD.)
   For shared mappings, we should conversely verify that changes get
   propogated back to all the places they're supposed to be.
d3376 6
a3381 7
   Grep wants private fixed already mapped.
   The main things grep needs to know about mmap are:
   * does it exist and is it safe to write into the mmap'd area
   * how to use it (BSD variants)  */
#include <sys/types.h>
#include <fcntl.h>
#include <sys/mman.h>
d3383 7
a3389 5
/* This mess was copied from the GNU getpagesize.h.  */
#ifndef HAVE_GETPAGESIZE
# ifdef HAVE_UNISTD_H
#  include <unistd.h>
# endif
d3391 4
a3394 4
/* Assume that all systems that can run configure have sys/param.h.  */
# ifndef HAVE_SYS_PARAM_H
#  define HAVE_SYS_PARAM_H 1
# endif
d3396 2
a3397 27
# ifdef _SC_PAGESIZE
#  define getpagesize() sysconf(_SC_PAGESIZE)
# else /* no _SC_PAGESIZE */
#  ifdef HAVE_SYS_PARAM_H
#   include <sys/param.h>
#   ifdef EXEC_PAGESIZE
#    define getpagesize() EXEC_PAGESIZE
#   else /* no EXEC_PAGESIZE */
#    ifdef NBPG
#     define getpagesize() NBPG * CLSIZE
#     ifndef CLSIZE
#      define CLSIZE 1
#     endif /* no CLSIZE */
#    else /* no NBPG */
#     ifdef NBPC
#      define getpagesize() NBPC
#     else /* no NBPC */
#      ifdef PAGESIZE
#       define getpagesize() PAGESIZE
#      endif /* PAGESIZE */
#     endif /* no NBPC */
#    endif /* no NBPG */
#   endif /* no EXEC_PAGESIZE */
#  else /* no HAVE_SYS_PARAM_H */
#   define getpagesize() 8192	/* punt totally */
#  endif /* no HAVE_SYS_PARAM_H */
# endif /* no _SC_PAGESIZE */
a3398 1
#endif /* no HAVE_GETPAGESIZE */
d3400 32
a3431 5
#ifdef __cplusplus
extern "C" { void *malloc(unsigned); }
#else
char *malloc();
#endif
d3433 7
d3441 22
a3462 62
main()
{
	char *data, *data2, *data3;
	int i, pagesize;
	int fd;

	pagesize = getpagesize();

	/*
	 * First, make a file with some known garbage in it.
	 */
	data = malloc(pagesize);
	if (!data)
		exit(1);
	for (i = 0; i < pagesize; ++i)
		*(data + i) = rand();
	umask(0);
	fd = creat("conftestmmap", 0600);
	if (fd < 0)
		exit(1);
	if (write(fd, data, pagesize) != pagesize)
		exit(1);
	close(fd);

	/*
	 * Next, try to mmap the file at a fixed address which
	 * already has something else allocated at it.  If we can,
	 * also make sure that we see the same garbage.
	 */
	fd = open("conftestmmap", O_RDWR);
	if (fd < 0)
		exit(1);
	data2 = malloc(2 * pagesize);
	if (!data2)
		exit(1);
	data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
	if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
	    MAP_PRIVATE | MAP_FIXED, fd, 0L))
		exit(1);
	for (i = 0; i < pagesize; ++i)
		if (*(data + i) != *(data2 + i))
			exit(1);

	/*
	 * Finally, make sure that changes to the mapped area
	 * do not percolate back to the file as seen by read().
	 * (This is a bug on some variants of i386 svr4.0.)
	 */
	for (i = 0; i < pagesize; ++i)
		*(data2 + i) = *(data2 + i) + 1;
	data3 = malloc(pagesize);
	if (!data3)
		exit(1);
	if (read(fd, data3, pagesize) != pagesize)
		exit(1);
	for (i = 0; i < pagesize; ++i)
		if (*(data + i) != *(data3 + i))
			exit(1);
	close(fd);
	unlink("conftestmmap");
	exit(0);
}
d3464 12
d3477 4
a3480 3
if { (eval echo configure:3470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_func_mmap_fixed_mapped=yes
d3484 2
a3485 4
  rm -fr conftest*
  ac_cv_func_mmap_fixed_mapped=no
fi
rm -fr conftest*
d3487 6
d3494 13
a3506 6
fi

echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
if test $ac_cv_func_mmap_fixed_mapped = yes; then
  cat >> confdefs.h <<\EOF
#define HAVE_MMAP 1
d3508 4
a3511 10

fi

fi



if test "$CANADIAN" = yes; then
  CANADIAN_TRUE=
  CANADIAN_FALSE='#'
d3513 4
a3516 2
  CANADIAN_TRUE='#'
  CANADIAN_FALSE=
d3518 2
d3521 22
a3542 4

if test "$NULL_TARGET" = yes; then
  NULL_TARGET_TRUE=
  NULL_TARGET_FALSE='#'
d3544 4
a3547 2
  NULL_TARGET_TRUE='#'
  NULL_TARGET_FALSE=
d3549 7
d3557 10
d3568 18
a3585 3
if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
  NATIVE_TRUE=
  NATIVE_FALSE='#'
d3587 4
a3590 2
  NATIVE_TRUE='#'
  NATIVE_FALSE=
d3592 6
d3599 17
a3615 4

if test -z "$with_cross_host"; then
  USE_LIBDIR_TRUE=
  USE_LIBDIR_FALSE='#'
d3617 4
a3620 2
  USE_LIBDIR_TRUE='#'
  USE_LIBDIR_FALSE=
d3622 5
a3626 14
# Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
  enableval="$enable_shared"
  p=${PACKAGE-default}
case "$enableval" in
yes) enable_shared=yes ;;
no) enable_shared=no ;;
*)
  enable_shared=no
  # Look at the argument we got.  We use all the common list separators.
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  for pkg in $enableval; do
    if test "X$pkg" = "X$p"; then
      enable_shared=yes
a3627 7
  done
  IFS="$ac_save_ifs"
  ;;
esac
else
  enable_shared=yes
fi
d3629 3
a3631 14
# Check whether --enable-static or --disable-static was given.
if test "${enable_static+set}" = set; then
  enableval="$enable_static"
  p=${PACKAGE-default}
case "$enableval" in
yes) enable_static=yes ;;
no) enable_static=no ;;
*)
  enable_static=no
  # Look at the argument we got.  We use all the common list separators.
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  for pkg in $enableval; do
    if test "X$pkg" = "X$p"; then
      enable_static=yes
d3633 2
a3634 4
  done
  IFS="$ac_save_ifs"
  ;;
esac
d3636 1
a3636 1
  enable_static=yes
a3638 22
# Check whether --enable-fast-install or --disable-fast-install was given.
if test "${enable_fast_install+set}" = set; then
  enableval="$enable_fast_install"
  p=${PACKAGE-default}
case "$enableval" in
yes) enable_fast_install=yes ;;
no) enable_fast_install=no ;;
*)
  enable_fast_install=no
  # Look at the argument we got.  We use all the common list separators.
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  for pkg in $enableval; do
    if test "X$pkg" = "X$p"; then
      enable_fast_install=yes
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
else
  enable_fast_install=yes
fi
d3640 7
a3646 5
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:3602: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
d3649 11
a3659 2
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
d3661 5
a3665 11
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
d3667 1
d3669 7
a3675 3
RANLIB="$ac_cv_prog_RANLIB"
if test -n "$RANLIB"; then
  echo "$ac_t""$RANLIB" 1>&6
d3679 1
d3681 6
a3686 4
# Check whether --with-gnu-ld or --without-gnu-ld was given.
if test "${with_gnu_ld+set}" = set; then
  withval="$with_gnu_ld"
  test "$withval" = no || with_gnu_ld=yes
d3688 21
a3708 2
  with_gnu_ld=no
fi
d3710 5
a3714 29
ac_prog=ld
if test "$ac_cv_prog_gcc" = yes; then
  # Check if gcc -print-prog-name=ld gives a path.
  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
echo "configure:3641: checking for ld used by GCC" >&5
  ac_prog=`($CC -print-prog-name=ld) 2>&5`
  case "$ac_prog" in
    # Accept absolute paths.
    [\\/]* | [A-Za-z]:[\\/]*)
      re_direlt='/[^/][^/]*/\.\./'
      # Canonicalize the path of ld
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
      done
      test -z "$LD" && LD="$ac_prog"
      ;;
  "")
    # If it fails, then pretend we aren't using GCC.
    ac_prog=ld
    ;;
  *)
    # If it is relative, then search for the first ld in PATH.
    with_gnu_ld=unknown
    ;;
  esac
elif test "$with_gnu_ld" = yes; then
  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
echo "configure:3665: checking for GNU ld" >&5
d3716 4
a3719 25
  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
echo "configure:3668: checking for non-GNU ld" >&5
fi
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -z "$LD"; then
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
      ac_cv_path_LD="$ac_dir/$ac_prog"
      # Check to see if the program is GNU ld.  I'd rather use --version,
      # but apparently some GNU ld's only accept -v.
      # Break only if it was the GNU/non-GNU ld that we prefer.
      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
	test "$with_gnu_ld" != no && break
      else
	test "$with_gnu_ld" != yes && break
      fi
    fi
  done
  IFS="$ac_save_ifs"
else
  ac_cv_path_LD="$LD" # Let the user override the test with a path.
d3721 1
d3724 7
a3730 3
LD="$ac_cv_path_LD"
if test -n "$LD"; then
  echo "$ac_t""$LD" 1>&6
d3734 5
a3738 4
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
echo "configure:3703: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
d3741 2
a3742 3
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  ac_cv_prog_gnu_ld=yes
d3744 3
a3746 3
  ac_cv_prog_gnu_ld=no
fi
fi
d3748 16
a3763 1
echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
d3765 7
d3773 5
a3777 32
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
echo "configure:3719: checking for BSD-compatible nm" >&5
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$NM"; then
  # Let the user override the test.
  ac_cv_path_NM="$NM"
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
      # Check to see if the nm accepts a BSD-compat flag.
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
      #   nm: unknown option "B" ignored
      if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
	ac_cv_path_NM="$ac_dir/nm -B"
	break
      elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
	ac_cv_path_NM="$ac_dir/nm -p"
	break
      else
	ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
	continue # so that we can try to find one that supports BSD flags
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
fi
fi
d3779 4
a3782 2
NM="$ac_cv_path_NM"
echo "$ac_t""$NM" 1>&6
d3784 27
a3810 20
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
echo "configure:3755: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  rm -f conftestdata
if ln -s X conftestdata 2>/dev/null
then
  rm -f conftestdata
  ac_cv_prog_LN_S="ln -s"
else
  ac_cv_prog_LN_S=ln
fi
fi
LN_S="$ac_cv_prog_LN_S"
if test "$ac_cv_prog_LN_S" = "ln -s"; then
  echo "$ac_t""yes" 1>&6
else
  echo "$ac_t""no" 1>&6
fi
d3812 1
d3814 5
a3818 4
case "$target" in
NONE) lt_target="$host" ;;
*) lt_target="$target" ;;
esac
d3820 6
a3825 8
# Check for any special flags to pass to ltconfig.
libtool_flags="--cache-file=$cache_file"
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
libtool_flags="$libtool_flags --enable-dlopen"
d3827 1
a3827 5
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then
  enableval="$enable_libtool_lock"
  :
fi
d3829 15
a3843 2
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
d3845 18
a3862 21
# Some flags need to be propagated to the compiler or linker for good
# libtool support.
case "$lt_target" in
*-*-irix6*)
  # Find out which ABI we are using.
  echo '#line 3804 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    case "`/usr/bin/file conftest.o`" in
    *32-bit*)
      LD="${LD-ld} -32"
      ;;
    *N32*)
      LD="${LD-ld} -n32"
      ;;
    *64-bit*)
      LD="${LD-ld} -64"
      ;;
    esac
  fi
  rm -rf conftest*
  ;;
d3864 19
a3882 14
*-*-sco3.2v5*)
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  SAVE_CFLAGS="$CFLAGS"
  CFLAGS="$CFLAGS -belf"
  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
echo "configure:3826: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3831 "configure"
#include "confdefs.h"

int main() {
a3883 1
; return 0; }
d3885 3
a3887 3
if { (eval echo configure:3838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  lt_cv_cc_needs_belf=yes
d3891 4
a3894 2
  rm -rf conftest*
  lt_cv_cc_needs_belf=no
d3896 1
a3896 1
rm -f conftest*
d3899 7
a3905 6
echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    CFLAGS="$SAVE_CFLAGS"
  fi
  ;;
d3907 1
a3908 1
esac
d3911 3
a3913 38
# Save cache, so that ltconfig can load it
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
  *ac_space=\ *)
    # `set' does not quote correctly, so add quotes (double-quote substitution
    # turns \\\\ into \\, and sed turns \\ into \).
    sed -n \
      -e "s/'/'\\\\''/g" \
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    ;;
  *)
    # `set' quotes correctly as required by POSIX, so do not add quotes.
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    ;;
  esac >> confcache
if cmp -s $cache_file confcache; then
  :
d3915 2
a3916 6
  if test -w $cache_file; then
    echo "updating cache $cache_file"
    cat confcache > $cache_file
  else
    echo "not updating unwritable cache $cache_file"
  fi
a3917 1
rm -f confcache
d3920 3
a3922 13
# Actually configure libtool.  ac_aux_dir is where install-sh is found.
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }

# Reload cache, that may have been modified by ltconfig
if test -r "$cache_file"; then
  echo "loading cache $cache_file"
  . $cache_file
d3924 2
a3925 2
  echo "creating cache $cache_file"
  > $cache_file
d3929 7
a3935 5
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"

# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
a3936 3
# Redirect the config.log output again, so that the ltconfig log is not
# clobbered by the next message.
exec 5>>./config.log
d3938 7
d3948 1
a3948 1
echo "configure:3942: checking for LC_MESSAGES" >&5
d3953 1
a3953 1
#line 3947 "configure"
d3960 1
a3960 1
if { (eval echo configure:3954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4183 2
a4211 2
s%@@LN_S@@%$LN_S%g
s%@@LIBTOOL@@%$LIBTOOL%g
@


1.63
log
@
2000-03-08  Benjamin Kosnik  <bkoz@@gnu.org>

	Add Solaris 2.5.1 support.
	* config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
	* config/solaris/solaris2.5/ctype.cc: Fixup.
	* config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
	* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	* config/default/ctype.cc (ctype): Fixup.
@
text
@d3152 31
d3184 1
a3184 1
echo "configure:3154: checking for newlib <ctype>" >&5
d3186 1
a3186 1
#line 3156 "configure"
d3196 1
a3196 1
if { (eval echo configure:3166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3229 1
a3229 1
echo "configure:3199: checking for $ac_hdr" >&5
d3234 1
a3234 1
#line 3204 "configure"
d3239 1
a3239 1
{ (eval echo configure:3209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3268 1
a3268 1
echo "configure:3238: checking for $ac_func" >&5
d3273 1
a3273 1
#line 3243 "configure"
d3296 1
a3296 1
if { (eval echo configure:3266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3321 1
a3321 1
echo "configure:3291: checking for working mmap" >&5
d3329 1
a3329 1
#line 3299 "configure"
d3469 1
a3469 1
if { (eval echo configure:3439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3601 1
a3601 1
echo "configure:3571: checking for $ac_word" >&5
d3640 1
a3640 1
echo "configure:3610: checking for ld used by GCC" >&5
d3664 1
a3664 1
echo "configure:3634: checking for GNU ld" >&5
d3667 1
a3667 1
echo "configure:3637: checking for non-GNU ld" >&5
d3702 1
a3702 1
echo "configure:3672: checking if the linker ($LD) is GNU ld" >&5
d3718 1
a3718 1
echo "configure:3688: checking for BSD-compatible nm" >&5
d3754 1
a3754 1
echo "configure:3724: checking whether ln -s works" >&5
d3803 2
a3804 2
  echo '#line 3773 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3825 1
a3825 1
echo "configure:3795: checking whether the C compiler needs -belf" >&5
d3830 1
a3830 1
#line 3800 "configure"
d3837 1
a3837 1
if { (eval echo configure:3807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3941 1
a3941 1
echo "configure:3911: checking for LC_MESSAGES" >&5
d3946 1
a3946 1
#line 3916 "configure"
d3953 1
a3953 1
if { (eval echo configure:3923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.62
log
@
2000-03-08  Benjamin Kosnik  <bkoz@@gnu.org>

	Add Solaris 2.5.1 support.
	* config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
	* config/solaris/solaris2.5/ctype.cc: Fixup.
	* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	* config/default/ctype.cc (ctype): Fixup.
@
text
@d3014 3
d3018 1
a3018 1
echo "configure:3016: checking for gnu-linux <ctype>" >&5
d3020 1
a3020 1
#line 3018 "configure"
d3031 1
a3031 1
if { (eval echo configure:3029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3045 1
d3049 1
a3049 1
echo "configure:3046: checking for solaris 2.5.1 <ctype>" >&5
d3051 1
a3051 1
#line 3048 "configure"
d3061 1
a3061 1
if { (eval echo configure:3058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3075 1
d3079 1
a3079 1
echo "configure:3075: checking for solaris 2.6 or 2.7 <ctype>" >&5
d3081 1
a3081 1
#line 3077 "configure"
d3092 1
a3092 1
if { (eval echo configure:3088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3107 1
a3107 1
echo "configure:3103: checking   for version" >&5
d3116 1
a3116 1
#line 3112 "configure"
d3123 1
a3123 1
if { (eval echo configure:3119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3144 1
d3148 1
d3153 1
a3153 1
echo "configure:3147: checking for newlib <ctype>" >&5
d3155 1
a3155 1
#line 3149 "configure"
d3165 1
a3165 1
if { (eval echo configure:3159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3179 1
d3182 1
a3182 3
    if test $ctype_solaris = "no" \
       && test $ctype_linux = "no" \
       && test $ctype_newlib = "no"; then
d3198 1
a3198 1
echo "configure:3193: checking for $ac_hdr" >&5
d3203 1
a3203 1
#line 3198 "configure"
d3208 1
a3208 1
{ (eval echo configure:3203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3237 1
a3237 1
echo "configure:3232: checking for $ac_func" >&5
d3242 1
a3242 1
#line 3237 "configure"
d3265 1
a3265 1
if { (eval echo configure:3260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3290 1
a3290 1
echo "configure:3285: checking for working mmap" >&5
d3298 1
a3298 1
#line 3293 "configure"
d3438 1
a3438 1
if { (eval echo configure:3433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3570 1
a3570 1
echo "configure:3565: checking for $ac_word" >&5
d3609 1
a3609 1
echo "configure:3604: checking for ld used by GCC" >&5
d3633 1
a3633 1
echo "configure:3628: checking for GNU ld" >&5
d3636 1
a3636 1
echo "configure:3631: checking for non-GNU ld" >&5
d3671 1
a3671 1
echo "configure:3666: checking if the linker ($LD) is GNU ld" >&5
d3687 1
a3687 1
echo "configure:3682: checking for BSD-compatible nm" >&5
d3723 1
a3723 1
echo "configure:3718: checking whether ln -s works" >&5
d3772 2
a3773 2
  echo '#line 3767 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3794 1
a3794 1
echo "configure:3789: checking whether the C compiler needs -belf" >&5
d3799 1
a3799 1
#line 3794 "configure"
d3806 1
a3806 1
if { (eval echo configure:3801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3910 1
a3910 1
echo "configure:3905: checking for LC_MESSAGES" >&5
d3915 1
a3915 1
#line 3910 "configure"
d3922 1
a3922 1
if { (eval echo configure:3917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.61
log
@



2000-02-28  Benjamin Kosnik  <bkoz@@cygnus.com>

	Prune libio directory to match files in libio/Makefile.
	* libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
	stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
	streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
	strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
	stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
	stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
	stdstreams.cc: Remove.
	* libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
	* libio/iofflush_u.c: Remove.

	* libio/dbz: Remove.
	* libio/include: Remove.
	* libio/stdio: Remove.
	* libio/tests: Remove.
	* libio/testsuite: Remove.

	* config/c_io_libio.cc: Add fcntl.h include for Solaris.

	* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
	* configure.in: Replace 'grep -e' with 'grep' for Solaris.
	* configure: Regenerate.
@
text
@d3014 2
a3015 2
        echo $ac_n "checking for gnu-linux <ctype>...""... $ac_c" 1>&6
echo "configure:3016: checking for gnu-linux <ctype>..." >&5
d3044 2
a3045 2
        echo $ac_n "checking for solaris <ctype>...""... $ac_c" 1>&6
echo "configure:3046: checking for solaris <ctype>..." >&5
d3053 29
d3087 1
a3087 1
if { (eval echo configure:3059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3101 2
a3102 2
      echo $ac_n "checking   for version 2.6...""... $ac_c" 1>&6
echo "configure:3074: checking   for version 2.6..." >&5
d3111 1
a3111 1
#line 3083 "configure"
d3118 1
a3118 1
if { (eval echo configure:3090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3135 1
      echo "$ac_t""$ctype_solaris26" 1>&6
d3138 1
d3141 1
d3145 2
a3146 2
        echo $ac_n "checking for newlib <ctype>...""... $ac_c" 1>&6
echo "configure:3117: checking for newlib <ctype>..." >&5
d3148 1
a3148 1
#line 3119 "configure"
d3158 1
a3158 1
if { (eval echo configure:3129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3192 1
a3192 1
echo "configure:3163: checking for $ac_hdr" >&5
d3197 1
a3197 1
#line 3168 "configure"
d3202 1
a3202 1
{ (eval echo configure:3173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3231 1
a3231 1
echo "configure:3202: checking for $ac_func" >&5
d3236 1
a3236 1
#line 3207 "configure"
d3259 1
a3259 1
if { (eval echo configure:3230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3284 1
a3284 1
echo "configure:3255: checking for working mmap" >&5
d3292 1
a3292 1
#line 3263 "configure"
d3432 1
a3432 1
if { (eval echo configure:3403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3564 1
a3564 1
echo "configure:3535: checking for $ac_word" >&5
d3603 1
a3603 1
echo "configure:3574: checking for ld used by GCC" >&5
d3627 1
a3627 1
echo "configure:3598: checking for GNU ld" >&5
d3630 1
a3630 1
echo "configure:3601: checking for non-GNU ld" >&5
d3665 1
a3665 1
echo "configure:3636: checking if the linker ($LD) is GNU ld" >&5
d3681 1
a3681 1
echo "configure:3652: checking for BSD-compatible nm" >&5
d3717 1
a3717 1
echo "configure:3688: checking whether ln -s works" >&5
d3766 2
a3767 2
  echo '#line 3737 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3788 1
a3788 1
echo "configure:3759: checking whether the C compiler needs -belf" >&5
d3793 1
a3793 1
#line 3764 "configure"
d3800 1
a3800 1
if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3904 1
a3904 1
echo "configure:3875: checking for LC_MESSAGES" >&5
d3909 1
a3909 1
#line 3880 "configure"
d3916 1
a3916 1
if { (eval echo configure:3887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.60
log
@
2000-02-25  Benjamin Kosnik  <bkoz@@gnu.org>

	Abstract out the underlying "C" io bits.
	* bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
	* stl/bits/stl_string_fwd.h: Remove <stddef> include.
	* bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
	include <cstddef>.
	* stl/bits/stl_config.h: Don't include _G_config.h.

	* bits/basic_file.h: Allow for non-inheritance based __basic_files.
	* config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
	* config/c_io_libio.cc: Tweak.

	* src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
	* src/Makefile.in: Regenerate.
	* Makefile.am (AM_MAKEFLAGS): Define includedir so that
	prefix/include files will be picked up.
	* Makefile.in: Regenerate.
	* math/Makefile.am (TOPLEVEL_INCLUDES): And here.
	* libio/Makefile.am (TOPLEVEL_INCLUDES): And here.

	* bits/std_ios.h: Include <bits/c++io.h> instead of libio.
	* bits/fpos.h: And here.
	* bits/basic_file.h (get_fileno): Move definition from ...
	* src/basic_file.cc (std): To here.
	* bits/fpos.h: Move types for streamoff, streampos to..
	* bits/basic_file.h: Move __c_file_type and fpos typedefs to...
	* config/c_io_libio.h: ...here.
	(_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
	SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
	UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
	FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
	abstract out bits in ios_base.
	* bits/ios_base.h: Re-macrofy.
	* src/basic_file.cc : Rename, move to
	* config/c_io_libio.cc: Here.
	* config/c_io_libio.h: New file. Include libio.
	* bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
	* configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
	* configure: Regenerate.
	* src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
	(generated_headers): Add c++io.h
	* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
	underlying "C" io library.
	* acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
	GLIBCPP_ENABLE_CSTDIO.

	* configure.in: Add configure bits for cross compiling non-newlib
	targets. .
	GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
	target, as we assume g++ support is not the limiting factor.
	GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
	* configure: Regenerate.
@
text
@d1845 9
d1915 1
a1915 1
echo "configure:1907: checking for threads package to use" >&5
d1978 1
a1978 1
echo "configure:1970: checking for pthread.h" >&5
d1983 1
a1983 1
#line 1975 "configure"
d1988 1
a1988 1
{ (eval echo configure:1980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2163 1
a2163 1
echo "configure:2155: checking for GNU C++ __complex__ support" >&5
d2191 1
a2191 1
#line 2183 "configure"
d2198 1
a2198 1
if { (eval echo configure:2190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2230 1
a2230 1
echo "configure:2222: checking for GNU C++ __complex__ float support" >&5
d2263 1
a2263 1
#line 2255 "configure"
d2270 1
a2270 1
if { (eval echo configure:2262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2301 1
a2301 1
echo "configure:2293: checking for __builtin_sinf" >&5
d2303 1
a2303 1
#line 2295 "configure"
d2310 1
a2310 1
if { (eval echo configure:2302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2329 1
a2329 1
echo "configure:2321: checking for __builtin_cosf" >&5
d2331 1
a2331 1
#line 2323 "configure"
d2338 1
a2338 1
if { (eval echo configure:2330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2357 1
a2357 1
echo "configure:2349: checking for __builtin_fabsf" >&5
d2359 1
a2359 1
#line 2351 "configure"
d2366 1
a2366 1
if { (eval echo configure:2358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2385 1
a2385 1
echo "configure:2377: checking for __builtin_sqrtf" >&5
d2387 1
a2387 1
#line 2379 "configure"
d2394 1
a2394 1
if { (eval echo configure:2386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2414 1
a2414 1
echo "configure:2406: checking for sin in -lm" >&5
d2422 1
a2422 1
#line 2414 "configure"
d2433 1
a2433 1
if { (eval echo configure:2425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2460 1
a2460 1
echo "configure:2452: checking for $ac_hdr" >&5
d2465 1
a2465 1
#line 2457 "configure"
d2470 1
a2470 1
{ (eval echo configure:2462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2502 1
a2502 1
echo "configure:2494: checking for $ac_func" >&5
d2507 1
a2507 1
#line 2499 "configure"
d2530 1
a2530 1
if { (eval echo configure:2522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2559 1
a2559 1
echo "configure:2551: checking for sinl" >&5
d2564 1
a2564 1
#line 2556 "configure"
d2587 1
a2587 1
if { (eval echo configure:2579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2606 1
a2606 1
echo "configure:2598: checking for $ac_func" >&5
d2611 1
a2611 1
#line 2603 "configure"
d2634 1
a2634 1
if { (eval echo configure:2626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2672 1
a2672 1
echo "configure:2664: checking for $ac_func" >&5
d2677 1
a2677 1
#line 2669 "configure"
d2700 1
a2700 1
if { (eval echo configure:2692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2735 1
a2735 1
echo "configure:2727: checking for $ac_func" >&5
d2740 1
a2740 1
#line 2732 "configure"
d2763 1
a2763 1
if { (eval echo configure:2755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2793 1
a2793 1
echo "configure:2785: checking for wchar.h" >&5
d2798 1
a2798 1
#line 2790 "configure"
d2803 1
a2803 1
{ (eval echo configure:2795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2821 1
a2821 1
echo "configure:2813: checking for native mbstate_t" >&5
d2823 1
a2823 1
#line 2815 "configure"
d2830 1
a2830 1
if { (eval echo configure:2822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2849 1
a2849 1
echo "configure:2841: checking for WCHAR_MIN and WCHAR_MAX" >&5
d2851 1
a2851 1
#line 2843 "configure"
d2858 1
a2858 1
if { (eval echo configure:2850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2879 1
a2879 1
echo "configure:2871: checking for WEOF" >&5
d2881 1
a2881 1
#line 2873 "configure"
d2890 1
a2890 1
if { (eval echo configure:2882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2905 1
a2905 1
echo "configure:2897: checking for $ac_func" >&5
d2910 1
a2910 1
#line 2902 "configure"
d2933 1
a2933 1
if { (eval echo configure:2925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2961 1
a2961 1
echo "configure:2953: checking for wide character support" >&5
d2987 1
a2987 1
echo "configure:2979: checking for ctype.h" >&5
d2992 1
a2992 1
#line 2984 "configure"
d2997 1
a2997 1
{ (eval echo configure:2989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3015 1
a3015 1
echo "configure:3007: checking for gnu-linux <ctype>..." >&5
d3017 1
a3017 1
#line 3009 "configure"
d3028 1
a3028 1
if { (eval echo configure:3020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3045 1
a3045 1
echo "configure:3037: checking for solaris <ctype>..." >&5
d3047 1
a3047 1
#line 3039 "configure"
d3058 1
a3058 1
if { (eval echo configure:3050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3073 1
a3073 1
echo "configure:3065: checking   for version 2.6..." >&5
d3082 1
a3082 1
#line 3074 "configure"
d3089 1
a3089 1
if { (eval echo configure:3081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3116 1
a3116 1
echo "configure:3108: checking for newlib <ctype>..." >&5
d3118 1
a3118 1
#line 3110 "configure"
d3128 1
a3128 1
if { (eval echo configure:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3162 1
a3162 1
echo "configure:3154: checking for $ac_hdr" >&5
d3167 1
a3167 1
#line 3159 "configure"
d3172 1
a3172 1
{ (eval echo configure:3164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3201 1
a3201 1
echo "configure:3193: checking for $ac_func" >&5
d3206 1
a3206 1
#line 3198 "configure"
d3229 1
a3229 1
if { (eval echo configure:3221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3254 1
a3254 1
echo "configure:3246: checking for working mmap" >&5
d3262 1
a3262 1
#line 3254 "configure"
d3402 1
a3402 1
if { (eval echo configure:3394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3534 1
a3534 1
echo "configure:3526: checking for $ac_word" >&5
d3573 1
a3573 1
echo "configure:3565: checking for ld used by GCC" >&5
d3597 1
a3597 1
echo "configure:3589: checking for GNU ld" >&5
d3600 1
a3600 1
echo "configure:3592: checking for non-GNU ld" >&5
d3635 1
a3635 1
echo "configure:3627: checking if the linker ($LD) is GNU ld" >&5
d3651 1
a3651 1
echo "configure:3643: checking for BSD-compatible nm" >&5
d3687 1
a3687 1
echo "configure:3679: checking whether ln -s works" >&5
d3736 2
a3737 2
  echo '#line 3728 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3758 1
a3758 1
echo "configure:3750: checking whether the C compiler needs -belf" >&5
d3763 1
a3763 1
#line 3755 "configure"
d3770 1
a3770 1
if { (eval echo configure:3762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3874 1
a3874 1
echo "configure:3866: checking for LC_MESSAGES" >&5
d3879 1
a3879 1
#line 3871 "configure"
d3886 1
a3886 1
if { (eval echo configure:3878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4363 1
a4363 1
  grep -e '^MULTISUBDIR =' Makefile >> src/Makefile
@


1.59
log
@
2000-02-18  Benjamin Kosnik  <bkoz@@haight.constant.com>
            Tom Tromey  <tromey@@cygnus.com>

	* configure.in: Manually add MULTISUBDIR.
	* configure: Regenerate.
	* src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
	"Eww" hacks to get multilib installs working correctly.
	($(headers): Test for MULTISUBDIR before installing.
	* Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
	have configure hack it in.
	* Makefile.in: Regenerate.
	* acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
	Add enabling bits for native Cygwin ctypes, and other newlib-based
	Oses.
@
text
@d27 3
d608 1
a608 1
echo "configure:606: checking host system type" >&5
d629 1
a629 1
echo "configure:627: checking target system type" >&5
d647 1
a647 1
echo "configure:645: checking build system type" >&5
d696 1
a696 1
echo "configure:694: checking for a BSD compatible install" >&5
d749 1
a749 1
echo "configure:747: checking whether build environment is sane" >&5
d806 1
a806 1
echo "configure:804: checking whether ${MAKE-make} sets \${MAKE}" >&5
d839 1
a839 1
echo "configure:837: checking for Cygwin environment" >&5
d844 1
a844 1
#line 842 "configure"
d855 1
a855 1
if { (eval echo configure:853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d872 1
a872 1
echo "configure:870: checking for mingw32 environment" >&5
d877 1
a877 1
#line 875 "configure"
d884 1
a884 1
if { (eval echo configure:882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d931 1
a931 1
echo "configure:929: checking host system type" >&5
d972 1
a972 1
echo "configure:970: checking for working aclocal" >&5
d985 1
a985 1
echo "configure:983: checking for working autoconf" >&5
d998 1
a998 1
echo "configure:996: checking for working automake" >&5
d1011 1
a1011 1
echo "configure:1009: checking for working autoheader" >&5
d1024 1
a1024 1
echo "configure:1022: checking for working makeinfo" >&5
d1050 1
a1050 1
echo "configure:1048: checking for $ac_word" >&5
d1080 1
a1080 1
echo "configure:1078: checking for $ac_word" >&5
d1129 1
a1129 1
echo "configure:1127: checking whether we are using GNU C" >&5
d1138 1
a1138 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1153 1
a1153 1
echo "configure:1151: checking whether ${CC-cc} accepts -g" >&5
d1190 1
a1190 1
echo "configure:1188: checking for $ac_word" >&5
d1223 1
a1223 1
echo "configure:1221: checking whether we are using GNU C++" >&5
d1232 1
a1232 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1247 1
a1247 1
echo "configure:1245: checking whether ${CXX-g++} accepts -g" >&5
d1280 1
a1280 1
echo "configure:1278: checking build system type" >&5
d1301 1
a1301 1
echo "configure:1299: checking for $ac_word" >&5
d1333 1
a1333 1
echo "configure:1331: checking for $ac_word" >&5
d1365 1
a1365 1
echo "configure:1363: checking for $ac_word" >&5
d1397 1
a1397 1
echo "configure:1395: checking for $ac_word" >&5
d1442 1
a1442 1
echo "configure:1440: checking for a BSD compatible install" >&5
d1496 1
a1496 1
echo "configure:1494: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1530 1
a1530 1
echo "configure:1528: checking for executable suffix" >&5
d1540 1
a1540 1
  if { (eval echo configure:1538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1587 1
a1587 1
echo "configure:1585: checking how to run the C preprocessor" >&5
d1602 1
a1602 1
#line 1600 "configure"
d1608 1
a1608 1
{ (eval echo configure:1606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1619 1
a1619 1
#line 1617 "configure"
d1625 1
a1625 1
{ (eval echo configure:1623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1636 1
a1636 1
#line 1634 "configure"
d1642 1
a1642 1
{ (eval echo configure:1640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1668 1
a1668 1
echo "configure:1666: checking for g++ that will successfullly compile this code" >&5
d1670 1
a1670 1
#line 1668 "configure"
d1691 1
a1691 1
echo "configure:1689: checking for g++ that supports new inlining mechanism" >&5
d1693 1
a1693 1
#line 1691 "configure"
d1715 7
a1721 3
  ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for libio.h""... $ac_c" 1>&6
echo "configure:1715: checking for libio.h" >&5
d1726 1
a1726 1
#line 1720 "configure"
d1728 1
a1728 1
#include <libio.h>
d1731 1
a1731 1
{ (eval echo configure:1725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1747 5
a1751 1
  has_libio=yes
a1753 1
has_libio=no
d1755 1
d1757 29
a1785 4
  if test $has_libio = "yes"; then
   BUILD_LIBIO_INCLUDE=
  else
   BUILD_LIBIO_INCLUDE='-I../libio'
a1786 6
  
  

if test "$has_libio" = no; then
  GLIBCPP_NEED_LIBIO_TRUE=
  GLIBCPP_NEED_LIBIO_FALSE='#'
d1788 1
a1788 2
  GLIBCPP_NEED_LIBIO_TRUE='#'
  GLIBCPP_NEED_LIBIO_FALSE=
d1792 13
a1804 7
# Check for available headers.
for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
machine/param.h sys/machine.h fp.h locale.h float.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1770: checking for $ac_hdr" >&5
d1809 1
a1809 1
#line 1775 "configure"
d1811 1
a1811 1
#include <$ac_hdr>
d1814 1
a1814 1
{ (eval echo configure:1780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1830 1
a1830 5
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
d1833 1
a1834 1
done
d1836 17
d1854 3
a1856 9

# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then
  enableval="$enable_debug"
  case "$enableval" in
 yes) enable_debug=yes ;;
 no)  enable_debug=no ;;
 *)   { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
 esac
d1858 2
a1859 1
  enable_debug=no
a1860 7
case "$enable_debug" in
    yes)  DEBUGFLAGS='-ggdb -O0'
          ;;
    no)   DEBUGFLAGS='-g'
          ;;
esac

d1906 1
a1906 1
echo "configure:1871: checking for threads package to use" >&5
d1969 1
a1969 1
echo "configure:1934: checking for pthread.h" >&5
d1974 1
a1974 1
#line 1939 "configure"
d1979 1
a1979 1
{ (eval echo configure:1944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a2036 1

d2058 43
a2100 3
  # We assume newlib.  This lets us hard-code the functions we know
  # we'll have.
  cat >> confdefs.h <<\EOF
d2104 1
a2104 1
  cat >> confdefs.h <<\EOF
d2108 1
a2108 1
  cat >> confdefs.h <<\EOF
d2112 1
a2112 1
  cat >> confdefs.h <<\EOF
d2116 1
a2116 1
  cat >> confdefs.h <<\EOF
d2121 2
a2122 2
  ctype_include_dir="config/newlib"
  
d2124 1
a2124 1
  cat >> confdefs.h <<\EOF
d2129 1
a2129 1
  cat >> confdefs.h <<\EOF
d2133 1
a2133 1
  cat >> confdefs.h <<\EOF
d2137 3
a2139 2
  # need to ceck for faster f versions of math functions, ie sinf?

d2154 1
a2154 1
echo "configure:2079: checking for GNU C++ __complex__ support" >&5
d2182 1
a2182 1
#line 2107 "configure"
d2189 1
a2189 1
if { (eval echo configure:2114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2221 1
a2221 1
echo "configure:2146: checking for GNU C++ __complex__ float support" >&5
d2254 1
a2254 1
#line 2179 "configure"
d2261 1
a2261 1
if { (eval echo configure:2186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2292 1
a2292 1
echo "configure:2217: checking for __builtin_sinf" >&5
d2294 1
a2294 1
#line 2219 "configure"
d2301 1
a2301 1
if { (eval echo configure:2226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2320 1
a2320 1
echo "configure:2245: checking for __builtin_cosf" >&5
d2322 1
a2322 1
#line 2247 "configure"
d2329 1
a2329 1
if { (eval echo configure:2254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2348 1
a2348 1
echo "configure:2273: checking for __builtin_fabsf" >&5
d2350 1
a2350 1
#line 2275 "configure"
d2357 1
a2357 1
if { (eval echo configure:2282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2376 1
a2376 1
echo "configure:2301: checking for __builtin_sqrtf" >&5
d2378 1
a2378 1
#line 2303 "configure"
d2385 1
a2385 1
if { (eval echo configure:2310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2405 1
a2405 1
echo "configure:2330: checking for sin in -lm" >&5
d2413 1
a2413 1
#line 2338 "configure"
d2424 1
a2424 1
if { (eval echo configure:2349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2451 1
a2451 1
echo "configure:2376: checking for $ac_hdr" >&5
d2456 1
a2456 1
#line 2381 "configure"
d2461 1
a2461 1
{ (eval echo configure:2386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2493 1
a2493 1
echo "configure:2418: checking for $ac_func" >&5
d2498 1
a2498 1
#line 2423 "configure"
d2521 1
a2521 1
if { (eval echo configure:2446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2550 1
a2550 1
echo "configure:2475: checking for sinl" >&5
d2555 1
a2555 1
#line 2480 "configure"
d2578 1
a2578 1
if { (eval echo configure:2503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2597 1
a2597 1
echo "configure:2522: checking for $ac_func" >&5
d2602 1
a2602 1
#line 2527 "configure"
d2625 1
a2625 1
if { (eval echo configure:2550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2663 1
a2663 1
echo "configure:2588: checking for $ac_func" >&5
d2668 1
a2668 1
#line 2593 "configure"
d2691 1
a2691 1
if { (eval echo configure:2616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2726 1
a2726 1
echo "configure:2651: checking for $ac_func" >&5
d2731 1
a2731 1
#line 2656 "configure"
d2754 1
a2754 1
if { (eval echo configure:2679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2784 1
a2784 1
echo "configure:2709: checking for wchar.h" >&5
d2789 1
a2789 1
#line 2714 "configure"
d2794 1
a2794 1
{ (eval echo configure:2719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2812 1
a2812 1
echo "configure:2737: checking for native mbstate_t" >&5
d2814 1
a2814 1
#line 2739 "configure"
d2821 1
a2821 1
if { (eval echo configure:2746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2840 1
a2840 1
echo "configure:2765: checking for WCHAR_MIN and WCHAR_MAX" >&5
d2842 1
a2842 1
#line 2767 "configure"
d2849 1
a2849 1
if { (eval echo configure:2774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2870 1
a2870 1
echo "configure:2795: checking for WEOF" >&5
d2872 1
a2872 1
#line 2797 "configure"
d2881 1
a2881 1
if { (eval echo configure:2806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2896 1
a2896 1
echo "configure:2821: checking for $ac_func" >&5
d2901 1
a2901 1
#line 2826 "configure"
d2924 1
a2924 1
if { (eval echo configure:2849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2952 1
a2952 1
echo "configure:2877: checking for wide character support" >&5
d2978 1
a2978 1
echo "configure:2903: checking for ctype.h" >&5
d2983 1
a2983 1
#line 2908 "configure"
d2988 1
a2988 1
{ (eval echo configure:2913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3006 1
a3006 1
echo "configure:2931: checking for gnu-linux <ctype>..." >&5
d3008 1
a3008 1
#line 2933 "configure"
d3019 1
a3019 1
if { (eval echo configure:2944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3036 1
a3036 1
echo "configure:2961: checking for solaris <ctype>..." >&5
d3038 1
a3038 1
#line 2963 "configure"
d3049 1
a3049 1
if { (eval echo configure:2974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3064 1
a3064 1
echo "configure:2989: checking   for version 2.6..." >&5
d3073 1
a3073 1
#line 2998 "configure"
d3080 1
a3080 1
if { (eval echo configure:3005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3107 1
a3107 1
echo "configure:3032: checking for newlib <ctype>..." >&5
d3109 1
a3109 1
#line 3034 "configure"
d3119 1
a3119 1
if { (eval echo configure:3044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3153 1
a3153 1
echo "configure:3078: checking for $ac_hdr" >&5
d3158 1
a3158 1
#line 3083 "configure"
d3163 1
a3163 1
{ (eval echo configure:3088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3192 1
a3192 1
echo "configure:3117: checking for $ac_func" >&5
d3197 1
a3197 1
#line 3122 "configure"
d3220 1
a3220 1
if { (eval echo configure:3145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3245 1
a3245 1
echo "configure:3170: checking for working mmap" >&5
d3253 1
a3253 1
#line 3178 "configure"
d3393 1
a3393 1
if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3525 1
a3525 1
echo "configure:3450: checking for $ac_word" >&5
d3564 1
a3564 1
echo "configure:3489: checking for ld used by GCC" >&5
d3588 1
a3588 1
echo "configure:3513: checking for GNU ld" >&5
d3591 1
a3591 1
echo "configure:3516: checking for non-GNU ld" >&5
d3626 1
a3626 1
echo "configure:3551: checking if the linker ($LD) is GNU ld" >&5
d3642 1
a3642 1
echo "configure:3567: checking for BSD-compatible nm" >&5
d3678 1
a3678 1
echo "configure:3603: checking whether ln -s works" >&5
d3727 2
a3728 2
  echo '#line 3652 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3749 1
a3749 1
echo "configure:3674: checking whether the C compiler needs -belf" >&5
d3754 1
a3754 1
#line 3679 "configure"
d3761 1
a3761 1
if { (eval echo configure:3686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3865 1
a3865 1
echo "configure:3790: checking for LC_MESSAGES" >&5
d3870 1
a3870 1
#line 3795 "configure"
d3877 1
a3877 1
if { (eval echo configure:3802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4102 1
d4104 2
a4107 1
s%@@DEBUGFLAGS@@%$DEBUGFLAGS%g
d4378 3
d4394 4
@


1.58
log
@
2000-02-17  Benjamin Kosnik  <bkoz@@decepticon.cygnus.com>

	* mkc++config (OUT_H): Remove EOF in cygwin.
	* acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.

        Tom Tromey  <tromey@@cygnus.com>
	* src/Makefile.am: Tweaks for installing multilibs.
@
text
@d45 1
a45 1
  --disable-libtool-lock  force libtool not to do file locking"
a62 1
sitefile=
a176 1
  --site-file=FILE        use FILE as the site file
a346 5
  -site-file | --site-file | --site-fil | --site-fi | --site-f)
    ac_prev=sitefile ;;
  -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
    sitefile="$ac_optarg" ;;

d512 5
a516 7
if test -z "$sitefile"; then
  if test -z "$CONFIG_SITE"; then
    if test "x$prefix" != xNONE; then
      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    else
      CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    fi
a517 2
else
  CONFIG_SITE="$sitefile"
d605 1
a605 1
echo "configure:617: checking host system type" >&5
d626 1
a626 1
echo "configure:638: checking target system type" >&5
d644 1
a644 1
echo "configure:656: checking build system type" >&5
d693 1
a693 1
echo "configure:705: checking for a BSD compatible install" >&5
d746 1
a746 1
echo "configure:758: checking whether build environment is sane" >&5
d803 1
a803 1
echo "configure:815: checking whether ${MAKE-make} sets \${MAKE}" >&5
d836 1
a836 1
echo "configure:848: checking for Cygwin environment" >&5
d841 1
a841 1
#line 853 "configure"
d852 1
a852 1
if { (eval echo configure:864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d869 1
a869 1
echo "configure:881: checking for mingw32 environment" >&5
d874 1
a874 1
#line 886 "configure"
d881 1
a881 1
if { (eval echo configure:893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d928 1
a928 1
echo "configure:940: checking host system type" >&5
d969 1
a969 1
echo "configure:981: checking for working aclocal" >&5
d982 1
a982 1
echo "configure:994: checking for working autoconf" >&5
d995 1
a995 1
echo "configure:1007: checking for working automake" >&5
d1008 1
a1008 1
echo "configure:1020: checking for working autoheader" >&5
d1021 1
a1021 1
echo "configure:1033: checking for working makeinfo" >&5
d1047 1
a1047 1
echo "configure:1059: checking for $ac_word" >&5
d1077 1
a1077 1
echo "configure:1089: checking for $ac_word" >&5
d1126 1
a1126 1
echo "configure:1138: checking whether we are using GNU C" >&5
d1135 1
a1135 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1150 1
a1150 1
echo "configure:1162: checking whether ${CC-cc} accepts -g" >&5
d1187 1
a1187 1
echo "configure:1199: checking for $ac_word" >&5
d1220 1
a1220 1
echo "configure:1232: checking whether we are using GNU C++" >&5
d1229 1
a1229 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1244 1
a1244 1
echo "configure:1256: checking whether ${CXX-g++} accepts -g" >&5
d1277 1
a1277 1
echo "configure:1289: checking build system type" >&5
d1298 1
a1298 1
echo "configure:1310: checking for $ac_word" >&5
d1330 1
a1330 1
echo "configure:1342: checking for $ac_word" >&5
d1362 1
a1362 1
echo "configure:1374: checking for $ac_word" >&5
d1394 1
a1394 1
echo "configure:1406: checking for $ac_word" >&5
d1439 1
a1439 1
echo "configure:1451: checking for a BSD compatible install" >&5
d1493 1
a1493 1
echo "configure:1505: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1527 1
a1527 1
echo "configure:1539: checking for executable suffix" >&5
d1537 1
a1537 1
  if { (eval echo configure:1549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1540 1
a1540 1
      *.c | *.o | *.obj | *.ilk | *.pdb) ;;
d1584 1
a1584 1
echo "configure:1596: checking how to run the C preprocessor" >&5
d1599 1
a1599 1
#line 1611 "configure"
d1605 1
a1605 1
{ (eval echo configure:1617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1616 1
a1616 1
#line 1628 "configure"
d1622 1
a1622 1
{ (eval echo configure:1634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1633 1
a1633 1
#line 1645 "configure"
d1639 1
a1639 1
{ (eval echo configure:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1664 2
a1665 2
  echo $ac_n "checking for g++ compiler that will successfullly compile this code""... $ac_c" 1>&6
echo "configure:1677: checking for g++ compiler that will successfullly compile this code" >&5
d1667 1
a1667 1
#line 1679 "configure"
d1687 2
a1688 2
  echo $ac_n "checking for g++ compiler that supports new inlining mechanism""... $ac_c" 1>&6
echo "configure:1700: checking for g++ compiler that supports new inlining mechanism" >&5
d1690 1
a1690 1
#line 1702 "configure"
d1714 1
a1714 1
echo "configure:1726: checking for libio.h" >&5
d1719 1
a1719 1
#line 1731 "configure"
d1724 1
a1724 1
{ (eval echo configure:1736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1769 1
a1769 1
echo "configure:1781: checking for $ac_hdr" >&5
d1774 1
a1774 1
#line 1786 "configure"
d1779 1
a1779 1
{ (eval echo configure:1791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1870 1
a1870 1
echo "configure:1882: checking for threads package to use" >&5
d1933 1
a1933 1
echo "configure:1945: checking for pthread.h" >&5
d1938 1
a1938 1
#line 1950 "configure"
d1943 1
a1943 1
{ (eval echo configure:1955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2021 1
a2021 1
  lt_dlopen=yes
d2078 1
a2078 1
echo "configure:2090: checking for GNU C++ __complex__ support" >&5
d2106 1
a2106 1
#line 2118 "configure"
d2113 1
a2113 1
if { (eval echo configure:2125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2145 1
a2145 1
echo "configure:2157: checking for GNU C++ __complex__ float support" >&5
d2178 1
a2178 1
#line 2190 "configure"
d2185 1
a2185 1
if { (eval echo configure:2197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2216 1
a2216 1
echo "configure:2228: checking for __builtin_sinf" >&5
d2218 1
a2218 1
#line 2230 "configure"
d2225 1
a2225 1
if { (eval echo configure:2237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2244 1
a2244 1
echo "configure:2256: checking for __builtin_cosf" >&5
d2246 1
a2246 1
#line 2258 "configure"
d2253 1
a2253 1
if { (eval echo configure:2265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2272 1
a2272 1
echo "configure:2284: checking for __builtin_fabsf" >&5
d2274 1
a2274 1
#line 2286 "configure"
d2281 1
a2281 1
if { (eval echo configure:2293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2300 1
a2300 1
echo "configure:2312: checking for __builtin_sqrtf" >&5
d2302 1
a2302 1
#line 2314 "configure"
d2309 1
a2309 1
if { (eval echo configure:2321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2329 1
a2329 1
echo "configure:2341: checking for sin in -lm" >&5
d2337 1
a2337 1
#line 2349 "configure"
d2348 1
a2348 1
if { (eval echo configure:2360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2375 1
a2375 1
echo "configure:2387: checking for $ac_hdr" >&5
d2380 1
a2380 1
#line 2392 "configure"
d2385 1
a2385 1
{ (eval echo configure:2397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2417 1
a2417 1
echo "configure:2429: checking for $ac_func" >&5
d2422 1
a2422 1
#line 2434 "configure"
d2445 1
a2445 1
if { (eval echo configure:2457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2474 1
a2474 1
echo "configure:2486: checking for sinl" >&5
d2479 1
a2479 1
#line 2491 "configure"
d2502 1
a2502 1
if { (eval echo configure:2514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2521 1
a2521 1
echo "configure:2533: checking for $ac_func" >&5
d2526 1
a2526 1
#line 2538 "configure"
d2549 1
a2549 1
if { (eval echo configure:2561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2587 1
a2587 1
echo "configure:2599: checking for $ac_func" >&5
d2592 1
a2592 1
#line 2604 "configure"
d2615 1
a2615 1
if { (eval echo configure:2627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2650 1
a2650 1
echo "configure:2662: checking for $ac_func" >&5
d2655 1
a2655 1
#line 2667 "configure"
d2678 1
a2678 1
if { (eval echo configure:2690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2708 1
a2708 1
echo "configure:2720: checking for wchar.h" >&5
d2713 1
a2713 1
#line 2725 "configure"
d2718 1
a2718 1
{ (eval echo configure:2730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2736 1
a2736 1
echo "configure:2748: checking for native mbstate_t" >&5
d2738 1
a2738 1
#line 2750 "configure"
d2745 1
a2745 1
if { (eval echo configure:2757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2764 1
a2764 1
echo "configure:2776: checking for WCHAR_MIN and WCHAR_MAX" >&5
d2766 1
a2766 1
#line 2778 "configure"
d2773 1
a2773 1
if { (eval echo configure:2785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2794 1
a2794 1
echo "configure:2806: checking for WEOF" >&5
d2796 1
a2796 1
#line 2808 "configure"
d2805 1
a2805 1
if { (eval echo configure:2817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2820 1
a2820 1
echo "configure:2832: checking for $ac_func" >&5
d2825 1
a2825 1
#line 2837 "configure"
d2848 1
a2848 1
if { (eval echo configure:2860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2876 1
a2876 1
echo "configure:2888: checking for wide character support" >&5
d2902 1
a2902 1
echo "configure:2914: checking for ctype.h" >&5
d2907 1
a2907 1
#line 2919 "configure"
d2912 1
a2912 1
{ (eval echo configure:2924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2930 1
a2930 1
echo "configure:2942: checking for gnu-linux <ctype>..." >&5
d2932 1
a2932 1
#line 2944 "configure"
d2943 1
a2943 1
if { (eval echo configure:2955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2960 1
a2960 1
echo "configure:2972: checking for solaris <ctype>..." >&5
d2962 1
a2962 1
#line 2974 "configure"
d2973 1
a2973 1
if { (eval echo configure:2985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2988 1
a2988 1
echo "configure:3000: checking   for version 2.6..." >&5
d2997 1
a2997 1
#line 3009 "configure"
d3004 1
a3004 1
if { (eval echo configure:3016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3030 32
a3061 1
    if test $ctype_solaris = "no" && test $ctype_linux = "no"; then
d3077 1
a3077 1
echo "configure:3058: checking for $ac_hdr" >&5
d3082 1
a3082 1
#line 3063 "configure"
d3087 1
a3087 1
{ (eval echo configure:3068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3116 1
a3116 1
echo "configure:3097: checking for $ac_func" >&5
d3121 1
a3121 1
#line 3102 "configure"
d3144 1
a3144 1
if { (eval echo configure:3125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3169 1
a3169 1
echo "configure:3150: checking for working mmap" >&5
d3177 1
a3177 1
#line 3158 "configure"
d3317 1
a3317 1
if { (eval echo configure:3298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3449 1
a3449 1
echo "configure:3430: checking for $ac_word" >&5
d3488 1
a3488 1
echo "configure:3469: checking for ld used by GCC" >&5
d3492 1
a3492 1
    /* | [A-Za-z]:[\\/]*)
d3512 1
a3512 1
echo "configure:3493: checking for GNU ld" >&5
d3515 1
a3515 1
echo "configure:3496: checking for non-GNU ld" >&5
d3521 1
a3521 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
d3524 1
a3524 1
    if test -f "$ac_dir/$ac_prog"; then
a3548 1

d3550 1
a3550 1
echo "configure:3532: checking if the linker ($LD) is GNU ld" >&5
d3566 1
a3566 1
echo "configure:3548: checking for BSD-compatible nm" >&5
d3574 1
a3574 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
d3577 1
a3577 1
    if test -f $ac_dir/nm; then
a3600 205

# Check for command to grab the raw symbol name followed by C symbol from nm.
echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
echo "configure:3586: checking command to parse $NM output" >&5
if eval "test \"`echo '$''{'ac_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  # These are sane defaults that work on at least a few old systems.
# {They come from Ultrix.  What could be older than Ultrix?!! ;)}

# Character class describing NM global symbol codes.
ac_symcode='[BCDEGRST]'

# Regexp to match symbols that can be accessed directly from C.
ac_sympat='\([_A-Za-z][_A-Za-z0-9]*\)'

# Transform the above into a raw symbol and a C symbol.
ac_symxfrm='\1 \2\3 \3'

# Transform an extracted symbol line into a proper C declaration
ac_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"

# Define system-specific variables.
case "$host_os" in
aix*)
  ac_symcode='[BCDT]'
  ;;
cygwin* | mingw*)
  ac_symcode='[ABCDGISTW]'
  ;;
hpux*)
  ac_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^. .* \(.*\)$/extern char \1;/p'"
  ;;
irix*)
  ac_symcode='[BCDEGRST]'
  ;;
solaris*)
  ac_symcode='[BDT]'
  ;;
esac

# If we're using GNU nm, then use its standard symbol codes.
if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
  ac_symcode='[ABCDGISTW]'
fi

# Try without a prefix undercore, then with it.
for ac_symprfx in "" "_"; do

  ac_cv_sys_global_symbol_pipe="sed -n -e 's/^.* 	\($ac_symcode\) 	 	*\($ac_symprfx\)$ac_sympat$/$ac_symxfrm/p'"

  # Check to see that the pipe works correctly.
  ac_pipe_works=no
  rm -f conftest.$ac_ext
  cat > conftest.$ac_ext <<EOF
#ifdef __cplusplus
extern "C" {
#endif
char nm_test_var;
void nm_test_func(){}
#ifdef __cplusplus
}
#endif
int main(){nm_test_var='a';nm_test_func;return 0;}
EOF

  if { (eval echo configure:3649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    # Now try to grab the symbols.
    ac_nlist=conftest.nm
  
    if { (eval echo configure:3653: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5; } && test -s "$ac_nlist"; then

      # Try sorting and uniquifying the output.
      if sort "$ac_nlist" | uniq > "$ac_nlist"T; then
	mv -f "$ac_nlist"T "$ac_nlist"
      else
	rm -f "$ac_nlist"T
      fi

      # Make sure that we snagged all the symbols we need.
      if egrep ' nm_test_var$' "$ac_nlist" >/dev/null; then
	if egrep ' nm_test_func$' "$ac_nlist" >/dev/null; then
	  cat <<EOF > conftest.c
#ifdef __cplusplus
extern "C" {
#endif

EOF
	  # Now generate the symbol file.
	  eval "$ac_global_symbol_to_cdecl"' < "$ac_nlist" >> conftest.c'

	  cat <<EOF >> conftest.c
#if defined (__STDC__) && __STDC__
# define lt_ptr_t void *
#else
# define lt_ptr_t char *
# define const
#endif

/* The mapping between symbol names and symbols. */
const struct {
  const char *name;
  lt_ptr_t address;
}
lt_preloaded_symbols[] =
{
EOF
	sed 's/^. \(.*\) \(.*\)$/  {"\2", (lt_ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c
	cat <<\EOF >> conftest.c
  {0, (lt_ptr_t) 0}
};

#ifdef __cplusplus
}
#endif
EOF
	  # Now try linking the two files.
	  mv conftest.$ac_objext conftestm.$ac_objext
	  ac_save_LIBS="$LIBS"
	  ac_save_CFLAGS="$CFLAGS"
	  LIBS="conftestm.$ac_objext"
	  CFLAGS="$CFLAGS$no_builtin_flag"
	  if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
	    ac_pipe_works=yes
	  else
	    echo "configure: failed program was:" >&5
	    cat conftest.c >&5
	  fi
	  LIBS="$ac_save_LIBS"
	  CFLAGS="$ac_save_CFLAGS"
	else
	  echo "cannot find nm_test_func in $ac_nlist" >&5
	fi
      else
	echo "cannot find nm_test_var in $ac_nlist" >&5
      fi
    else
      echo "cannot run $ac_cv_sys_global_symbol_pipe" >&5
    fi
  else
    echo "$progname: failed program was:" >&5
    cat conftest.c >&5
  fi
  rm -rf conftest*

  # Do not use the global_symbol_pipe unless it works.
  if test "$ac_pipe_works" = yes; then
    if test x"$ac_symprfx" = x"_"; then
      ac_cv_sys_symbol_underscore=yes
    else
      ac_cv_sys_symbol_underscore=no
    fi
    break
  else
    ac_cv_sys_global_symbol_pipe=
  fi
done

fi


ac_result=yes
if test -z "$ac_cv_sys_global_symbol_pipe"; then
   ac_result=no
fi
echo "$ac_t""$ac_result" 1>&6

echo $ac_n "checking for _ prefix in compiled symbols""... $ac_c" 1>&6
echo "configure:3751: checking for _ prefix in compiled symbols" >&5
if eval "test \"`echo '$''{'ac_cv_sys_symbol_underscore'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_cv_sys_symbol_underscore=no
cat > conftest.$ac_ext <<EOF
void nm_test_func(){}
int main(){nm_test_func;return 0;}
EOF
if { (eval echo configure:3760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  # Now try to grab the symbols.
  ac_nlist=conftest.nm
  if { (eval echo configure:3763: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5; } && test -s "$ac_nlist"; then
    # See whether the symbols have a leading underscore.
    if egrep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
      ac_cv_sys_symbol_underscore=yes
    else
      if egrep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
	:
      else
	echo "configure: cannot find nm_test_func in $ac_nlist" >&5
      fi
    fi
  else
    echo "configure: cannot run $ac_cv_sys_global_symbol_pipe" >&5
  fi
else
  echo "configure: failed program was:" >&5
  cat conftest.c >&5
fi
rm -rf conftest*

fi

echo "$ac_t""$ac_cv_sys_symbol_underscore" 1>&6
USE_SYMBOL_UNDERSCORE=${ac_cv_sys_symbol_underscore=no}

d3602 1
a3602 1
echo "configure:3789: checking whether ln -s works" >&5
d3623 5
a3632 2
test "$lt_dlopen" = yes && libtool_flags="$libtool_flags --enable-dlopen"
test "$silent" = yes && libtool_flags="$libtool_flags --silent"
d3635 10
d3648 1
a3648 1
case "$host" in
d3651 2
a3652 2
  echo '#line 3825 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3673 1
a3673 1
echo "configure:3847: checking whether the C compiler needs -belf" >&5
d3678 1
a3678 1
#line 3852 "configure"
d3685 1
a3685 1
if { (eval echo configure:3859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3703 137
*-*-cygwin*)
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:3882: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$DLLTOOL"; then
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
DLLTOOL="$ac_cv_prog_DLLTOOL"
if test -n "$DLLTOOL"; then
  echo "$ac_t""$DLLTOOL" 1>&6
else
  echo "$ac_t""no" 1>&6
fi


if test -z "$ac_cv_prog_DLLTOOL"; then
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "dlltool", so it can be a program name with args.
set dummy dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:3914: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$DLLTOOL"; then
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_DLLTOOL="dlltool"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"
fi
fi
DLLTOOL="$ac_cv_prog_DLLTOOL"
if test -n "$DLLTOOL"; then
  echo "$ac_t""$DLLTOOL" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

else
  DLLTOOL="false"
fi
fi

# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
set dummy ${ac_tool_prefix}as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:3949: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$AS"; then
  ac_cv_prog_AS="$AS" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_AS="${ac_tool_prefix}as"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
AS="$ac_cv_prog_AS"
if test -n "$AS"; then
  echo "$ac_t""$AS" 1>&6
else
  echo "$ac_t""no" 1>&6
fi


if test -z "$ac_cv_prog_AS"; then
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "as", so it can be a program name with args.
set dummy as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:3981: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$AS"; then
  ac_cv_prog_AS="$AS" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_AS="as"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"
fi
fi
AS="$ac_cv_prog_AS"
if test -n "$AS"; then
  echo "$ac_t""$AS" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

else
  AS="false"
fi
fi


  ;;
a3706 15
# enable the --disable-libtool-lock switch

# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then
  enableval="$enable_libtool_lock"
  need_locks=$enableval
else
  need_locks=yes
fi


if test x"$need_locks" = xno; then
  libtool_flags="$libtool_flags --disable-lock"
fi

d3759 3
a3761 2
LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
DLLTOOL="$DLLTOOL" AS="$AS" \
d3763 1
a3763 1
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
d3789 1
a3789 1
echo "configure:4114: checking for LC_MESSAGES" >&5
d3794 1
a3794 1
#line 4119 "configure"
d3801 1
a3801 1
if { (eval echo configure:4126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3846 7
a4048 3
s%@@LD@@%$LD%g
s%@@NM@@%$NM%g
s%@@USE_SYMBOL_UNDERSCORE@@%$USE_SYMBOL_UNDERSCORE%g
a4049 1
s%@@DLLTOOL@@%$DLLTOOL%g
d4276 1
@


1.57
log
@
2000-02-17  Benjamin Kosnik  <bkoz@@gnu.org>

	* acinclude.m4 (LIBS): Fix typos.
	* configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
        _GLIBCPP_BUGGY_COMPLEX for crosses.

	* src/Makefile.am (std_headers): Add libio.h as install include,
	as with _G_config.h
	* src/Makefile.in: Regenerate.

	* mkcheck.in: Add bits to set CXX to cross compiler.

	* src/complex_io.cc: Tweak.
	* configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
	* configure: Regenerate.

	* config/newlib/ctype.cc: Tweaks.
	* config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
	not const char.
	* src/complex_io.cc (operator>>(istream, complex): Define out if
	BUGGY_COMPLEX.
@
text
@d45 1
a45 1
  --disable-libtool-lock  avoid locking (might break parallel builds)"
d63 1
d178 1
d349 5
d519 7
a525 5
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
d527 2
d616 1
a616 1
echo "configure:606: checking host system type" >&5
d637 1
a637 1
echo "configure:627: checking target system type" >&5
d655 1
a655 1
echo "configure:645: checking build system type" >&5
d704 1
a704 1
echo "configure:694: checking for a BSD compatible install" >&5
d757 1
a757 1
echo "configure:747: checking whether build environment is sane" >&5
d814 1
a814 1
echo "configure:804: checking whether ${MAKE-make} sets \${MAKE}" >&5
d847 1
a847 1
echo "configure:837: checking for Cygwin environment" >&5
d852 1
a852 1
#line 842 "configure"
d863 1
a863 1
if { (eval echo configure:853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d880 1
a880 1
echo "configure:870: checking for mingw32 environment" >&5
d885 1
a885 1
#line 875 "configure"
d892 1
a892 1
if { (eval echo configure:882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d939 1
a939 1
echo "configure:929: checking host system type" >&5
d980 1
a980 1
echo "configure:970: checking for working aclocal" >&5
d993 1
a993 1
echo "configure:983: checking for working autoconf" >&5
d1006 1
a1006 1
echo "configure:996: checking for working automake" >&5
d1019 1
a1019 1
echo "configure:1009: checking for working autoheader" >&5
d1032 1
a1032 1
echo "configure:1022: checking for working makeinfo" >&5
d1058 1
a1058 1
echo "configure:1048: checking for $ac_word" >&5
d1088 1
a1088 1
echo "configure:1078: checking for $ac_word" >&5
d1137 1
a1137 1
echo "configure:1127: checking whether we are using GNU C" >&5
d1146 1
a1146 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1161 1
a1161 1
echo "configure:1151: checking whether ${CC-cc} accepts -g" >&5
d1198 1
a1198 1
echo "configure:1188: checking for $ac_word" >&5
d1231 1
a1231 1
echo "configure:1221: checking whether we are using GNU C++" >&5
d1240 1
a1240 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1255 1
a1255 1
echo "configure:1245: checking whether ${CXX-g++} accepts -g" >&5
d1288 1
a1288 1
echo "configure:1278: checking build system type" >&5
d1309 1
a1309 1
echo "configure:1299: checking for $ac_word" >&5
d1341 1
a1341 1
echo "configure:1331: checking for $ac_word" >&5
d1373 1
a1373 1
echo "configure:1363: checking for $ac_word" >&5
d1405 1
a1405 1
echo "configure:1395: checking for $ac_word" >&5
d1450 1
a1450 1
echo "configure:1440: checking for a BSD compatible install" >&5
d1504 1
a1504 1
echo "configure:1494: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1538 1
a1538 1
echo "configure:1528: checking for executable suffix" >&5
d1548 1
a1548 1
  if { (eval echo configure:1538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1551 1
a1551 1
      *.c | *.o | *.obj) ;;
d1595 1
a1595 1
echo "configure:1585: checking how to run the C preprocessor" >&5
d1610 1
a1610 1
#line 1600 "configure"
d1616 1
a1616 1
{ (eval echo configure:1606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1627 1
a1627 1
#line 1617 "configure"
d1633 1
a1633 1
{ (eval echo configure:1623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1644 1
a1644 1
#line 1634 "configure"
d1650 1
a1650 1
{ (eval echo configure:1640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1676 1
a1676 1
echo "configure:1666: checking for g++ compiler that will successfullly compile this code" >&5
d1678 1
a1678 1
#line 1668 "configure"
d1699 1
a1699 1
echo "configure:1689: checking for g++ compiler that supports new inlining mechanism" >&5
d1701 1
a1701 1
#line 1691 "configure"
d1725 1
a1725 1
echo "configure:1715: checking for libio.h" >&5
d1730 1
a1730 1
#line 1720 "configure"
d1735 1
a1735 1
{ (eval echo configure:1725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1780 1
a1780 1
echo "configure:1770: checking for $ac_hdr" >&5
d1785 1
a1785 1
#line 1775 "configure"
d1790 1
a1790 1
{ (eval echo configure:1780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1881 1
a1881 1
echo "configure:1871: checking for threads package to use" >&5
d1944 1
a1944 1
echo "configure:1934: checking for pthread.h" >&5
d1949 1
a1949 1
#line 1939 "configure"
d1954 1
a1954 1
{ (eval echo configure:1944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2032 1
a2032 1
  
d2089 1
a2089 1
echo "configure:2079: checking for GNU C++ __complex__ support" >&5
d2117 1
a2117 1
#line 2107 "configure"
d2124 1
a2124 1
if { (eval echo configure:2114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2156 1
a2156 1
echo "configure:2146: checking for GNU C++ __complex__ float support" >&5
d2189 1
a2189 1
#line 2179 "configure"
d2196 1
a2196 1
if { (eval echo configure:2186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2227 1
a2227 1
echo "configure:2217: checking for __builtin_sinf" >&5
d2229 1
a2229 1
#line 2219 "configure"
d2236 1
a2236 1
if { (eval echo configure:2226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2255 1
a2255 1
echo "configure:2245: checking for __builtin_cosf" >&5
d2257 1
a2257 1
#line 2247 "configure"
d2264 1
a2264 1
if { (eval echo configure:2254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2283 1
a2283 1
echo "configure:2273: checking for __builtin_fabsf" >&5
d2285 1
a2285 1
#line 2275 "configure"
d2292 1
a2292 1
if { (eval echo configure:2282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2311 1
a2311 1
echo "configure:2301: checking for __builtin_sqrtf" >&5
d2313 1
a2313 1
#line 2303 "configure"
d2320 1
a2320 1
if { (eval echo configure:2310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2340 1
a2340 1
echo "configure:2330: checking for sin in -lm" >&5
d2348 1
a2348 1
#line 2338 "configure"
d2359 1
a2359 1
if { (eval echo configure:2349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2386 1
a2386 1
echo "configure:2376: checking for $ac_hdr" >&5
d2391 1
a2391 1
#line 2381 "configure"
d2396 1
a2396 1
{ (eval echo configure:2386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2428 1
a2428 1
echo "configure:2418: checking for $ac_func" >&5
d2433 1
a2433 1
#line 2423 "configure"
d2456 1
a2456 1
if { (eval echo configure:2446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2485 1
a2485 1
echo "configure:2475: checking for sinl" >&5
d2490 1
a2490 1
#line 2480 "configure"
d2513 1
a2513 1
if { (eval echo configure:2503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2532 1
a2532 1
echo "configure:2522: checking for $ac_func" >&5
d2537 1
a2537 1
#line 2527 "configure"
d2560 1
a2560 1
if { (eval echo configure:2550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2598 1
a2598 1
echo "configure:2588: checking for $ac_func" >&5
d2603 1
a2603 1
#line 2593 "configure"
d2626 1
a2626 1
if { (eval echo configure:2616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2661 1
a2661 1
echo "configure:2651: checking for $ac_func" >&5
d2666 1
a2666 1
#line 2656 "configure"
d2689 1
a2689 1
if { (eval echo configure:2679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2719 1
a2719 1
echo "configure:2709: checking for wchar.h" >&5
d2724 1
a2724 1
#line 2714 "configure"
d2729 1
a2729 1
{ (eval echo configure:2719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2747 1
a2747 1
echo "configure:2737: checking for native mbstate_t" >&5
d2749 1
a2749 1
#line 2739 "configure"
d2756 1
a2756 1
if { (eval echo configure:2746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a2771 1
    echo "configure: warning: "<wchar.h> does not declare the type mbstate_t"" 1>&2
d2775 1
a2775 1
echo "configure:2766: checking for WCHAR_MIN and WCHAR_MAX" >&5
d2777 1
a2777 1
#line 2768 "configure"
d2784 1
a2784 1
if { (eval echo configure:2775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a2799 2
  else
    echo "configure: warning: "<wchar.h> does not have WCHAR_MIN or WCHAR_MAX"" 1>&2
d2805 1
a2805 1
echo "configure:2798: checking for WEOF" >&5
d2807 1
a2807 1
#line 2800 "configure"
d2816 1
a2816 1
if { (eval echo configure:2809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2831 1
a2831 1
echo "configure:2824: checking for $ac_func" >&5
d2836 1
a2836 1
#line 2829 "configure"
d2859 1
a2859 1
if { (eval echo configure:2852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2887 1
a2887 1
echo "configure:2880: checking for wide character support" >&5
d2913 1
a2913 1
echo "configure:2906: checking for ctype.h" >&5
d2918 1
a2918 1
#line 2911 "configure"
d2923 1
a2923 1
{ (eval echo configure:2916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2941 1
a2941 1
echo "configure:2934: checking for gnu-linux <ctype>..." >&5
d2943 1
a2943 1
#line 2936 "configure"
d2954 1
a2954 1
if { (eval echo configure:2947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2971 1
a2971 1
echo "configure:2964: checking for solaris <ctype>..." >&5
d2973 1
a2973 1
#line 2966 "configure"
d2984 1
a2984 1
if { (eval echo configure:2977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2999 1
a2999 1
echo "configure:2992: checking   for version 2.6..." >&5
d3008 1
a3008 1
#line 3001 "configure"
d3015 1
a3015 1
if { (eval echo configure:3008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3057 1
a3057 1
echo "configure:3050: checking for $ac_hdr" >&5
d3062 1
a3062 1
#line 3055 "configure"
d3067 1
a3067 1
{ (eval echo configure:3060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3096 1
a3096 1
echo "configure:3089: checking for $ac_func" >&5
d3101 1
a3101 1
#line 3094 "configure"
d3124 1
a3124 1
if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3149 1
a3149 1
echo "configure:3142: checking for working mmap" >&5
d3157 1
a3157 1
#line 3150 "configure"
d3297 1
a3297 1
if { (eval echo configure:3290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3429 1
a3429 1
echo "configure:3422: checking for $ac_word" >&5
d3468 1
a3468 1
echo "configure:3461: checking for ld used by GCC" >&5
d3472 1
a3472 1
    [\\/]* | [A-Za-z]:[\\/]*)
d3492 1
a3492 1
echo "configure:3485: checking for GNU ld" >&5
d3495 1
a3495 1
echo "configure:3488: checking for non-GNU ld" >&5
d3501 1
a3501 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
d3504 1
a3504 1
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
d3529 1
d3531 1
a3531 1
echo "configure:3523: checking if the linker ($LD) is GNU ld" >&5
d3547 1
a3547 1
echo "configure:3539: checking for BSD-compatible nm" >&5
d3555 1
a3555 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
d3558 1
a3558 1
    if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
d3582 205
d3788 1
a3788 1
echo "configure:3575: checking whether ln -s works" >&5
a3808 5
case "$target" in
NONE) lt_target="$host" ;;
*) lt_target="$target" ;;
esac

d3814 2
a3817 10
libtool_flags="$libtool_flags --enable-dlopen"

# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then
  enableval="$enable_libtool_lock"
  :
fi

test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
d3821 1
a3821 1
case "$lt_target" in
d3824 2
a3825 2
  echo '#line 3624 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3846 1
a3846 1
echo "configure:3646: checking whether the C compiler needs -belf" >&5
d3851 1
a3851 1
#line 3651 "configure"
d3858 1
a3858 1
if { (eval echo configure:3658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3877 137
d4017 15
d4084 2
a4085 3
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
d4087 1
a4087 1
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
d4113 1
a4113 1
echo "configure:3762: checking for LC_MESSAGES" >&5
d4118 1
a4118 1
#line 3767 "configure"
d4125 1
a4125 1
if { (eval echo configure:3774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4366 3
d4370 1
@


1.56
log
@
2000-02-17  Benjamin Kosnik  <bkoz@@gnu.org>

	* acinclude.m4 (LIBS): Fix typos.
	* configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX for crosses.

	* src/Makefile.am (std_headers): Add libio.h as install include,
	as with _G_config.h
	* src/Makefile.in: Regenerate.

	* mkcheck.in: Add bits to set CXX to cross compiler.

	* src/complex_io.cc: Tweak.
	* configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
	* configure: Regenerate.

	* config/newlib/ctype.cc: Tweaks.
	* config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
	not const char.
	* src/complex_io.cc (operator>>(istream, complex): Define out if
	BUGGY_COMPLEX.
@
text
@d2058 4
d2078 1
a2078 1
echo "configure:2075: checking for GNU C++ __complex__ support" >&5
d2106 1
a2106 1
#line 2103 "configure"
d2113 1
a2113 1
if { (eval echo configure:2110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2145 1
a2145 1
echo "configure:2142: checking for GNU C++ __complex__ float support" >&5
d2178 1
a2178 1
#line 2175 "configure"
d2185 1
a2185 1
if { (eval echo configure:2182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2216 1
a2216 1
echo "configure:2213: checking for __builtin_sinf" >&5
d2218 1
a2218 1
#line 2215 "configure"
d2225 1
a2225 1
if { (eval echo configure:2222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2244 1
a2244 1
echo "configure:2241: checking for __builtin_cosf" >&5
d2246 1
a2246 1
#line 2243 "configure"
d2253 1
a2253 1
if { (eval echo configure:2250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2272 1
a2272 1
echo "configure:2269: checking for __builtin_fabsf" >&5
d2274 1
a2274 1
#line 2271 "configure"
d2281 1
a2281 1
if { (eval echo configure:2278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2300 1
a2300 1
echo "configure:2297: checking for __builtin_sqrtf" >&5
d2302 1
a2302 1
#line 2299 "configure"
d2309 1
a2309 1
if { (eval echo configure:2306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2329 1
a2329 1
echo "configure:2326: checking for sin in -lm" >&5
d2337 1
a2337 1
#line 2334 "configure"
d2348 1
a2348 1
if { (eval echo configure:2345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2375 1
a2375 1
echo "configure:2372: checking for $ac_hdr" >&5
d2380 1
a2380 1
#line 2377 "configure"
d2385 1
a2385 1
{ (eval echo configure:2382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2417 1
a2417 1
echo "configure:2414: checking for $ac_func" >&5
d2422 1
a2422 1
#line 2419 "configure"
d2445 1
a2445 1
if { (eval echo configure:2442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2474 1
a2474 1
echo "configure:2471: checking for sinl" >&5
d2479 1
a2479 1
#line 2476 "configure"
d2502 1
a2502 1
if { (eval echo configure:2499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2521 1
a2521 1
echo "configure:2518: checking for $ac_func" >&5
d2526 1
a2526 1
#line 2523 "configure"
d2549 1
a2549 1
if { (eval echo configure:2546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2587 1
a2587 1
echo "configure:2584: checking for $ac_func" >&5
d2592 1
a2592 1
#line 2589 "configure"
d2615 1
a2615 1
if { (eval echo configure:2612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2650 1
a2650 1
echo "configure:2647: checking for $ac_func" >&5
d2655 1
a2655 1
#line 2652 "configure"
d2678 1
a2678 1
if { (eval echo configure:2675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2708 1
a2708 1
echo "configure:2705: checking for wchar.h" >&5
d2713 1
a2713 1
#line 2710 "configure"
d2718 1
a2718 1
{ (eval echo configure:2715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2736 1
a2736 1
echo "configure:2733: checking for native mbstate_t" >&5
d2738 1
a2738 1
#line 2735 "configure"
d2745 1
a2745 1
if { (eval echo configure:2742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2765 1
a2765 1
echo "configure:2762: checking for WCHAR_MIN and WCHAR_MAX" >&5
d2767 1
a2767 1
#line 2764 "configure"
d2774 1
a2774 1
if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2797 1
a2797 1
echo "configure:2794: checking for WEOF" >&5
d2799 1
a2799 1
#line 2796 "configure"
d2808 1
a2808 1
if { (eval echo configure:2805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2823 1
a2823 1
echo "configure:2820: checking for $ac_func" >&5
d2828 1
a2828 1
#line 2825 "configure"
d2851 1
a2851 1
if { (eval echo configure:2848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2879 1
a2879 1
echo "configure:2876: checking for wide character support" >&5
d2905 1
a2905 1
echo "configure:2902: checking for ctype.h" >&5
d2910 1
a2910 1
#line 2907 "configure"
d2915 1
a2915 1
{ (eval echo configure:2912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2933 1
a2933 1
echo "configure:2930: checking for gnu-linux <ctype>..." >&5
d2935 1
a2935 1
#line 2932 "configure"
d2946 1
a2946 1
if { (eval echo configure:2943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2963 1
a2963 1
echo "configure:2960: checking for solaris <ctype>..." >&5
d2965 1
a2965 1
#line 2962 "configure"
d2976 1
a2976 1
if { (eval echo configure:2973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2991 1
a2991 1
echo "configure:2988: checking   for version 2.6..." >&5
d3000 1
a3000 1
#line 2997 "configure"
d3007 1
a3007 1
if { (eval echo configure:3004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3049 1
a3049 1
echo "configure:3046: checking for $ac_hdr" >&5
d3054 1
a3054 1
#line 3051 "configure"
d3059 1
a3059 1
{ (eval echo configure:3056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3088 1
a3088 1
echo "configure:3085: checking for $ac_func" >&5
d3093 1
a3093 1
#line 3090 "configure"
d3116 1
a3116 1
if { (eval echo configure:3113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3141 1
a3141 1
echo "configure:3138: checking for working mmap" >&5
d3149 1
a3149 1
#line 3146 "configure"
d3289 1
a3289 1
if { (eval echo configure:3286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3421 1
a3421 1
echo "configure:3418: checking for $ac_word" >&5
d3460 1
a3460 1
echo "configure:3457: checking for ld used by GCC" >&5
d3484 1
a3484 1
echo "configure:3481: checking for GNU ld" >&5
d3487 1
a3487 1
echo "configure:3484: checking for non-GNU ld" >&5
d3522 1
a3522 1
echo "configure:3519: checking if the linker ($LD) is GNU ld" >&5
d3538 1
a3538 1
echo "configure:3535: checking for BSD-compatible nm" >&5
d3574 1
a3574 1
echo "configure:3571: checking whether ln -s works" >&5
d3623 2
a3624 2
  echo '#line 3620 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3645 1
a3645 1
echo "configure:3642: checking whether the C compiler needs -belf" >&5
d3650 1
a3650 1
#line 3647 "configure"
d3657 1
a3657 1
if { (eval echo configure:3654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3761 1
a3761 1
echo "configure:3758: checking for LC_MESSAGES" >&5
d3766 1
a3766 1
#line 3763 "configure"
d3773 1
a3773 1
if { (eval echo configure:3770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.55
log
@
2000-02-17  Benjamin Kosnik  <bkoz@@gnu.org>

	* src/complex_io.cc: Tweak.
	* configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
	* configure: Regenerate.

	* config/newlib/ctype.cc: Tweaks.
	* config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
	not const char.
	* src/complex_io.cc (operator>>(istream, complex): Define out if
	BUGGY_COMPLEX.
@
text
@d2055 1
a2055 1
#define _GLIBCPP_BUGGY_COMPLEX 1
@


1.54
log
@
2000-02-15  Chip Salzenberg  <chip@@valinux.com>

        Support 'configure --enable-long-long'.
        * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
        * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
        * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add.  Default to undef.
        * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
        * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.

	* aclocal.m4: Regenerate.
        * config.h.in: Regenerate.
        * configure: Regenerate.

2000-02-15  Chip Salzenberg  <chip@@valinux.com>

        Improve (complete?) 'long long' support.
        * mknumeric_limits: Call $CXX with $CPPFLAGS.  Define statics
        for {,unsigned} long long if the limits header declares them.
        * src/gen-num-limits.cc: Include <bits/c++config.h> early.
        (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
        (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
        * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
        (num_put<>::put(..., long long)): Likewise.
        (num_put<>::put(..., unsigned long long)): Likewise.
        * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
        Templatize last parameter to support 'long long'.
        (num_put<>::put(...)): Call _S_format with new name.
        (num_put<>::put(..., long long)): Define.
        (num_put<>::put(..., unsigned long long)): Likewise.
        * src/locale-inst.cc (_S_format): Instantiate under new name.
@
text
@d2054 4
d2074 1
a2074 1
echo "configure:2071: checking for GNU C++ __complex__ support" >&5
d2102 1
a2102 1
#line 2099 "configure"
d2109 1
a2109 1
if { (eval echo configure:2106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2141 1
a2141 1
echo "configure:2138: checking for GNU C++ __complex__ float support" >&5
d2174 1
a2174 1
#line 2171 "configure"
d2181 1
a2181 1
if { (eval echo configure:2178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2212 1
a2212 1
echo "configure:2209: checking for __builtin_sinf" >&5
d2214 1
a2214 1
#line 2211 "configure"
d2221 1
a2221 1
if { (eval echo configure:2218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2240 1
a2240 1
echo "configure:2237: checking for __builtin_cosf" >&5
d2242 1
a2242 1
#line 2239 "configure"
d2249 1
a2249 1
if { (eval echo configure:2246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2268 1
a2268 1
echo "configure:2265: checking for __builtin_fabsf" >&5
d2270 1
a2270 1
#line 2267 "configure"
d2277 1
a2277 1
if { (eval echo configure:2274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2296 1
a2296 1
echo "configure:2293: checking for __builtin_sqrtf" >&5
d2298 1
a2298 1
#line 2295 "configure"
d2305 1
a2305 1
if { (eval echo configure:2302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2325 1
a2325 1
echo "configure:2322: checking for sin in -lm" >&5
d2333 1
a2333 1
#line 2330 "configure"
d2344 1
a2344 1
if { (eval echo configure:2341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2371 1
a2371 1
echo "configure:2368: checking for $ac_hdr" >&5
d2376 1
a2376 1
#line 2373 "configure"
d2381 1
a2381 1
{ (eval echo configure:2378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2413 1
a2413 1
echo "configure:2410: checking for $ac_func" >&5
d2418 1
a2418 1
#line 2415 "configure"
d2441 1
a2441 1
if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2470 1
a2470 1
echo "configure:2467: checking for sinl" >&5
d2475 1
a2475 1
#line 2472 "configure"
d2498 1
a2498 1
if { (eval echo configure:2495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2517 1
a2517 1
echo "configure:2514: checking for $ac_func" >&5
d2522 1
a2522 1
#line 2519 "configure"
d2545 1
a2545 1
if { (eval echo configure:2542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2583 1
a2583 1
echo "configure:2580: checking for $ac_func" >&5
d2588 1
a2588 1
#line 2585 "configure"
d2611 1
a2611 1
if { (eval echo configure:2608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2646 1
a2646 1
echo "configure:2643: checking for $ac_func" >&5
d2651 1
a2651 1
#line 2648 "configure"
d2674 1
a2674 1
if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2704 1
a2704 1
echo "configure:2701: checking for wchar.h" >&5
d2709 1
a2709 1
#line 2706 "configure"
d2714 1
a2714 1
{ (eval echo configure:2711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2732 1
a2732 1
echo "configure:2729: checking for native mbstate_t" >&5
d2734 1
a2734 1
#line 2731 "configure"
d2741 1
a2741 1
if { (eval echo configure:2738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2761 1
a2761 1
echo "configure:2758: checking for WCHAR_MIN and WCHAR_MAX" >&5
d2763 1
a2763 1
#line 2760 "configure"
d2770 1
a2770 1
if { (eval echo configure:2767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2793 1
a2793 1
echo "configure:2790: checking for WEOF" >&5
d2795 1
a2795 1
#line 2792 "configure"
d2804 1
a2804 1
if { (eval echo configure:2801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2819 1
a2819 1
echo "configure:2816: checking for $ac_func" >&5
d2824 1
a2824 1
#line 2821 "configure"
d2847 1
a2847 1
if { (eval echo configure:2844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2875 1
a2875 1
echo "configure:2872: checking for wide character support" >&5
d2901 1
a2901 1
echo "configure:2898: checking for ctype.h" >&5
d2906 1
a2906 1
#line 2903 "configure"
d2911 1
a2911 1
{ (eval echo configure:2908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2929 1
a2929 1
echo "configure:2926: checking for gnu-linux <ctype>..." >&5
d2931 1
a2931 1
#line 2928 "configure"
d2942 1
a2942 1
if { (eval echo configure:2939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2959 1
a2959 1
echo "configure:2956: checking for solaris <ctype>..." >&5
d2961 1
a2961 1
#line 2958 "configure"
d2972 1
a2972 1
if { (eval echo configure:2969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2987 1
a2987 1
echo "configure:2984: checking   for version 2.6..." >&5
d2996 1
a2996 1
#line 2993 "configure"
d3003 1
a3003 1
if { (eval echo configure:3000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3045 1
a3045 1
echo "configure:3042: checking for $ac_hdr" >&5
d3050 1
a3050 1
#line 3047 "configure"
d3055 1
a3055 1
{ (eval echo configure:3052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3084 1
a3084 1
echo "configure:3081: checking for $ac_func" >&5
d3089 1
a3089 1
#line 3086 "configure"
d3112 1
a3112 1
if { (eval echo configure:3109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3137 1
a3137 1
echo "configure:3134: checking for working mmap" >&5
d3145 1
a3145 1
#line 3142 "configure"
d3285 1
a3285 1
if { (eval echo configure:3282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3417 1
a3417 1
echo "configure:3414: checking for $ac_word" >&5
d3456 1
a3456 1
echo "configure:3453: checking for ld used by GCC" >&5
d3480 1
a3480 1
echo "configure:3477: checking for GNU ld" >&5
d3483 1
a3483 1
echo "configure:3480: checking for non-GNU ld" >&5
d3518 1
a3518 1
echo "configure:3515: checking if the linker ($LD) is GNU ld" >&5
d3534 1
a3534 1
echo "configure:3531: checking for BSD-compatible nm" >&5
d3570 1
a3570 1
echo "configure:3567: checking whether ln -s works" >&5
d3619 2
a3620 2
  echo '#line 3616 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3641 1
a3641 1
echo "configure:3638: checking whether the C compiler needs -belf" >&5
d3646 1
a3646 1
#line 3643 "configure"
d3653 1
a3653 1
if { (eval echo configure:3650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3757 1
a3757 1
echo "configure:3754: checking for LC_MESSAGES" >&5
d3762 1
a3762 1
#line 3759 "configure"
d3769 1
a3769 1
if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.53
log
@
2000-02-14  Benjamin Kosnik  <bkoz@@gnu.org>

	Add in ctype information for newlib "C" libraries.
	* config/newlib: New directory
 	* config/newlib/bits/ctype_base.h: New file.
	* config/newlib/ctype.cc: New file.

	* ctype/config/linux/*: Rename, move to...
	* ctype/config/gnu-linux/*: Here.

	Finish off multilib work.
	* configure.in: Don't set CXX if not Canadian cross.
	* configure: Regenerate.
	* acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.

	* install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
	the top-level gcc directory now.
	* mkinstalldirs: Remove.
	* missing: Remove
	* ltconfig: Remove.
	* ltmain.sh: Remove.
	* config.guess: Remove.
	* config.sub: Remove.

2000-02-13  Benjamin Kosnik  <bkoz@@cygnus.com>

	* configure.in (glibcpp_basedir): Add glibcpp_basedir.
	* Makefile.am: Move mutlilib stuff to src/Makefile.am.
	* Makefile.in: Regenerate.
	* src/Makefile.am: Add multilib bits.
	* src/Makefile.in: Regenerate.
@
text
@d27 2
d605 1
a605 1
echo "configure:604: checking host system type" >&5
d626 1
a626 1
echo "configure:625: checking target system type" >&5
d644 1
a644 1
echo "configure:643: checking build system type" >&5
d693 1
a693 1
echo "configure:692: checking for a BSD compatible install" >&5
d746 1
a746 1
echo "configure:745: checking whether build environment is sane" >&5
d803 1
a803 1
echo "configure:802: checking whether ${MAKE-make} sets \${MAKE}" >&5
d836 1
a836 1
echo "configure:835: checking for Cygwin environment" >&5
d841 1
a841 1
#line 840 "configure"
d852 1
a852 1
if { (eval echo configure:851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d869 1
a869 1
echo "configure:868: checking for mingw32 environment" >&5
d874 1
a874 1
#line 873 "configure"
d881 1
a881 1
if { (eval echo configure:880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d928 1
a928 1
echo "configure:927: checking host system type" >&5
d969 1
a969 1
echo "configure:968: checking for working aclocal" >&5
d982 1
a982 1
echo "configure:981: checking for working autoconf" >&5
d995 1
a995 1
echo "configure:994: checking for working automake" >&5
d1008 1
a1008 1
echo "configure:1007: checking for working autoheader" >&5
d1021 1
a1021 1
echo "configure:1020: checking for working makeinfo" >&5
d1047 1
a1047 1
echo "configure:1046: checking for $ac_word" >&5
d1077 1
a1077 1
echo "configure:1076: checking for $ac_word" >&5
d1126 1
a1126 1
echo "configure:1125: checking whether we are using GNU C" >&5
d1135 1
a1135 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1150 1
a1150 1
echo "configure:1149: checking whether ${CC-cc} accepts -g" >&5
d1187 1
a1187 1
echo "configure:1186: checking for $ac_word" >&5
d1220 1
a1220 1
echo "configure:1219: checking whether we are using GNU C++" >&5
d1229 1
a1229 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1244 1
a1244 1
echo "configure:1243: checking whether ${CXX-g++} accepts -g" >&5
d1277 1
a1277 1
echo "configure:1276: checking build system type" >&5
d1298 1
a1298 1
echo "configure:1297: checking for $ac_word" >&5
d1330 1
a1330 1
echo "configure:1329: checking for $ac_word" >&5
d1362 1
a1362 1
echo "configure:1361: checking for $ac_word" >&5
d1394 1
a1394 1
echo "configure:1393: checking for $ac_word" >&5
d1439 1
a1439 1
echo "configure:1438: checking for a BSD compatible install" >&5
d1493 1
a1493 1
echo "configure:1492: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1527 1
a1527 1
echo "configure:1526: checking for executable suffix" >&5
d1537 1
a1537 1
  if { (eval echo configure:1536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1584 1
a1584 1
echo "configure:1583: checking how to run the C preprocessor" >&5
d1599 1
a1599 1
#line 1598 "configure"
d1605 1
a1605 1
{ (eval echo configure:1604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1616 1
a1616 1
#line 1615 "configure"
d1622 1
a1622 1
{ (eval echo configure:1621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1633 1
a1633 1
#line 1632 "configure"
d1639 1
a1639 1
{ (eval echo configure:1638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1665 1
a1665 1
echo "configure:1664: checking for g++ compiler that will successfullly compile this code" >&5
d1667 1
a1667 1
#line 1666 "configure"
d1688 1
a1688 1
echo "configure:1687: checking for g++ compiler that supports new inlining mechanism" >&5
d1690 1
a1690 1
#line 1689 "configure"
d1714 1
a1714 1
echo "configure:1713: checking for libio.h" >&5
d1719 1
a1719 1
#line 1718 "configure"
d1724 1
a1724 1
{ (eval echo configure:1723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1769 1
a1769 1
echo "configure:1768: checking for $ac_hdr" >&5
d1774 1
a1774 1
#line 1773 "configure"
d1779 1
a1779 1
{ (eval echo configure:1778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1826 19
d1870 1
a1870 1
echo "configure:1850: checking for threads package to use" >&5
d1933 1
a1933 1
echo "configure:1913: checking for pthread.h" >&5
d1938 1
a1938 1
#line 1918 "configure"
d1943 1
a1943 1
{ (eval echo configure:1923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2070 1
a2070 1
echo "configure:2050: checking for GNU C++ __complex__ support" >&5
d2098 1
a2098 1
#line 2078 "configure"
d2105 1
a2105 1
if { (eval echo configure:2085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2137 1
a2137 1
echo "configure:2117: checking for GNU C++ __complex__ float support" >&5
d2170 1
a2170 1
#line 2150 "configure"
d2177 1
a2177 1
if { (eval echo configure:2157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2208 1
a2208 1
echo "configure:2188: checking for __builtin_sinf" >&5
d2210 1
a2210 1
#line 2190 "configure"
d2217 1
a2217 1
if { (eval echo configure:2197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2236 1
a2236 1
echo "configure:2216: checking for __builtin_cosf" >&5
d2238 1
a2238 1
#line 2218 "configure"
d2245 1
a2245 1
if { (eval echo configure:2225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2264 1
a2264 1
echo "configure:2244: checking for __builtin_fabsf" >&5
d2266 1
a2266 1
#line 2246 "configure"
d2273 1
a2273 1
if { (eval echo configure:2253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2292 1
a2292 1
echo "configure:2272: checking for __builtin_sqrtf" >&5
d2294 1
a2294 1
#line 2274 "configure"
d2301 1
a2301 1
if { (eval echo configure:2281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2321 1
a2321 1
echo "configure:2301: checking for sin in -lm" >&5
d2329 1
a2329 1
#line 2309 "configure"
d2340 1
a2340 1
if { (eval echo configure:2320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2367 1
a2367 1
echo "configure:2347: checking for $ac_hdr" >&5
d2372 1
a2372 1
#line 2352 "configure"
d2377 1
a2377 1
{ (eval echo configure:2357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2409 1
a2409 1
echo "configure:2389: checking for $ac_func" >&5
d2414 1
a2414 1
#line 2394 "configure"
d2437 1
a2437 1
if { (eval echo configure:2417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2466 1
a2466 1
echo "configure:2446: checking for sinl" >&5
d2471 1
a2471 1
#line 2451 "configure"
d2494 1
a2494 1
if { (eval echo configure:2474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2513 1
a2513 1
echo "configure:2493: checking for $ac_func" >&5
d2518 1
a2518 1
#line 2498 "configure"
d2541 1
a2541 1
if { (eval echo configure:2521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2579 1
a2579 1
echo "configure:2559: checking for $ac_func" >&5
d2584 1
a2584 1
#line 2564 "configure"
d2607 1
a2607 1
if { (eval echo configure:2587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2642 1
a2642 1
echo "configure:2622: checking for $ac_func" >&5
d2647 1
a2647 1
#line 2627 "configure"
d2670 1
a2670 1
if { (eval echo configure:2650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2700 1
a2700 1
echo "configure:2680: checking for wchar.h" >&5
d2705 1
a2705 1
#line 2685 "configure"
d2710 1
a2710 1
{ (eval echo configure:2690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2728 1
a2728 1
echo "configure:2708: checking for native mbstate_t" >&5
d2730 1
a2730 1
#line 2710 "configure"
d2737 1
a2737 1
if { (eval echo configure:2717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2757 1
a2757 1
echo "configure:2737: checking for WCHAR_MIN and WCHAR_MAX" >&5
d2759 1
a2759 1
#line 2739 "configure"
d2766 1
a2766 1
if { (eval echo configure:2746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2789 1
a2789 1
echo "configure:2769: checking for WEOF" >&5
d2791 1
a2791 1
#line 2771 "configure"
d2800 1
a2800 1
if { (eval echo configure:2780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2815 1
a2815 1
echo "configure:2795: checking for $ac_func" >&5
d2820 1
a2820 1
#line 2800 "configure"
d2843 1
a2843 1
if { (eval echo configure:2823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2871 1
a2871 1
echo "configure:2851: checking for wide character support" >&5
d2897 1
a2897 1
echo "configure:2877: checking for ctype.h" >&5
d2902 1
a2902 1
#line 2882 "configure"
d2907 1
a2907 1
{ (eval echo configure:2887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2925 1
a2925 1
echo "configure:2905: checking for gnu-linux <ctype>..." >&5
d2927 1
a2927 1
#line 2907 "configure"
d2938 1
a2938 1
if { (eval echo configure:2918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2955 1
a2955 1
echo "configure:2935: checking for solaris <ctype>..." >&5
d2957 1
a2957 1
#line 2937 "configure"
d2968 1
a2968 1
if { (eval echo configure:2948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2983 1
a2983 1
echo "configure:2963: checking   for version 2.6..." >&5
d2992 1
a2992 1
#line 2972 "configure"
d2999 1
a2999 1
if { (eval echo configure:2979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3041 1
a3041 1
echo "configure:3021: checking for $ac_hdr" >&5
d3046 1
a3046 1
#line 3026 "configure"
d3051 1
a3051 1
{ (eval echo configure:3031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3080 1
a3080 1
echo "configure:3060: checking for $ac_func" >&5
d3085 1
a3085 1
#line 3065 "configure"
d3108 1
a3108 1
if { (eval echo configure:3088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3133 1
a3133 1
echo "configure:3113: checking for working mmap" >&5
d3141 1
a3141 1
#line 3121 "configure"
d3281 1
a3281 1
if { (eval echo configure:3261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3413 1
a3413 1
echo "configure:3393: checking for $ac_word" >&5
d3452 1
a3452 1
echo "configure:3432: checking for ld used by GCC" >&5
d3476 1
a3476 1
echo "configure:3456: checking for GNU ld" >&5
d3479 1
a3479 1
echo "configure:3459: checking for non-GNU ld" >&5
d3514 1
a3514 1
echo "configure:3494: checking if the linker ($LD) is GNU ld" >&5
d3530 1
a3530 1
echo "configure:3510: checking for BSD-compatible nm" >&5
d3566 1
a3566 1
echo "configure:3546: checking whether ln -s works" >&5
d3615 2
a3616 2
  echo '#line 3595 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3637 1
a3637 1
echo "configure:3617: checking whether the C compiler needs -belf" >&5
d3642 1
a3642 1
#line 3622 "configure"
d3649 1
a3649 1
if { (eval echo configure:3629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3753 1
a3753 1
echo "configure:3733: checking for LC_MESSAGES" >&5
d3758 1
a3758 1
#line 3738 "configure"
d3765 1
a3765 1
if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.52
log
@
2000-02-12  Benjamin Kosnik  <bkoz@@cygnus.com>

	* configure.in: Clean, add some multilib support.
	* configure: Regenerate.
	* configure.host: New file.

	* acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
	roll a new function, checks for presence of libio.
	GLIBCPP_CHECK_COMPILER_VERSION: Same.
	GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
        GLIBCPP_CHECK_MATH_SUPPORT: Same.
	GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
	GLIBCPP_CHECK_LIBIO: Same.
	GLIBCPP_CHECK_CTYPE: Same.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.

	* Makefile.am: Tweaks.
	* Makefile.in: Regenerate.
@
text
@a553 3
#AC_CONFIG_AUX_DIR(..)

# Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
d555 1
a555 1
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
d567 1
a567 1
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
d574 2
d603 1
a603 1
echo "configure:605: checking host system type" >&5
d624 1
a624 1
echo "configure:626: checking target system type" >&5
d642 1
a642 1
echo "configure:644: checking build system type" >&5
d691 1
a691 1
echo "configure:693: checking for a BSD compatible install" >&5
d744 1
a744 1
echo "configure:746: checking whether build environment is sane" >&5
d801 1
a801 1
echo "configure:803: checking whether ${MAKE-make} sets \${MAKE}" >&5
d834 1
a834 1
echo "configure:836: checking for Cygwin environment" >&5
d839 1
a839 1
#line 841 "configure"
d850 1
a850 1
if { (eval echo configure:852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d867 1
a867 1
echo "configure:869: checking for mingw32 environment" >&5
d872 1
a872 1
#line 874 "configure"
d879 1
a879 1
if { (eval echo configure:881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d926 1
a926 1
echo "configure:928: checking host system type" >&5
d967 1
a967 1
echo "configure:969: checking for working aclocal" >&5
d980 1
a980 1
echo "configure:982: checking for working autoconf" >&5
d993 1
a993 1
echo "configure:995: checking for working automake" >&5
d1006 1
a1006 1
echo "configure:1008: checking for working autoheader" >&5
d1019 1
a1019 1
echo "configure:1021: checking for working makeinfo" >&5
d1045 1
a1045 1
echo "configure:1047: checking for $ac_word" >&5
d1075 1
a1075 1
echo "configure:1077: checking for $ac_word" >&5
d1124 1
a1124 1
echo "configure:1126: checking whether we are using GNU C" >&5
d1133 1
a1133 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1148 1
a1148 1
echo "configure:1150: checking whether ${CC-cc} accepts -g" >&5
d1185 1
a1185 1
echo "configure:1187: checking for $ac_word" >&5
d1218 1
a1218 1
echo "configure:1220: checking whether we are using GNU C++" >&5
d1227 1
a1227 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1242 1
a1242 1
echo "configure:1244: checking whether ${CXX-g++} accepts -g" >&5
d1275 1
a1275 1
echo "configure:1277: checking build system type" >&5
d1296 1
a1296 1
echo "configure:1298: checking for $ac_word" >&5
d1328 1
a1328 1
echo "configure:1330: checking for $ac_word" >&5
d1360 1
a1360 1
echo "configure:1362: checking for $ac_word" >&5
d1392 1
a1392 1
echo "configure:1394: checking for $ac_word" >&5
d1437 1
a1437 1
echo "configure:1439: checking for a BSD compatible install" >&5
d1491 1
a1491 1
echo "configure:1493: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1525 1
a1525 1
echo "configure:1527: checking for executable suffix" >&5
d1535 1
a1535 1
  if { (eval echo configure:1537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1582 1
a1582 1
echo "configure:1584: checking how to run the C preprocessor" >&5
d1597 1
a1597 1
#line 1599 "configure"
d1603 1
a1603 1
{ (eval echo configure:1605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1614 1
a1614 1
#line 1616 "configure"
d1620 1
a1620 1
{ (eval echo configure:1622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1631 1
a1631 1
#line 1633 "configure"
d1637 1
a1637 1
{ (eval echo configure:1639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1663 1
a1663 1
echo "configure:1665: checking for g++ compiler that will successfullly compile this code" >&5
d1665 1
a1665 1
#line 1667 "configure"
d1686 1
a1686 1
echo "configure:1688: checking for g++ compiler that supports new inlining mechanism" >&5
d1688 1
a1688 1
#line 1690 "configure"
a1709 2
  echo $ac_n "checking for GNU libio""... $ac_c" 1>&6
echo "configure:1713: checking for GNU libio" >&5
d1712 1
a1712 1
echo "configure:1716: checking for libio.h" >&5
d1717 1
a1717 1
#line 1721 "configure"
d1722 1
a1722 1
{ (eval echo configure:1726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a1743 1
  echo "$ac_t""$has_libio" 1>&6
d1767 1
a1767 1
echo "configure:1772: checking for $ac_hdr" >&5
d1772 1
a1772 1
#line 1777 "configure"
d1777 1
a1777 1
{ (eval echo configure:1782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1849 1
a1849 1
echo "configure:1854: checking for threads package to use" >&5
d1912 1
a1912 1
echo "configure:1917: checking for pthread.h" >&5
d1917 1
a1917 1
#line 1922 "configure"
d1922 1
a1922 1
{ (eval echo configure:1927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a1997 1
    CXX=
d2049 1
a2049 1
echo "configure:2055: checking for GNU C++ __complex__ support" >&5
d2077 1
a2077 1
#line 2083 "configure"
d2084 1
a2084 1
if { (eval echo configure:2090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2116 1
a2116 1
echo "configure:2122: checking for GNU C++ __complex__ float support" >&5
d2149 1
a2149 1
#line 2155 "configure"
d2156 1
a2156 1
if { (eval echo configure:2162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2187 1
a2187 1
echo "configure:2193: checking for __builtin_sinf" >&5
d2189 1
a2189 1
#line 2195 "configure"
d2196 1
a2196 1
if { (eval echo configure:2202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2215 1
a2215 1
echo "configure:2221: checking for __builtin_cosf" >&5
d2217 1
a2217 1
#line 2223 "configure"
d2224 1
a2224 1
if { (eval echo configure:2230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2243 1
a2243 1
echo "configure:2249: checking for __builtin_fabsf" >&5
d2245 1
a2245 1
#line 2251 "configure"
d2252 1
a2252 1
if { (eval echo configure:2258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2271 1
a2271 1
echo "configure:2277: checking for __builtin_sqrtf" >&5
d2273 1
a2273 1
#line 2279 "configure"
d2280 1
a2280 1
if { (eval echo configure:2286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2300 1
a2300 1
echo "configure:2306: checking for sin in -lm" >&5
d2308 1
a2308 1
#line 2314 "configure"
d2319 1
a2319 1
if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2346 1
a2346 1
echo "configure:2352: checking for $ac_hdr" >&5
d2351 1
a2351 1
#line 2357 "configure"
d2356 1
a2356 1
{ (eval echo configure:2362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2388 1
a2388 1
echo "configure:2394: checking for $ac_func" >&5
d2393 1
a2393 1
#line 2399 "configure"
d2416 1
a2416 1
if { (eval echo configure:2422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2445 1
a2445 1
echo "configure:2451: checking for sinl" >&5
d2450 1
a2450 1
#line 2456 "configure"
d2473 1
a2473 1
if { (eval echo configure:2479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2492 1
a2492 1
echo "configure:2498: checking for $ac_func" >&5
d2497 1
a2497 1
#line 2503 "configure"
d2520 1
a2520 1
if { (eval echo configure:2526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2558 1
a2558 1
echo "configure:2564: checking for $ac_func" >&5
d2563 1
a2563 1
#line 2569 "configure"
d2586 1
a2586 1
if { (eval echo configure:2592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2621 1
a2621 1
echo "configure:2627: checking for $ac_func" >&5
d2626 1
a2626 1
#line 2632 "configure"
d2649 1
a2649 1
if { (eval echo configure:2655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2679 1
a2679 1
echo "configure:2685: checking for wchar.h" >&5
d2684 1
a2684 1
#line 2690 "configure"
d2689 1
a2689 1
{ (eval echo configure:2695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2707 1
a2707 1
echo "configure:2713: checking for native mbstate_t" >&5
d2709 1
a2709 1
#line 2715 "configure"
d2716 1
a2716 1
if { (eval echo configure:2722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2736 1
a2736 1
echo "configure:2742: checking for WCHAR_MIN and WCHAR_MAX" >&5
d2738 1
a2738 1
#line 2744 "configure"
d2745 1
a2745 1
if { (eval echo configure:2751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2768 1
a2768 1
echo "configure:2774: checking for WEOF" >&5
d2770 1
a2770 1
#line 2776 "configure"
d2779 1
a2779 1
if { (eval echo configure:2785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2794 1
a2794 1
echo "configure:2800: checking for $ac_func" >&5
d2799 1
a2799 1
#line 2805 "configure"
d2822 1
a2822 1
if { (eval echo configure:2828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2850 1
a2850 1
echo "configure:2856: checking for wide character support" >&5
d2876 1
a2876 1
echo "configure:2882: checking for ctype.h" >&5
d2881 1
a2881 1
#line 2887 "configure"
d2886 1
a2886 1
{ (eval echo configure:2892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2904 1
a2904 1
echo "configure:2910: checking for gnu-linux <ctype>..." >&5
d2906 1
a2906 1
#line 2912 "configure"
d2917 1
a2917 1
if { (eval echo configure:2923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2930 1
a2930 1
      ctype_include_dir="config/linux"
d2934 1
a2934 1
echo "configure:2940: checking for solaris <ctype>..." >&5
d2936 1
a2936 1
#line 2942 "configure"
d2947 1
a2947 1
if { (eval echo configure:2953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2962 1
a2962 1
echo "configure:2968: checking   for version 2.6..." >&5
d2971 1
a2971 1
#line 2977 "configure"
d2978 1
a2978 1
if { (eval echo configure:2984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3020 1
a3020 1
echo "configure:3026: checking for $ac_hdr" >&5
d3025 1
a3025 1
#line 3031 "configure"
d3030 1
a3030 1
{ (eval echo configure:3036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3059 1
a3059 1
echo "configure:3065: checking for $ac_func" >&5
d3064 1
a3064 1
#line 3070 "configure"
d3087 1
a3087 1
if { (eval echo configure:3093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3112 1
a3112 1
echo "configure:3118: checking for working mmap" >&5
d3120 1
a3120 1
#line 3126 "configure"
d3260 1
a3260 1
if { (eval echo configure:3266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3392 1
a3392 1
echo "configure:3398: checking for $ac_word" >&5
d3431 1
a3431 1
echo "configure:3437: checking for ld used by GCC" >&5
d3455 1
a3455 1
echo "configure:3461: checking for GNU ld" >&5
d3458 1
a3458 1
echo "configure:3464: checking for non-GNU ld" >&5
d3493 1
a3493 1
echo "configure:3499: checking if the linker ($LD) is GNU ld" >&5
d3509 1
a3509 1
echo "configure:3515: checking for BSD-compatible nm" >&5
d3545 1
a3545 1
echo "configure:3551: checking whether ln -s works" >&5
d3594 2
a3595 2
  echo '#line 3600 "configure"' > conftest.$ac_ext
  if { (eval echo configure:3601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3616 1
a3616 1
echo "configure:3622: checking whether the C compiler needs -belf" >&5
d3621 1
a3621 1
#line 3627 "configure"
d3628 1
a3628 1
if { (eval echo configure:3634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3732 1
a3732 1
echo "configure:3738: checking for LC_MESSAGES" >&5
d3737 1
a3737 1
#line 3743 "configure"
d3744 1
a3744 1
if { (eval echo configure:3750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4203 1
@


1.51
log
@
2000-02-11  Benjamin Kosnik  <bkoz@@cygnus.com>

	* configure.in: Make outputing the libio/Makefile
	conditional. Haha, yeah right. Anyway, we instead do this thing
	where if libio is found, then we build a null library, as there is
	no point in duplicating the found libio.
	* Makefile.am: Tweak.
	* Makefile: Regenerate.
	* libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
	are happy happy happy.
	* libio/Makefile.am: Regenerate.
	* libio/gen-params: New file.
	* src/Makefile.am: Make libio.la non-conditional, as it is now a
	null library if it's not needed. At least we are being consistent,
	if not as elegant as we could be.
	* src/Makefile: Regenerate.
@
text
@d15 2
a16 2
  --enable-maintainer-mode enable make rules and dependencies not useful
                          (and sometimes confusing) to the casual installer"
d18 1
a18 1
  --enable-shared[=PKGS]  build shared libraries [default=yes]"
d20 1
a20 1
  --enable-static[=PKGS]  build static libraries [default=yes]"
d22 2
a23 5
  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
ac_help="$ac_help
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
ac_help="$ac_help
  --disable-libtool-lock  avoid locking (might break parallel builds)"
d29 3
d35 3
a37 2
  --enable-threads        enable thread usage for target GCC.
  --enable-threads=LIB    use LIB thread package for target GCC."
d39 1
a39 1
  --with-target-subdir=SUBDIR configuring in a subdirectory"
d41 1
a41 1
  --with-cross-host=HOST  configuring with a cross compiler"
d43 1
a43 1
  --enable-multilib       build hella library versions (default)"
d554 2
d604 1
a604 1
echo "configure:602: checking host system type" >&5
d625 1
a625 1
echo "configure:623: checking target system type" >&5
d643 1
a643 1
echo "configure:641: checking build system type" >&5
a664 1
#AC_CONFIG_AUX_DIR(..)
d666 5
a670 36
# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
# at least currently, we never actually build a program, so we never
# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
# fails, because we are probably configuring with a cross compiler
# which cant create executables.  So we include AC_EXEEXT to keep
# automake happy, but we dont execute it, since we dont care about
# the result.
if false; then
  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
echo "configure:674: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 679 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
EOF
if { (eval echo configure:690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_cygwin=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_cygwin=no
fi
rm -f conftest*
rm -f conftest*
d673 4
a676 58
echo "$ac_t""$ac_cv_cygwin" 1>&6
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
echo "configure:707: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 712 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
EOF
if { (eval echo configure:719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_mingw32=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_mingw32=no
fi
rm -f conftest*
rm -f conftest*
fi

echo "$ac_t""$ac_cv_mingw32" 1>&6
MINGW32=
test "$ac_cv_mingw32" = yes && MINGW32=yes


echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
echo "configure:738: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
  ac_cv_exeext=.exe
else
  rm -f conftest*
  echo 'int main () { return 0; }' > conftest.$ac_ext
  ac_cv_exeext=
  if { (eval echo configure:748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    for file in conftest.*; do
      case $file in
      *.c | *.o | *.obj) ;;
      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
      esac
    done
  else
    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
  fi
  rm -f conftest*
  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
fi
a678 6
EXEEXT=""
test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
echo "$ac_t""${ac_cv_exeext}" 1>&6
ac_exeext=$EXEEXT

fi
d692 1
a692 1
echo "configure:782: checking for a BSD compatible install" >&5
d745 1
a745 1
echo "configure:835: checking whether build environment is sane" >&5
d802 1
a802 1
echo "configure:892: checking whether ${MAKE-make} sets \${MAKE}" >&5
d828 119
d948 1
d968 1
a968 1
echo "configure:938: checking for working aclocal" >&5
d981 1
a981 1
echo "configure:951: checking for working autoconf" >&5
d994 1
a994 1
echo "configure:964: checking for working automake" >&5
d1007 1
a1007 1
echo "configure:977: checking for working autoheader" >&5
d1020 1
a1020 1
echo "configure:990: checking for working makeinfo" >&5
a1032 9
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
echo "configure:1004: checking whether to enable maintainer-specific portions of Makefiles" >&5
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
  enableval="$enable_maintainer_mode"
  USE_MAINTAINER_MODE=$enableval
else
  USE_MAINTAINER_MODE=no
fi
d1034 5
a1038 2
  echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
  
a1039 9
if test $USE_MAINTAINER_MODE = yes; then
  MAINTAINER_MODE_TRUE=
  MAINTAINER_MODE_FALSE='#'
else
  MAINTAINER_MODE_TRUE='#'
  MAINTAINER_MODE_FALSE=
fi
  MAINT=$MAINTAINER_MODE_TRUE
  
d1043 15
a1057 117


# Checks for programs.
# Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
  enableval="$enable_shared"
  p=${PACKAGE-default}
case "$enableval" in
yes) enable_shared=yes ;;
no) enable_shared=no ;;
*)
  enable_shared=no
  # Look at the argument we got.  We use all the common list separators.
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  for pkg in $enableval; do
    if test "X$pkg" = "X$p"; then
      enable_shared=yes
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
else
  enable_shared=yes
fi

# Check whether --enable-static or --disable-static was given.
if test "${enable_static+set}" = set; then
  enableval="$enable_static"
  p=${PACKAGE-default}
case "$enableval" in
yes) enable_static=yes ;;
no) enable_static=no ;;
*)
  enable_static=no
  # Look at the argument we got.  We use all the common list separators.
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  for pkg in $enableval; do
    if test "X$pkg" = "X$p"; then
      enable_static=yes
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
else
  enable_static=yes
fi

# Check whether --enable-fast-install or --disable-fast-install was given.
if test "${enable_fast_install+set}" = set; then
  enableval="$enable_fast_install"
  p=${PACKAGE-default}
case "$enableval" in
yes) enable_fast_install=yes ;;
no) enable_fast_install=no ;;
*)
  enable_fast_install=no
  # Look at the argument we got.  We use all the common list separators.
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  for pkg in $enableval; do
    if test "X$pkg" = "X$p"; then
      enable_fast_install=yes
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
else
  enable_fast_install=yes
fi

# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1103: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
fi
fi
RANLIB="$ac_cv_prog_RANLIB"
if test -n "$RANLIB"; then
  echo "$ac_t""$RANLIB" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1133: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
d1076 1
a1076 1
echo "configure:1163: checking for $ac_word" >&5
a1120 34
  if test -z "$CC"; then
    case "`uname -s`" in
    *win32* | *WIN32*)
      # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1214: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CC="cl"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
else
  echo "$ac_t""no" 1>&6
fi
 ;;
    esac
  fi
a1123 47
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:1246: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5

ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

cat > conftest.$ac_ext << EOF

#line 1257 "configure"
#include "confdefs.h"

main(){return(0);}
EOF
if { (eval echo configure:1262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cc_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cc_cross=no
  else
    ac_cv_prog_cc_cross=yes
  fi
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cc_works=no
fi
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:1288: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross

d1125 1
a1125 1
echo "configure:1293: checking whether we are using GNU C" >&5
d1134 1
a1134 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1145 5
a1149 9
else
  GCC=
fi

ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1321: checking whether ${CC-cc} accepts -g" >&5
d1164 3
a1166 4
if test "$ac_test_CFLAGS" = set; then
  CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
d1169 1
a1169 1
    CFLAGS="-g"
d1172 2
a1173 5
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi
a1175 7
# Check whether --with-gnu-ld or --without-gnu-ld was given.
if test "${with_gnu_ld+set}" = set; then
  withval="$with_gnu_ld"
  test "$withval" = no || with_gnu_ld=yes
else
  with_gnu_ld=no
fi
d1177 12
a1188 29
ac_prog=ld
if test "$ac_cv_prog_gcc" = yes; then
  # Check if gcc -print-prog-name=ld gives a path.
  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
echo "configure:1364: checking for ld used by GCC" >&5
  ac_prog=`($CC -print-prog-name=ld) 2>&5`
  case "$ac_prog" in
    # Accept absolute paths.
    [\\/]* | [A-Za-z]:[\\/]*)
      re_direlt='/[^/][^/]*/\.\./'
      # Canonicalize the path of ld
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
      done
      test -z "$LD" && LD="$ac_prog"
      ;;
  "")
    # If it fails, then pretend we aren't using GCC.
    ac_prog=ld
    ;;
  *)
    # If it is relative, then search for the first ld in PATH.
    with_gnu_ld=unknown
    ;;
  esac
elif test "$with_gnu_ld" = yes; then
  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
echo "configure:1388: checking for GNU ld" >&5
d1190 2
a1191 5
  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
echo "configure:1391: checking for non-GNU ld" >&5
fi
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1193 3
a1195 3
  if test -z "$LD"; then
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  for ac_dir in $PATH; do
d1197 3
a1199 10
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
      ac_cv_path_LD="$ac_dir/$ac_prog"
      # Check to see if the program is GNU ld.  I'd rather use --version,
      # but apparently some GNU ld's only accept -v.
      # Break only if it was the GNU/non-GNU ld that we prefer.
      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
	test "$with_gnu_ld" != no && break
      else
	test "$with_gnu_ld" != yes && break
      fi
a1202 2
else
  ac_cv_path_LD="$LD" # Let the user override the test with a path.
d1205 3
a1207 4

LD="$ac_cv_path_LD"
if test -n "$LD"; then
  echo "$ac_t""$LD" 1>&6
a1210 13
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
echo "configure:1426: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  ac_cv_prog_gnu_ld=yes
else
  ac_cv_prog_gnu_ld=no
fi
fi
d1212 5
a1216 1
echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
d1218 3
a1220 4

echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
echo "configure:1442: checking for BSD-compatible nm" >&5
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
d1223 7
a1229 3
  if test -n "$NM"; then
  # Let the user override the test.
  ac_cv_path_NM="$NM"
d1231 1
a1231 21
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
      # Check to see if the nm accepts a BSD-compat flag.
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
      #   nm: unknown option "B" ignored
      if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
	ac_cv_path_NM="$ac_dir/nm -B"
	break
      elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
	ac_cv_path_NM="$ac_dir/nm -p"
	break
      else
	ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
	continue # so that we can try to find one that supports BSD flags
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
d1235 1
a1235 2
NM="$ac_cv_path_NM"
echo "$ac_t""$NM" 1>&6
d1237 8
a1244 3
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
echo "configure:1478: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
d1247 3
a1249 5
  rm -f conftestdata
if ln -s X conftestdata 2>/dev/null
then
  rm -f conftestdata
  ac_cv_prog_LN_S="ln -s"
d1251 1
a1251 1
  ac_cv_prog_LN_S=ln
d1253 1
a1253 22
fi
LN_S="$ac_cv_prog_LN_S"
if test "$ac_cv_prog_LN_S" = "ln -s"; then
  echo "$ac_t""yes" 1>&6
else
  echo "$ac_t""no" 1>&6
fi


case "$target" in
NONE) lt_target="$host" ;;
*) lt_target="$target" ;;
esac

# Check for any special flags to pass to ltconfig.
libtool_flags="--cache-file=$cache_file"
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"

a1254 4
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then
  enableval="$enable_libtool_lock"
  :
d1257 7
a1263 21
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"

# Some flags need to be propagated to the compiler or linker for good
# libtool support.
case "$lt_target" in
*-*-irix6*)
  # Find out which ABI we are using.
  echo '#line 1527 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    case "`/usr/bin/file conftest.o`" in
    *32-bit*)
      LD="${LD-ld} -32"
      ;;
    *N32*)
      LD="${LD-ld} -n32"
      ;;
    *64-bit*)
      LD="${LD-ld} -64"
      ;;
    esac
a1264 11
  rm -rf conftest*
  ;;

*-*-sco3.2v5*)
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  SAVE_CFLAGS="$CFLAGS"
  CFLAGS="$CFLAGS -belf"
  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
echo "configure:1549: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1266 2
a1267 18
  cat > conftest.$ac_ext <<EOF
#line 1554 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  lt_cv_cc_needs_belf=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  lt_cv_cc_needs_belf=no
fi
rm -f conftest*
a1269 6
echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    CFLAGS="$SAVE_CFLAGS"
  fi
  ;;
d1271 6
d1278 7
d1287 5
a1292 77
# Save cache, so that ltconfig can load it
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
  *ac_space=\ *)
    # `set' does not quote correctly, so add quotes (double-quote substitution
    # turns \\\\ into \\, and sed turns \\ into \).
    sed -n \
      -e "s/'/'\\\\''/g" \
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    ;;
  *)
    # `set' quotes correctly as required by POSIX, so do not add quotes.
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    ;;
  esac >> confcache
if cmp -s $cache_file confcache; then
  :
else
  if test -w $cache_file; then
    echo "updating cache $cache_file"
    cat confcache > $cache_file
  else
    echo "not updating unwritable cache $cache_file"
  fi
fi
rm -f confcache


# Actually configure libtool.  ac_aux_dir is where install-sh is found.
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }

# Reload cache, that may have been modified by ltconfig
if test -r "$cache_file"; then
  echo "loading cache $cache_file"
  . $cache_file
else
  echo "creating cache $cache_file"
  > $cache_file
fi


# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"

# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

# Redirect the config.log output again, so that the ltconfig log is not
# clobbered by the next message.
exec 5>>./config.log
d1294 2
a1295 2
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
d1297 2
a1298 2
echo "configure:1665: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
d1301 2
a1302 2
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
d1309 1
a1309 1
      ac_cv_prog_CC="gcc"
d1314 1
d1317 3
a1319 3
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
d1324 4
a1327 3
if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
d1329 2
a1330 2
echo "configure:1695: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
d1333 2
a1334 2
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
a1336 1
  ac_prog_rejected=no
d1341 1
a1341 5
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
	continue
      fi
      ac_cv_prog_CC="cc"
d1346 1
a1346 13
if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# -gt 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    set dummy "$ac_dir/$ac_word" "$@@"
    shift
    ac_cv_prog_CC="$@@"
  fi
d1349 3
a1351 4
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
d1356 4
a1359 5
  if test -z "$CC"; then
    case "`uname -s`" in
    *win32* | *WIN32*)
      # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
d1361 2
a1362 2
echo "configure:1746: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
d1365 2
a1366 2
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
d1373 1
a1373 1
      ac_cv_prog_CC="cl"
d1380 3
a1382 3
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
a1385 5
 ;;
    esac
  fi
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi
a1386 2
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:1778: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1388 4
a1391 108
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

cat > conftest.$ac_ext << EOF

#line 1789 "configure"
#include "confdefs.h"

main(){return(0);}
EOF
if { (eval echo configure:1794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cc_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cc_cross=no
  else
    ac_cv_prog_cc_cross=yes
  fi
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cc_works=no
fi
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:1820: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross

echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:1825: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.c <<EOF
#ifdef __GNUC__
  yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gcc=yes
else
  ac_cv_prog_gcc=no
fi
fi

echo "$ac_t""$ac_cv_prog_gcc" 1>&6

if test $ac_cv_prog_gcc = yes; then
  GCC=yes
else
  GCC=
fi

ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1853: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  ac_cv_prog_cc_g=yes
else
  ac_cv_prog_cc_g=no
fi
rm -f conftest*

fi

echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
if test "$ac_test_CFLAGS" = set; then
  CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi
else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi
fi

for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
d1393 2
a1394 2
echo "configure:1889: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
d1397 2
a1398 2
  if test -n "$CXX"; then
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
d1405 1
a1405 1
      ac_cv_prog_CXX="$ac_prog"
d1410 1
d1413 3
a1415 3
CXX="$ac_cv_prog_CXX"
if test -n "$CXX"; then
  echo "$ac_t""$CXX" 1>&6
d1420 4
a1423 3
test -n "$CXX" && break
done
test -n "$CXX" || CXX="gcc"
d1426 42
a1467 2
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:1921: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1469 12
a1480 6
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
d1482 3
a1484 1
cat > conftest.$ac_ext << EOF
d1486 1
a1486 2
#line 1932 "configure"
#include "confdefs.h"
d1488 1
a1488 22
int main(){return(0);}
EOF
if { (eval echo configure:1937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cxx_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cxx_cross=no
  else
    ac_cv_prog_cxx_cross=yes
  fi
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cxx_works=no
fi
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
a1489 8
echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
if test $ac_cv_prog_cxx_works = no; then
  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:1963: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
cross_compiling=$ac_cv_prog_cxx_cross
d1491 6
a1496 4
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
echo "configure:1968: checking whether we are using GNU C++" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1498 1
a1498 10
  cat > conftest.C <<EOF
#ifdef __GNUC__
  yes;
#endif
EOF
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gxx=yes
else
  ac_cv_prog_gxx=no
fi
d1501 2
a1502 1
echo "$ac_t""$ac_cv_prog_gxx" 1>&6
d1504 3
a1506 2
if test $ac_cv_prog_gxx = yes; then
  GXX=yes
d1508 2
a1509 1
  GXX=
d1511 2
d1514 14
a1527 6
ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
echo "configure:1996: checking whether ${CXX-g++} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
d1530 2
a1531 3
  echo 'void f(){}' > conftest.cc
if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
  ac_cv_prog_cxx_g=yes
d1533 16
a1548 1
  ac_cv_prog_cxx_g=no
d1550 5
a1554 1
rm -f conftest*
d1558 19
a1576 16
echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
if test "$ac_test_CXXFLAGS" = set; then
  CXXFLAGS="$ac_save_CXXFLAGS"
elif test $ac_cv_prog_cxx_g = yes; then
  if test "$GXX" = yes; then
    CXXFLAGS="-g -O2"
  else
    CXXFLAGS="-g"
  fi
else
  if test "$GXX" = yes; then
    CXXFLAGS="-O2"
  else
    CXXFLAGS=
  fi
fi
a1577 20
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
echo "configure:2028: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  rm -f conftestdata
if ln -s X conftestdata 2>/dev/null
then
  rm -f conftestdata
  ac_cv_prog_LN_S="ln -s"
else
  ac_cv_prog_LN_S=ln
fi
fi
LN_S="$ac_cv_prog_LN_S"
if test "$ac_cv_prog_LN_S" = "ln -s"; then
  echo "$ac_t""yes" 1>&6
else
  echo "$ac_t""no" 1>&6
fi
d1581 1
a1581 2
# C++, g++, or libstdc++ specific macros.
# Checks for versions of g++ to determine how optimal to be.
d1583 1
a1583 1
echo "configure:2053: checking how to run the C preprocessor" >&5
d1598 1
a1598 1
#line 2068 "configure"
d1604 1
a1604 1
{ (eval echo configure:2074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1615 1
a1615 1
#line 2085 "configure"
d1621 1
a1621 1
{ (eval echo configure:2091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1632 1
a1632 1
#line 2102 "configure"
d1638 1
a1638 1
{ (eval echo configure:2108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1662 5
a1666 2
cat > conftest.$ac_ext <<EOF
#line 2133 "configure"
d1669 22
a1690 3
#if (__GNUC__ == 2 && __GNUC_MINOR__ > 95) || __GNUC__ > 2
ok
#endif
d1692 4
d1707 2
d1711 10
a1720 5
# Check for GNU libio.  (If found, do not compile libio.)
echo $ac_n "checking for GNU libio""... $ac_c" 1>&6
echo "configure:2155: checking for GNU libio" >&5
cat > conftest.$ac_ext <<EOF
#line 2157 "configure"
a1722 6
int main() {
#ifdef _IO_STDIO_H
#else
  #error __libio_assumed_not_present
#endif
; return 0; }
d1724 4
a1727 1
if { (eval echo configure:2167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1729 1
a1729 1
  has_libio=yes
d1731 1
d1735 1
a1735 1
  has_libio=no
d1738 4
a1741 3
echo "$ac_t""$has_libio" 1>&6
if test $has_libio = "yes"; then
 BUILD_LIBIO_INCLUDE=
d1743 2
a1744 1
 BUILD_LIBIO_INCLUDE='-I../libio'
d1747 8
a1754 1

d1764 45
d1851 111
d1983 21
a2003 4
#GLIBCPP_ENABLE_THREADS
# bkoz native only?
#GLIBCPP_CHECK_LIBIO
#GLIBCPP_CHECK_COMPILER_OPTLEVEL
d2006 60
a2065 13
  echo $ac_n "checking for GNU C++ float __complex__ support""... $ac_c" 1>&6
echo "configure:2264: checking for GNU C++ float __complex__ support" >&5
  if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
    
    ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
d2070 3
a2072 2
      // Check for buggy __complex__ that causes ICE in most versions of egcs
      // and gcc-2.95.x on certain platforms (eg., x86-win32).
d2074 6
a2079 12
      // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
      // more info on the bug itself.
      //
      struct
      float_complex
      {
       __complex__ float m_value;
       float_complex (float = 0.0f, float = 0.0f);
       float_complex (__complex__ float val) : m_value (val) {}
       float_complex foo (const float_complex &val)
         { return float_complex (~val.m_value); }
      };
d2082 1
a2082 1
#line 2297 "configure"
d2089 1
a2089 1
if { (eval echo configure:2304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2091 1
a2091 1
  glibcpp_cv_float_complex=ok
d2096 1
a2096 1
  glibcpp_cv_float_complex=buggy
d2110 2
a2111 2
  echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
  if test $glibcpp_cv_float_complex = buggy; then
d2113 1
a2113 1
#define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
a2117 1

d2119 4
a2122 3
  echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
echo "configure:2336: checking for GNU C++ __complex__ support" >&5
  if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
d2137 5
a2141 3
      // Check for buggy __complex__ that will cause ICE in gcc-2.95.x when
      // using the library, unless we define the default copy ctor in the
      // specializations of complex<>.
d2143 9
a2151 6
      struct dcomplex { __complex__ double x; };
      dcomplex f(const dcomplex& x) { return dcomplex(x); }
      int main() {
	dcomplex x;
	f(x);
      }
d2154 1
a2154 1
#line 2364 "configure"
d2161 1
a2161 1
if { (eval echo configure:2371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2163 1
a2163 1
  glibcpp_cv_complex=ok
d2168 1
a2168 1
  glibcpp_cv_complex=buggy
d2182 2
a2183 2
  echo "$ac_t""$glibcpp_cv_complex" 1>&6
  if test $glibcpp_cv_complex = buggy; then
d2185 1
a2185 1
#define _GLIBCPP_BUGGY_COMPLEX 1
d2190 26
d2217 1
d2219 18
a2236 12
# Test for threads. Note this comes from the gcc/config.in and
# libjava/config.in
# Enable threads
# Pass with no value to take the default
# Pass with a value to specify a thread package
echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
echo "configure:2408: checking for threads package to use" >&5
# Check whether --enable-threads or --disable-threads was given.
if test "${enable_threads+set}" = set; then
  enableval="$enable_threads"
  if test x$enable_threads = xno; then
	enable_threads=''
d2238 22
d2261 4
a2264 1
  enable_threads=''
d2266 6
d2273 1
d2275 25
a2299 20
enable_threads_flag=$enable_threads
# Check if a valid thread package
case x${enable_threads_flag} in
	x | xno | xnone)
		# No threads
		target_thread_file='single'
		;;
	xyes)
		# default
		target_thread_file=''
		;;
	xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
	xsolaris | xwin32 | xdce | xvxworks)
		target_thread_file=$enable_threads_flag
		;;
	*)
		echo "$enable_threads is an unknown thread package" 1>&2
		exit 1
		;;
esac
d2301 1
a2301 20
# Check for thread package actually supported in libstdc++ 
case "$target_thread_file" in
 no | none | single)
    THREADS=none
    ;;
 posix | pthreads)
    THREADS=posix
    case "$host" in
     *-*-linux*)
	;;
    esac
    ;;
 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
    { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
    ;;
 *)
    { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
    ;;
esac
echo "$ac_t""$THREADS" 1>&6
d2303 5
a2307 12
THREADLIBS=
THREADINCS=
THREADDEPS=
THREADOBJS=
THREADH=
THREADSPEC=
case "$THREADS" in
 posix)
    ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
echo "configure:2472: checking for pthread.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
d2310 4
a2313 2
  cat > conftest.$ac_ext <<EOF
#line 2477 "configure"
d2315 8
a2322 1
#include <pthread.h>
d2324 1
a2324 4
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
d2326 1
a2326 1
  eval "ac_cv_header_$ac_safe=yes"
a2327 1
  echo "$ac_err" >&5
d2331 1
a2331 1
  eval "ac_cv_header_$ac_safe=no"
d2334 2
d2337 1
a2337 1
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
d2339 1
a2339 1
  have_pthread_h=yes
a2341 1
have_pthread_h=
d2344 4
a2347 74
    THREADLIBS=-lpthread
    THREADSPEC=-lpthread
# bkoz disable these until actually used
#    THREADOBJS=threads-posix.lo
    THREADH=threads-posix.h
    ;;
 none)
# bkoz disable these until actually used
#    THREADOBJS=threads-no.lo
    THREADH=threads-no.h
    ;;
esac







# Test for subdirs?
# Check whether --with-target-subdir or --without-target-subdir was given.
if test "${with_target_subdir+set}" = set; then
  withval="$with_target_subdir"
  :
fi


if test -z "$with_target_subdir" || test "$with_target_subdir" = "."; then
   COMPPATH=.
else
   COMPPATH=..
fi



# Test for xcompilation.
# Check whether --with-cross-host or --without-cross-host was given.
if test "${with_cross_host+set}" = set; then
  withval="$with_cross_host"
  :
fi


if test -n "$with_cross_host"; then
   # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
   # may not work correctly, because the compiler may not be able to
   # link executables.

   # We assume newlib.  This lets us hard-code the functions we know
   # we'll have.
   xcompiling=1
   echo "configure: warning: "being configured as a cross compiler"" 1>&2
   cat >> confdefs.h <<\EOF
#define HAVE_FINITE 1
EOF

   cat >> confdefs.h <<\EOF
#define HAVE_ISNAN 1
EOF

   cat >> confdefs.h <<\EOF
#define HAVE_ISNANF 1
EOF

   cat >> confdefs.h <<\EOF
#define HAVE_ISINF 1
EOF

   cat >> confdefs.h <<\EOF
#define HAVE_ISINFF 1
EOF

else
   for ac_hdr in unistd.h
d2351 1
a2351 1
echo "configure:2581: checking for $ac_hdr" >&5
d2356 1
a2356 1
#line 2586 "configure"
d2361 1
a2361 1
{ (eval echo configure:2591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2387 4
a2390 1
for ac_func in getpagesize
d2393 1
a2393 1
echo "configure:2620: checking for $ac_func" >&5
d2398 1
a2398 1
#line 2625 "configure"
d2421 1
a2421 1
if { (eval echo configure:2648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2442 1
d2446 6
a2451 3
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
echo "configure:2673: checking for working mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
a2453 3
  if test "$cross_compiling" = yes; then
  ac_cv_func_mmap_fixed_mapped=no
else
d2455 1
a2455 1
#line 2681 "configure"
d2457 7
d2465 1
a2465 16
/* Thanks to Mike Haertel and Jim Avera for this test.
   Here is a matrix of mmap possibilities:
	mmap private not fixed
	mmap private fixed at somewhere currently unmapped
	mmap private fixed at somewhere already mapped
	mmap shared not fixed
	mmap shared fixed at somewhere currently unmapped
	mmap shared fixed at somewhere already mapped
   For private mappings, we should verify that changes cannot be read()
   back from the file, nor mmap's back from the file at a different
   address.  (There have been systems where private was not correctly
   implemented like the infamous i386 svr4.0, and systems where the
   VM page cache was not coherent with the filesystem buffer cache
   like early versions of FreeBSD and possibly contemporary NetBSD.)
   For shared mappings, we should conversely verify that changes get
   propogated back to all the places they're supposed to be.
d2467 5
a2471 51
   Grep wants private fixed already mapped.
   The main things grep needs to know about mmap are:
   * does it exist and is it safe to write into the mmap'd area
   * how to use it (BSD variants)  */
#include <sys/types.h>
#include <fcntl.h>
#include <sys/mman.h>

/* This mess was copied from the GNU getpagesize.h.  */
#ifndef HAVE_GETPAGESIZE
# ifdef HAVE_UNISTD_H
#  include <unistd.h>
# endif

/* Assume that all systems that can run configure have sys/param.h.  */
# ifndef HAVE_SYS_PARAM_H
#  define HAVE_SYS_PARAM_H 1
# endif

# ifdef _SC_PAGESIZE
#  define getpagesize() sysconf(_SC_PAGESIZE)
# else /* no _SC_PAGESIZE */
#  ifdef HAVE_SYS_PARAM_H
#   include <sys/param.h>
#   ifdef EXEC_PAGESIZE
#    define getpagesize() EXEC_PAGESIZE
#   else /* no EXEC_PAGESIZE */
#    ifdef NBPG
#     define getpagesize() NBPG * CLSIZE
#     ifndef CLSIZE
#      define CLSIZE 1
#     endif /* no CLSIZE */
#    else /* no NBPG */
#     ifdef NBPC
#      define getpagesize() NBPC
#     else /* no NBPC */
#      ifdef PAGESIZE
#       define getpagesize() PAGESIZE
#      endif /* PAGESIZE */
#     endif /* no NBPC */
#    endif /* no NBPG */
#   endif /* no EXEC_PAGESIZE */
#  else /* no HAVE_SYS_PARAM_H */
#   define getpagesize() 8192	/* punt totally */
#  endif /* no HAVE_SYS_PARAM_H */
# endif /* no _SC_PAGESIZE */

#endif /* no HAVE_GETPAGESIZE */

#ifdef __cplusplus
extern "C" { void *malloc(unsigned); }
d2473 1
a2473 1
char *malloc();
d2476 1
a2476 64
int
main()
{
	char *data, *data2, *data3;
	int i, pagesize;
	int fd;

	pagesize = getpagesize();

	/*
	 * First, make a file with some known garbage in it.
	 */
	data = malloc(pagesize);
	if (!data)
		exit(1);
	for (i = 0; i < pagesize; ++i)
		*(data + i) = rand();
	umask(0);
	fd = creat("conftestmmap", 0600);
	if (fd < 0)
		exit(1);
	if (write(fd, data, pagesize) != pagesize)
		exit(1);
	close(fd);

	/*
	 * Next, try to mmap the file at a fixed address which
	 * already has something else allocated at it.  If we can,
	 * also make sure that we see the same garbage.
	 */
	fd = open("conftestmmap", O_RDWR);
	if (fd < 0)
		exit(1);
	data2 = malloc(2 * pagesize);
	if (!data2)
		exit(1);
	data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
	if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
	    MAP_PRIVATE | MAP_FIXED, fd, 0L))
		exit(1);
	for (i = 0; i < pagesize; ++i)
		if (*(data + i) != *(data2 + i))
			exit(1);

	/*
	 * Finally, make sure that changes to the mapped area
	 * do not percolate back to the file as seen by read().
	 * (This is a bug on some variants of i386 svr4.0.)
	 */
	for (i = 0; i < pagesize; ++i)
		*(data2 + i) = *(data2 + i) + 1;
	data3 = malloc(pagesize);
	if (!data3)
		exit(1);
	if (read(fd, data3, pagesize) != pagesize)
		exit(1);
	for (i = 0; i < pagesize; ++i)
		if (*(data + i) != *(data3 + i))
			exit(1);
	close(fd);
	unlink("conftestmmap");
	exit(0);
}

d2478 3
a2480 3
if { (eval echo configure:2821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_func_mmap_fixed_mapped=yes
d2484 2
a2485 2
  rm -fr conftest*
  ac_cv_func_mmap_fixed_mapped=no
d2487 1
a2487 1
rm -fr conftest*
d2490 5
a2494 13
fi

echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
if test $ac_cv_func_mmap_fixed_mapped = yes; then
  cat >> confdefs.h <<\EOF
#define HAVE_MMAP 1
EOF

fi

   xcompiling=0
   echo "configure: warning: "being configured as a native compiler"" 1>&2
   for ac_func in memcpy strerror
d2497 1
a2497 1
echo "configure:2848: checking for $ac_func" >&5
d2502 1
a2502 1
#line 2853 "configure"
d2525 1
a2525 1
if { (eval echo configure:2876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2546 1
a2549 2
fi

a2550 3
if test -z "$with_cross_host"; then
  USE_LIBDIR_TRUE=
  USE_LIBDIR_FALSE='#'
d2552 1
a2552 2
  USE_LIBDIR_TRUE='#'
  USE_LIBDIR_FALSE=
d2555 1
d2557 9
a2565 9
# Test for multilib.
# Check whether --enable-multilib or --disable-multilib was given.
if test "${enable_multilib+set}" = set; then
  enableval="$enable_multilib"
  case "${enableval}" in
  yes) multilib=yes ;;
  no)  multilib=no ;;
  *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
 esac
d2567 10
a2576 2
  multilib=yes
fi
d2578 1
d2580 8
a2587 25
if test "${multilib}" = "yes"; then
  multilib_arg="--enable-multilib"
else
  multilib_arg=
fi


#
# Math-related tests.
#
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
echo "configure:2937: checking for sin in -lm" >&5
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lm  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2945 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sin();
a2588 2
int main() {
sin()
d2591 1
a2591 1
if { (eval echo configure:2956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2593 1
a2593 1
  eval "ac_cv_lib_$ac_lib_var=yes"
d2598 1
a2598 1
  eval "ac_cv_lib_$ac_lib_var=no"
a2600 8
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  libm="-lm"
else
  echo "$ac_t""no" 1>&6
d2603 1
a2603 33
save_LIBS="$LIBS"
LIBS="$LIBS $libm"

# Check for complex versions of math functions of platform.
for ac_hdr in complex.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:2984: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2989 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
d2605 1
a2605 1
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
d2607 1
a2607 1
#define $ac_tr_hdr 1
d2615 9
a2623 4
for ac_func in ccos ccosf ccosh ccoshf cexp cexpf c_log c_logf \
clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt csqrtf \
ctan ctanf ctanh ctanhf \
carg cargf nan hypot hypotf atan2f expf copysignf
d2626 1
a2626 1
echo "configure:3026: checking for $ac_func" >&5
d2631 1
a2631 1
#line 3031 "configure"
d2654 1
a2654 1
if { (eval echo configure:3054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2674 1
LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
d2679 1
d2681 5
a2685 6
# We compile the long double complex functions only if the function provides
# the non-complex functions.
USE_LONG_DOUBLE=no
echo $ac_n "checking for sinl""... $ac_c" 1>&6
echo "configure:3085: checking for sinl" >&5
if eval "test \"`echo '$''{'ac_cv_func_sinl'+set}'`\" = set"; then
d2689 1
a2689 1
#line 3090 "configure"
d2691 1
a2691 20
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sinl(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sinl();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sinl) || defined (__stub___sinl)
choke me
#else
sinl();
#endif

; return 0; }
d2693 4
a2696 1
if { (eval echo configure:3113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2698 1
a2698 1
  eval "ac_cv_func_sinl=yes"
d2700 1
d2704 1
a2704 1
  eval "ac_cv_func_sinl=no"
d2708 1
a2708 2

if eval "test \"`echo '$ac_cv_func_'sinl`\" = yes"; then
d2710 3
a2712 9
  USE_LONG_DOUBLE=yes
 for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
 csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3132: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
d2714 1
a2714 1
#line 3137 "configure"
d2716 1
a2716 8
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

d2718 1
a2718 10

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

d2721 1
a2721 1
if { (eval echo configure:3160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2723 1
a2723 1
  eval "ac_cv_func_$ac_func=yes"
d2728 1
a2728 1
  eval "ac_cv_func_$ac_func=no"
d2731 5
a2735 1
fi
d2737 12
a2748 5
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
d2750 3
a2752 1
 
d2754 4
a2757 2
  echo "$ac_t""no" 1>&6
LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
d2759 6
a2764 1
done
d2766 8
a2773 18

else
  echo "$ac_t""no" 1>&6
fi



# Check to see if basic C math functions have faster float versions.
for ac_func in modf isnan isnanf isnanl isinf isinff isinfl copysign \
copysignl cosf coshf logf log10f powf sinf sinhf sqrtf tanf tanhf \
strtof strtold fabsf sincos sincosf sincosl finite finite fqfinite \
fpclass qfpclass
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3199: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
d2775 1
a2775 1
#line 3204 "configure"
a2776 7
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();
d2778 2
d2781 1
a2781 10

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

d2784 1
a2784 1
if { (eval echo configure:3227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2786 1
a2786 1
  eval "ac_cv_func_$ac_func=yes"
d2791 1
a2791 1
  eval "ac_cv_func_$ac_func=no"
d2794 1
a2794 14
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

d2796 1
a2796 8
# Some runtimes have these functions with a preceding underscore. Please
# keep this sync'd with the one above. And if you add any new symbol,
# please add the corresponding block in the @@BOTTOM@@ section of
# acconfig.h.
for ac_func in _modf _isnan _isnanf _isnanl _isinf _isinff _isinfl _copysign \
_copysignl _cosf _coshf _logf _log10f _powf _sinf _sinhf _sqrtf _tanf _tanhf \
_strtof _strtold _fabsf _sincos _sincosf _sincosl _finite _finitef _qfinite \
_fpclass _qfpclass
d2799 1
a2799 1
echo "configure:3262: checking for $ac_func" >&5
d2804 1
a2804 1
#line 3267 "configure"
d2827 1
a2827 1
if { (eval echo configure:3290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2848 1
d2853 34
a2886 3
# Test for builtin math functions.
cat > conftest.$ac_ext <<EOF
#line 3317 "configure"
d2888 1
a2888 4
#include <math.h>
int main() {
float foo(void) { __builtin_sinf(0.0); }
; return 0; }
d2890 4
a2893 1
if { (eval echo configure:3324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2895 1
a2895 1
  use_builtin_sinf=yes
d2897 1
d2901 1
a2901 1
  use_builtin_sinf=no
a2903 5
if test $use_builtin_sinf = "yes"; then
  cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_BUILTIN_SINF 1
EOF

d2905 7
a2911 3

cat > conftest.$ac_ext <<EOF
#line 3342 "configure"
d2913 1
a2913 1
#include <math.h>
d2915 5
a2919 1
float foo(void) { __builtin_cosf(0.0); }
d2922 1
a2922 1
if { (eval echo configure:3349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2924 2
a2925 1
  use_builtin_cosf=yes
d2930 1
a2930 1
  use_builtin_cosf=no
d2933 4
a2936 4
if test $use_builtin_cosf = "yes"; then
  cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_BUILTIN_COSF 1
EOF
d2938 4
a2941 4
fi

cat > conftest.$ac_ext <<EOF
#line 3367 "configure"
d2943 1
a2943 1
#include <math.h>
d2945 5
a2949 1
float foo(void) { __builtin_fabsf(0.0); }
d2952 1
a2952 1
if { (eval echo configure:3374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2954 2
a2955 1
  use_builtin_fabsf=yes
d2960 1
a2960 1
  use_builtin_fabsf=no
d2963 1
a2963 4
if test $use_builtin_fabsf = "yes"; then
  cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_BUILTIN_FABSF 1
EOF
d2965 12
a2976 4
fi

cat > conftest.$ac_ext <<EOF
#line 3392 "configure"
d2978 1
a2978 1
#include <math.h>
d2980 1
a2980 1
float foo(void) { __builtin_sqrtf(0.0); }
d2983 1
a2983 1
if { (eval echo configure:3399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2985 2
a2986 1
  use_builtin_sqrtf=yes
d2991 1
a2991 1
  use_builtin_sqrtf=no
d2994 14
a3007 4
if test $use_builtin_sqrtf = "yes"; then
  cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_BUILTIN_SQRTF 1
EOF
d3009 8
a3018 1
LIBS="$save_LIBS"
d3020 2
a3021 3
# Check for available headers.
for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
machine/param.h sys/machine.h fp.h locale.h float.h
d3025 1
a3025 1
echo "configure:3424: checking for $ac_hdr" >&5
d3030 1
a3030 1
#line 3429 "configure"
d3035 1
a3035 1
{ (eval echo configure:3434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3061 1
a3061 3

# More tests for wide character functions.
for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
d3064 1
a3064 1
echo "configure:3465: checking for $ac_func" >&5
d3069 1
a3069 1
#line 3470 "configure"
d3092 1
a3092 1
if { (eval echo configure:3493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3112 1
LIBSTRINGOBJS="$LIBSTRINGOBJS ${ac_func}.lo"
d3116 3
a3118 6


ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
echo "configure:3522: checking for wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
d3121 2
a3122 11
  cat > conftest.$ac_ext <<EOF
#line 3527 "configure"
#include "confdefs.h"
#include <wchar.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
a3123 12
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  
  # Test wchar.h for mbstate_t, which is needed for char_traits and others.
d3125 1
a3125 1
#line 3551 "configure"
a3126 19
#include <wchar.h>
int main() {
mbstate_t teststate;
; return 0; }
EOF
if { (eval echo configure:3558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  use_native_mbstatet=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  use_native_mbstatet=no
fi
rm -f conftest*
  if test $use_native_mbstatet = "no"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_NEED_MBSTATE_T 1
EOF
d3128 63
a3190 27
    echo "configure: warning: "standard header wchar.h does not declare the type mbstate_t"" 1>&2
  fi
  
  # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
  # numeric_limits can instantiate type_traits<wchar_t>
  cat > conftest.$ac_ext <<EOF
#line 3579 "configure"
#include "confdefs.h"
#include <wchar.h>
int main() {
int i = WCHAR_MIN; int j = WCHAR_MAX;
; return 0; }
EOF
if { (eval echo configure:3586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  has_wchar_minmax=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  has_wchar_minmax=no
fi
rm -f conftest*
  if test $has_wchar_minmax = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_WCHAR_MIN_MAX 1
EOF
d3192 1
a3192 11
  else
    echo "configure: warning: "standard header wchar.h does not have WCHAR_MIN or WCHAR_MAX"" 1>&2
  fi
  
  # Test wchar.h for WEOF, which is what we use to determine whether
  # to specialize for wchar_t or not.
  echo $ac_n "checking for wide character support""... $ac_c" 1>&6
echo "configure:3608: checking for wide character support" >&5
  cat > conftest.$ac_ext <<EOF
#line 3610 "configure"
#include "confdefs.h"
d3194 89
a3282 5
    #include <wchar.h>
    #include <stddef.h>
int main() {
wint_t i = WEOF;
; return 0; }
d3284 282
a3565 3
if { (eval echo configure:3619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  has_weof=yes
d3567 1
a3567 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  has_weof=no
a3568 5
rm -f conftest*
  if test $has_weof = "yes"; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_USE_WCHAR_T 1
EOF
a3569 4
    echo "$ac_t""ok" 1>&6
  else
    echo "$ac_t"""standard header wchar.h incomplete. Not specializing for wchar_t"" 1>&6
  fi
d3571 4
a3574 7
else
  echo "$ac_t""no" 1>&6

  echo "configure: warning: standard header wchar.h not found" 1>&2
  cat >> confdefs.h <<\EOF
#define _GLIBCPP_NEED_MBSTATE_T 1
EOF
d3576 8
d3585 4
d3591 2
d3594 21
d3616 7
a3622 5
# Tests to configure ctype
ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
echo "configure:3655: checking for ctype.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
d3626 1
a3626 1
#line 3660 "configure"
d3628 1
a3628 27
#include <ctype.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  
  # Test for <ctype> functionality -- gnu-linux
  echo $ac_n "checking for gnu-linux <ctype>...""... $ac_c" 1>&6
echo "configure:3684: checking for gnu-linux <ctype>..." >&5
  cat > conftest.$ac_ext <<EOF
#line 3686 "configure"
#include "confdefs.h"
#include <ctype.h>
d3630 1
a3630 5
int
  foo (int a)
  { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
	+ _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
	+ __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
d3633 1
a3633 1
if { (eval echo configure:3697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3635 1
a3635 2
  \
  ctype_linux=yes
d3640 1
a3640 1
  ctype_linux=no
d3643 6
a3648 3
  echo "$ac_t""$ctype_linux" 1>&6
  if test $ctype_linux = "yes"; then
    ctype_include_dir="config/linux"
d3650 4
d3655 17
a3671 14
  # Test for <ctype> functionality -- solaris 2.6 and 2.7
  echo $ac_n "checking for solaris <ctype>...""... $ac_c" 1>&6
echo "configure:3715: checking for solaris <ctype>..." >&5
  cat > conftest.$ac_ext <<EOF
#line 3717 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
int
  foo (int a)
  { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
	+ _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
	+ __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
; return 0; }
d3673 21
a3693 4
if { (eval echo configure:3728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
  ctype_solaris=yes
d3695 6
a3700 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_solaris=no
d3702 11
a3712 2
rm -f conftest*
  echo "$ac_t""$ctype_solaris" 1>&6
d3714 4
a3717 22
  if test $ctype_solaris = "yes"; then
    echo $ac_n "checking   for version 2.6...""... $ac_c" 1>&6
echo "configure:3743: checking   for version 2.6..." >&5
    ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
 
    cat > conftest.$ac_ext <<EOF
#line 3752 "configure"
#include "confdefs.h"
#include <ctype.h>
int main() {
typedef long* __to_type;  __to_type const& _M_toupper = __trans_upper;
; return 0; }
EOF
if { (eval echo configure:3759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  \
    ctype_solaris26=yes
d3719 2
a3720 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ctype_solaris26=no
a3721 7
rm -f conftest*
    ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
a3722 7
    echo "$ac_t""$ctype_solaris26" 1>&6
    if test $ctype_solaris26 = "yes"; then
      ctype_include_dir="config/solaris/solaris2.6"
    else
      ctype_include_dir="config/solaris/solaris2.7"
    fi
  fi
d3724 5
a3728 5
  if test $ctype_solaris = "no" && test $ctype_linux = "no"; then
    ctype_include_dir="config/default"
    echo "configure: warning: "Using default ctype headers."" 1>&2
  fi
  
d3730 3
a3732 3
else
  echo "$ac_t""no" 1>&6
fi
d3737 1
a3737 1
echo "configure:3798: checking for LC_MESSAGES" >&5
d3742 1
a3742 1
#line 3803 "configure"
d3749 1
a3749 1
if { (eval echo configure:3810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3772 2
a3773 2
# (Sanity checks down here, otherwise they get scrolled off before
# the user will notice.)
d3780 1
a3780 1
  # other things besides namespaces can make this true as well, but none
d3786 8
a3793 1
# Generate the various Makefiles and bits.
d3942 1
a3942 1
s%@@EXEEXT@@%$EXEEXT%g
d3954 5
d3962 3
a3964 5
s%@@RANLIB@@%$RANLIB%g
s%@@CC@@%$CC%g
s%@@LN_S@@%$LN_S%g
s%@@LIBTOOL@@%$LIBTOOL%g
s%@@CXX@@%$CXX%g
a3971 1
s%@@GCC_OBJDIR@@%$GCC_OBJDIR%g
d3977 2
a3978 3
s%@@COMPPATH@@%$COMPPATH%g
s%@@USE_LIBDIR_TRUE@@%$USE_LIBDIR_TRUE%g
s%@@USE_LIBDIR_FALSE@@%$USE_LIBDIR_FALSE%g
d3982 10
a3991 1
s%@@ctype_include_dir@@%$ctype_include_dir%g
d4202 8
d4214 3
a4216 1

d4224 1
d4237 4
@


1.50
log
@
2000-02-10  Benjamin Kosnik  <bkoz@@gnu.org>

	* Makefile.am (SUBDIRS): Add libio again.
	* Makefile.in: Regenerate.
	* configure.in (BUILD_LIBIO_INCLUDE): And here.
	(AC_OUTPUT): Generate libio/Makefile again.
	* configure: Regnerate.
	* src/Makefile.am (libstdc___la_LIBADD): Change path so that
	libio.la is referring back to the libio subdir again.
	(LIBIO_INCLUDES): And here.
	* src/Makefile.in: Regenerate.
@
text
@a661 1
# Uncomment this when libstdc++-v3 is in the top-level egcs distro.
d673 1
a673 1
echo "configure:675: checking for Cygwin environment" >&5
d678 1
a678 1
#line 680 "configure"
d689 1
a689 1
if { (eval echo configure:691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d706 1
a706 1
echo "configure:708: checking for mingw32 environment" >&5
d711 1
a711 1
#line 713 "configure"
d718 1
a718 1
if { (eval echo configure:720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d737 1
a737 1
echo "configure:739: checking for executable suffix" >&5
d747 1
a747 1
  if { (eval echo configure:749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d781 1
a781 1
echo "configure:783: checking for a BSD compatible install" >&5
d834 1
a834 1
echo "configure:836: checking whether build environment is sane" >&5
d891 1
a891 1
echo "configure:893: checking whether ${MAKE-make} sets \${MAKE}" >&5
d937 1
a937 1
echo "configure:939: checking for working aclocal" >&5
d950 1
a950 1
echo "configure:952: checking for working autoconf" >&5
d963 1
a963 1
echo "configure:965: checking for working automake" >&5
d976 1
a976 1
echo "configure:978: checking for working autoheader" >&5
d989 1
a989 1
echo "configure:991: checking for working makeinfo" >&5
d1003 1
a1003 1
echo "configure:1005: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1102 1
a1102 1
echo "configure:1104: checking for $ac_word" >&5
d1132 1
a1132 1
echo "configure:1134: checking for $ac_word" >&5
d1162 1
a1162 1
echo "configure:1164: checking for $ac_word" >&5
d1213 1
a1213 1
echo "configure:1215: checking for $ac_word" >&5
d1245 1
a1245 1
echo "configure:1247: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1256 1
a1256 1
#line 1258 "configure"
d1261 1
a1261 1
if { (eval echo configure:1263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1287 1
a1287 1
echo "configure:1289: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1292 1
a1292 1
echo "configure:1294: checking whether we are using GNU C" >&5
d1301 1
a1301 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1320 1
a1320 1
echo "configure:1322: checking whether ${CC-cc} accepts -g" >&5
d1363 1
a1363 1
echo "configure:1365: checking for ld used by GCC" >&5
d1387 1
a1387 1
echo "configure:1389: checking for GNU ld" >&5
d1390 1
a1390 1
echo "configure:1392: checking for non-GNU ld" >&5
d1425 1
a1425 1
echo "configure:1427: checking if the linker ($LD) is GNU ld" >&5
d1441 1
a1441 1
echo "configure:1443: checking for BSD-compatible nm" >&5
d1477 1
a1477 1
echo "configure:1479: checking whether ln -s works" >&5
d1526 2
a1527 2
  echo '#line 1528 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1548 1
a1548 1
echo "configure:1550: checking whether the C compiler needs -belf" >&5
d1553 1
a1553 1
#line 1555 "configure"
d1560 1
a1560 1
if { (eval echo configure:1562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1664 1
a1664 1
echo "configure:1666: checking for $ac_word" >&5
d1694 1
a1694 1
echo "configure:1696: checking for $ac_word" >&5
d1745 1
a1745 1
echo "configure:1747: checking for $ac_word" >&5
d1777 1
a1777 1
echo "configure:1779: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1788 1
a1788 1
#line 1790 "configure"
d1793 1
a1793 1
if { (eval echo configure:1795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1819 1
a1819 1
echo "configure:1821: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1824 1
a1824 1
echo "configure:1826: checking whether we are using GNU C" >&5
d1833 1
a1833 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1852 1
a1852 1
echo "configure:1854: checking whether ${CC-cc} accepts -g" >&5
d1888 1
a1888 1
echo "configure:1890: checking for $ac_word" >&5
d1920 1
a1920 1
echo "configure:1922: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1931 1
a1931 1
#line 1933 "configure"
d1936 1
a1936 1
if { (eval echo configure:1938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1962 1
a1962 1
echo "configure:1964: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1967 1
a1967 1
echo "configure:1969: checking whether we are using GNU C++" >&5
d1976 1
a1976 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1995 1
a1995 1
echo "configure:1997: checking whether ${CXX-g++} accepts -g" >&5
d2027 1
a2027 1
echo "configure:2029: checking whether ln -s works" >&5
d2052 1
a2052 1
echo "configure:2054: checking how to run the C preprocessor" >&5
d2067 1
a2067 1
#line 2069 "configure"
d2073 1
a2073 1
{ (eval echo configure:2075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2084 1
a2084 1
#line 2086 "configure"
d2090 1
a2090 1
{ (eval echo configure:2092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2101 1
a2101 1
#line 2103 "configure"
d2107 1
a2107 1
{ (eval echo configure:2109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2132 1
a2132 1
#line 2134 "configure"
d2154 1
a2154 1
echo "configure:2156: checking for GNU libio" >&5
d2156 1
a2156 1
#line 2158 "configure"
d2166 1
a2166 1
if { (eval echo configure:2168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2263 1
a2263 1
echo "configure:2265: checking for GNU C++ float __complex__ support" >&5
d2296 1
a2296 1
#line 2298 "configure"
d2303 1
a2303 1
if { (eval echo configure:2305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2335 1
a2335 1
echo "configure:2337: checking for GNU C++ __complex__ support" >&5
d2363 1
a2363 1
#line 2365 "configure"
d2370 1
a2370 1
if { (eval echo configure:2372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2407 1
a2407 1
echo "configure:2409: checking for threads package to use" >&5
d2471 1
a2471 1
echo "configure:2473: checking for pthread.h" >&5
d2476 1
a2476 1
#line 2478 "configure"
d2481 1
a2481 1
{ (eval echo configure:2483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2580 1
a2580 1
echo "configure:2582: checking for $ac_hdr" >&5
d2585 1
a2585 1
#line 2587 "configure"
d2590 1
a2590 1
{ (eval echo configure:2592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2619 1
a2619 1
echo "configure:2621: checking for $ac_func" >&5
d2624 1
a2624 1
#line 2626 "configure"
d2647 1
a2647 1
if { (eval echo configure:2649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2672 1
a2672 1
echo "configure:2674: checking for working mmap" >&5
d2680 1
a2680 1
#line 2682 "configure"
d2820 1
a2820 1
if { (eval echo configure:2822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2847 1
a2847 1
echo "configure:2849: checking for $ac_func" >&5
d2852 1
a2852 1
#line 2854 "configure"
d2875 1
a2875 1
if { (eval echo configure:2877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2936 1
a2936 1
echo "configure:2938: checking for sin in -lm" >&5
d2944 1
a2944 1
#line 2946 "configure"
d2955 1
a2955 1
if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2983 1
a2983 1
echo "configure:2985: checking for $ac_hdr" >&5
d2988 1
a2988 1
#line 2990 "configure"
d2993 1
a2993 1
{ (eval echo configure:2995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3025 1
a3025 1
echo "configure:3027: checking for $ac_func" >&5
d3030 1
a3030 1
#line 3032 "configure"
d3053 1
a3053 1
if { (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3084 1
a3084 1
echo "configure:3086: checking for sinl" >&5
d3089 1
a3089 1
#line 3091 "configure"
d3112 1
a3112 1
if { (eval echo configure:3114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3131 1
a3131 1
echo "configure:3133: checking for $ac_func" >&5
d3136 1
a3136 1
#line 3138 "configure"
d3159 1
a3159 1
if { (eval echo configure:3161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3198 1
a3198 1
echo "configure:3200: checking for $ac_func" >&5
d3203 1
a3203 1
#line 3205 "configure"
d3226 1
a3226 1
if { (eval echo configure:3228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3261 1
a3261 1
echo "configure:3263: checking for $ac_func" >&5
d3266 1
a3266 1
#line 3268 "configure"
d3289 1
a3289 1
if { (eval echo configure:3291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3316 1
a3316 1
#line 3318 "configure"
d3323 1
a3323 1
if { (eval echo configure:3325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3341 1
a3341 1
#line 3343 "configure"
d3348 1
a3348 1
if { (eval echo configure:3350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3366 1
a3366 1
#line 3368 "configure"
d3373 1
a3373 1
if { (eval echo configure:3375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3391 1
a3391 1
#line 3393 "configure"
d3398 1
a3398 1
if { (eval echo configure:3400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3423 1
a3423 1
echo "configure:3425: checking for $ac_hdr" >&5
d3428 1
a3428 1
#line 3430 "configure"
d3433 1
a3433 1
{ (eval echo configure:3435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3464 1
a3464 1
echo "configure:3466: checking for $ac_func" >&5
d3469 1
a3469 1
#line 3471 "configure"
d3492 1
a3492 1
if { (eval echo configure:3494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3521 1
a3521 1
echo "configure:3523: checking for wchar.h" >&5
d3526 1
a3526 1
#line 3528 "configure"
d3531 1
a3531 1
{ (eval echo configure:3533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3550 1
a3550 1
#line 3552 "configure"
d3557 1
a3557 1
if { (eval echo configure:3559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3578 1
a3578 1
#line 3580 "configure"
d3585 1
a3585 1
if { (eval echo configure:3587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3607 1
a3607 1
echo "configure:3609: checking for wide character support" >&5
d3609 1
a3609 1
#line 3611 "configure"
d3618 1
a3618 1
if { (eval echo configure:3620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3654 1
a3654 1
echo "configure:3656: checking for ctype.h" >&5
d3659 1
a3659 1
#line 3661 "configure"
d3664 1
a3664 1
{ (eval echo configure:3666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3683 1
a3683 1
echo "configure:3685: checking for gnu-linux <ctype>..." >&5
d3685 1
a3685 1
#line 3687 "configure"
d3696 1
a3696 1
if { (eval echo configure:3698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3714 1
a3714 1
echo "configure:3716: checking for solaris <ctype>..." >&5
d3716 1
a3716 1
#line 3718 "configure"
d3727 1
a3727 1
if { (eval echo configure:3729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3742 1
a3742 1
echo "configure:3744: checking   for version 2.6..." >&5
d3751 1
a3751 1
#line 3753 "configure"
d3758 1
a3758 1
if { (eval echo configure:3760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3797 1
a3797 1
echo "configure:3799: checking for LC_MESSAGES" >&5
d3802 1
a3802 1
#line 3804 "configure"
d3809 1
a3809 1
if { (eval echo configure:3811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3948 1
a3948 1
trap 'rm -fr `echo "mkcheck Makefile math/Makefile libio/Makefile src/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
d4076 1
a4076 1
CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile math/Makefile libio/Makefile src/Makefile"}
d4269 4
@


1.49
log
@
2000-02-09  Benjamin Kosnik  <bkoz@@cygnus.com>

	* mknumeric_limits (XCOMPILE): Add more support for cross compiling.
	* bits/limits_generic.h: New file, defaults.
	* src/limits_generic.cc: New file, defaults.
	* configure.in (LIBS): Run mknumeric_limits at configure time.
	* acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
	HAVE_LC_MESSAGES, tidy, clean, etc.
	* src/Makefile.am (geberated_sources): Remove.

	* bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
	(_IO_off_t, _IO_ssize_t)

	* src/complex.cc: Use glibc's <complex.h> if
	possible. . . apparently this was not being done before. Include
	tweaks.
	(abs): Enable cabs if it's around, instead of mycabs.
	* src/complexf.cc (FCT): Add global scope to match complex.cc.
	* src/complexl.cc (FCT): Same.
	* math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
	(libmath_la_SOURCES): And here.
	* math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
	* math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
	* math/complex-stub.h: Move c_log declarations into. . .
	* math/mathconf.h: Here. This is because glibc's <complex.h>
	declares cclog, not c_log. The case of the dueling standards. . .
	* math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
	* math/Makefile.am: Change.
	* math/nan.c (nan): Change signature.
	* math/mathconf.h (NAN): Same.
	* math/complex-stub.h (nan): And here.

	* Makefile.am (rebuild-stamp): Remove libio and libio
	dependancies.  Plan to take out libio subdir and just merge with
	libio in top level gcc directory. Of course, this assumes there is
	a libio in the top level directory (ie ../src_dir). This will
	probably change the way this library is configured by default.
	* libio/*: Remove.
@
text
@d2181 1
a2181 1
 BUILD_LIBIO_INCLUDE='-I../../libio'
d3949 1
a3949 1
trap 'rm -fr `echo "mkcheck Makefile math/Makefile src/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
d4077 1
a4077 1
CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile math/Makefile src/Makefile"}
@


1.48
log
@
2000-02-03  Benjamin Kosnik  <bkoz@@cygnus.com>

	* configure.in: Add (preliminary) support for cross compiles and
	multilibs.
	Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
	compilation freaks on this.
	* configure: Regenerate.
	* src/Makefile.am: Add support for cross compiles.
	* src/Makefile: Regenerate.
	* Makefile.am: Add support for cross compiles.
	* Makefile.in: Regenerate.
@
text
@d2153 41
d2257 1
d2259 2
d2264 1
a2264 1
echo "configure:2221: checking for GNU C++ float __complex__ support" >&5
d2297 1
a2297 1
#line 2254 "configure"
d2304 1
a2304 1
if { (eval echo configure:2261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2334 67
d2408 1
a2408 1
echo "configure:2298: checking for threads package to use" >&5
d2472 1
a2472 1
echo "configure:2362: checking for pthread.h" >&5
d2477 1
a2477 1
#line 2367 "configure"
d2482 1
a2482 1
{ (eval echo configure:2372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2554 1
a2554 2
#   AC_DEFINE(HAVE_MEMCPY)
#   AC_DEFINE(HAVE_STRERROR)
d2556 20
d2581 1
a2581 1
echo "configure:2452: checking for $ac_hdr" >&5
d2586 1
a2586 1
#line 2457 "configure"
d2591 1
a2591 1
{ (eval echo configure:2462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2620 1
a2620 1
echo "configure:2491: checking for $ac_func" >&5
d2625 1
a2625 1
#line 2496 "configure"
d2648 1
a2648 1
if { (eval echo configure:2519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2673 1
a2673 1
echo "configure:2544: checking for working mmap" >&5
d2681 1
a2681 1
#line 2552 "configure"
d2821 1
a2821 1
if { (eval echo configure:2692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2843 2
d2848 1
a2848 1
echo "configure:2717: checking for $ac_func" >&5
d2853 1
a2853 1
#line 2722 "configure"
d2876 1
a2876 1
if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2899 1
   echo "configure: warning: "being configured as a native compiler"" 1>&2
a2901 4
# bkoz do i need these?
# target_all=libstdc++.la
# AC_SUBST(target_all)

d2937 1
a2937 1
echo "configure:2811: checking for sin in -lm" >&5
d2945 1
a2945 1
#line 2819 "configure"
d2956 1
a2956 1
if { (eval echo configure:2830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2980 40
d3026 1
a3026 1
echo "configure:2860: checking for $ac_func" >&5
d3031 1
a3031 1
#line 2865 "configure"
d3054 1
a3054 1
if { (eval echo configure:2888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3085 1
a3085 1
echo "configure:2919: checking for sinl" >&5
d3090 1
a3090 1
#line 2924 "configure"
d3113 1
a3113 1
if { (eval echo configure:2947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3132 1
a3132 1
echo "configure:2966: checking for $ac_func" >&5
d3137 1
a3137 1
#line 2971 "configure"
d3160 1
a3160 1
if { (eval echo configure:2994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3195 2
a3196 1
strtof strtold fabsf sincos sincosf sincosl finite qfinite fpclass qfpclass
d3199 1
a3199 1
echo "configure:3032: checking for $ac_func" >&5
d3204 1
a3204 1
#line 3037 "configure"
d3227 1
a3227 1
if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3258 2
a3259 1
_strtof _strtold _fabsf _sincos _sincosf _sincosl _finite _qfinite _fpclass _qfpclass
d3262 1
a3262 1
echo "configure:3094: checking for $ac_func" >&5
d3267 1
a3267 1
#line 3099 "configure"
d3290 1
a3290 1
if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3317 1
a3317 1
#line 3149 "configure"
d3324 1
a3324 1
if { (eval echo configure:3156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3342 1
a3342 1
#line 3174 "configure"
d3349 1
a3349 1
if { (eval echo configure:3181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3367 1
a3367 1
#line 3199 "configure"
d3374 1
a3374 1
if { (eval echo configure:3206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3392 1
a3392 1
#line 3224 "configure"
d3399 1
a3399 1
if { (eval echo configure:3231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3417 34
ac_safe=`echo "complex.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for complex.h""... $ac_c" 1>&6
echo "configure:3252: checking for complex.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3257 "configure"
#include "confdefs.h"
#include <complex.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  :
else
  echo "$ac_t""no" 1>&6
fi


d3424 1
a3424 1
echo "configure:3290: checking for $ac_hdr" >&5
d3429 1
a3429 1
#line 3295 "configure"
d3434 1
a3434 1
{ (eval echo configure:3300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3465 1
a3465 1
echo "configure:3331: checking for $ac_func" >&5
d3470 1
a3470 1
#line 3336 "configure"
d3493 1
a3493 1
if { (eval echo configure:3359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3522 1
a3522 1
echo "configure:3388: checking for wchar.h" >&5
d3527 1
a3527 1
#line 3393 "configure"
d3532 1
a3532 1
{ (eval echo configure:3398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3551 1
a3551 1
#line 3417 "configure"
d3558 1
a3558 1
if { (eval echo configure:3424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3579 1
a3579 1
#line 3445 "configure"
d3586 1
a3586 1
if { (eval echo configure:3452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3608 1
a3608 1
echo "configure:3474: checking for wide character support" >&5
d3610 1
a3610 1
#line 3476 "configure"
d3619 1
a3619 1
if { (eval echo configure:3485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3650 40
# Test for glibc 2.  In this case we need not compile the libio.
echo $ac_n "checking for glibc 2""... $ac_c" 1>&6
echo "configure:3519: checking for glibc 2" >&5
if eval "test \"`echo '$''{'use_glibc2'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
cat > conftest.$ac_ext <<EOF
#line 3525 "configure"
#include "confdefs.h"
#include <stdio.h>
int main() {
#if __GLIBC__ >= 2
#else
  #error __glibc__fails_miserably__
#endif
; return 0; }
EOF
if { (eval echo configure:3535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  use_glibc2=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  use_glibc2=no
fi
rm -f conftest*
fi

echo "$ac_t""$use_glibc2" 1>&6


if test "$use_glibc2" = no; then
  GLIBCPP_NEED_LIBIO_TRUE=
  GLIBCPP_NEED_LIBIO_FALSE='#'
else
  GLIBCPP_NEED_LIBIO_TRUE='#'
  GLIBCPP_NEED_LIBIO_FALSE=
fi
d3655 1
a3655 1
echo "configure:3561: checking for ctype.h" >&5
d3660 1
a3660 1
#line 3566 "configure"
d3665 1
a3665 1
{ (eval echo configure:3571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3684 1
a3684 1
echo "configure:3590: checking for gnu-linux <ctype>..." >&5
d3686 1
a3686 1
#line 3592 "configure"
d3697 1
a3697 1
if { (eval echo configure:3603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3715 1
a3715 1
echo "configure:3621: checking for solaris <ctype>..." >&5
d3717 1
a3717 1
#line 3623 "configure"
d3728 1
a3728 1
if { (eval echo configure:3634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3743 1
a3743 1
echo "configure:3649: checking   for version 2.6..." >&5
d3752 1
a3752 1
#line 3658 "configure"
d3759 1
a3759 1
if { (eval echo configure:3665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3798 1
a3798 1
echo "configure:3704: checking for LC_MESSAGES" >&5
d3803 1
a3803 1
#line 3709 "configure"
d3810 1
a3810 1
if { (eval echo configure:3716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3949 1
a3949 1
trap 'rm -fr `echo "mkcheck Makefile math/Makefile libio/Makefile src/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
d4018 3
a4034 2
s%@@GLIBCPP_NEED_LIBIO_TRUE@@%$GLIBCPP_NEED_LIBIO_TRUE%g
s%@@GLIBCPP_NEED_LIBIO_FALSE@@%$GLIBCPP_NEED_LIBIO_FALSE%g
d4077 1
a4077 1
CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile math/Makefile libio/Makefile src/Makefile"}
d4263 4
d4275 1
d4277 1
@


1.47
log
@
2000-02-02  Benjamin Kosnik  <bkoz@@cygnus.com>

	* configure.in (LIBS): Remove unused subdirs.
	* configure: Regenerate.
	* Makefile.am (SUBDIRS): And here.
	* Makefile.in: Regenerate.
	* src/Makefile.am (sources): And here.
	* src/Makefile.in: Regenerate.
	* string/*: Remove.
	* amm1/*: Remove.
	* generic/*: Remove.
	* glibc/*: Remove.
	* mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.

	* libtool: Update to libtool-1.3.4.
	* ltconfig: Same
	* ltmain.sh: Same
	* config.sub: Same.
	* config.guess: Same.
@
text
@d37 6
d553 1
a553 100
# Uncomment this when libstdc++-v3 is in the top-level egcs distro.
# AC_CONFIG_AUX_DIR(..)
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
echo "configure:551: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 556 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
EOF
if { (eval echo configure:567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_cygwin=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_cygwin=no
fi
rm -f conftest*
rm -f conftest*
fi

echo "$ac_t""$ac_cv_cygwin" 1>&6
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
echo "configure:584: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 589 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
EOF
if { (eval echo configure:596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_mingw32=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_mingw32=no
fi
rm -f conftest*
rm -f conftest*
fi

echo "$ac_t""$ac_cv_mingw32" 1>&6
MINGW32=
test "$ac_cv_mingw32" = yes && MINGW32=yes


echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
echo "configure:615: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
  ac_cv_exeext=.exe
else
  rm -f conftest*
  echo 'int main () { return 0; }' > conftest.$ac_ext
  ac_cv_exeext=
  if { (eval echo configure:625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    for file in conftest.*; do
      case $file in
      *.c | *.o | *.obj) ;;
      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
      esac
    done
  else
    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
  fi
  rm -f conftest*
  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
fi
fi

EXEEXT=""
test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
echo "$ac_t""${ac_cv_exeext}" 1>&6
ac_exeext=$EXEEXT


# Gets and sets build, host, target, target_vendor, target_cpu,
# target_os, etc.
d601 1
a601 1
echo "configure:695: checking host system type" >&5
d622 1
a622 1
echo "configure:716: checking target system type" >&5
d640 1
a640 1
echo "configure:734: checking build system type" >&5
d662 107
d782 1
a782 1
echo "configure:769: checking for a BSD compatible install" >&5
d835 1
a835 1
echo "configure:822: checking whether build environment is sane" >&5
d892 1
a892 1
echo "configure:879: checking whether ${MAKE-make} sets \${MAKE}" >&5
d938 1
a938 1
echo "configure:925: checking for working aclocal" >&5
d951 1
a951 1
echo "configure:938: checking for working autoconf" >&5
d964 1
a964 1
echo "configure:951: checking for working automake" >&5
d977 1
a977 1
echo "configure:964: checking for working autoheader" >&5
d990 1
a990 1
echo "configure:977: checking for working makeinfo" >&5
a1002 3



d1004 1
a1004 1
echo "configure:994: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1027 3
d1103 1
a1103 1
echo "configure:1090: checking for $ac_word" >&5
d1133 1
a1133 1
echo "configure:1120: checking for $ac_word" >&5
d1163 1
a1163 1
echo "configure:1150: checking for $ac_word" >&5
d1214 1
a1214 1
echo "configure:1201: checking for $ac_word" >&5
d1246 1
a1246 1
echo "configure:1233: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1257 1
a1257 1
#line 1244 "configure"
d1262 1
a1262 1
if { (eval echo configure:1249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1288 1
a1288 1
echo "configure:1275: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1293 1
a1293 1
echo "configure:1280: checking whether we are using GNU C" >&5
d1302 1
a1302 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1321 1
a1321 1
echo "configure:1308: checking whether ${CC-cc} accepts -g" >&5
d1364 1
a1364 1
echo "configure:1351: checking for ld used by GCC" >&5
d1388 1
a1388 1
echo "configure:1375: checking for GNU ld" >&5
d1391 1
a1391 1
echo "configure:1378: checking for non-GNU ld" >&5
d1426 1
a1426 1
echo "configure:1413: checking if the linker ($LD) is GNU ld" >&5
d1442 1
a1442 1
echo "configure:1429: checking for BSD-compatible nm" >&5
d1478 1
a1478 1
echo "configure:1465: checking whether ln -s works" >&5
d1527 2
a1528 2
  echo '#line 1514 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1549 1
a1549 1
echo "configure:1536: checking whether the C compiler needs -belf" >&5
d1554 1
a1554 1
#line 1541 "configure"
d1561 1
a1561 1
if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1665 1
a1665 1
echo "configure:1652: checking for $ac_word" >&5
d1695 1
a1695 1
echo "configure:1682: checking for $ac_word" >&5
d1746 1
a1746 1
echo "configure:1733: checking for $ac_word" >&5
d1778 1
a1778 1
echo "configure:1765: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1789 1
a1789 1
#line 1776 "configure"
d1794 1
a1794 1
if { (eval echo configure:1781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1820 1
a1820 1
echo "configure:1807: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1825 1
a1825 1
echo "configure:1812: checking whether we are using GNU C" >&5
d1834 1
a1834 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1853 1
a1853 1
echo "configure:1840: checking whether ${CC-cc} accepts -g" >&5
d1889 1
a1889 1
echo "configure:1876: checking for $ac_word" >&5
d1921 1
a1921 1
echo "configure:1908: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1932 1
a1932 1
#line 1919 "configure"
d1937 1
a1937 1
if { (eval echo configure:1924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1963 1
a1963 1
echo "configure:1950: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1968 1
a1968 1
echo "configure:1955: checking whether we are using GNU C++" >&5
d1977 1
a1977 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1996 1
a1996 1
echo "configure:1983: checking whether ${CXX-g++} accepts -g" >&5
d2028 1
a2028 1
echo "configure:2015: checking whether ln -s works" >&5
d2049 2
d2053 1
a2053 1
echo "configure:2038: checking how to run the C preprocessor" >&5
d2068 1
a2068 1
#line 2053 "configure"
d2074 1
a2074 1
{ (eval echo configure:2059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2085 1
a2085 1
#line 2070 "configure"
d2091 1
a2091 1
{ (eval echo configure:2076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2102 1
a2102 1
#line 2087 "configure"
d2108 1
a2108 1
{ (eval echo configure:2093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2133 1
a2133 1
#line 2118 "configure"
a2152 1
# More options.
d2216 74
d2297 1
a2297 1
echo "configure:2209: checking for threads package to use" >&5
d2351 11
a2361 4
# Check for thread headers.
ac_safe=`echo "thread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for thread.h""... $ac_c" 1>&6
echo "configure:2266: checking for thread.h" >&5
d2366 1
a2366 1
#line 2271 "configure"
d2368 1
a2368 1
#include <thread.h>
d2371 1
a2371 1
{ (eval echo configure:2276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2387 1
a2387 1
  have_thread_h=yes
d2390 34
a2423 1
have_thread_h=
d2426 26
a2451 3
ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
echo "configure:2300: checking for pthread.h" >&5
d2456 1
a2456 1
#line 2305 "configure"
d2458 1
a2458 1
#include <pthread.h>
d2461 1
a2461 1
{ (eval echo configure:2310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2477 60
a2536 1
  have_pthread_h=yes
d2539 162
a2700 1
have_pthread_h=
d2703 1
d2705 62
a2766 18
THREADLIBS=
THREADINCS=
THREADDEPS=
THREADOBJS=
THREADH=
THREADSPEC=
case "$THREADS" in
 posix)
    THREADLIBS=-lpthread
    THREADSPEC=-lpthread
# bkoz disable these until actually used
#    THREADOBJS=threads-posix.lo
    THREADH=threads-posix.h
    # MIT pthreads doesn't seem to have the mutexattr functions.
    # But for now we don't check for it.  We just assume you aren't
    # using MIT pthreads.
    # AC_DEFINE(HAVE_PTHREAD_MUTEXATTR_INIT)
    ;;
d2768 2
a2769 6
 none)
# bkoz disable these until actually used
#    THREADOBJS=threads-no.lo
    THREADH=threads-no.h
    ;;
esac
d2771 3
d2776 7
d2785 12
d2799 2
a2800 3
# Test for xcompilation.
if test -z "${with_cross_host}"; then
  echo "native compilation for $target"
d2802 1
a2802 1
  echo "cross compilation for $target"
d2805 1
d2810 1
a2810 1
echo "configure:2376: checking for sin in -lm" >&5
d2818 1
a2818 1
#line 2384 "configure"
d2829 1
a2829 1
if { (eval echo configure:2395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2852 1
a2852 1
# Check for complex versions of math functions of platform..
d2859 1
a2859 1
echo "configure:2425: checking for $ac_func" >&5
d2864 1
a2864 1
#line 2430 "configure"
d2887 1
a2887 1
if { (eval echo configure:2453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2918 1
a2918 1
echo "configure:2484: checking for sinl" >&5
d2923 1
a2923 1
#line 2489 "configure"
d2946 1
a2946 1
if { (eval echo configure:2512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2965 1
a2965 1
echo "configure:2531: checking for $ac_func" >&5
d2970 1
a2970 1
#line 2536 "configure"
d2993 1
a2993 1
if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3031 1
a3031 1
echo "configure:2597: checking for $ac_func" >&5
d3036 1
a3036 1
#line 2602 "configure"
d3059 1
a3059 1
if { (eval echo configure:2625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3093 1
a3093 1
echo "configure:2659: checking for $ac_func" >&5
d3098 1
a3098 1
#line 2664 "configure"
d3121 1
a3121 1
if { (eval echo configure:2687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3148 1
a3148 1
#line 2714 "configure"
d3155 1
a3155 1
if { (eval echo configure:2721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3173 1
a3173 1
#line 2739 "configure"
d3180 1
a3180 1
if { (eval echo configure:2746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3198 1
a3198 1
#line 2764 "configure"
d3205 1
a3205 1
if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3223 1
a3223 1
#line 2789 "configure"
d3230 1
a3230 1
if { (eval echo configure:2796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3251 1
a3251 1
echo "configure:2817: checking for complex.h" >&5
d3256 1
a3256 1
#line 2822 "configure"
d3261 1
a3261 1
{ (eval echo configure:2827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3289 1
a3289 1
echo "configure:2855: checking for $ac_hdr" >&5
d3294 1
a3294 1
#line 2860 "configure"
d3299 1
a3299 1
{ (eval echo configure:2865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a3325 99
# Determine the endianess if we cannot do this from the headers.
if test "$ac_cv_header_endian_h" = no \
   && test "$ac_cv_header_sys_isa_defs_h" = no \
   && test "$ac_cv_header_machine_endian_h" = no \
   && test "$ac_cv_header_machine_param_h" = no \
   && test "$ac_cv_header_sys_machine_h" = no
then
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
echo "configure:2900: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF
#line 2907 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 bogus endian macros
#endif
; return 0; }
EOF
if { (eval echo configure:2918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  # It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
#line 2922 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if BYTE_ORDER != BIG_ENDIAN
 not big endian
#endif
; return 0; }
EOF
if { (eval echo configure:2933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_c_bigendian=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_c_bigendian=no
fi
rm -f conftest*
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
if test $ac_cv_c_bigendian = unknown; then
if test "$cross_compiling" = yes; then
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
  cat > conftest.$ac_ext <<EOF
#line 2953 "configure"
#include "confdefs.h"
main () {
  /* Are we little or big endian?  From Harbison&Steele.  */
  union
  {
    long l;
    char c[sizeof (long)];
  } u;
  u.l = 1;
  exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if { (eval echo configure:2966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_c_bigendian=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_c_bigendian=yes
fi
rm -fr conftest*
fi

fi
fi

echo "$ac_t""$ac_cv_c_bigendian" 1>&6
if test $ac_cv_c_bigendian = yes; then
  cat >> confdefs.h <<\EOF
#define WORDS_BIGENDIAN 1
EOF

fi

fi

d3330 1
a3330 1
echo "configure:2995: checking for $ac_func" >&5
d3335 1
a3335 1
#line 3000 "configure"
d3358 1
a3358 1
if { (eval echo configure:3023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3387 1
a3387 1
echo "configure:3052: checking for wchar.h" >&5
d3392 1
a3392 1
#line 3057 "configure"
d3397 1
a3397 1
{ (eval echo configure:3062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3416 1
a3416 1
#line 3081 "configure"
d3423 1
a3423 1
if { (eval echo configure:3088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3444 1
a3444 1
#line 3109 "configure"
d3451 1
a3451 1
if { (eval echo configure:3116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3473 1
a3473 1
echo "configure:3138: checking for wide character support" >&5
d3475 1
a3475 1
#line 3140 "configure"
d3484 1
a3484 1
if { (eval echo configure:3149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3518 1
a3518 1
echo "configure:3183: checking for glibc 2" >&5
d3524 1
a3524 1
#line 3189 "configure"
d3534 1
a3534 1
if { (eval echo configure:3199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3560 1
a3560 1
echo "configure:3225: checking for ctype.h" >&5
d3565 1
a3565 1
#line 3230 "configure"
d3570 1
a3570 1
{ (eval echo configure:3235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3589 1
a3589 1
echo "configure:3254: checking for gnu-linux <ctype>..." >&5
d3591 1
a3591 1
#line 3256 "configure"
d3602 1
a3602 1
if { (eval echo configure:3267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3620 1
a3620 1
echo "configure:3285: checking for solaris <ctype>..." >&5
d3622 1
a3622 1
#line 3287 "configure"
d3633 1
a3633 1
if { (eval echo configure:3298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3648 1
a3648 1
echo "configure:3313: checking   for version 2.6..." >&5
d3657 1
a3657 1
#line 3322 "configure"
d3664 1
a3664 1
if { (eval echo configure:3329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3703 1
a3703 1
echo "configure:3368: checking for LC_MESSAGES" >&5
d3708 1
a3708 1
#line 3373 "configure"
d3715 1
a3715 1
if { (eval echo configure:3380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3736 72
  
  echo $ac_n "checking for GNU C++ float __complex__ support""... $ac_c" 1>&6
echo "configure:3404: checking for GNU C++ float __complex__ support" >&5
  if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
    
    ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

    rm -f conftest.h
    cat > conftest.h <<EOB
      //
      // Check for buggy __complex__ that causes ICE in most versions of egcs
      // and gcc-2.95.x on certain platforms (eg., x86-win32).
      //
      // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
      // more info on the bug itself.
      //
      struct
      float_complex
      {
       __complex__ float m_value;
       float_complex (float = 0.0f, float = 0.0f);
       float_complex (__complex__ float val) : m_value (val) {}
       float_complex foo (const float_complex &val)
         { return float_complex (~val.m_value); }
      };
EOB
    cat > conftest.$ac_ext <<EOF
#line 3437 "configure"
#include "confdefs.h"
#include "conftest.h"
int main() {

; return 0; }
EOF
if { (eval echo configure:3444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  glibcpp_cv_float_complex=ok
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  glibcpp_cv_float_complex=buggy
    
fi
rm -f conftest*
    ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

  
fi

  echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
  if test $glibcpp_cv_float_complex = buggy; then
    cat >> confdefs.h <<\EOF
#define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
EOF

  fi


d3752 1
a3752 1
# Output the various Makefiles and bits.
a3885 1
s%@@EXEEXT@@%$EXEEXT%g
d3901 1
d3931 3
a4159 1

@


1.46
log
@
2000-02-02  Benjamin Kosnik  <bkoz@@cygnus.com>
	    Alexandre Petit-Bianco  <apbianco@@cygnus.com>

	* mkc++config: New file. Put autoconf macros into _GLIBCPP_
	namespace instead of polluting global namespace with duplicate
	autoconf output.
	* configure.in (AC_OUTPUT): Don't need to generate bits/config.h
	here anymore. . .
	(AC_OUTPUT_COMMANDS): Make it here.
	* configure: Regenerate.
	* bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
	endif, as now we will add it manually.
	Move to this file. . .
	* bits/c++config.h: New file. Same as old c++config.h.in except
	the ending macro guard is now appended manually.

	* bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
	* bits/std_cmath.h: Same here.
	* bits/std_cwchar.h: And here.
	* src/locale.cc: And here.
	* src/complexl.cc: And here.
	* math/mathconf.h: Change to include "config.h" instead of
	bits/c++config.h.
@
text
@a1410 1

d1412 1
a1412 1
echo "configure:1414: checking if the linker ($LD) is GNU ld" >&5
d1428 1
a1428 1
echo "configure:1430: checking for BSD-compatible nm" >&5
a1462 1

d1464 1
a1464 1
echo "configure:1467: checking whether ln -s works" >&5
d1485 5
d1510 1
a1510 1
case "$host" in
d1513 2
a1514 2
  echo '#line 1511 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1535 1
a1535 1
echo "configure:1533: checking whether the C compiler needs -belf" >&5
d1540 1
a1540 1
#line 1538 "configure"
d1547 1
a1547 1
if { (eval echo configure:1545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1625 1
a1625 1
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
d1651 1
a1651 1
echo "configure:1649: checking for $ac_word" >&5
d1681 1
a1681 1
echo "configure:1679: checking for $ac_word" >&5
d1732 1
a1732 1
echo "configure:1730: checking for $ac_word" >&5
d1764 1
a1764 1
echo "configure:1762: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1775 1
a1775 1
#line 1773 "configure"
d1780 1
a1780 1
if { (eval echo configure:1778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1806 1
a1806 1
echo "configure:1804: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1811 1
a1811 1
echo "configure:1809: checking whether we are using GNU C" >&5
d1820 1
a1820 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1839 1
a1839 1
echo "configure:1837: checking whether ${CC-cc} accepts -g" >&5
d1875 1
a1875 1
echo "configure:1873: checking for $ac_word" >&5
d1907 1
a1907 1
echo "configure:1905: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1918 1
a1918 1
#line 1916 "configure"
d1923 1
a1923 1
if { (eval echo configure:1921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1949 1
a1949 1
echo "configure:1947: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1954 1
a1954 1
echo "configure:1952: checking whether we are using GNU C++" >&5
d1963 1
a1963 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1982 1
a1982 1
echo "configure:1980: checking whether ${CXX-g++} accepts -g" >&5
d2014 1
a2014 1
echo "configure:2012: checking whether ln -s works" >&5
d2037 1
a2037 1
echo "configure:2035: checking how to run the C preprocessor" >&5
d2052 1
a2052 1
#line 2050 "configure"
d2058 1
a2058 1
{ (eval echo configure:2056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2069 1
a2069 1
#line 2067 "configure"
d2075 1
a2075 1
{ (eval echo configure:2073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2086 1
a2086 1
#line 2084 "configure"
d2092 1
a2092 1
{ (eval echo configure:2090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2117 1
a2117 1
#line 2115 "configure"
d2208 1
a2208 1
echo "configure:2206: checking for threads package to use" >&5
d2265 1
a2265 1
echo "configure:2263: checking for thread.h" >&5
d2270 1
a2270 1
#line 2268 "configure"
d2275 1
a2275 1
{ (eval echo configure:2273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2299 1
a2299 1
echo "configure:2297: checking for pthread.h" >&5
d2304 1
a2304 1
#line 2302 "configure"
d2309 1
a2309 1
{ (eval echo configure:2307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2375 1
a2375 1
echo "configure:2373: checking for sin in -lm" >&5
d2383 1
a2383 1
#line 2381 "configure"
d2394 1
a2394 1
if { (eval echo configure:2392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2424 1
a2424 1
echo "configure:2422: checking for $ac_func" >&5
d2429 1
a2429 1
#line 2427 "configure"
d2452 1
a2452 1
if { (eval echo configure:2450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2483 1
a2483 1
echo "configure:2481: checking for sinl" >&5
d2488 1
a2488 1
#line 2486 "configure"
d2511 1
a2511 1
if { (eval echo configure:2509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2530 1
a2530 1
echo "configure:2528: checking for $ac_func" >&5
d2535 1
a2535 1
#line 2533 "configure"
d2558 1
a2558 1
if { (eval echo configure:2556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2596 1
a2596 1
echo "configure:2594: checking for $ac_func" >&5
d2601 1
a2601 1
#line 2599 "configure"
d2624 1
a2624 1
if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2658 1
a2658 1
echo "configure:2656: checking for $ac_func" >&5
d2663 1
a2663 1
#line 2661 "configure"
d2686 1
a2686 1
if { (eval echo configure:2684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2713 1
a2713 1
#line 2711 "configure"
d2720 1
a2720 1
if { (eval echo configure:2718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2738 1
a2738 1
#line 2736 "configure"
d2745 1
a2745 1
if { (eval echo configure:2743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2763 1
a2763 1
#line 2761 "configure"
d2770 1
a2770 1
if { (eval echo configure:2768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2788 1
a2788 1
#line 2786 "configure"
d2795 1
a2795 1
if { (eval echo configure:2793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2816 1
a2816 1
echo "configure:2814: checking for complex.h" >&5
d2821 1
a2821 1
#line 2819 "configure"
d2826 1
a2826 1
{ (eval echo configure:2824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2854 1
a2854 1
echo "configure:2852: checking for $ac_hdr" >&5
d2859 1
a2859 1
#line 2857 "configure"
d2864 1
a2864 1
{ (eval echo configure:2862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2899 1
a2899 1
echo "configure:2897: checking whether byte ordering is bigendian" >&5
d2906 1
a2906 1
#line 2904 "configure"
d2917 1
a2917 1
if { (eval echo configure:2915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2921 1
a2921 1
#line 2919 "configure"
d2932 1
a2932 1
if { (eval echo configure:2930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2952 1
a2952 1
#line 2950 "configure"
d2965 1
a2965 1
if { (eval echo configure:2963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2994 1
a2994 1
echo "configure:2992: checking for $ac_func" >&5
d2999 1
a2999 1
#line 2997 "configure"
d3022 1
a3022 1
if { (eval echo configure:3020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3051 1
a3051 1
echo "configure:3049: checking for wchar.h" >&5
d3056 1
a3056 1
#line 3054 "configure"
d3061 1
a3061 1
{ (eval echo configure:3059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3080 1
a3080 1
#line 3078 "configure"
d3087 1
a3087 1
if { (eval echo configure:3085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3108 1
a3108 1
#line 3106 "configure"
d3115 1
a3115 1
if { (eval echo configure:3113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3137 1
a3137 1
echo "configure:3135: checking for wide character support" >&5
d3139 1
a3139 1
#line 3137 "configure"
d3148 1
a3148 1
if { (eval echo configure:3146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3182 1
a3182 1
echo "configure:3180: checking for glibc 2" >&5
d3188 1
a3188 1
#line 3186 "configure"
d3198 1
a3198 1
if { (eval echo configure:3196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3224 1
a3224 1
echo "configure:3222: checking for ctype.h" >&5
d3229 1
a3229 1
#line 3227 "configure"
d3234 1
a3234 1
{ (eval echo configure:3232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3253 1
a3253 1
echo "configure:3251: checking for gnu-linux <ctype>..." >&5
d3255 1
a3255 1
#line 3253 "configure"
d3266 1
a3266 1
if { (eval echo configure:3264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3284 1
a3284 1
echo "configure:3282: checking for solaris <ctype>..." >&5
d3286 1
a3286 1
#line 3284 "configure"
d3297 1
a3297 1
if { (eval echo configure:3295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3312 1
a3312 1
echo "configure:3310: checking   for version 2.6..." >&5
d3321 1
a3321 1
#line 3319 "configure"
d3328 1
a3328 1
if { (eval echo configure:3326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3367 1
a3367 1
echo "configure:3365: checking for LC_MESSAGES" >&5
d3372 1
a3372 1
#line 3370 "configure"
d3379 1
a3379 1
if { (eval echo configure:3377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3403 1
a3403 1
echo "configure:3401: checking for GNU C++ float __complex__ support" >&5
d3436 1
a3436 1
#line 3434 "configure"
d3443 1
a3443 1
if { (eval echo configure:3441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3590 1
a3590 1
trap 'rm -fr `echo "mkcheck Makefile math/Makefile string/Makefile libio/Makefile src/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
a3653 2
s%@@LD@@%$LD%g
s%@@NM@@%$NM%g
d3714 1
a3714 1
CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile math/Makefile string/Makefile libio/Makefile src/Makefile"}
@


1.45
log
@
2000-02-01  Benjamin Kosnik  <bkoz@@gnu.org>

	* configure.in: Add support for threads. Try a model closer to
	libjava, as hopefully if the thread bits are added carefully
	enough, the source code will not have gross hacks. Besides, the
	libstdc++-v2 model could be easily emulated without the necessity
	of linking files in (as currently done)--all that needs to be done
	is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
	new. . . and see if we arrive at a more elegant solution.
	* configure: Regenerated.
	* config/threads-no.h: New file.
	* config/threads-posix.h: New file.
	* src/Makefile.am (myinstallheaders): Install c++threads.h.
	* src/Makefile.in: Regenerated.
@
text
@d2238 21
d2262 1
a2262 1
echo "configure:2242: checking for thread.h" >&5
d2267 1
a2267 1
#line 2247 "configure"
d2272 1
a2272 1
{ (eval echo configure:2252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2296 1
a2296 1
echo "configure:2276: checking for pthread.h" >&5
d2301 1
a2301 1
#line 2281 "configure"
d2306 1
a2306 1
{ (eval echo configure:2286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a2328 21
# Check for thread package actually supported in libstdc++ 
case "$target_thread_file" in
 no | none | single)
    THREADS=none
    ;;
 posix | pthreads)
    THREADS=posix
    case "$host" in
     *-*-linux*)
	;;
    esac
    ;;
 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
    { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
    ;;
 *)
    { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
    ;;
esac
echo "$ac_t""$THREADS" 1>&6

a2358 3
# 2000-02-01 bkoz
# as have to install this file, just copy it in AC_OUTPUT below
#AC_LINK_FILES(config/$THREADH, bits/c++-threads.h)
d2363 2
a2365 2
else
  echo "native compilation for $target"
d2372 1
a2372 1
echo "configure:2376: checking for sin in -lm" >&5
d2380 1
a2380 1
#line 2384 "configure"
d2391 1
a2391 1
if { (eval echo configure:2395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2421 1
a2421 1
echo "configure:2425: checking for $ac_func" >&5
d2426 1
a2426 1
#line 2430 "configure"
d2449 1
a2449 1
if { (eval echo configure:2453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2480 1
a2480 1
echo "configure:2484: checking for sinl" >&5
d2485 1
a2485 1
#line 2489 "configure"
d2508 1
a2508 1
if { (eval echo configure:2512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2527 1
a2527 1
echo "configure:2531: checking for $ac_func" >&5
d2532 1
a2532 1
#line 2536 "configure"
d2555 1
a2555 1
if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2593 1
a2593 1
echo "configure:2597: checking for $ac_func" >&5
d2598 1
a2598 1
#line 2602 "configure"
d2621 1
a2621 1
if { (eval echo configure:2625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2655 1
a2655 1
echo "configure:2659: checking for $ac_func" >&5
d2660 1
a2660 1
#line 2664 "configure"
d2683 1
a2683 1
if { (eval echo configure:2687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2710 1
a2710 1
#line 2714 "configure"
d2717 1
a2717 1
if { (eval echo configure:2721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2735 1
a2735 1
#line 2739 "configure"
d2742 1
a2742 1
if { (eval echo configure:2746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2760 1
a2760 1
#line 2764 "configure"
d2767 1
a2767 1
if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2785 1
a2785 1
#line 2789 "configure"
d2792 1
a2792 1
if { (eval echo configure:2796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2813 1
a2813 1
echo "configure:2817: checking for complex.h" >&5
d2818 1
a2818 1
#line 2822 "configure"
d2823 1
a2823 1
{ (eval echo configure:2827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2851 1
a2851 1
echo "configure:2855: checking for $ac_hdr" >&5
d2856 1
a2856 1
#line 2860 "configure"
d2861 1
a2861 1
{ (eval echo configure:2865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2896 1
a2896 1
echo "configure:2900: checking whether byte ordering is bigendian" >&5
d2903 1
a2903 1
#line 2907 "configure"
d2914 1
a2914 1
if { (eval echo configure:2918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2918 1
a2918 1
#line 2922 "configure"
d2929 1
a2929 1
if { (eval echo configure:2933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2949 1
a2949 1
#line 2953 "configure"
d2962 1
a2962 1
if { (eval echo configure:2966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2991 1
a2991 1
echo "configure:2995: checking for $ac_func" >&5
d2996 1
a2996 1
#line 3000 "configure"
d3019 1
a3019 1
if { (eval echo configure:3023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3048 1
a3048 1
echo "configure:3052: checking for wchar.h" >&5
d3053 1
a3053 1
#line 3057 "configure"
d3058 1
a3058 1
{ (eval echo configure:3062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3077 1
a3077 1
#line 3081 "configure"
d3084 1
a3084 1
if { (eval echo configure:3088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3105 1
a3105 1
#line 3109 "configure"
d3112 1
a3112 1
if { (eval echo configure:3116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3134 1
a3134 1
echo "configure:3138: checking for wide character support" >&5
d3136 1
a3136 1
#line 3140 "configure"
d3145 1
a3145 1
if { (eval echo configure:3149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3179 1
a3179 1
echo "configure:3183: checking for glibc 2" >&5
d3185 1
a3185 1
#line 3189 "configure"
d3195 1
a3195 1
if { (eval echo configure:3199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3221 1
a3221 1
echo "configure:3225: checking for ctype.h" >&5
d3226 1
a3226 1
#line 3230 "configure"
d3231 1
a3231 1
{ (eval echo configure:3235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3250 1
a3250 1
echo "configure:3254: checking for gnu-linux <ctype>..." >&5
d3252 1
a3252 1
#line 3256 "configure"
d3263 1
a3263 1
if { (eval echo configure:3267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3281 1
a3281 1
echo "configure:3285: checking for solaris <ctype>..." >&5
d3283 1
a3283 1
#line 3287 "configure"
d3294 1
a3294 1
if { (eval echo configure:3298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3309 1
a3309 1
echo "configure:3313: checking   for version 2.6..." >&5
d3318 1
a3318 1
#line 3322 "configure"
d3325 1
a3325 1
if { (eval echo configure:3329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3364 1
a3364 1
echo "configure:3368: checking for LC_MESSAGES" >&5
d3369 1
a3369 1
#line 3373 "configure"
d3376 1
a3376 1
if { (eval echo configure:3380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3400 1
a3400 1
echo "configure:3404: checking for GNU C++ float __complex__ support" >&5
d3433 1
a3433 1
#line 3437 "configure"
d3440 1
a3440 1
if { (eval echo configure:3444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3587 1
a3587 1
trap 'rm -fr `echo "mkcheck bits/c++config.h Makefile math/Makefile string/Makefile libio/Makefile src/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
d3713 1
a3713 1
CONFIG_FILES=\${CONFIG_FILES-"mkcheck bits/c++config.h Makefile math/Makefile string/Makefile libio/Makefile src/Makefile"}
d3907 1
a3907 1
cat $blddir/config.h >> $blddir/bits/c++config.h
@


1.44
log
@
2000-01-14  Phil Edwards  <pme@@sourceware.cygnus.com>

	* Makefile.am (rebuild-stamp, all-local):  New targets.
	* Makefile.in:  Regenerated.
	* acinclude.m4:  New macro, GLIBCPP_ENABLE_RELIBGCC.
	* aclocal.m4:  Regenerated.
	* configure.in:  Call new macro.  Also do some sanity checks
	  for combinations of --enable's that may not make sense.
	* configure:  Regenerated.
@
text
@d15 3
a27 3
  --enable-maintainer-mode enable make rules and dependencies not useful
                          (and sometimes confusing) to the casual installer"
ac_help="$ac_help
d34 3
d547 100
d666 90
d768 1
a768 1
echo "configure:576: checking for a BSD compatible install" >&5
d821 1
a821 1
echo "configure:629: checking whether build environment is sane" >&5
d878 1
a878 1
echo "configure:686: checking whether ${MAKE-make} sets \${MAKE}" >&5
d924 1
a924 1
echo "configure:732: checking for working aclocal" >&5
d937 1
a937 1
echo "configure:745: checking for working autoconf" >&5
d950 1
a950 1
echo "configure:758: checking for working automake" >&5
d963 1
a963 1
echo "configure:771: checking for working autoheader" >&5
d976 1
a976 1
echo "configure:784: checking for working makeinfo" >&5
d992 23
a1085 45

# Make sure we can run config.sub.
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi

echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:878: checking host system type" >&5

host_alias=$host
case "$host_alias" in
NONE)
  case $nonopt in
  NONE)
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
    fi ;;
  *) host_alias=$nonopt ;;
  esac ;;
esac

host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6

echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:899: checking build system type" >&5

build_alias=$build
case "$build_alias" in
NONE)
  case $nonopt in
  NONE) build_alias=$host_alias ;;
  *) build_alias=$nonopt ;;
  esac ;;
esac

build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$build" 1>&6

d1089 1
a1089 1
echo "configure:919: checking for $ac_word" >&5
d1119 1
a1119 1
echo "configure:949: checking for $ac_word" >&5
d1149 1
a1149 1
echo "configure:979: checking for $ac_word" >&5
d1200 1
a1200 1
echo "configure:1030: checking for $ac_word" >&5
d1232 1
a1232 1
echo "configure:1062: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1243 1
a1243 1
#line 1073 "configure"
d1248 1
a1248 1
if { (eval echo configure:1078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1274 1
a1274 1
echo "configure:1104: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1279 1
a1279 1
echo "configure:1109: checking whether we are using GNU C" >&5
d1288 1
a1288 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1307 1
a1307 1
echo "configure:1137: checking whether ${CC-cc} accepts -g" >&5
d1350 1
a1350 1
echo "configure:1180: checking for ld used by GCC" >&5
d1374 1
a1374 1
echo "configure:1204: checking for GNU ld" >&5
d1377 1
a1377 1
echo "configure:1207: checking for non-GNU ld" >&5
d1413 1
a1413 1
echo "configure:1243: checking if the linker ($LD) is GNU ld" >&5
d1429 1
a1429 1
echo "configure:1259: checking for BSD-compatible nm" >&5
d1466 1
a1466 1
echo "configure:1296: checking whether ln -s works" >&5
d1510 2
a1511 2
  echo '#line 1340 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1532 1
a1532 1
echo "configure:1362: checking whether the C compiler needs -belf" >&5
d1537 1
a1537 1
#line 1367 "configure"
d1544 1
a1544 1
if { (eval echo configure:1374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1648 1
a1648 1
echo "configure:1478: checking for $ac_word" >&5
d1678 1
a1678 1
echo "configure:1508: checking for $ac_word" >&5
d1729 1
a1729 1
echo "configure:1559: checking for $ac_word" >&5
d1761 1
a1761 1
echo "configure:1591: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1772 1
a1772 1
#line 1602 "configure"
d1777 1
a1777 1
if { (eval echo configure:1607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1803 1
a1803 1
echo "configure:1633: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1808 1
a1808 1
echo "configure:1638: checking whether we are using GNU C" >&5
d1817 1
a1817 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1836 1
a1836 1
echo "configure:1666: checking whether ${CC-cc} accepts -g" >&5
d1872 1
a1872 1
echo "configure:1702: checking for $ac_word" >&5
d1904 1
a1904 1
echo "configure:1734: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1915 1
a1915 1
#line 1745 "configure"
d1920 1
a1920 1
if { (eval echo configure:1750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1946 1
a1946 1
echo "configure:1776: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1951 1
a1951 1
echo "configure:1781: checking whether we are using GNU C++" >&5
d1960 1
a1960 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1979 1
a1979 1
echo "configure:1809: checking whether ${CXX-g++} accepts -g" >&5
d2011 1
a2011 1
echo "configure:1841: checking whether ln -s works" >&5
d2032 1
a2032 1
# How optimal can we be?
d2034 1
a2034 1
echo "configure:1864: checking how to run the C preprocessor" >&5
d2049 1
a2049 1
#line 1879 "configure"
d2055 1
a2055 1
{ (eval echo configure:1885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2066 1
a2066 1
#line 1896 "configure"
d2072 1
a2072 1
{ (eval echo configure:1902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2083 1
a2083 1
#line 1913 "configure"
d2089 1
a2089 1
{ (eval echo configure:1919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2114 1
a2114 1
#line 1944 "configure"
d2119 1
a2119 1
#fi
a2134 118
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
echo "configure:1966: checking whether to enable maintainer-specific portions of Makefiles" >&5
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
  enableval="$enable_maintainer_mode"
  USE_MAINTAINER_MODE=$enableval
else
  USE_MAINTAINER_MODE=no
fi

  echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
  

if test $USE_MAINTAINER_MODE = yes; then
  MAINTAINER_MODE_TRUE=
  MAINTAINER_MODE_FALSE='#'
else
  MAINTAINER_MODE_TRUE='#'
  MAINTAINER_MODE_FALSE=
fi
  MAINT=$MAINTAINER_MODE_TRUE
  

echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
echo "configure:1989: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1994 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
EOF
if { (eval echo configure:2005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_cygwin=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_cygwin=no
fi
rm -f conftest*
rm -f conftest*
fi

echo "$ac_t""$ac_cv_cygwin" 1>&6
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
echo "configure:2022: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2027 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
EOF
if { (eval echo configure:2034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_mingw32=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_mingw32=no
fi
rm -f conftest*
rm -f conftest*
fi

echo "$ac_t""$ac_cv_mingw32" 1>&6
MINGW32=
test "$ac_cv_mingw32" = yes && MINGW32=yes


echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
echo "configure:2053: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
  ac_cv_exeext=.exe
else
  rm -f conftest*
  echo 'int main () { return 0; }' > conftest.$ac_ext
  ac_cv_exeext=
  if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    for file in conftest.*; do
      case $file in
      *.c | *.o | *.obj) ;;
      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
      esac
    done
  else
    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
  fi
  rm -f conftest*
  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
fi
fi

EXEEXT=""
test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
echo "$ac_t""${ac_cv_exeext}" 1>&6
ac_exeext=$EXEEXT

d2199 172
d2375 1
a2375 1
echo "configure:2151: checking for sin in -lm" >&5
d2383 1
a2383 1
#line 2159 "configure"
d2394 1
a2394 1
if { (eval echo configure:2170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2424 1
a2424 1
echo "configure:2200: checking for $ac_func" >&5
d2429 1
a2429 1
#line 2205 "configure"
d2452 1
a2452 1
if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2483 1
a2483 1
echo "configure:2259: checking for sinl" >&5
d2488 1
a2488 1
#line 2264 "configure"
d2511 1
a2511 1
if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2530 1
a2530 1
echo "configure:2306: checking for $ac_func" >&5
d2535 1
a2535 1
#line 2311 "configure"
d2558 1
a2558 1
if { (eval echo configure:2334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2596 1
a2596 1
echo "configure:2372: checking for $ac_func" >&5
d2601 1
a2601 1
#line 2377 "configure"
d2624 1
a2624 1
if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2658 1
a2658 1
echo "configure:2434: checking for $ac_func" >&5
d2663 1
a2663 1
#line 2439 "configure"
d2686 1
a2686 1
if { (eval echo configure:2462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2713 1
a2713 1
#line 2489 "configure"
d2720 1
a2720 1
if { (eval echo configure:2496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2738 1
a2738 1
#line 2514 "configure"
d2745 1
a2745 1
if { (eval echo configure:2521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2763 1
a2763 1
#line 2539 "configure"
d2770 1
a2770 1
if { (eval echo configure:2546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2788 1
a2788 1
#line 2564 "configure"
d2795 1
a2795 1
if { (eval echo configure:2571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2816 1
a2816 1
echo "configure:2592: checking for complex.h" >&5
d2821 1
a2821 1
#line 2597 "configure"
d2826 1
a2826 1
{ (eval echo configure:2602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2854 1
a2854 1
echo "configure:2630: checking for $ac_hdr" >&5
d2859 1
a2859 1
#line 2635 "configure"
d2864 1
a2864 1
{ (eval echo configure:2640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2899 1
a2899 1
echo "configure:2675: checking whether byte ordering is bigendian" >&5
d2906 1
a2906 1
#line 2682 "configure"
d2917 1
a2917 1
if { (eval echo configure:2693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2921 1
a2921 1
#line 2697 "configure"
d2932 1
a2932 1
if { (eval echo configure:2708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2952 1
a2952 1
#line 2728 "configure"
d2965 1
a2965 1
if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2994 1
a2994 1
echo "configure:2770: checking for $ac_func" >&5
d2999 1
a2999 1
#line 2775 "configure"
d3022 1
a3022 1
if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3051 1
a3051 1
echo "configure:2827: checking for wchar.h" >&5
d3056 1
a3056 1
#line 2832 "configure"
d3061 1
a3061 1
{ (eval echo configure:2837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3080 1
a3080 1
#line 2856 "configure"
d3087 1
a3087 1
if { (eval echo configure:2863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3108 1
a3108 1
#line 2884 "configure"
d3115 1
a3115 1
if { (eval echo configure:2891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3137 1
a3137 1
echo "configure:2913: checking for wide character support" >&5
d3139 1
a3139 1
#line 2915 "configure"
d3148 1
a3148 1
if { (eval echo configure:2924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3182 1
a3182 1
echo "configure:2958: checking for glibc 2" >&5
d3188 1
a3188 1
#line 2964 "configure"
d3198 1
a3198 1
if { (eval echo configure:2974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3224 1
a3224 1
echo "configure:3000: checking for ctype.h" >&5
d3229 1
a3229 1
#line 3005 "configure"
d3234 1
a3234 1
{ (eval echo configure:3010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3253 1
a3253 1
echo "configure:3029: checking for gnu-linux <ctype>..." >&5
d3255 1
a3255 1
#line 3031 "configure"
d3266 1
a3266 1
if { (eval echo configure:3042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3284 1
a3284 1
echo "configure:3060: checking for solaris <ctype>..." >&5
d3286 1
a3286 1
#line 3062 "configure"
d3297 1
a3297 1
if { (eval echo configure:3073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3312 1
a3312 1
echo "configure:3088: checking   for version 2.6..." >&5
d3321 1
a3321 1
#line 3097 "configure"
d3328 1
a3328 1
if { (eval echo configure:3104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3367 1
a3367 1
echo "configure:3143: checking for LC_MESSAGES" >&5
d3372 1
a3372 1
#line 3148 "configure"
d3379 1
a3379 1
if { (eval echo configure:3155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3403 1
a3403 1
echo "configure:3179: checking for GNU C++ float __complex__ support" >&5
d3436 1
a3436 1
#line 3212 "configure"
d3443 1
a3443 1
if { (eval echo configure:3219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3473 3
a3475 2
# Some sanity checks down here, otherwise they get scrolled off before
# the user will notice.
d3487 2
d3622 16
d3649 3
a3651 10
s%@@host@@%$host%g
s%@@host_alias@@%$host_alias%g
s%@@host_cpu@@%$host_cpu%g
s%@@host_vendor@@%$host_vendor%g
s%@@host_os@@%$host_os%g
s%@@build@@%$build%g
s%@@build_alias@@%$build_alias%g
s%@@build_cpu@@%$build_cpu%g
s%@@build_vendor@@%$build_vendor%g
s%@@build_os@@%$build_os%g
a3660 4
s%@@MAINTAINER_MODE_TRUE@@%$MAINTAINER_MODE_TRUE%g
s%@@MAINTAINER_MODE_FALSE@@%$MAINTAINER_MODE_FALSE%g
s%@@MAINT@@%$MAINT%g
s%@@EXEEXT@@%$EXEEXT%g
d3664 5
d3899 1
a3899 1
# Make mkcheck have execute privs
d3905 2
d3911 2
@


1.43
log
@*** empty log message ***
@
text
@d31 3
d575 1
a575 1
echo "configure:573: checking for a BSD compatible install" >&5
d628 1
a628 1
echo "configure:626: checking whether build environment is sane" >&5
d685 1
a685 1
echo "configure:683: checking whether ${MAKE-make} sets \${MAKE}" >&5
d731 1
a731 1
echo "configure:729: checking for working aclocal" >&5
d744 1
a744 1
echo "configure:742: checking for working autoconf" >&5
d757 1
a757 1
echo "configure:755: checking for working automake" >&5
d770 1
a770 1
echo "configure:768: checking for working autoheader" >&5
d783 1
a783 1
echo "configure:781: checking for working makeinfo" >&5
d877 1
a877 1
echo "configure:875: checking host system type" >&5
d898 1
a898 1
echo "configure:896: checking build system type" >&5
d918 1
a918 1
echo "configure:916: checking for $ac_word" >&5
d948 1
a948 1
echo "configure:946: checking for $ac_word" >&5
d978 1
a978 1
echo "configure:976: checking for $ac_word" >&5
d1029 1
a1029 1
echo "configure:1027: checking for $ac_word" >&5
d1061 1
a1061 1
echo "configure:1059: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1072 1
a1072 1
#line 1070 "configure"
d1077 1
a1077 1
if { (eval echo configure:1075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1103 1
a1103 1
echo "configure:1101: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1108 1
a1108 1
echo "configure:1106: checking whether we are using GNU C" >&5
d1117 1
a1117 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1136 1
a1136 1
echo "configure:1134: checking whether ${CC-cc} accepts -g" >&5
d1179 1
a1179 1
echo "configure:1177: checking for ld used by GCC" >&5
d1203 1
a1203 1
echo "configure:1201: checking for GNU ld" >&5
d1206 1
a1206 1
echo "configure:1204: checking for non-GNU ld" >&5
d1242 1
a1242 1
echo "configure:1240: checking if the linker ($LD) is GNU ld" >&5
d1258 1
a1258 1
echo "configure:1256: checking for BSD-compatible nm" >&5
d1295 1
a1295 1
echo "configure:1293: checking whether ln -s works" >&5
d1339 2
a1340 2
  echo '#line 1337 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1361 1
a1361 1
echo "configure:1359: checking whether the C compiler needs -belf" >&5
d1366 1
a1366 1
#line 1364 "configure"
d1373 1
a1373 1
if { (eval echo configure:1371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1477 1
a1477 1
echo "configure:1475: checking for $ac_word" >&5
d1507 1
a1507 1
echo "configure:1505: checking for $ac_word" >&5
d1558 1
a1558 1
echo "configure:1556: checking for $ac_word" >&5
d1590 1
a1590 1
echo "configure:1588: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1601 1
a1601 1
#line 1599 "configure"
d1606 1
a1606 1
if { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1632 1
a1632 1
echo "configure:1630: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1637 1
a1637 1
echo "configure:1635: checking whether we are using GNU C" >&5
d1646 1
a1646 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1665 1
a1665 1
echo "configure:1663: checking whether ${CC-cc} accepts -g" >&5
d1701 1
a1701 1
echo "configure:1699: checking for $ac_word" >&5
d1733 1
a1733 1
echo "configure:1731: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1744 1
a1744 1
#line 1742 "configure"
d1749 1
a1749 1
if { (eval echo configure:1747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1775 1
a1775 1
echo "configure:1773: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1780 1
a1780 1
echo "configure:1778: checking whether we are using GNU C++" >&5
d1789 1
a1789 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1808 1
a1808 1
echo "configure:1806: checking whether ${CXX-g++} accepts -g" >&5
d1840 1
a1840 1
echo "configure:1838: checking whether ln -s works" >&5
d1863 1
a1863 1
echo "configure:1861: checking how to run the C preprocessor" >&5
d1878 1
a1878 1
#line 1876 "configure"
d1884 1
a1884 1
{ (eval echo configure:1882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1895 1
a1895 1
#line 1893 "configure"
d1901 1
a1901 1
{ (eval echo configure:1899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1912 1
a1912 1
#line 1910 "configure"
d1918 1
a1918 1
{ (eval echo configure:1916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1943 1
a1943 1
#line 1941 "configure"
d1965 1
a1965 1
echo "configure:1963: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1988 1
a1988 1
echo "configure:1986: checking for Cygwin environment" >&5
d1993 1
a1993 1
#line 1991 "configure"
d2004 1
a2004 1
if { (eval echo configure:2002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2021 1
a2021 1
echo "configure:2019: checking for mingw32 environment" >&5
d2026 1
a2026 1
#line 2024 "configure"
d2033 1
a2033 1
if { (eval echo configure:2031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2052 1
a2052 1
echo "configure:2050: checking for executable suffix" >&5
d2062 1
a2062 1
  if { (eval echo configure:2060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d2124 21
d2150 1
a2150 1
echo "configure:2127: checking for sin in -lm" >&5
d2158 1
a2158 1
#line 2135 "configure"
d2169 1
a2169 1
if { (eval echo configure:2146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2199 1
a2199 1
echo "configure:2176: checking for $ac_func" >&5
d2204 1
a2204 1
#line 2181 "configure"
d2227 1
a2227 1
if { (eval echo configure:2204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2258 1
a2258 1
echo "configure:2235: checking for sinl" >&5
d2263 1
a2263 1
#line 2240 "configure"
d2286 1
a2286 1
if { (eval echo configure:2263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2305 1
a2305 1
echo "configure:2282: checking for $ac_func" >&5
d2310 1
a2310 1
#line 2287 "configure"
d2333 1
a2333 1
if { (eval echo configure:2310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2371 1
a2371 1
echo "configure:2348: checking for $ac_func" >&5
d2376 1
a2376 1
#line 2353 "configure"
d2399 1
a2399 1
if { (eval echo configure:2376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2433 1
a2433 1
echo "configure:2410: checking for $ac_func" >&5
d2438 1
a2438 1
#line 2415 "configure"
d2461 1
a2461 1
if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2488 1
a2488 1
#line 2465 "configure"
d2495 1
a2495 1
if { (eval echo configure:2472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2513 1
a2513 1
#line 2490 "configure"
d2520 1
a2520 1
if { (eval echo configure:2497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2538 1
a2538 1
#line 2515 "configure"
d2545 1
a2545 1
if { (eval echo configure:2522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2563 1
a2563 1
#line 2540 "configure"
d2570 1
a2570 1
if { (eval echo configure:2547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2591 1
a2591 1
echo "configure:2568: checking for complex.h" >&5
d2596 1
a2596 1
#line 2573 "configure"
d2601 1
a2601 1
{ (eval echo configure:2578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2629 1
a2629 1
echo "configure:2606: checking for $ac_hdr" >&5
d2634 1
a2634 1
#line 2611 "configure"
d2639 1
a2639 1
{ (eval echo configure:2616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2674 1
a2674 1
echo "configure:2651: checking whether byte ordering is bigendian" >&5
d2681 1
a2681 1
#line 2658 "configure"
d2692 1
a2692 1
if { (eval echo configure:2669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2696 1
a2696 1
#line 2673 "configure"
d2707 1
a2707 1
if { (eval echo configure:2684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2727 1
a2727 1
#line 2704 "configure"
d2740 1
a2740 1
if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2769 1
a2769 1
echo "configure:2746: checking for $ac_func" >&5
d2774 1
a2774 1
#line 2751 "configure"
d2797 1
a2797 1
if { (eval echo configure:2774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2826 1
a2826 1
echo "configure:2803: checking for wchar.h" >&5
d2831 1
a2831 1
#line 2808 "configure"
d2836 1
a2836 1
{ (eval echo configure:2813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2855 1
a2855 1
#line 2832 "configure"
d2862 1
a2862 1
if { (eval echo configure:2839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2883 1
a2883 1
#line 2860 "configure"
d2890 1
a2890 1
if { (eval echo configure:2867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2912 1
a2912 1
echo "configure:2889: checking for wide character support" >&5
d2914 1
a2914 1
#line 2891 "configure"
d2923 1
a2923 1
if { (eval echo configure:2900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2957 1
a2957 1
echo "configure:2934: checking for glibc 2" >&5
d2963 1
a2963 1
#line 2940 "configure"
d2973 1
a2973 1
if { (eval echo configure:2950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2999 1
a2999 1
echo "configure:2976: checking for ctype.h" >&5
d3004 1
a3004 1
#line 2981 "configure"
d3009 1
a3009 1
{ (eval echo configure:2986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3028 1
a3028 1
echo "configure:3005: checking for gnu-linux <ctype>..." >&5
d3030 1
a3030 1
#line 3007 "configure"
d3041 1
a3041 1
if { (eval echo configure:3018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3059 1
a3059 1
echo "configure:3036: checking for solaris <ctype>..." >&5
d3061 1
a3061 1
#line 3038 "configure"
d3072 1
a3072 1
if { (eval echo configure:3049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3087 1
a3087 1
echo "configure:3064: checking   for version 2.6..." >&5
d3096 1
a3096 1
#line 3073 "configure"
d3103 1
a3103 1
if { (eval echo configure:3080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3142 1
a3142 1
echo "configure:3119: checking for LC_MESSAGES" >&5
d3147 1
a3147 1
#line 3124 "configure"
d3154 1
a3154 1
if { (eval echo configure:3131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3178 1
a3178 1
echo "configure:3155: checking for GNU C++ float __complex__ support" >&5
d3211 1
a3211 1
#line 3188 "configure"
d3218 1
a3218 1
if { (eval echo configure:3195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3248 13
d3430 1
@


1.42
log
@
2000-01-06  Benjamin Kosnik  <bkoz@@cygnus.com>

	* configure.in (LIBS): Better tests for solaris2.6.
	* configure: Regenerate.
@
text
@d3630 1
d3632 2
a3633 1
cat $blddir/bits/c++config.h  $blddir/config.h > $blddir/bits/c++config.tmp
a3634 1
mv $blddir/bits/c++config.tmp $blddir/bits/c++config.h
@


1.41
log
@
2000-01-06  Benjamin Kosnik  <bkoz@@cygnus.com>

	* configure.in (LIBS): Better tests for solaris2.6.
	* configure: Regenerate.
@
text
@d3062 9
a3070 2
    echo $ac_n "checking for version 2.6...""... $ac_c" 1>&6
echo "configure:3064: checking for version 2.6..." >&5
d3072 1
a3072 1
#line 3066 "configure"
d3076 1
a3076 1
typedef long* __to_type;  __to_type const& __toupper = __trans_upper;
d3079 1
a3079 1
if { (eval echo configure:3073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3090 7
d3118 1
a3118 1
echo "configure:3105: checking for LC_MESSAGES" >&5
d3123 1
a3123 1
#line 3110 "configure"
d3130 1
a3130 1
if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3154 1
a3154 1
echo "configure:3141: checking for GNU C++ float __complex__ support" >&5
d3187 1
a3187 1
#line 3174 "configure"
d3194 1
a3194 1
if { (eval echo configure:3181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
@


1.40
log
@
2000-01-06  Benjamin Kosnik  <bkoz@@gnu.org>

	Break out configuration on solaris.
	* configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
	* config/solaris/ctype.cc: Delete and move to proper version.
	* config/solaris/bits: Same.
	* config/solaris/solaris2.5: Add this directory, with subdir bits
	and file ctype.cc. Probably doesn't work.
	* config/solaris/solaris2.6: Same.
	* config/solaris/solaris2.7: Same, as per specs via Phil Edwards.

	* Makefile.am: Change paths to mkcheck.
	* Makefile: Regenerate.
	* configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
	* configure: Regenerate.
	* src/Makefile.am (generated_headers): Add bits/c++config.h.

	* mkcheck: Now autogenerated by configure and renamed. . .
	* mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
	Have longer-style dates.
        Raja R Harinath  <harinath@@cs.umn.edu>
	* mkcheck: Change path to #!/usr/clocal/bin/bash.

	* docs/README.html: Correct links, maybe. FAQ, install notes, and
	general documentation need to be organized around each other, not
	fight against each other. . .
@
text
@d3069 1
a3069 3
void
    foo (int a)
    { typedef long* __to_type;  __to_type const& __toupper = __trans_upper;}
d3072 1
a3072 1
if { (eval echo configure:3075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3104 1
a3104 1
echo "configure:3107: checking for LC_MESSAGES" >&5
d3109 1
a3109 1
#line 3112 "configure"
d3116 1
a3116 1
if { (eval echo configure:3119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3140 1
a3140 1
echo "configure:3143: checking for GNU C++ float __complex__ support" >&5
d3173 1
a3173 1
#line 3176 "configure"
d3180 1
a3180 1
if { (eval echo configure:3183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
@


1.39
log
@1999-12-20  Phil Edwards  <pedwards@@jaj.com>

	* bits/c++config.h.in:  Uncomment _GLIBCPP_USE_NAMESPACES and move...
	* acconfig.h:  ...to here.
	* config.h.in:  Regenerate from aclocal.
	* acinclude.m4:  Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
	* aclocal.m4:  Regenerate from acinclude.
	* configure.in:  Use ENABLE macros here.
	* configure:  Regenerate.
	* src/Makefile.am:  Use results from ENABLE macros.
	* src/Makefile.in:  Regenerate.
@
text
@d2972 1
a2972 3
# Test for <ctype> functionality -- linux
echo $ac_n "checking for linux <ctype>""... $ac_c" 1>&6
echo "configure:2975: checking for linux <ctype>" >&5
d2975 1
a2975 1
echo "configure:2978: checking for ctype.h" >&5
d2980 1
a2980 1
#line 2983 "configure"
d2985 1
a2985 1
{ (eval echo configure:2988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3002 5
a3006 2
cat > conftest.$ac_ext <<EOF
#line 3006 "configure"
d3011 2
a3012 2
foo (int a)
{ return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
d3017 1
a3017 1
if { (eval echo configure:3017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3020 1
a3020 1
ctype_linux=yes
d3028 4
a3031 8
else
  echo "$ac_t""no" 1>&6
fi

echo "$ac_t""$ctype_linux" 1>&6
if test $ctype_linux = "yes"; then
  ctype_include_dir="config/linux"
fi
d3033 3
a3035 9
# Test for <ctype> functionality -- solaris
echo $ac_n "checking for solaris <ctype>""... $ac_c" 1>&6
echo "configure:3039: checking for solaris <ctype>" >&5
ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
echo "configure:3042: checking for ctype.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
d3037 1
a3037 1
#line 3047 "configure"
d3040 7
d3048 1
a3048 4
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
d3050 2
a3051 1
  eval "ac_cv_header_$ac_safe=yes"
a3052 1
  echo "$ac_err" >&5
d3056 1
a3056 1
  eval "ac_cv_header_$ac_safe=no"
d3059 7
a3065 6
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  
cat > conftest.$ac_ext <<EOF
#line 3070 "configure"
d3069 3
a3071 5
int
foo (int a)
{ return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
	+ _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
	+ __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
d3074 1
a3074 1
if { (eval echo configure:3081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3077 1
a3077 1
ctype_solaris=yes
d3082 1
a3082 1
  ctype_solaris=no
d3085 14
a3102 10
echo "$ac_t""$ctype_solaris" 1>&6
if test $ctype_solaris = "yes"; then
  ctype_include_dir="config/solaris"
fi

if test $ctype_solaris = "no" && test $ctype_linux = "no"; then
  ctype_include_dir="config/default"
  echo "configure: warning: "Using default ctype headers."" 1>&2
fi

d3106 1
a3106 1
echo "configure:3109: checking for LC_MESSAGES" >&5
d3111 1
a3111 1
#line 3114 "configure"
d3118 1
a3118 1
if { (eval echo configure:3121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3142 1
a3142 1
echo "configure:3145: checking for GNU C++ float __complex__ support" >&5
d3175 1
a3175 1
#line 3178 "configure"
d3182 1
a3182 1
if { (eval echo configure:3185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3313 1
a3313 1
trap 'rm -fr `echo "bits/c++config.h Makefile math/Makefile string/Makefile libio/Makefile src/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
d3428 1
a3428 1
CONFIG_FILES=\${CONFIG_FILES-"bits/c++config.h Makefile math/Makefile string/Makefile libio/Makefile src/Makefile"}
d3609 1
a3609 1
# Generate bits/c++config.h
d3611 1
d3614 1
d3618 1
d3620 1
@


1.38
log
@
1999-12-19  Benjamin Kosnik  <bkoz@@cygnus.com>
            Ulrich Drepper  <drepper@@cygnus.com>

	* acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.

	* src/locale.cc: Take out platform-specific hacks.
	* config/linux/ctype.cc: Put here.
	* config/solaris/ctype.cc: Put here.
	* config/default/ctype.cc: Put here.

	* bits/locale_facets.h: Take out platform-specific hacks.
	* config/linux/bits/ctype_base.h: Put here.
	* config/solaris/bits/ctype_base.h: Put here.
	* config/default/bits/ctype_base.h: Put here.

	* configure.in: Bump version.
	Add tests for top-level config directory.
	* configure: Regenerated.
	* src/Makefile.am (INCLUDES): Add platform-specific dir.
	* src/Makefile: Regenerate.
@
text
@d27 4
d572 1
a572 1
echo "configure:569: checking for a BSD compatible install" >&5
d625 1
a625 1
echo "configure:622: checking whether build environment is sane" >&5
d682 1
a682 1
echo "configure:679: checking whether ${MAKE-make} sets \${MAKE}" >&5
d728 1
a728 1
echo "configure:725: checking for working aclocal" >&5
d741 1
a741 1
echo "configure:738: checking for working autoconf" >&5
d754 1
a754 1
echo "configure:751: checking for working automake" >&5
d767 1
a767 1
echo "configure:764: checking for working autoheader" >&5
d780 1
a780 1
echo "configure:777: checking for working makeinfo" >&5
d874 1
a874 1
echo "configure:871: checking host system type" >&5
d895 1
a895 1
echo "configure:892: checking build system type" >&5
d915 1
a915 1
echo "configure:912: checking for $ac_word" >&5
d945 1
a945 1
echo "configure:942: checking for $ac_word" >&5
d975 1
a975 1
echo "configure:972: checking for $ac_word" >&5
d1026 1
a1026 1
echo "configure:1023: checking for $ac_word" >&5
d1058 1
a1058 1
echo "configure:1055: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1069 1
a1069 1
#line 1066 "configure"
d1074 1
a1074 1
if { (eval echo configure:1071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1100 1
a1100 1
echo "configure:1097: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1105 1
a1105 1
echo "configure:1102: checking whether we are using GNU C" >&5
d1114 1
a1114 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1133 1
a1133 1
echo "configure:1130: checking whether ${CC-cc} accepts -g" >&5
d1176 1
a1176 1
echo "configure:1173: checking for ld used by GCC" >&5
d1200 1
a1200 1
echo "configure:1197: checking for GNU ld" >&5
d1203 1
a1203 1
echo "configure:1200: checking for non-GNU ld" >&5
d1239 1
a1239 1
echo "configure:1236: checking if the linker ($LD) is GNU ld" >&5
d1255 1
a1255 1
echo "configure:1252: checking for BSD-compatible nm" >&5
d1292 1
a1292 1
echo "configure:1289: checking whether ln -s works" >&5
d1336 2
a1337 2
  echo '#line 1333 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1358 1
a1358 1
echo "configure:1355: checking whether the C compiler needs -belf" >&5
d1363 1
a1363 1
#line 1360 "configure"
d1370 1
a1370 1
if { (eval echo configure:1367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1474 1
a1474 1
echo "configure:1471: checking for $ac_word" >&5
d1504 1
a1504 1
echo "configure:1501: checking for $ac_word" >&5
d1555 1
a1555 1
echo "configure:1552: checking for $ac_word" >&5
d1587 1
a1587 1
echo "configure:1584: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1598 1
a1598 1
#line 1595 "configure"
d1603 1
a1603 1
if { (eval echo configure:1600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1629 1
a1629 1
echo "configure:1626: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1634 1
a1634 1
echo "configure:1631: checking whether we are using GNU C" >&5
d1643 1
a1643 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1662 1
a1662 1
echo "configure:1659: checking whether ${CC-cc} accepts -g" >&5
d1698 1
a1698 1
echo "configure:1695: checking for $ac_word" >&5
d1730 1
a1730 1
echo "configure:1727: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1741 1
a1741 1
#line 1738 "configure"
d1746 1
a1746 1
if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1772 1
a1772 1
echo "configure:1769: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1777 1
a1777 1
echo "configure:1774: checking whether we are using GNU C++" >&5
d1786 1
a1786 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1805 1
a1805 1
echo "configure:1802: checking whether ${CXX-g++} accepts -g" >&5
d1837 1
a1837 1
echo "configure:1834: checking whether ln -s works" >&5
d1860 1
a1860 1
echo "configure:1857: checking how to run the C preprocessor" >&5
d1875 1
a1875 1
#line 1872 "configure"
d1881 1
a1881 1
{ (eval echo configure:1878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1892 1
a1892 1
#line 1889 "configure"
d1898 1
a1898 1
{ (eval echo configure:1895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1909 1
a1909 1
#line 1906 "configure"
d1915 1
a1915 1
{ (eval echo configure:1912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1940 1
a1940 1
#line 1937 "configure"
d1962 1
a1962 1
echo "configure:1959: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1985 1
a1985 1
echo "configure:1982: checking for Cygwin environment" >&5
d1990 1
a1990 1
#line 1987 "configure"
d2001 1
a2001 1
if { (eval echo configure:1998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2018 1
a2018 1
echo "configure:2015: checking for mingw32 environment" >&5
d2023 1
a2023 1
#line 2020 "configure"
d2030 1
a2030 1
if { (eval echo configure:2027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2049 1
a2049 1
echo "configure:2046: checking for executable suffix" >&5
d2059 1
a2059 1
  if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d2079 42
d2126 1
a2126 1
echo "configure:2081: checking for sin in -lm" >&5
d2134 1
a2134 1
#line 2089 "configure"
d2145 1
a2145 1
if { (eval echo configure:2100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2175 1
a2175 1
echo "configure:2130: checking for $ac_func" >&5
d2180 1
a2180 1
#line 2135 "configure"
d2203 1
a2203 1
if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2234 1
a2234 1
echo "configure:2189: checking for sinl" >&5
d2239 1
a2239 1
#line 2194 "configure"
d2262 1
a2262 1
if { (eval echo configure:2217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2281 1
a2281 1
echo "configure:2236: checking for $ac_func" >&5
d2286 1
a2286 1
#line 2241 "configure"
d2309 1
a2309 1
if { (eval echo configure:2264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2347 1
a2347 1
echo "configure:2302: checking for $ac_func" >&5
d2352 1
a2352 1
#line 2307 "configure"
d2375 1
a2375 1
if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2409 1
a2409 1
echo "configure:2364: checking for $ac_func" >&5
d2414 1
a2414 1
#line 2369 "configure"
d2437 1
a2437 1
if { (eval echo configure:2392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2464 1
a2464 1
#line 2419 "configure"
d2471 1
a2471 1
if { (eval echo configure:2426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2489 1
a2489 1
#line 2444 "configure"
d2496 1
a2496 1
if { (eval echo configure:2451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2514 1
a2514 1
#line 2469 "configure"
d2521 1
a2521 1
if { (eval echo configure:2476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2539 1
a2539 1
#line 2494 "configure"
d2546 1
a2546 1
if { (eval echo configure:2501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2567 1
a2567 1
echo "configure:2522: checking for complex.h" >&5
d2572 1
a2572 1
#line 2527 "configure"
d2577 1
a2577 1
{ (eval echo configure:2532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2605 1
a2605 1
echo "configure:2560: checking for $ac_hdr" >&5
d2610 1
a2610 1
#line 2565 "configure"
d2615 1
a2615 1
{ (eval echo configure:2570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2650 1
a2650 1
echo "configure:2605: checking whether byte ordering is bigendian" >&5
d2657 1
a2657 1
#line 2612 "configure"
d2668 1
a2668 1
if { (eval echo configure:2623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2672 1
a2672 1
#line 2627 "configure"
d2683 1
a2683 1
if { (eval echo configure:2638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2703 1
a2703 1
#line 2658 "configure"
d2716 1
a2716 1
if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2745 1
a2745 1
echo "configure:2700: checking for $ac_func" >&5
d2750 1
a2750 1
#line 2705 "configure"
d2773 1
a2773 1
if { (eval echo configure:2728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2802 1
a2802 1
echo "configure:2757: checking for wchar.h" >&5
d2807 1
a2807 1
#line 2762 "configure"
d2812 1
a2812 1
{ (eval echo configure:2767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2831 1
a2831 1
#line 2786 "configure"
d2838 1
a2838 1
if { (eval echo configure:2793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2859 1
a2859 1
#line 2814 "configure"
d2866 1
a2866 1
if { (eval echo configure:2821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2888 1
a2888 1
echo "configure:2843: checking for wide character support" >&5
d2890 1
a2890 1
#line 2845 "configure"
d2899 1
a2899 1
if { (eval echo configure:2854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2933 1
a2933 1
echo "configure:2888: checking for glibc 2" >&5
d2939 1
a2939 1
#line 2894 "configure"
d2949 1
a2949 1
if { (eval echo configure:2904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2974 1
a2974 1
echo "configure:2929: checking for linux <ctype>" >&5
d2977 1
a2977 1
echo "configure:2932: checking for ctype.h" >&5
d2982 1
a2982 1
#line 2937 "configure"
d2987 1
a2987 1
{ (eval echo configure:2942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3005 1
a3005 1
#line 2960 "configure"
d3016 1
a3016 1
if { (eval echo configure:2971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3038 1
a3038 1
echo "configure:2993: checking for solaris <ctype>" >&5
d3041 1
a3041 1
echo "configure:2996: checking for ctype.h" >&5
d3046 1
a3046 1
#line 3001 "configure"
d3051 1
a3051 1
{ (eval echo configure:3006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3069 1
a3069 1
#line 3024 "configure"
d3080 1
a3080 1
if { (eval echo configure:3035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3108 1
a3108 1
echo "configure:3063: checking for LC_MESSAGES" >&5
d3113 1
a3113 1
#line 3068 "configure"
d3120 1
a3120 1
if { (eval echo configure:3075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3144 1
a3144 1
echo "configure:3099: checking for GNU C++ float __complex__ support" >&5
d3177 1
a3177 1
#line 3132 "configure"
d3184 1
a3184 1
if { (eval echo configure:3139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3381 2
@


1.37
log
@1999-12-17  Phil Edwards  <pedwards@@jaj.com>

	* configure.in:  Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
	* configure:  Regenerate.
	* src/Makefile.am:  Use OPTLEVEL in CXXFLAGS.
	* src/Makefile.in:  Regenerate.  Also picks up OTHER_CXXFLAGS rename
	  to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
@
text
@d707 1
a707 1
VERSION=2.90.7
d2926 3
a2928 1
# Test for <ctype> _ISbit, so that ctype<char> will work correctly
d2931 1
a2931 1
echo "configure:2930: checking for ctype.h" >&5
d2936 1
a2936 1
#line 2935 "configure"
d2941 1
a2941 1
{ (eval echo configure:2940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2959 1
a2959 1
#line 2958 "configure"
d2963 5
a2967 1
int i = _ISspace;
d2970 1
a2970 1
if { (eval echo configure:2965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2972 2
a2973 1
  use_native_ctype=yes
d2978 1
a2978 1
  use_native_ctype=no
d2985 48
a3032 3
if test $use_native_ctype = "yes"; then
  cat >> confdefs.h <<\EOF
#define _GLIBCPP_USE_CTYPE_ISBIT 1
d3034 14
d3049 3
d3054 6
d3062 1
a3062 1
echo "configure:2988: checking for LC_MESSAGES" >&5
d3067 1
a3067 1
#line 2993 "configure"
d3074 1
a3074 1
if { (eval echo configure:3000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3098 1
a3098 1
echo "configure:3024: checking for GNU C++ float __complex__ support" >&5
d3131 1
a3131 1
#line 3057 "configure"
d3138 1
a3138 1
if { (eval echo configure:3064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3340 1
d3565 3
@


1.36
log
@
1999-12-01  Phil Edwards  <pedwards@@jaj.com>

        * mkcheck:  Support for compilation/execution timing.
	* testsuite/printnow.c: New file.

1999-12-01  Phil Edwards  <pedwards@@jaj.com>

        * bits/std_cwchar.h:  Test for _GLIBCPP_USE_WCHAR_T.
        * configure.in:  Test for presence of wchar.h before testing
          for any of its features.
        * configure:  Regenerate.
@
text
@d1854 102
d1958 1
a1958 1
echo "configure:1857: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1981 1
a1981 1
echo "configure:1880: checking for Cygwin environment" >&5
d1986 1
a1986 1
#line 1885 "configure"
d1997 1
a1997 1
if { (eval echo configure:1896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2014 1
a2014 1
echo "configure:1913: checking for mingw32 environment" >&5
d2019 1
a2019 1
#line 1918 "configure"
d2026 1
a2026 1
if { (eval echo configure:1925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2045 1
a2045 1
echo "configure:1944: checking for executable suffix" >&5
d2055 1
a2055 1
  if { (eval echo configure:1954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d2080 1
a2080 1
echo "configure:1979: checking for sin in -lm" >&5
d2088 1
a2088 1
#line 1987 "configure"
d2099 1
a2099 1
if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2129 1
a2129 1
echo "configure:2028: checking for $ac_func" >&5
d2134 1
a2134 1
#line 2033 "configure"
d2157 1
a2157 1
if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2188 1
a2188 1
echo "configure:2087: checking for sinl" >&5
d2193 1
a2193 1
#line 2092 "configure"
d2216 1
a2216 1
if { (eval echo configure:2115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2235 1
a2235 1
echo "configure:2134: checking for $ac_func" >&5
d2240 1
a2240 1
#line 2139 "configure"
d2263 1
a2263 1
if { (eval echo configure:2162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2301 1
a2301 1
echo "configure:2200: checking for $ac_func" >&5
d2306 1
a2306 1
#line 2205 "configure"
d2329 1
a2329 1
if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2363 1
a2363 1
echo "configure:2262: checking for $ac_func" >&5
d2368 1
a2368 1
#line 2267 "configure"
d2391 1
a2391 1
if { (eval echo configure:2290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2418 1
a2418 1
#line 2317 "configure"
d2425 1
a2425 1
if { (eval echo configure:2324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2443 1
a2443 1
#line 2342 "configure"
d2450 1
a2450 1
if { (eval echo configure:2349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2468 1
a2468 1
#line 2367 "configure"
d2475 1
a2475 1
if { (eval echo configure:2374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2493 1
a2493 1
#line 2392 "configure"
d2500 1
a2500 1
if { (eval echo configure:2399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a2518 80
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:2419: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
fi
if test -z "$CPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
    # This must be in double quotes, not single quotes, because CPP may get
  # substituted into the Makefile and "${CC-cc}" will confuse make.
  CPP="${CC-cc} -E"
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp.
  cat > conftest.$ac_ext <<EOF
#line 2434 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -E -traditional-cpp"
  cat > conftest.$ac_ext <<EOF
#line 2451 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -nologo -E"
  cat > conftest.$ac_ext <<EOF
#line 2468 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP=/lib/cpp
fi
rm -f conftest*
fi
rm -f conftest*
fi
rm -f conftest*
  ac_cv_prog_CPP="$CPP"
fi
  CPP="$ac_cv_prog_CPP"
else
  ac_cv_prog_CPP="$CPP"
fi
echo "$ac_t""$CPP" 1>&6

d2521 1
a2521 1
echo "configure:2500: checking for complex.h" >&5
d2526 1
a2526 1
#line 2505 "configure"
d2531 1
a2531 1
{ (eval echo configure:2510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2559 1
a2559 1
echo "configure:2538: checking for $ac_hdr" >&5
d2564 1
a2564 1
#line 2543 "configure"
d2569 1
a2569 1
{ (eval echo configure:2548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2604 1
a2604 1
echo "configure:2583: checking whether byte ordering is bigendian" >&5
d2611 1
a2611 1
#line 2590 "configure"
d2622 1
a2622 1
if { (eval echo configure:2601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2626 1
a2626 1
#line 2605 "configure"
d2637 1
a2637 1
if { (eval echo configure:2616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2657 1
a2657 1
#line 2636 "configure"
d2670 1
a2670 1
if { (eval echo configure:2649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2699 1
a2699 1
echo "configure:2678: checking for $ac_func" >&5
d2704 1
a2704 1
#line 2683 "configure"
d2727 1
a2727 1
if { (eval echo configure:2706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2756 1
a2756 1
echo "configure:2735: checking for wchar.h" >&5
d2761 1
a2761 1
#line 2740 "configure"
d2766 1
a2766 1
{ (eval echo configure:2745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2785 1
a2785 1
#line 2764 "configure"
d2792 1
a2792 1
if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2813 1
a2813 1
#line 2792 "configure"
d2820 1
a2820 1
if { (eval echo configure:2799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2842 1
a2842 1
echo "configure:2821: checking for wide character support" >&5
d2844 1
a2844 1
#line 2823 "configure"
d2853 1
a2853 1
if { (eval echo configure:2832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2887 1
a2887 1
echo "configure:2866: checking for glibc 2" >&5
d2893 1
a2893 1
#line 2872 "configure"
d2903 1
a2903 1
if { (eval echo configure:2882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2929 1
a2929 1
echo "configure:2908: checking for ctype.h" >&5
d2934 1
a2934 1
#line 2913 "configure"
d2939 1
a2939 1
{ (eval echo configure:2918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2957 1
a2957 1
#line 2936 "configure"
d2964 1
a2964 1
if { (eval echo configure:2943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2987 1
a2987 1
echo "configure:2966: checking for LC_MESSAGES" >&5
d2992 1
a2992 1
#line 2971 "configure"
d2999 1
a2999 1
if { (eval echo configure:2978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3023 1
a3023 1
echo "configure:3002: checking for GNU C++ float __complex__ support" >&5
d3056 1
a3056 1
#line 3035 "configure"
d3063 1
a3063 1
if { (eval echo configure:3042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3254 2
a3261 1
s%@@CPP@@%$CPP%g
@


1.35
log
@
1999-11-30  Mumit Khan  <khan@@xraylith.wisc.edu>

        * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
	* configure: Regenerate.
@
text
@a2731 1
# Test wchar.h for mbstate_t, which is needed for char_traits and others.
d2734 1
a2734 1
echo "configure:2736: checking for wchar.h" >&5
d2739 1
a2739 1
#line 2741 "configure"
d2744 1
a2744 1
{ (eval echo configure:2746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2760 2
d2763 1
a2763 1
#line 2763 "configure"
d2770 1
a2770 1
if { (eval echo configure:2770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2780 2
a2781 7
else
  echo "$ac_t""no" 1>&6
use_native_mbstatet=no
fi

if test $use_native_mbstatet = "no"; then
  cat >> confdefs.h <<\EOF
d2785 5
a2789 11
  echo "configure: warning: "standard header wchar.h does not declare the type mbstate_t"" 1>&2
fi

# Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
# numeric_limits can instantiate type_traits<wchar_t>
ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
echo "configure:2797: checking for wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
d2791 1
a2791 23
#line 2802 "configure"
#include "confdefs.h"
#include <wchar.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  cat > conftest.$ac_ext <<EOF
#line 2824 "configure"
d2798 1
a2798 1
if { (eval echo configure:2831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2808 2
a2809 7
else
  echo "$ac_t""no" 1>&6
has_wchar_minmax=no
fi

if test $has_wchar_minmax = "yes"; then
  cat >> confdefs.h <<\EOF
d2813 10
a2822 10
else
  echo "configure: warning: "standard header wchar.h does not have WCHAR_MIN or WCHAR_MAX"" 1>&2
fi

# Test wchar.h for WEOF, which is what we use to determine whether
# to specialize for wchar_t or not.
echo $ac_n "checking for wide character support""... $ac_c" 1>&6
echo "configure:2858: checking for wide character support" >&5
cat > conftest.$ac_ext <<EOF
#line 2860 "configure"
d2825 2
a2826 2
  #include <wchar.h>
  #include <stddef.h>
d2831 1
a2831 1
if { (eval echo configure:2869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2841 2
a2842 2
if test $has_weof = "yes"; then
  cat >> confdefs.h <<\EOF
d2846 5
a2850 1
  echo "$ac_t""ok" 1>&6
d2852 8
a2859 1
  echo "$ac_t"""incomplete. Not specializing for wchar_t"" 1>&6
d2862 1
d2865 1
a2865 1
echo "configure:2891: checking for glibc 2" >&5
d2871 1
a2871 1
#line 2897 "configure"
d2881 1
a2881 1
if { (eval echo configure:2907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2907 1
a2907 1
echo "configure:2933: checking for ctype.h" >&5
d2912 1
a2912 1
#line 2938 "configure"
d2917 1
a2917 1
{ (eval echo configure:2943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2935 1
a2935 1
#line 2961 "configure"
d2942 1
a2942 1
if { (eval echo configure:2968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2965 1
a2965 1
echo "configure:2991: checking for LC_MESSAGES" >&5
d2970 1
a2970 1
#line 2996 "configure"
d2977 1
a2977 1
if { (eval echo configure:3003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3001 1
a3001 1
echo "configure:3027: checking for GNU C++ float __complex__ support" >&5
d3034 1
a3034 1
#line 3060 "configure"
d3041 1
a3041 1
if { (eval echo configure:3067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3465 6






@


1.34
log
@
1999-11-29  Chip Salzenberg  <chip@@valinux.com>

	* Makefile.in: Tweaks for CXXFLAGS.
	* */Makefile.in: Same.

1999-11-29  Mumit Khan  <khan@@xraylith.wisc.edu>

        * configure.in: Check for wide character support.
        * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
        * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
        * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.

1999-11-29  Mumit Khan  <khan@@xraylith.wisc.edu>

        * acinclude.m4: Fix typo.
        * src/complex.cc: Fix macro line continuation.

1999-11-29  Petter Urkedal  <petter@@matfys.lth.se>

        * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
        string literals in format, as used in locale-facets.tcc.
@
text
@d2781 1
d2796 1
a2796 1
echo "configure:2796: checking for wchar.h" >&5
d2801 1
a2801 1
#line 2801 "configure"
d2806 1
a2806 1
{ (eval echo configure:2806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2823 1
a2823 1
#line 2823 "configure"
d2830 1
a2830 1
if { (eval echo configure:2830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2842 1
d2857 1
a2857 1
echo "configure:2856: checking for wide character support" >&5
d2859 1
a2859 1
#line 2858 "configure"
d2868 1
a2868 1
if { (eval echo configure:2867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2890 1
a2890 1
echo "configure:2889: checking for glibc 2" >&5
d2896 1
a2896 1
#line 2895 "configure"
d2906 1
a2906 1
if { (eval echo configure:2905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2932 1
a2932 1
echo "configure:2931: checking for ctype.h" >&5
d2937 1
a2937 1
#line 2936 "configure"
d2942 1
a2942 1
{ (eval echo configure:2941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2960 1
a2960 1
#line 2959 "configure"
d2967 1
a2967 1
if { (eval echo configure:2966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2990 1
a2990 1
echo "configure:2989: checking for LC_MESSAGES" >&5
d2995 1
a2995 1
#line 2994 "configure"
d3002 1
a3002 1
if { (eval echo configure:3001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3026 1
a3026 1
echo "configure:3025: checking for GNU C++ float __complex__ support" >&5
d3059 1
a3059 1
#line 3058 "configure"
d3066 1
a3066 1
if { (eval echo configure:3065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
@


1.33
log
@
1999-11-21  Mumit Khan  <khan@@xraylith.wisc.edu>

        * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
        * configure.in: Use.
        * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
        * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
        * bits/std_complex.h: Use.
        * src/complex.cc: Use.
@
text
@d2852 34
d2888 1
a2888 1
echo "configure:2855: checking for glibc 2" >&5
d2894 1
a2894 1
#line 2861 "configure"
d2904 1
a2904 1
if { (eval echo configure:2871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2930 1
a2930 1
echo "configure:2897: checking for ctype.h" >&5
d2935 1
a2935 1
#line 2902 "configure"
d2940 1
a2940 1
{ (eval echo configure:2907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2958 1
a2958 1
#line 2925 "configure"
d2965 1
a2965 1
if { (eval echo configure:2932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2988 1
a2988 1
echo "configure:2955: checking for LC_MESSAGES" >&5
d2993 1
a2993 1
#line 2960 "configure"
d3000 1
a3000 1
if { (eval echo configure:2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3024 1
a3024 1
echo "configure:2991: checking for GNU C++ float __complex__ support" >&5
d3057 1
a3057 1
#line 3024 "configure"
d3064 1
a3064 1
if { (eval echo configure:3031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3088 1
a3088 1
#define BUGGY_FLOAT_COMPLEX 1
@


1.32
log
@
1999-11-10  Benjamin Kosnik  <bkoz@@cygnus.com>

	* bits/std_ostream.h: Add callbacks for _M_fnumput.
	(_S_ostream_fcache): New function.
	Move functions out-of-line.
	* bits/ostream.tcc: Put here.

	* bits/std_istream.h: Add callbacks for _M_fnumget.
	(_S_istream_fcache): New function.
	Move functions out-of-line.
	* bits/istream.tcc: Put here.

	* bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
	_M_call_callbacks(), as ios_base::imbue does this already.
	* src/ios.cc (register_callback): Clean.
	(_M_call_callbacks): Same.
	* bits/ios_base.h: Callback work.
	* testsuite/27_io/ios_base_callbacks.cc (test01): New file.
@
text
@d2987 73
@


1.31
log
@

1999-11-02  Benjamin Kosnik  <benjamin@@cygnus.com>

        * configure: Regenerate.
@
text
@a43 1
sitefile=
a157 1
  --site-file=FILE        use FILE as the site file
a327 5
  -site-file | --site-file | --site-fil | --site-fi | --site-f)
    ac_prev=sitefile ;;
  -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
    sitefile="$ac_optarg" ;;

d493 5
a497 7
if test -z "$sitefile"; then
  if test -z "$CONFIG_SITE"; then
    if test "x$prefix" != xNONE; then
      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    else
      CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    fi
a498 2
else
  CONFIG_SITE="$sitefile"
d568 1
a568 1
echo "configure:580: checking for a BSD compatible install" >&5
d621 1
a621 1
echo "configure:633: checking whether build environment is sane" >&5
d678 1
a678 1
echo "configure:690: checking whether ${MAKE-make} sets \${MAKE}" >&5
d724 1
a724 1
echo "configure:736: checking for working aclocal" >&5
d737 1
a737 1
echo "configure:749: checking for working autoconf" >&5
d750 1
a750 1
echo "configure:762: checking for working automake" >&5
d763 1
a763 1
echo "configure:775: checking for working autoheader" >&5
d776 1
a776 1
echo "configure:788: checking for working makeinfo" >&5
d870 1
a870 1
echo "configure:882: checking host system type" >&5
d891 1
a891 1
echo "configure:903: checking build system type" >&5
d911 1
a911 1
echo "configure:923: checking for $ac_word" >&5
d941 1
a941 1
echo "configure:953: checking for $ac_word" >&5
d971 1
a971 1
echo "configure:983: checking for $ac_word" >&5
d1022 1
a1022 1
echo "configure:1034: checking for $ac_word" >&5
d1054 1
a1054 1
echo "configure:1066: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1065 1
a1065 1
#line 1077 "configure"
d1070 1
a1070 1
if { (eval echo configure:1082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1096 1
a1096 1
echo "configure:1108: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1101 1
a1101 1
echo "configure:1113: checking whether we are using GNU C" >&5
d1110 1
a1110 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1129 1
a1129 1
echo "configure:1141: checking whether ${CC-cc} accepts -g" >&5
d1172 1
a1172 1
echo "configure:1184: checking for ld used by GCC" >&5
d1196 1
a1196 1
echo "configure:1208: checking for GNU ld" >&5
d1199 1
a1199 1
echo "configure:1211: checking for non-GNU ld" >&5
d1235 1
a1235 1
echo "configure:1247: checking if the linker ($LD) is GNU ld" >&5
d1251 1
a1251 1
echo "configure:1263: checking for BSD-compatible nm" >&5
d1288 1
a1288 1
echo "configure:1300: checking whether ln -s works" >&5
d1332 2
a1333 2
  echo '#line 1344 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1354 1
a1354 1
echo "configure:1366: checking whether the C compiler needs -belf" >&5
d1359 1
a1359 1
#line 1371 "configure"
d1366 1
a1366 1
if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1470 1
a1470 1
echo "configure:1482: checking for $ac_word" >&5
d1500 1
a1500 1
echo "configure:1512: checking for $ac_word" >&5
d1551 1
a1551 1
echo "configure:1563: checking for $ac_word" >&5
d1583 1
a1583 1
echo "configure:1595: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1594 1
a1594 1
#line 1606 "configure"
d1599 1
a1599 1
if { (eval echo configure:1611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1625 1
a1625 1
echo "configure:1637: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1630 1
a1630 1
echo "configure:1642: checking whether we are using GNU C" >&5
d1639 1
a1639 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1658 1
a1658 1
echo "configure:1670: checking whether ${CC-cc} accepts -g" >&5
d1694 1
a1694 1
echo "configure:1706: checking for $ac_word" >&5
d1726 1
a1726 1
echo "configure:1738: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1737 1
a1737 1
#line 1749 "configure"
d1742 1
a1742 1
if { (eval echo configure:1754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1768 1
a1768 1
echo "configure:1780: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1773 1
a1773 1
echo "configure:1785: checking whether we are using GNU C++" >&5
d1782 1
a1782 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1801 1
a1801 1
echo "configure:1813: checking whether ${CXX-g++} accepts -g" >&5
d1833 1
a1833 1
echo "configure:1845: checking whether ln -s works" >&5
d1856 1
a1856 1
echo "configure:1868: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1879 1
a1879 1
echo "configure:1891: checking for Cygwin environment" >&5
d1884 1
a1884 1
#line 1896 "configure"
d1895 1
a1895 1
if { (eval echo configure:1907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1912 1
a1912 1
echo "configure:1924: checking for mingw32 environment" >&5
d1917 1
a1917 1
#line 1929 "configure"
d1924 1
a1924 1
if { (eval echo configure:1936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1943 1
a1943 1
echo "configure:1955: checking for executable suffix" >&5
d1953 1
a1953 1
  if { (eval echo configure:1965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1956 1
a1956 1
      *.c | *.o | *.obj | *.ilk | *.pdb) ;;
d1978 1
a1978 1
echo "configure:1990: checking for sin in -lm" >&5
d1986 1
a1986 1
#line 1998 "configure"
d1997 1
a1997 1
if { (eval echo configure:2009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2027 1
a2027 1
echo "configure:2039: checking for $ac_func" >&5
d2032 1
a2032 1
#line 2044 "configure"
d2055 1
a2055 1
if { (eval echo configure:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2086 1
a2086 1
echo "configure:2098: checking for sinl" >&5
d2091 1
a2091 1
#line 2103 "configure"
d2114 1
a2114 1
if { (eval echo configure:2126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2133 1
a2133 1
echo "configure:2145: checking for $ac_func" >&5
d2138 1
a2138 1
#line 2150 "configure"
d2161 1
a2161 1
if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2199 1
a2199 1
echo "configure:2211: checking for $ac_func" >&5
d2204 1
a2204 1
#line 2216 "configure"
d2227 1
a2227 1
if { (eval echo configure:2239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2261 1
a2261 1
echo "configure:2273: checking for $ac_func" >&5
d2266 1
a2266 1
#line 2278 "configure"
d2289 1
a2289 1
if { (eval echo configure:2301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2316 1
a2316 1
#line 2328 "configure"
d2323 1
a2323 1
if { (eval echo configure:2335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2341 1
a2341 1
#line 2353 "configure"
d2348 1
a2348 1
if { (eval echo configure:2360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2366 1
a2366 1
#line 2378 "configure"
d2373 1
a2373 1
if { (eval echo configure:2385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2391 1
a2391 1
#line 2403 "configure"
d2398 1
a2398 1
if { (eval echo configure:2410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2418 1
a2418 1
echo "configure:2430: checking how to run the C preprocessor" >&5
d2433 1
a2433 1
#line 2445 "configure"
d2439 1
a2439 1
{ (eval echo configure:2451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2450 1
a2450 1
#line 2462 "configure"
d2456 1
a2456 1
{ (eval echo configure:2468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2467 1
a2467 1
#line 2479 "configure"
d2473 1
a2473 1
{ (eval echo configure:2485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2499 1
a2499 1
echo "configure:2511: checking for complex.h" >&5
d2504 1
a2504 1
#line 2516 "configure"
d2509 1
a2509 1
{ (eval echo configure:2521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2537 1
a2537 1
echo "configure:2549: checking for $ac_hdr" >&5
d2542 1
a2542 1
#line 2554 "configure"
d2547 1
a2547 1
{ (eval echo configure:2559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2582 1
a2582 1
echo "configure:2594: checking whether byte ordering is bigendian" >&5
d2589 1
a2589 1
#line 2601 "configure"
d2600 1
a2600 1
if { (eval echo configure:2612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2604 1
a2604 1
#line 2616 "configure"
d2615 1
a2615 1
if { (eval echo configure:2627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2635 1
a2635 1
#line 2647 "configure"
d2648 1
a2648 1
if { (eval echo configure:2660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2677 1
a2677 1
echo "configure:2689: checking for $ac_func" >&5
d2682 1
a2682 1
#line 2694 "configure"
d2705 1
a2705 1
if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2735 1
a2735 1
echo "configure:2747: checking for wchar.h" >&5
d2740 1
a2740 1
#line 2752 "configure"
d2745 1
a2745 1
{ (eval echo configure:2757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2762 1
a2762 1
#line 2774 "configure"
d2769 1
a2769 1
if { (eval echo configure:2781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2795 1
a2795 1
echo "configure:2807: checking for wchar.h" >&5
d2800 1
a2800 1
#line 2812 "configure"
d2805 1
a2805 1
{ (eval echo configure:2817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2822 1
a2822 1
#line 2834 "configure"
d2829 1
a2829 1
if { (eval echo configure:2841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2854 1
a2854 1
echo "configure:2866: checking for glibc 2" >&5
d2860 1
a2860 1
#line 2872 "configure"
d2870 1
a2870 1
if { (eval echo configure:2882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2896 1
a2896 1
echo "configure:2908: checking for ctype.h" >&5
d2901 1
a2901 1
#line 2913 "configure"
d2906 1
a2906 1
{ (eval echo configure:2918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2924 1
a2924 1
#line 2936 "configure"
d2931 1
a2931 1
if { (eval echo configure:2943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2954 1
a2954 1
echo "configure:2966: checking for LC_MESSAGES" >&5
d2959 1
a2959 1
#line 2971 "configure"
d2966 1
a2966 1
if { (eval echo configure:2978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.30
log
@
1999-10-08  Benjamin Kosnik  <bkoz@@haight.constant.com>

        * bits/std_cmath.h: Correctly cast int to double.
        * testsuite/26_numerics/c_math.cc: Add test.

        * mknumeric_limits (OUT_C): Tweaks.
        * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
        trying to instantiate type_traits<wchar_t>.
        * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
        * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
        * configure: Regenerate.
@
text
@d44 1
d159 1
d330 5
d500 7
a506 5
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
d508 2
d579 1
a579 1
echo "configure:569: checking for a BSD compatible install" >&5
d632 1
a632 1
echo "configure:622: checking whether build environment is sane" >&5
d689 1
a689 1
echo "configure:679: checking whether ${MAKE-make} sets \${MAKE}" >&5
d718 1
a718 1
VERSION=2.90.5
d735 1
a735 1
echo "configure:725: checking for working aclocal" >&5
d748 1
a748 1
echo "configure:738: checking for working autoconf" >&5
d761 1
a761 1
echo "configure:751: checking for working automake" >&5
d774 1
a774 1
echo "configure:764: checking for working autoheader" >&5
d787 1
a787 1
echo "configure:777: checking for working makeinfo" >&5
d881 1
a881 1
echo "configure:871: checking host system type" >&5
d902 1
a902 1
echo "configure:892: checking build system type" >&5
d922 1
a922 1
echo "configure:912: checking for $ac_word" >&5
d952 1
a952 1
echo "configure:942: checking for $ac_word" >&5
d982 1
a982 1
echo "configure:972: checking for $ac_word" >&5
d1033 1
a1033 1
echo "configure:1023: checking for $ac_word" >&5
d1065 1
a1065 1
echo "configure:1055: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1076 1
a1076 1
#line 1066 "configure"
d1081 1
a1081 1
if { (eval echo configure:1071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1107 1
a1107 1
echo "configure:1097: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1112 1
a1112 1
echo "configure:1102: checking whether we are using GNU C" >&5
d1121 1
a1121 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1140 1
a1140 1
echo "configure:1130: checking whether ${CC-cc} accepts -g" >&5
d1183 1
a1183 1
echo "configure:1173: checking for ld used by GCC" >&5
d1207 1
a1207 1
echo "configure:1197: checking for GNU ld" >&5
d1210 1
a1210 1
echo "configure:1200: checking for non-GNU ld" >&5
d1246 1
a1246 1
echo "configure:1236: checking if the linker ($LD) is GNU ld" >&5
d1262 1
a1262 1
echo "configure:1252: checking for BSD-compatible nm" >&5
d1299 1
a1299 1
echo "configure:1289: checking whether ln -s works" >&5
d1343 2
a1344 2
  echo '#line 1333 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1365 1
a1365 1
echo "configure:1355: checking whether the C compiler needs -belf" >&5
d1370 1
a1370 1
#line 1360 "configure"
d1377 1
a1377 1
if { (eval echo configure:1367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1481 1
a1481 1
echo "configure:1471: checking for $ac_word" >&5
d1511 1
a1511 1
echo "configure:1501: checking for $ac_word" >&5
d1562 1
a1562 1
echo "configure:1552: checking for $ac_word" >&5
d1594 1
a1594 1
echo "configure:1584: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1605 1
a1605 1
#line 1595 "configure"
d1610 1
a1610 1
if { (eval echo configure:1600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1636 1
a1636 1
echo "configure:1626: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1641 1
a1641 1
echo "configure:1631: checking whether we are using GNU C" >&5
d1650 1
a1650 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1669 1
a1669 1
echo "configure:1659: checking whether ${CC-cc} accepts -g" >&5
d1705 1
a1705 1
echo "configure:1695: checking for $ac_word" >&5
d1737 1
a1737 1
echo "configure:1727: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1748 1
a1748 1
#line 1738 "configure"
d1753 1
a1753 1
if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1779 1
a1779 1
echo "configure:1769: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1784 1
a1784 1
echo "configure:1774: checking whether we are using GNU C++" >&5
d1793 1
a1793 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1812 1
a1812 1
echo "configure:1802: checking whether ${CXX-g++} accepts -g" >&5
d1844 1
a1844 1
echo "configure:1834: checking whether ln -s works" >&5
d1867 1
a1867 1
echo "configure:1857: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1890 1
a1890 1
echo "configure:1880: checking for Cygwin environment" >&5
d1895 1
a1895 1
#line 1885 "configure"
d1906 1
a1906 1
if { (eval echo configure:1896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1923 1
a1923 1
echo "configure:1913: checking for mingw32 environment" >&5
d1928 1
a1928 1
#line 1918 "configure"
d1935 1
a1935 1
if { (eval echo configure:1925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1954 1
a1954 1
echo "configure:1944: checking for executable suffix" >&5
d1964 1
a1964 1
  if { (eval echo configure:1954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1967 1
a1967 1
      *.c | *.o | *.obj) ;;
d1989 1
a1989 1
echo "configure:1979: checking for sin in -lm" >&5
d1997 1
a1997 1
#line 1987 "configure"
d2008 1
a2008 1
if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2038 1
a2038 1
echo "configure:2028: checking for $ac_func" >&5
d2043 1
a2043 1
#line 2033 "configure"
d2066 1
a2066 1
if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2097 1
a2097 1
echo "configure:2087: checking for sinl" >&5
d2102 1
a2102 1
#line 2092 "configure"
d2125 1
a2125 1
if { (eval echo configure:2115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2144 1
a2144 1
echo "configure:2134: checking for $ac_func" >&5
d2149 1
a2149 1
#line 2139 "configure"
d2172 1
a2172 1
if { (eval echo configure:2162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2210 1
a2210 1
echo "configure:2200: checking for $ac_func" >&5
d2215 1
a2215 1
#line 2205 "configure"
d2238 1
a2238 1
if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2272 1
a2272 1
echo "configure:2262: checking for $ac_func" >&5
d2277 1
a2277 1
#line 2267 "configure"
d2300 1
a2300 1
if { (eval echo configure:2290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2327 1
a2327 1
#line 2317 "configure"
d2334 1
a2334 1
if { (eval echo configure:2324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2352 1
a2352 1
#line 2342 "configure"
d2359 1
a2359 1
if { (eval echo configure:2349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2377 1
a2377 1
#line 2367 "configure"
d2384 1
a2384 1
if { (eval echo configure:2374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2402 1
a2402 1
#line 2392 "configure"
d2409 1
a2409 1
if { (eval echo configure:2399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2429 1
a2429 1
echo "configure:2419: checking how to run the C preprocessor" >&5
d2444 1
a2444 1
#line 2434 "configure"
d2450 1
a2450 1
{ (eval echo configure:2440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2461 1
a2461 1
#line 2451 "configure"
d2467 1
a2467 1
{ (eval echo configure:2457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2478 1
a2478 1
#line 2468 "configure"
d2484 1
a2484 1
{ (eval echo configure:2474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2510 1
a2510 1
echo "configure:2500: checking for complex.h" >&5
d2515 1
a2515 1
#line 2505 "configure"
d2520 1
a2520 1
{ (eval echo configure:2510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2548 1
a2548 1
echo "configure:2538: checking for $ac_hdr" >&5
d2553 1
a2553 1
#line 2543 "configure"
d2558 1
a2558 1
{ (eval echo configure:2548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2593 1
a2593 1
echo "configure:2583: checking whether byte ordering is bigendian" >&5
d2600 1
a2600 1
#line 2590 "configure"
d2611 1
a2611 1
if { (eval echo configure:2601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2615 1
a2615 1
#line 2605 "configure"
d2626 1
a2626 1
if { (eval echo configure:2616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2646 1
a2646 1
#line 2636 "configure"
d2659 1
a2659 1
if { (eval echo configure:2649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2688 1
a2688 1
echo "configure:2678: checking for $ac_func" >&5
d2693 1
a2693 1
#line 2683 "configure"
d2716 1
a2716 1
if { (eval echo configure:2706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2746 1
a2746 1
echo "configure:2736: checking for wchar.h" >&5
d2751 1
a2751 1
#line 2741 "configure"
d2756 1
a2756 1
{ (eval echo configure:2746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2773 1
a2773 1
#line 2763 "configure"
d2780 1
a2780 1
if { (eval echo configure:2770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2806 1
a2806 1
echo "configure:2796: checking for wchar.h" >&5
d2811 1
a2811 1
#line 2801 "configure"
d2816 1
a2816 1
{ (eval echo configure:2806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2833 1
a2833 1
#line 2823 "configure"
d2840 1
a2840 1
if { (eval echo configure:2830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2865 1
a2865 1
echo "configure:2855: checking for glibc 2" >&5
d2871 1
a2871 1
#line 2861 "configure"
d2881 1
a2881 1
if { (eval echo configure:2871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2907 1
a2907 1
echo "configure:2897: checking for ctype.h" >&5
d2912 1
a2912 1
#line 2902 "configure"
d2917 1
a2917 1
{ (eval echo configure:2907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2935 1
a2935 1
#line 2925 "configure"
d2942 1
a2942 1
if { (eval echo configure:2932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2965 1
a2965 1
echo "configure:2955: checking for LC_MESSAGES" >&5
d2970 1
a2970 1
#line 2960 "configure"
d2977 1
a2977 1
if { (eval echo configure:2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.29
log
@
1999-09-23  Benjamin Kosnik  <bkoz@@milou.cygnus.com>

	* bits/streambuf.tcc: Yea. Fix this for real.
	* testsuite/27_io/ostream_inserter_other.cc: Add file.
	* src/Makefile.*: Regenerate.
@
text
@a43 1
sitefile=
a157 1
  --site-file=FILE        use FILE as the site file
a327 5
  -site-file | --site-file | --site-fil | --site-fi | --site-f)
    ac_prev=sitefile ;;
  -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
    sitefile="$ac_optarg" ;;

d493 5
a497 7
if test -z "$sitefile"; then
  if test -z "$CONFIG_SITE"; then
    if test "x$prefix" != xNONE; then
      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    else
      CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    fi
a498 2
else
  CONFIG_SITE="$sitefile"
d568 1
a568 1
echo "configure:580: checking for a BSD compatible install" >&5
d621 1
a621 1
echo "configure:633: checking whether build environment is sane" >&5
d678 1
a678 1
echo "configure:690: checking whether ${MAKE-make} sets \${MAKE}" >&5
d724 1
a724 1
echo "configure:736: checking for working aclocal" >&5
d737 1
a737 1
echo "configure:749: checking for working autoconf" >&5
d750 1
a750 1
echo "configure:762: checking for working automake" >&5
d763 1
a763 1
echo "configure:775: checking for working autoheader" >&5
d776 1
a776 1
echo "configure:788: checking for working makeinfo" >&5
d870 1
a870 1
echo "configure:882: checking host system type" >&5
d891 1
a891 1
echo "configure:903: checking build system type" >&5
d911 1
a911 1
echo "configure:923: checking for $ac_word" >&5
d941 1
a941 1
echo "configure:953: checking for $ac_word" >&5
d971 1
a971 1
echo "configure:983: checking for $ac_word" >&5
d1022 1
a1022 1
echo "configure:1034: checking for $ac_word" >&5
d1054 1
a1054 1
echo "configure:1066: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1065 1
a1065 1
#line 1077 "configure"
d1070 1
a1070 1
if { (eval echo configure:1082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1096 1
a1096 1
echo "configure:1108: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1101 1
a1101 1
echo "configure:1113: checking whether we are using GNU C" >&5
d1110 1
a1110 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1129 1
a1129 1
echo "configure:1141: checking whether ${CC-cc} accepts -g" >&5
d1172 1
a1172 1
echo "configure:1184: checking for ld used by GCC" >&5
d1196 1
a1196 1
echo "configure:1208: checking for GNU ld" >&5
d1199 1
a1199 1
echo "configure:1211: checking for non-GNU ld" >&5
d1235 1
a1235 1
echo "configure:1247: checking if the linker ($LD) is GNU ld" >&5
d1251 1
a1251 1
echo "configure:1263: checking for BSD-compatible nm" >&5
d1288 1
a1288 1
echo "configure:1300: checking whether ln -s works" >&5
d1332 2
a1333 2
  echo '#line 1344 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1354 1
a1354 1
echo "configure:1366: checking whether the C compiler needs -belf" >&5
d1359 1
a1359 1
#line 1371 "configure"
d1366 1
a1366 1
if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1470 1
a1470 1
echo "configure:1482: checking for $ac_word" >&5
d1500 1
a1500 1
echo "configure:1512: checking for $ac_word" >&5
d1551 1
a1551 1
echo "configure:1563: checking for $ac_word" >&5
d1583 1
a1583 1
echo "configure:1595: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1594 1
a1594 1
#line 1606 "configure"
d1599 1
a1599 1
if { (eval echo configure:1611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1625 1
a1625 1
echo "configure:1637: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1630 1
a1630 1
echo "configure:1642: checking whether we are using GNU C" >&5
d1639 1
a1639 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1658 1
a1658 1
echo "configure:1670: checking whether ${CC-cc} accepts -g" >&5
d1694 1
a1694 1
echo "configure:1706: checking for $ac_word" >&5
d1726 1
a1726 1
echo "configure:1738: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1737 1
a1737 1
#line 1749 "configure"
d1742 1
a1742 1
if { (eval echo configure:1754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1768 1
a1768 1
echo "configure:1780: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1773 1
a1773 1
echo "configure:1785: checking whether we are using GNU C++" >&5
d1782 1
a1782 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1801 1
a1801 1
echo "configure:1813: checking whether ${CXX-g++} accepts -g" >&5
d1833 1
a1833 1
echo "configure:1845: checking whether ln -s works" >&5
d1856 1
a1856 1
echo "configure:1868: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1879 1
a1879 1
echo "configure:1891: checking for Cygwin environment" >&5
d1884 1
a1884 1
#line 1896 "configure"
d1895 1
a1895 1
if { (eval echo configure:1907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1912 1
a1912 1
echo "configure:1924: checking for mingw32 environment" >&5
d1917 1
a1917 1
#line 1929 "configure"
d1924 1
a1924 1
if { (eval echo configure:1936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1943 1
a1943 1
echo "configure:1955: checking for executable suffix" >&5
d1953 1
a1953 1
  if { (eval echo configure:1965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1956 1
a1956 1
      *.c | *.o | *.obj | *.ilk | *.pdb) ;;
d1978 1
a1978 1
echo "configure:1990: checking for sin in -lm" >&5
d1986 1
a1986 1
#line 1998 "configure"
d1997 1
a1997 1
if { (eval echo configure:2009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2027 1
a2027 1
echo "configure:2039: checking for $ac_func" >&5
d2032 1
a2032 1
#line 2044 "configure"
d2055 1
a2055 1
if { (eval echo configure:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2086 1
a2086 1
echo "configure:2098: checking for sinl" >&5
d2091 1
a2091 1
#line 2103 "configure"
d2114 1
a2114 1
if { (eval echo configure:2126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2133 1
a2133 1
echo "configure:2145: checking for $ac_func" >&5
d2138 1
a2138 1
#line 2150 "configure"
d2161 1
a2161 1
if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2199 1
a2199 1
echo "configure:2211: checking for $ac_func" >&5
d2204 1
a2204 1
#line 2216 "configure"
d2227 1
a2227 1
if { (eval echo configure:2239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2261 1
a2261 1
echo "configure:2273: checking for $ac_func" >&5
d2266 1
a2266 1
#line 2278 "configure"
d2289 1
a2289 1
if { (eval echo configure:2301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2316 1
a2316 1
#line 2328 "configure"
d2323 1
a2323 1
if { (eval echo configure:2335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2341 1
a2341 1
#line 2353 "configure"
d2348 1
a2348 1
if { (eval echo configure:2360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2366 1
a2366 1
#line 2378 "configure"
d2373 1
a2373 1
if { (eval echo configure:2385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2391 1
a2391 1
#line 2403 "configure"
d2398 1
a2398 1
if { (eval echo configure:2410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2418 1
a2418 1
echo "configure:2430: checking how to run the C preprocessor" >&5
d2433 1
a2433 1
#line 2445 "configure"
d2439 1
a2439 1
{ (eval echo configure:2451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2450 1
a2450 1
#line 2462 "configure"
d2456 1
a2456 1
{ (eval echo configure:2468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2467 1
a2467 1
#line 2479 "configure"
d2473 1
a2473 1
{ (eval echo configure:2485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2499 1
a2499 1
echo "configure:2511: checking for complex.h" >&5
d2504 1
a2504 1
#line 2516 "configure"
d2509 1
a2509 1
{ (eval echo configure:2521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2537 1
a2537 1
echo "configure:2549: checking for $ac_hdr" >&5
d2542 1
a2542 1
#line 2554 "configure"
d2547 1
a2547 1
{ (eval echo configure:2559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2582 1
a2582 1
echo "configure:2594: checking whether byte ordering is bigendian" >&5
d2589 1
a2589 1
#line 2601 "configure"
d2600 1
a2600 1
if { (eval echo configure:2612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2604 1
a2604 1
#line 2616 "configure"
d2615 1
a2615 1
if { (eval echo configure:2627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2635 1
a2635 1
#line 2647 "configure"
d2648 1
a2648 1
if { (eval echo configure:2660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2677 1
a2677 1
echo "configure:2689: checking for $ac_func" >&5
d2682 1
a2682 1
#line 2694 "configure"
d2705 1
a2705 1
if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2735 1
a2735 1
echo "configure:2747: checking for wchar.h" >&5
d2740 1
a2740 1
#line 2752 "configure"
d2745 1
a2745 1
{ (eval echo configure:2757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2761 2
a2762 3
  
cat > conftest.$ac_ext <<EOF
#line 2775 "configure"
d2769 1
a2769 1
if { (eval echo configure:2782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2791 61
d2854 1
a2854 1
echo "configure:2806: checking for glibc 2" >&5
d2860 1
a2860 1
#line 2812 "configure"
d2870 1
a2870 1
if { (eval echo configure:2822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2896 1
a2896 1
echo "configure:2848: checking for ctype.h" >&5
d2901 1
a2901 1
#line 2853 "configure"
d2906 1
a2906 1
{ (eval echo configure:2858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2924 1
a2924 1
#line 2876 "configure"
d2931 1
a2931 1
if { (eval echo configure:2883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2954 1
a2954 1
echo "configure:2906: checking for LC_MESSAGES" >&5
d2959 1
a2959 1
#line 2911 "configure"
d2966 1
a2966 1
if { (eval echo configure:2918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.28
log
@
1999-09-20  Benjamin Kosnik  <bkoz@@milou.cygnus.com>

	* bits/std_ostream.h: Fix typo.
	* bits/std_istream.h: Same.
	* bits/std_iomanip.h: Same.

	* bits/istream.tcc (sentry::sentry()): Remove optional tie with
	ostream, as happens with underflow anyway.
	* testsuite/27_io/istream.cc (main): New file.
	* testsuite/27_io/ostream.cc (main): New file.
	* testsuite/27_io/istream_unformatted.cc: Add tests.

	* src/Makefile.am (headers): Add new file.
	* src/Makefile.in (headers): Regenerated.

	* bits/basic_ios.h: Remove local-related files.
	* bits/basic_ios.tcc: New file, add locale-related items.
	* src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
	* testsuite/27_io/ios_members_static.cc: Change to
	* testsuite/27_io/ios_base_members_static.cc: This.
	* testsuite/27_io/ios_members.cc: New file.
	* testsuite/27_io/stdios_basefield_manip: Change to
	* testsuite/27_io/ios_manip_basefield.cc: This.
	* testsuite/27_io/stdios_fmtflags_manip: Change to
	* testsuite/27_io/ios_manip_fmtflags.cc: This.

	* bits/fpos.h: Fix discarding qualifiers on this when
	using _M_position with a const fpos.
	* bits/std_iosfwd.h: Tweak.
	* testsuite/27_io/fpos.cc: New file.
@
text
@d44 1
d159 1
d330 5
d500 7
a506 5
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
d508 2
d579 1
a579 1
echo "configure:569: checking for a BSD compatible install" >&5
d632 1
a632 1
echo "configure:622: checking whether build environment is sane" >&5
d689 1
a689 1
echo "configure:679: checking whether ${MAKE-make} sets \${MAKE}" >&5
d735 1
a735 1
echo "configure:725: checking for working aclocal" >&5
d748 1
a748 1
echo "configure:738: checking for working autoconf" >&5
d761 1
a761 1
echo "configure:751: checking for working automake" >&5
d774 1
a774 1
echo "configure:764: checking for working autoheader" >&5
d787 1
a787 1
echo "configure:777: checking for working makeinfo" >&5
d881 1
a881 1
echo "configure:871: checking host system type" >&5
d902 1
a902 1
echo "configure:892: checking build system type" >&5
d922 1
a922 1
echo "configure:912: checking for $ac_word" >&5
d952 1
a952 1
echo "configure:942: checking for $ac_word" >&5
d982 1
a982 1
echo "configure:972: checking for $ac_word" >&5
d1033 1
a1033 1
echo "configure:1023: checking for $ac_word" >&5
d1065 1
a1065 1
echo "configure:1055: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1076 1
a1076 1
#line 1066 "configure"
d1081 1
a1081 1
if { (eval echo configure:1071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1107 1
a1107 1
echo "configure:1097: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1112 1
a1112 1
echo "configure:1102: checking whether we are using GNU C" >&5
d1121 1
a1121 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1140 1
a1140 1
echo "configure:1130: checking whether ${CC-cc} accepts -g" >&5
d1183 1
a1183 1
echo "configure:1173: checking for ld used by GCC" >&5
d1207 1
a1207 1
echo "configure:1197: checking for GNU ld" >&5
d1210 1
a1210 1
echo "configure:1200: checking for non-GNU ld" >&5
d1246 1
a1246 1
echo "configure:1236: checking if the linker ($LD) is GNU ld" >&5
d1262 1
a1262 1
echo "configure:1252: checking for BSD-compatible nm" >&5
d1299 1
a1299 1
echo "configure:1289: checking whether ln -s works" >&5
d1343 2
a1344 2
  echo '#line 1333 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1365 1
a1365 1
echo "configure:1355: checking whether the C compiler needs -belf" >&5
d1370 1
a1370 1
#line 1360 "configure"
d1377 1
a1377 1
if { (eval echo configure:1367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1481 1
a1481 1
echo "configure:1471: checking for $ac_word" >&5
d1511 1
a1511 1
echo "configure:1501: checking for $ac_word" >&5
d1562 1
a1562 1
echo "configure:1552: checking for $ac_word" >&5
d1594 1
a1594 1
echo "configure:1584: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1605 1
a1605 1
#line 1595 "configure"
d1610 1
a1610 1
if { (eval echo configure:1600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1636 1
a1636 1
echo "configure:1626: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1641 1
a1641 1
echo "configure:1631: checking whether we are using GNU C" >&5
d1650 1
a1650 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1669 1
a1669 1
echo "configure:1659: checking whether ${CC-cc} accepts -g" >&5
d1705 1
a1705 1
echo "configure:1695: checking for $ac_word" >&5
d1737 1
a1737 1
echo "configure:1727: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1748 1
a1748 1
#line 1738 "configure"
d1753 1
a1753 1
if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1779 1
a1779 1
echo "configure:1769: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1784 1
a1784 1
echo "configure:1774: checking whether we are using GNU C++" >&5
d1793 1
a1793 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1812 1
a1812 1
echo "configure:1802: checking whether ${CXX-g++} accepts -g" >&5
d1844 1
a1844 1
echo "configure:1834: checking whether ln -s works" >&5
d1867 1
a1867 1
echo "configure:1857: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1890 1
a1890 1
echo "configure:1880: checking for Cygwin environment" >&5
d1895 1
a1895 1
#line 1885 "configure"
d1906 1
a1906 1
if { (eval echo configure:1896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1923 1
a1923 1
echo "configure:1913: checking for mingw32 environment" >&5
d1928 1
a1928 1
#line 1918 "configure"
d1935 1
a1935 1
if { (eval echo configure:1925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1954 1
a1954 1
echo "configure:1944: checking for executable suffix" >&5
d1964 1
a1964 1
  if { (eval echo configure:1954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1967 1
a1967 1
      *.c | *.o | *.obj) ;;
d1989 1
a1989 1
echo "configure:1979: checking for sin in -lm" >&5
d1997 1
a1997 1
#line 1987 "configure"
d2008 1
a2008 1
if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2038 1
a2038 1
echo "configure:2028: checking for $ac_func" >&5
d2043 1
a2043 1
#line 2033 "configure"
d2066 1
a2066 1
if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2097 1
a2097 1
echo "configure:2087: checking for sinl" >&5
d2102 1
a2102 1
#line 2092 "configure"
d2125 1
a2125 1
if { (eval echo configure:2115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2144 1
a2144 1
echo "configure:2134: checking for $ac_func" >&5
d2149 1
a2149 1
#line 2139 "configure"
d2172 1
a2172 1
if { (eval echo configure:2162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2210 1
a2210 1
echo "configure:2200: checking for $ac_func" >&5
d2215 1
a2215 1
#line 2205 "configure"
d2238 1
a2238 1
if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2272 1
a2272 1
echo "configure:2262: checking for $ac_func" >&5
d2277 1
a2277 1
#line 2267 "configure"
d2300 1
a2300 1
if { (eval echo configure:2290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2327 1
a2327 1
#line 2317 "configure"
d2334 1
a2334 1
if { (eval echo configure:2324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2352 1
a2352 1
#line 2342 "configure"
d2359 1
a2359 1
if { (eval echo configure:2349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2377 1
a2377 1
#line 2367 "configure"
d2384 1
a2384 1
if { (eval echo configure:2374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2402 1
a2402 1
#line 2392 "configure"
d2409 1
a2409 1
if { (eval echo configure:2399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2429 1
a2429 1
echo "configure:2419: checking how to run the C preprocessor" >&5
d2444 1
a2444 1
#line 2434 "configure"
d2450 1
a2450 1
{ (eval echo configure:2440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2461 1
a2461 1
#line 2451 "configure"
d2467 1
a2467 1
{ (eval echo configure:2457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2478 1
a2478 1
#line 2468 "configure"
d2484 1
a2484 1
{ (eval echo configure:2474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2510 1
a2510 1
echo "configure:2500: checking for complex.h" >&5
d2515 1
a2515 1
#line 2505 "configure"
d2520 1
a2520 1
{ (eval echo configure:2510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2548 1
a2548 1
echo "configure:2538: checking for $ac_hdr" >&5
d2553 1
a2553 1
#line 2543 "configure"
d2558 1
a2558 1
{ (eval echo configure:2548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2593 1
a2593 1
echo "configure:2583: checking whether byte ordering is bigendian" >&5
d2600 1
a2600 1
#line 2590 "configure"
d2611 1
a2611 1
if { (eval echo configure:2601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2615 1
a2615 1
#line 2605 "configure"
d2626 1
a2626 1
if { (eval echo configure:2616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2646 1
a2646 1
#line 2636 "configure"
d2659 1
a2659 1
if { (eval echo configure:2649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2688 1
a2688 1
echo "configure:2678: checking for $ac_func" >&5
d2693 1
a2693 1
#line 2683 "configure"
d2716 1
a2716 1
if { (eval echo configure:2706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2746 1
a2746 1
echo "configure:2736: checking for wchar.h" >&5
d2751 1
a2751 1
#line 2741 "configure"
d2756 1
a2756 1
{ (eval echo configure:2746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2774 1
a2774 1
#line 2764 "configure"
d2781 1
a2781 1
if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2805 1
a2805 1
echo "configure:2795: checking for glibc 2" >&5
d2811 1
a2811 1
#line 2801 "configure"
d2821 1
a2821 1
if { (eval echo configure:2811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2847 1
a2847 1
echo "configure:2837: checking for ctype.h" >&5
d2852 1
a2852 1
#line 2842 "configure"
d2857 1
a2857 1
{ (eval echo configure:2847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2875 1
a2875 1
#line 2865 "configure"
d2882 1
a2882 1
if { (eval echo configure:2872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2905 1
a2905 1
echo "configure:2895: checking for LC_MESSAGES" >&5
d2910 1
a2910 1
#line 2900 "configure"
d2917 1
a2917 1
if { (eval echo configure:2907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.27
log
@
1999-08-25  Benjamin Kosnik  <bkoz@@cygnus.com>

	* acconfig.h: Add absf, cosf.
	* configure.in (use_builtin_sinf): Same.
	* configure: Regenerate.
	* bits/std_cmath.h: Add mess of defines.
	* testsuite/26_numerics/modf_float.cc: Change to
	* testsuite/26_numerics/c_math.cc: This.

	* src/locale.cc: Change.
	* bits/locale_facets.h: Fix.
	* testsuite/22_locale/ctype.cc: Add temporary tests.
@
text
@a43 1
sitefile=
a157 1
  --site-file=FILE        use FILE as the site file
a327 5
  -site-file | --site-file | --site-fil | --site-fi | --site-f)
    ac_prev=sitefile ;;
  -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
    sitefile="$ac_optarg" ;;

d493 5
a497 7
if test -z "$sitefile"; then
  if test -z "$CONFIG_SITE"; then
    if test "x$prefix" != xNONE; then
      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    else
      CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    fi
a498 2
else
  CONFIG_SITE="$sitefile"
d568 1
a568 1
echo "configure:580: checking for a BSD compatible install" >&5
d621 1
a621 1
echo "configure:633: checking whether build environment is sane" >&5
d678 1
a678 1
echo "configure:690: checking whether ${MAKE-make} sets \${MAKE}" >&5
d724 1
a724 1
echo "configure:736: checking for working aclocal" >&5
d737 1
a737 1
echo "configure:749: checking for working autoconf" >&5
d750 1
a750 1
echo "configure:762: checking for working automake" >&5
d763 1
a763 1
echo "configure:775: checking for working autoheader" >&5
d776 1
a776 1
echo "configure:788: checking for working makeinfo" >&5
d870 1
a870 1
echo "configure:882: checking host system type" >&5
d891 1
a891 1
echo "configure:903: checking build system type" >&5
d911 1
a911 1
echo "configure:923: checking for $ac_word" >&5
d941 1
a941 1
echo "configure:953: checking for $ac_word" >&5
d971 1
a971 1
echo "configure:983: checking for $ac_word" >&5
d1022 1
a1022 1
echo "configure:1034: checking for $ac_word" >&5
d1054 1
a1054 1
echo "configure:1066: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1065 1
a1065 1
#line 1077 "configure"
d1070 1
a1070 1
if { (eval echo configure:1082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1096 1
a1096 1
echo "configure:1108: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1101 1
a1101 1
echo "configure:1113: checking whether we are using GNU C" >&5
d1110 1
a1110 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1129 1
a1129 1
echo "configure:1141: checking whether ${CC-cc} accepts -g" >&5
d1172 1
a1172 1
echo "configure:1184: checking for ld used by GCC" >&5
d1196 1
a1196 1
echo "configure:1208: checking for GNU ld" >&5
d1199 1
a1199 1
echo "configure:1211: checking for non-GNU ld" >&5
d1235 1
a1235 1
echo "configure:1247: checking if the linker ($LD) is GNU ld" >&5
d1251 1
a1251 1
echo "configure:1263: checking for BSD-compatible nm" >&5
d1288 1
a1288 1
echo "configure:1300: checking whether ln -s works" >&5
d1332 2
a1333 2
  echo '#line 1344 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1354 1
a1354 1
echo "configure:1366: checking whether the C compiler needs -belf" >&5
d1359 1
a1359 1
#line 1371 "configure"
d1366 1
a1366 1
if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1470 1
a1470 1
echo "configure:1482: checking for $ac_word" >&5
d1500 1
a1500 1
echo "configure:1512: checking for $ac_word" >&5
d1551 1
a1551 1
echo "configure:1563: checking for $ac_word" >&5
d1583 1
a1583 1
echo "configure:1595: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1594 1
a1594 1
#line 1606 "configure"
d1599 1
a1599 1
if { (eval echo configure:1611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1625 1
a1625 1
echo "configure:1637: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1630 1
a1630 1
echo "configure:1642: checking whether we are using GNU C" >&5
d1639 1
a1639 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1658 1
a1658 1
echo "configure:1670: checking whether ${CC-cc} accepts -g" >&5
d1694 1
a1694 1
echo "configure:1706: checking for $ac_word" >&5
d1726 1
a1726 1
echo "configure:1738: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1737 1
a1737 1
#line 1749 "configure"
d1742 1
a1742 1
if { (eval echo configure:1754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1768 1
a1768 1
echo "configure:1780: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1773 1
a1773 1
echo "configure:1785: checking whether we are using GNU C++" >&5
d1782 1
a1782 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1801 1
a1801 1
echo "configure:1813: checking whether ${CXX-g++} accepts -g" >&5
d1833 1
a1833 1
echo "configure:1845: checking whether ln -s works" >&5
d1856 1
a1856 1
echo "configure:1868: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1879 1
a1879 1
echo "configure:1891: checking for Cygwin environment" >&5
d1884 1
a1884 1
#line 1896 "configure"
d1895 1
a1895 1
if { (eval echo configure:1907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1912 1
a1912 1
echo "configure:1924: checking for mingw32 environment" >&5
d1917 1
a1917 1
#line 1929 "configure"
d1924 1
a1924 1
if { (eval echo configure:1936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1943 1
a1943 1
echo "configure:1955: checking for executable suffix" >&5
d1953 1
a1953 1
  if { (eval echo configure:1965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1956 1
a1956 1
      *.c | *.o | *.obj | *.ilk | *.pdb) ;;
d1978 1
a1978 1
echo "configure:1990: checking for sin in -lm" >&5
d1986 1
a1986 1
#line 1998 "configure"
d1997 1
a1997 1
if { (eval echo configure:2009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2027 1
a2027 1
echo "configure:2039: checking for $ac_func" >&5
d2032 1
a2032 1
#line 2044 "configure"
d2055 1
a2055 1
if { (eval echo configure:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2086 1
a2086 1
echo "configure:2098: checking for sinl" >&5
d2091 1
a2091 1
#line 2103 "configure"
d2114 1
a2114 1
if { (eval echo configure:2126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2133 1
a2133 1
echo "configure:2145: checking for $ac_func" >&5
d2138 1
a2138 1
#line 2150 "configure"
d2161 1
a2161 1
if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2199 1
a2199 1
echo "configure:2211: checking for $ac_func" >&5
d2204 1
a2204 1
#line 2216 "configure"
d2227 1
a2227 1
if { (eval echo configure:2239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2261 1
a2261 1
echo "configure:2273: checking for $ac_func" >&5
d2266 1
a2266 1
#line 2278 "configure"
d2289 1
a2289 1
if { (eval echo configure:2301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2316 1
a2316 1
#line 2328 "configure"
d2323 1
a2323 1
if { (eval echo configure:2335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2341 1
a2341 1
#line 2353 "configure"
d2348 1
a2348 1
if { (eval echo configure:2360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2366 1
a2366 1
#line 2378 "configure"
d2373 1
a2373 1
if { (eval echo configure:2385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2391 1
a2391 1
#line 2403 "configure"
d2398 1
a2398 1
if { (eval echo configure:2410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2418 1
a2418 1
echo "configure:2430: checking how to run the C preprocessor" >&5
d2433 1
a2433 1
#line 2445 "configure"
d2439 1
a2439 1
{ (eval echo configure:2451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2450 1
a2450 1
#line 2462 "configure"
d2456 1
a2456 1
{ (eval echo configure:2468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2467 1
a2467 1
#line 2479 "configure"
d2473 1
a2473 1
{ (eval echo configure:2485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2499 1
a2499 1
echo "configure:2511: checking for complex.h" >&5
d2504 1
a2504 1
#line 2516 "configure"
d2509 1
a2509 1
{ (eval echo configure:2521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2537 1
a2537 1
echo "configure:2549: checking for $ac_hdr" >&5
d2542 1
a2542 1
#line 2554 "configure"
d2547 1
a2547 1
{ (eval echo configure:2559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2582 1
a2582 1
echo "configure:2594: checking whether byte ordering is bigendian" >&5
d2589 1
a2589 1
#line 2601 "configure"
d2600 1
a2600 1
if { (eval echo configure:2612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2604 1
a2604 1
#line 2616 "configure"
d2615 1
a2615 1
if { (eval echo configure:2627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2635 1
a2635 1
#line 2647 "configure"
d2648 1
a2648 1
if { (eval echo configure:2660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2677 1
a2677 1
echo "configure:2689: checking for $ac_func" >&5
d2682 1
a2682 1
#line 2694 "configure"
d2705 1
a2705 1
if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2735 1
a2735 1
echo "configure:2747: checking for wchar.h" >&5
d2740 1
a2740 1
#line 2752 "configure"
d2745 1
a2745 1
{ (eval echo configure:2757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2763 1
a2763 1
#line 2775 "configure"
d2770 1
a2770 1
if { (eval echo configure:2782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2794 1
a2794 1
echo "configure:2806: checking for glibc 2" >&5
d2800 1
a2800 1
#line 2812 "configure"
d2810 1
a2810 1
if { (eval echo configure:2822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2836 1
a2836 1
echo "configure:2848: checking for ctype.h" >&5
d2841 1
a2841 1
#line 2853 "configure"
d2846 1
a2846 1
{ (eval echo configure:2858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2864 1
a2864 1
#line 2876 "configure"
d2871 1
a2871 1
if { (eval echo configure:2883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2894 1
a2894 1
echo "configure:2906: checking for LC_MESSAGES" >&5
d2899 1
a2899 1
#line 2911 "configure"
d2906 1
a2906 1
if { (eval echo configure:2918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.26
log
@
1999-08-03  Benjamin Kosnik  <bkoz@@cygnus.com>

	* src/Makefile.am (generated_headers): Remove bits/c++config.h as
	a target.
	($(generated_headers)): Same.
	* src/gen-c++config.cc: Remove, rename to
	* bits/c++config.h.in: New file. Bump version number.
	* configure.in: Generate bits/c++config.h at configure time.
	* math/mathconf.h: include bits/c++config.h, not config.h.

	* src/complex.cc: More tweaks.
@
text
@d2205 1
a2205 1
for ac_func in isnan isnanf isnanl isinf isinff isinfl copysign \
d2267 1
a2267 1
for ac_func in _isnan _isnanf _isnanl _isinf _isinff _isinfl _copysign \
d2351 75
d2429 1
a2429 1
echo "configure:2355: checking how to run the C preprocessor" >&5
d2444 1
a2444 1
#line 2370 "configure"
d2450 1
a2450 1
{ (eval echo configure:2376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2461 1
a2461 1
#line 2387 "configure"
d2467 1
a2467 1
{ (eval echo configure:2393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2478 1
a2478 1
#line 2404 "configure"
d2484 1
a2484 1
{ (eval echo configure:2410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2510 1
a2510 1
echo "configure:2436: checking for complex.h" >&5
d2515 1
a2515 1
#line 2441 "configure"
d2520 1
a2520 1
{ (eval echo configure:2446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2548 1
a2548 1
echo "configure:2474: checking for $ac_hdr" >&5
d2553 1
a2553 1
#line 2479 "configure"
d2558 1
a2558 1
{ (eval echo configure:2484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2593 1
a2593 1
echo "configure:2519: checking whether byte ordering is bigendian" >&5
d2600 1
a2600 1
#line 2526 "configure"
d2611 1
a2611 1
if { (eval echo configure:2537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2615 1
a2615 1
#line 2541 "configure"
d2626 1
a2626 1
if { (eval echo configure:2552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2646 1
a2646 1
#line 2572 "configure"
d2659 1
a2659 1
if { (eval echo configure:2585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2688 1
a2688 1
echo "configure:2614: checking for $ac_func" >&5
d2693 1
a2693 1
#line 2619 "configure"
d2716 1
a2716 1
if { (eval echo configure:2642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2746 1
a2746 1
echo "configure:2672: checking for wchar.h" >&5
d2751 1
a2751 1
#line 2677 "configure"
d2756 1
a2756 1
{ (eval echo configure:2682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2774 1
a2774 1
#line 2700 "configure"
d2781 1
a2781 1
if { (eval echo configure:2707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2805 1
a2805 1
echo "configure:2731: checking for glibc 2" >&5
d2811 1
a2811 1
#line 2737 "configure"
d2821 1
a2821 1
if { (eval echo configure:2747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2847 1
a2847 1
echo "configure:2773: checking for ctype.h" >&5
d2852 1
a2852 1
#line 2778 "configure"
d2857 1
a2857 1
{ (eval echo configure:2783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2875 1
a2875 1
#line 2801 "configure"
d2882 1
a2882 1
if { (eval echo configure:2808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2905 1
a2905 1
echo "configure:2831: checking for LC_MESSAGES" >&5
d2910 1
a2910 1
#line 2836 "configure"
d2917 1
a2917 1
if { (eval echo configure:2843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3333 2
@


1.25
log
@
1999-08-03  Benjamin Kosnik  <bkoz@@cygnus.com>

	* src/Makefile.am (generated_headers): Remove bits/c++config.h as
	a target.
	($(generated_headers)): Same.
	* src/gen-c++config.cc: Remove, rename to
	* bits/c++config.h.in: New file. Bump version number.
	* configure.in: Generate bits/c++config.h at configure time.
	* math/mathconf.h: include bits/c++config.h, not config.h.

	* src/complex.cc: More tweaks.
@
text
@d3257 1
a3257 1
blddir=$(pwd)
@


1.24
log
@
1999-08-03  Benjamin Kosnik  <bkoz@@cygnus.com>

	* src/complex.cc: Same.
	* math/complex-stub.h: Change.
	* math/c_log10*.c: Change back to clog10*.c.

	* configure.in (NEED_C_LOG10): Delete.
	* configure: Regenerate.
	* math/Makefile.am: Change.
@
text
@d804 1
d881 1
a881 1
echo "configure:881: checking host system type" >&5
d902 1
a902 1
echo "configure:902: checking build system type" >&5
d922 1
a922 1
echo "configure:922: checking for $ac_word" >&5
d952 1
a952 1
echo "configure:952: checking for $ac_word" >&5
d982 1
a982 1
echo "configure:982: checking for $ac_word" >&5
d1033 1
a1033 1
echo "configure:1033: checking for $ac_word" >&5
d1065 1
a1065 1
echo "configure:1065: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1076 1
a1076 1
#line 1076 "configure"
d1081 1
a1081 1
if { (eval echo configure:1081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1107 1
a1107 1
echo "configure:1107: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1112 1
a1112 1
echo "configure:1112: checking whether we are using GNU C" >&5
d1121 1
a1121 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1140 1
a1140 1
echo "configure:1140: checking whether ${CC-cc} accepts -g" >&5
d1183 1
a1183 1
echo "configure:1183: checking for ld used by GCC" >&5
d1207 1
a1207 1
echo "configure:1207: checking for GNU ld" >&5
d1210 1
a1210 1
echo "configure:1210: checking for non-GNU ld" >&5
d1246 1
a1246 1
echo "configure:1246: checking if the linker ($LD) is GNU ld" >&5
d1262 1
a1262 1
echo "configure:1262: checking for BSD-compatible nm" >&5
d1299 1
a1299 1
echo "configure:1299: checking whether ln -s works" >&5
d1343 2
a1344 2
  echo '#line 1343 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1365 1
a1365 1
echo "configure:1365: checking whether the C compiler needs -belf" >&5
d1370 1
a1370 1
#line 1370 "configure"
d1377 1
a1377 1
if { (eval echo configure:1377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1481 1
a1481 1
echo "configure:1481: checking for $ac_word" >&5
d1511 1
a1511 1
echo "configure:1511: checking for $ac_word" >&5
d1562 1
a1562 1
echo "configure:1562: checking for $ac_word" >&5
d1594 1
a1594 1
echo "configure:1594: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1605 1
a1605 1
#line 1605 "configure"
d1610 1
a1610 1
if { (eval echo configure:1610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1636 1
a1636 1
echo "configure:1636: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1641 1
a1641 1
echo "configure:1641: checking whether we are using GNU C" >&5
d1650 1
a1650 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1669 1
a1669 1
echo "configure:1669: checking whether ${CC-cc} accepts -g" >&5
d1705 1
a1705 1
echo "configure:1705: checking for $ac_word" >&5
d1737 1
a1737 1
echo "configure:1737: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1748 1
a1748 1
#line 1748 "configure"
d1753 1
a1753 1
if { (eval echo configure:1753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1779 1
a1779 1
echo "configure:1779: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1784 1
a1784 1
echo "configure:1784: checking whether we are using GNU C++" >&5
d1793 1
a1793 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1812 1
a1812 1
echo "configure:1812: checking whether ${CXX-g++} accepts -g" >&5
d1844 1
a1844 1
echo "configure:1844: checking whether ln -s works" >&5
d1865 1
d1867 1
a1867 1
echo "configure:1866: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1890 1
a1890 1
echo "configure:1889: checking for Cygwin environment" >&5
d1895 1
a1895 1
#line 1894 "configure"
d1906 1
a1906 1
if { (eval echo configure:1905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1923 1
a1923 1
echo "configure:1922: checking for mingw32 environment" >&5
d1928 1
a1928 1
#line 1927 "configure"
d1935 1
a1935 1
if { (eval echo configure:1934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1954 1
a1954 1
echo "configure:1953: checking for executable suffix" >&5
d1964 1
a1964 1
  if { (eval echo configure:1963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1985 3
d1989 1
a1989 1
echo "configure:1985: checking for sin in -lm" >&5
d1997 1
a1997 1
#line 1993 "configure"
d2008 1
a2008 1
if { (eval echo configure:2004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2030 2
d2038 1
a2038 1
echo "configure:2032: checking for $ac_func" >&5
d2043 1
a2043 1
#line 2037 "configure"
d2066 1
a2066 1
if { (eval echo configure:2060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2093 6
a2098 7
for ac_func in isnan isnanf isnanl isinf isinff isinfl copysign \
copysignl cosf coshf logf log10f powf sinf sinhf sqrtf tanf tanhf \
strtof strtold fabsf sincos sincosf sincosl finite qfinite fpclass qfpclass
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2092: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
d2102 1
a2102 1
#line 2097 "configure"
d2105 1
a2105 1
    which can conflict with char $ac_func(); below.  */
d2110 1
a2110 1
char $ac_func();
d2117 1
a2117 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
d2120 1
a2120 1
$ac_func();
d2125 1
a2125 1
if { (eval echo configure:2120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2127 1
a2127 1
  eval "ac_cv_func_$ac_func=yes"
d2132 1
a2132 1
  eval "ac_cv_func_$ac_func=no"
d2137 1
a2137 1
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
d2139 3
a2141 18
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done


# Some runtimes have these functions with a preceding underscore. Please
# keep this sync'd with the one above. And if you add any new symbol,
# please add the corresponding block in the @@BOTTOM@@ section of
# acconfig.h.
for ac_func in _isnan _isnanf _isnanl _isinf _isinff _isinfl _copysign \
_copysignl _cosf _coshf _logf _log10f _powf _sinf _sinhf _sqrtf _tanf _tanhf \
_strtof _strtold _fabsf _sincos _sincosf _sincosl _finite _qfinite _fpclass _qfpclass
d2144 1
a2144 1
echo "configure:2154: checking for $ac_func" >&5
d2149 1
a2149 1
#line 2159 "configure"
d2172 1
a2172 1
if { (eval echo configure:2182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2193 1
d2198 14
a2211 6
# We compile the long double functions only if the function provides
# the non-complex functions.
USE_LONG_DOUBLE=no
echo $ac_n "checking for sinl""... $ac_c" 1>&6
echo "configure:2211: checking for sinl" >&5
if eval "test \"`echo '$''{'ac_cv_func_sinl'+set}'`\" = set"; then
d2218 1
a2218 1
    which can conflict with char sinl(); below.  */
d2223 1
a2223 1
char sinl();
d2230 1
a2230 1
#if defined (__stub_sinl) || defined (__stub___sinl)
d2233 1
a2233 1
sinl();
d2240 1
a2240 1
  eval "ac_cv_func_sinl=yes"
d2245 1
a2245 1
  eval "ac_cv_func_sinl=no"
d2250 1
a2250 1
if eval "test \"`echo '$ac_cv_func_'sinl`\" = yes"; then
d2252 18
a2269 3
  USE_LONG_DOUBLE=yes
 for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
 csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
d2272 1
a2272 1
echo "configure:2258: checking for $ac_func" >&5
d2277 1
a2277 1
#line 2263 "configure"
d2300 1
a2300 1
if { (eval echo configure:2286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2320 1
LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
a2324 11
else
  echo "$ac_t""no" 1>&6
fi



# Check to see if c_log, c_logf are around and willing to play.
#NEED_C_LOG=no
#AC_REPLACE_MATHFUNCS(c_log c_logf c_logl, NEED_C_LOG=no, NEED_C_LOG=yes)
#AC_SUBST(NEED_C_LOG)

d2327 1
a2327 1
#line 2325 "configure"
d2334 1
a2334 1
if { (eval echo configure:2332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2354 1
a2354 1
echo "configure:2352: checking how to run the C preprocessor" >&5
d2369 1
a2369 1
#line 2367 "configure"
d2375 1
a2375 1
{ (eval echo configure:2373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2386 1
a2386 1
#line 2384 "configure"
d2392 1
a2392 1
{ (eval echo configure:2390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2403 1
a2403 1
#line 2401 "configure"
d2409 1
a2409 1
{ (eval echo configure:2407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2435 1
a2435 1
echo "configure:2433: checking for complex.h" >&5
d2440 1
a2440 1
#line 2438 "configure"
d2445 1
a2445 1
{ (eval echo configure:2443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2473 1
a2473 1
echo "configure:2471: checking for $ac_hdr" >&5
d2478 1
a2478 1
#line 2476 "configure"
d2483 1
a2483 1
{ (eval echo configure:2481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2518 1
a2518 1
echo "configure:2516: checking whether byte ordering is bigendian" >&5
d2525 1
a2525 1
#line 2523 "configure"
d2536 1
a2536 1
if { (eval echo configure:2534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2540 1
a2540 1
#line 2538 "configure"
d2551 1
a2551 1
if { (eval echo configure:2549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2571 1
a2571 1
#line 2569 "configure"
d2584 1
a2584 1
if { (eval echo configure:2582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2613 1
a2613 1
echo "configure:2611: checking for $ac_func" >&5
d2618 1
a2618 1
#line 2616 "configure"
d2641 1
a2641 1
if { (eval echo configure:2639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2671 1
a2671 1
echo "configure:2669: checking for wchar.h" >&5
d2676 1
a2676 1
#line 2674 "configure"
d2681 1
a2681 1
{ (eval echo configure:2679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2699 1
a2699 1
#line 2697 "configure"
d2706 1
a2706 1
if { (eval echo configure:2704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2730 1
a2730 1
echo "configure:2728: checking for glibc 2" >&5
d2736 1
a2736 1
#line 2734 "configure"
d2746 1
a2746 1
if { (eval echo configure:2744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2772 1
a2772 1
echo "configure:2770: checking for ctype.h" >&5
d2777 1
a2777 1
#line 2775 "configure"
d2782 1
a2782 1
{ (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2800 1
a2800 1
#line 2798 "configure"
d2807 1
a2807 1
if { (eval echo configure:2805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2830 1
a2830 1
echo "configure:2828: checking for LC_MESSAGES" >&5
d2835 1
a2835 1
#line 2833 "configure"
d2842 1
a2842 1
if { (eval echo configure:2840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2964 1
a2964 1
trap 'rm -fr `echo "Makefile math/Makefile string/Makefile libio/Makefile src/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
d3075 1
a3075 1
CONFIG_FILES=\${CONFIG_FILES-"Makefile math/Makefile string/Makefile libio/Makefile src/Makefile"}
d3256 7
d3264 2
@


1.23
log
@
1999-07-30  Benjamin Kosnik  <bkoz@@cygnus.com>

	* math/Makefile.am: Fix, for real.
	* configure.in (use_builtin_sinf): Ok, make autoconf solution.
	* math/clog.c: Move to c_log.c.
	* math/clog*: Ditto.

	* math/complex-stub.h: Change to c_log* variants.
	* src/complex.cc: And here.
@
text
@d2025 3
a2027 2
for ac_func in ccos ccosf ccosh ccoshf cexp cexpf \
cpow cpowf csin csinf csinh csinhf csqrt csqrtf ctan ctanf ctanh ctanhf \
d2031 1
a2031 1
echo "configure:2031: checking for $ac_func" >&5
d2036 1
a2036 1
#line 2036 "configure"
d2059 1
a2059 1
if { (eval echo configure:2059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2091 1
a2091 1
echo "configure:2091: checking for $ac_func" >&5
d2096 1
a2096 1
#line 2096 "configure"
d2119 1
a2119 1
if { (eval echo configure:2119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2143 1

d2254 1
a2254 1
 csqrtl ctanhl ctanl cargl hypotl signbitl
d2318 3
a2320 120
NEED_C_LOG=no
for ac_func in c_log c_logf c_logl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2323: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2328 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:2351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
fi
done




# Check to see if c_log10, c_log10f are around and willing to play.
NEED_C_LOGTEN=no
for ac_func in c_log10 c_log10f c_log10l
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2384: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2389 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:2412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
fi
done



d2324 1
a2324 1
#line 2442 "configure"
d2331 1
a2331 1
if { (eval echo configure:2449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2351 1
a2351 1
echo "configure:2469: checking how to run the C preprocessor" >&5
d2366 1
a2366 1
#line 2484 "configure"
d2372 1
a2372 1
{ (eval echo configure:2490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2383 1
a2383 1
#line 2501 "configure"
d2389 1
a2389 1
{ (eval echo configure:2507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2400 1
a2400 1
#line 2518 "configure"
d2406 1
a2406 1
{ (eval echo configure:2524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2432 1
a2432 1
echo "configure:2550: checking for complex.h" >&5
d2437 1
a2437 1
#line 2555 "configure"
d2442 1
a2442 1
{ (eval echo configure:2560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2470 1
a2470 1
echo "configure:2588: checking for $ac_hdr" >&5
d2475 1
a2475 1
#line 2593 "configure"
d2480 1
a2480 1
{ (eval echo configure:2598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2515 1
a2515 1
echo "configure:2633: checking whether byte ordering is bigendian" >&5
d2522 1
a2522 1
#line 2640 "configure"
d2533 1
a2533 1
if { (eval echo configure:2651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2537 1
a2537 1
#line 2655 "configure"
d2548 1
a2548 1
if { (eval echo configure:2666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2568 1
a2568 1
#line 2686 "configure"
d2581 1
a2581 1
if { (eval echo configure:2699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2610 1
a2610 1
echo "configure:2728: checking for $ac_func" >&5
d2615 1
a2615 1
#line 2733 "configure"
d2638 1
a2638 1
if { (eval echo configure:2756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2668 1
a2668 1
echo "configure:2786: checking for wchar.h" >&5
d2673 1
a2673 1
#line 2791 "configure"
d2678 1
a2678 1
{ (eval echo configure:2796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2696 1
a2696 1
#line 2814 "configure"
d2703 1
a2703 1
if { (eval echo configure:2821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2727 1
a2727 1
echo "configure:2845: checking for glibc 2" >&5
d2733 1
a2733 1
#line 2851 "configure"
d2743 1
a2743 1
if { (eval echo configure:2861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2769 1
a2769 1
echo "configure:2887: checking for ctype.h" >&5
d2774 1
a2774 1
#line 2892 "configure"
d2779 1
a2779 1
{ (eval echo configure:2897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2797 1
a2797 1
#line 2915 "configure"
d2804 1
a2804 1
if { (eval echo configure:2922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2827 1
a2827 1
echo "configure:2945: checking for LC_MESSAGES" >&5
d2832 1
a2832 1
#line 2950 "configure"
d2839 1
a2839 1
if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3026 2
s%@@NEED_C_LOG@@%$NEED_C_LOG%g
s%@@NEED_C_LOGTEN@@%$NEED_C_LOGTEN%g
@


1.22
log
@
1999-07-30  Benjamin Kosnik  <bkoz@@cygnus.com>

	* math/Makefile.am: Fix, for real.
	* configure.in (use_builtin_sinf): Ok, make autoconf solution.
	* math/clog.c: Move to c_log.c.
	* math/clog*: Ditto.

	* math/complex-stub.h: Change to c_log* variants.
	* src/complex.cc: And here.
@
text
@d2379 1
a2379 1
NEED_C_LOG10=no
d3145 1
a3145 1
s%@@NEED_C_LOG10@@%$NEED_C_LOG10%g
@


1.21
log
@
1999-07-30  Benjamin Kosnik  <bkoz@@cygnus.com>

	* math/Makefile.am: Fix, for real.
	* configure.in (use_builtin_sinf): Ok, make autoconf solution.
	* math/clog.c: Move to c_log.c.
	* math/clog*: Ditto.

	* math/complex-stub.h: Change to c_log* variants.
@
text
@d2378 61
d2441 1
a2441 1
#line 2381 "configure"
d2448 1
a2448 1
if { (eval echo configure:2388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2468 1
a2468 1
echo "configure:2408: checking how to run the C preprocessor" >&5
d2483 1
a2483 1
#line 2423 "configure"
d2489 1
a2489 1
{ (eval echo configure:2429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2500 1
a2500 1
#line 2440 "configure"
d2506 1
a2506 1
{ (eval echo configure:2446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2517 1
a2517 1
#line 2457 "configure"
d2523 1
a2523 1
{ (eval echo configure:2463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2549 1
a2549 1
echo "configure:2489: checking for complex.h" >&5
d2554 1
a2554 1
#line 2494 "configure"
d2559 1
a2559 1
{ (eval echo configure:2499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2587 1
a2587 1
echo "configure:2527: checking for $ac_hdr" >&5
d2592 1
a2592 1
#line 2532 "configure"
d2597 1
a2597 1
{ (eval echo configure:2537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2632 1
a2632 1
echo "configure:2572: checking whether byte ordering is bigendian" >&5
d2639 1
a2639 1
#line 2579 "configure"
d2650 1
a2650 1
if { (eval echo configure:2590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2654 1
a2654 1
#line 2594 "configure"
d2665 1
a2665 1
if { (eval echo configure:2605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2685 1
a2685 1
#line 2625 "configure"
d2698 1
a2698 1
if { (eval echo configure:2638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2727 1
a2727 1
echo "configure:2667: checking for $ac_func" >&5
d2732 1
a2732 1
#line 2672 "configure"
d2755 1
a2755 1
if { (eval echo configure:2695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2785 1
a2785 1
echo "configure:2725: checking for wchar.h" >&5
d2790 1
a2790 1
#line 2730 "configure"
d2795 1
a2795 1
{ (eval echo configure:2735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2813 1
a2813 1
#line 2753 "configure"
d2820 1
a2820 1
if { (eval echo configure:2760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2844 1
a2844 1
echo "configure:2784: checking for glibc 2" >&5
d2850 1
a2850 1
#line 2790 "configure"
d2860 1
a2860 1
if { (eval echo configure:2800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2886 1
a2886 1
echo "configure:2826: checking for ctype.h" >&5
d2891 1
a2891 1
#line 2831 "configure"
d2896 1
a2896 1
{ (eval echo configure:2836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2914 1
a2914 1
#line 2854 "configure"
d2921 1
a2921 1
if { (eval echo configure:2861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2944 1
a2944 1
echo "configure:2884: checking for LC_MESSAGES" >&5
d2949 1
a2949 1
#line 2889 "configure"
d2956 1
a2956 1
if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3145 1
@


1.20
log
@
1999-07-30  Benjamin Kosnik  <bkoz@@cygnus.com>

	* math/Makefile.am: Fix, for real.
	* configure.in (use_builtin_sinf): Ok, make autoconf solution.
	* math/clog.c: Move to c_log.c.
	* math/clog*: Ditto.
@
text
@d2319 1
a2319 1
for ac_func in c_log c_logf
a2377 1

d2380 1
a2380 1
#line 2382 "configure"
d2387 1
a2387 1
if { (eval echo configure:2389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2407 1
a2407 1
echo "configure:2409: checking how to run the C preprocessor" >&5
d2422 1
a2422 1
#line 2424 "configure"
d2428 1
a2428 1
{ (eval echo configure:2430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2439 1
a2439 1
#line 2441 "configure"
d2445 1
a2445 1
{ (eval echo configure:2447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2456 1
a2456 1
#line 2458 "configure"
d2462 1
a2462 1
{ (eval echo configure:2464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2488 1
a2488 1
echo "configure:2490: checking for complex.h" >&5
d2493 1
a2493 1
#line 2495 "configure"
d2498 1
a2498 1
{ (eval echo configure:2500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2526 1
a2526 1
echo "configure:2528: checking for $ac_hdr" >&5
d2531 1
a2531 1
#line 2533 "configure"
d2536 1
a2536 1
{ (eval echo configure:2538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2571 1
a2571 1
echo "configure:2573: checking whether byte ordering is bigendian" >&5
d2578 1
a2578 1
#line 2580 "configure"
d2589 1
a2589 1
if { (eval echo configure:2591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2593 1
a2593 1
#line 2595 "configure"
d2604 1
a2604 1
if { (eval echo configure:2606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2624 1
a2624 1
#line 2626 "configure"
d2637 1
a2637 1
if { (eval echo configure:2639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2666 1
a2666 1
echo "configure:2668: checking for $ac_func" >&5
d2671 1
a2671 1
#line 2673 "configure"
d2694 1
a2694 1
if { (eval echo configure:2696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2724 1
a2724 1
echo "configure:2726: checking for wchar.h" >&5
d2729 1
a2729 1
#line 2731 "configure"
d2734 1
a2734 1
{ (eval echo configure:2736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2752 1
a2752 1
#line 2754 "configure"
d2759 1
a2759 1
if { (eval echo configure:2761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2783 1
a2783 1
echo "configure:2785: checking for glibc 2" >&5
d2789 1
a2789 1
#line 2791 "configure"
d2799 1
a2799 1
if { (eval echo configure:2801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2825 1
a2825 1
echo "configure:2827: checking for ctype.h" >&5
d2830 1
a2830 1
#line 2832 "configure"
d2835 1
a2835 1
{ (eval echo configure:2837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2853 1
a2853 1
#line 2855 "configure"
d2860 1
a2860 1
if { (eval echo configure:2862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2883 1
a2883 1
echo "configure:2885: checking for LC_MESSAGES" >&5
d2888 1
a2888 1
#line 2890 "configure"
d2895 1
a2895 1
if { (eval echo configure:2897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3308 2
@


1.19
log
@
1999-07-30  Benjamin Kosnik  <bkoz@@cygnus.com>

	* math/Makefile.am: Fix, for real.
	* configure.in (use_builtin_sinf): Ok, make autoconf solution.
	* math/clog.c: Move to c_log.c.
	* math/clog*: Ditto.
@
text
@d2025 2
a2026 2
for ac_func in ccos ccosf ccosh ccoshf cexp cexpf clog clog10 clog10f \
clogf cpow cpowf csin csinf csinh csinhf csqrt csqrtf ctan ctanf ctanh ctanhf \
d2143 1
a2143 1
#
a2147 1
#
d2153 1
a2153 1
echo "configure:2155: checking for $ac_func" >&5
d2158 1
a2158 1
#line 2160 "configure"
d2181 1
a2181 1
if { (eval echo configure:2183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2210 1
a2210 1
echo "configure:2212: checking for sinl" >&5
d2215 1
a2215 1
#line 2217 "configure"
d2238 1
a2238 1
if { (eval echo configure:2240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2253 1
a2253 1
 for ac_func in ccoshl ccosl cexpl clog10l clogl cpowl csinhl csinl \
d2257 1
a2257 1
echo "configure:2259: checking for $ac_func" >&5
d2262 1
a2262 1
#line 2264 "configure"
d2285 1
a2285 1
if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2322 1
a2322 1
echo "configure:2324: checking for $ac_func" >&5
d2327 1
a2327 1
#line 2329 "configure"
d2350 1
a2350 1
if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2381 1
a2381 1
#line 2383 "configure"
d2388 1
a2388 1
if { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2408 1
a2408 1
echo "configure:2410: checking how to run the C preprocessor" >&5
d2423 1
a2423 1
#line 2425 "configure"
d2429 1
a2429 1
{ (eval echo configure:2431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2440 1
a2440 1
#line 2442 "configure"
d2446 1
a2446 1
{ (eval echo configure:2448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2457 1
a2457 1
#line 2459 "configure"
d2463 1
a2463 1
{ (eval echo configure:2465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2489 1
a2489 1
echo "configure:2491: checking for complex.h" >&5
d2494 1
a2494 1
#line 2496 "configure"
d2499 1
a2499 1
{ (eval echo configure:2501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2527 1
a2527 1
echo "configure:2529: checking for $ac_hdr" >&5
d2532 1
a2532 1
#line 2534 "configure"
d2537 1
a2537 1
{ (eval echo configure:2539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2572 1
a2572 1
echo "configure:2574: checking whether byte ordering is bigendian" >&5
d2579 1
a2579 1
#line 2581 "configure"
d2590 1
a2590 1
if { (eval echo configure:2592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2594 1
a2594 1
#line 2596 "configure"
d2605 1
a2605 1
if { (eval echo configure:2607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2625 1
a2625 1
#line 2627 "configure"
d2638 1
a2638 1
if { (eval echo configure:2640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2667 1
a2667 1
echo "configure:2669: checking for $ac_func" >&5
d2672 1
a2672 1
#line 2674 "configure"
d2695 1
a2695 1
if { (eval echo configure:2697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2725 1
a2725 1
echo "configure:2727: checking for wchar.h" >&5
d2730 1
a2730 1
#line 2732 "configure"
d2735 1
a2735 1
{ (eval echo configure:2737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2753 1
a2753 1
#line 2755 "configure"
d2760 1
a2760 1
if { (eval echo configure:2762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2784 1
a2784 1
echo "configure:2786: checking for glibc 2" >&5
d2790 1
a2790 1
#line 2792 "configure"
d2800 1
a2800 1
if { (eval echo configure:2802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2826 1
a2826 1
echo "configure:2828: checking for ctype.h" >&5
d2831 1
a2831 1
#line 2833 "configure"
d2836 1
a2836 1
{ (eval echo configure:2838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2854 1
a2854 1
#line 2856 "configure"
d2861 1
a2861 1
if { (eval echo configure:2863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2884 1
a2884 1
echo "configure:2886: checking for LC_MESSAGES" >&5
d2889 1
a2889 1
#line 2891 "configure"
d2896 1
a2896 1
if { (eval echo configure:2898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.18
log
@
1999-07-28  Benjamin Kosnik <bkoz@@cygnus.com>

	* bits/std_cctype.h: Fix for solaris2.6 builds.

	* bits/istream.tcc: Fix, thanks Alfred.
	* bits/std_istream.h: Formatting changes.

	* libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
	_IO_cleanup will not be undefined.
	* libio/*: Regenerate.

	* bits/basic_string.h: More namespace-safety stuff.
	* testsuite/27_io/istream_extractor_char.cc: Fix.
	* testsuite/27_io/istream_extractor_arith.cc: Fix.
	* testsuite/27_io/iostream_objects.cc: Fix.
	* testsuite/27_io/ios_ctor.cc: Fix.
	* testsuite/27_io/istream_manip.cc: Make namespace safe.
	* testsuite/27_io/istream_extractor_other.cc: New file.

	* mkcheck (TESTS_FILE): Tweaks.
@
text
@d2318 88
d2409 1
a2409 1
echo "configure:2322: checking how to run the C preprocessor" >&5
d2424 1
a2424 1
#line 2337 "configure"
d2430 1
a2430 1
{ (eval echo configure:2343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2441 1
a2441 1
#line 2354 "configure"
d2447 1
a2447 1
{ (eval echo configure:2360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2458 1
a2458 1
#line 2371 "configure"
d2464 1
a2464 1
{ (eval echo configure:2377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2490 1
a2490 1
echo "configure:2403: checking for complex.h" >&5
d2495 1
a2495 1
#line 2408 "configure"
d2500 1
a2500 1
{ (eval echo configure:2413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2522 1
d2528 1
a2528 1
echo "configure:2440: checking for $ac_hdr" >&5
d2533 1
a2533 1
#line 2445 "configure"
d2538 1
a2538 1
{ (eval echo configure:2450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2565 1
d2573 1
a2573 1
echo "configure:2484: checking whether byte ordering is bigendian" >&5
d2580 1
a2580 1
#line 2491 "configure"
d2591 1
a2591 1
if { (eval echo configure:2502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2595 1
a2595 1
#line 2506 "configure"
d2606 1
a2606 1
if { (eval echo configure:2517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2626 1
a2626 1
#line 2537 "configure"
d2639 1
a2639 1
if { (eval echo configure:2550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2664 1
d2668 1
a2668 1
echo "configure:2578: checking for $ac_func" >&5
d2673 1
a2673 1
#line 2583 "configure"
d2696 1
a2696 1
if { (eval echo configure:2606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2723 1
d2726 1
a2726 1
echo "configure:2635: checking for wchar.h" >&5
d2731 1
a2731 1
#line 2640 "configure"
d2736 1
a2736 1
{ (eval echo configure:2645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2754 1
a2754 1
#line 2663 "configure"
d2761 1
a2761 1
if { (eval echo configure:2670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2783 1
a2783 25
cat > conftest.$ac_ext <<EOF
#line 2693 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
float foo(void) { __builtin_sinf(0.0); }
; return 0; }
EOF
if { (eval echo configure:2700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  use_builtin_sinf=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  use_builtin_sinf=no
fi
rm -f conftest*
if test $use_builtin_sinf = "yes"; then
  cat >> confdefs.h <<\EOF
#define _GLIBCPP_HAS_BUILTIN_SINF 1
EOF

fi

d2785 1
a2785 1
echo "configure:2718: checking for glibc 2" >&5
d2791 1
a2791 1
#line 2724 "configure"
d2801 1
a2801 1
if { (eval echo configure:2734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2824 1
d2827 1
a2827 1
echo "configure:2759: checking for ctype.h" >&5
d2832 1
a2832 1
#line 2764 "configure"
d2837 1
a2837 1
{ (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2855 1
a2855 1
#line 2787 "configure"
d2862 1
a2862 1
if { (eval echo configure:2794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2885 1
a2885 1
echo "configure:2817: checking for LC_MESSAGES" >&5
d2890 1
a2890 1
#line 2822 "configure"
d2897 1
a2897 1
if { (eval echo configure:2829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3085 1
@


1.17
log
@
1999-07-27  Benjamin Kosnik  <bkoz@@cygnus.com>

	* src/gen-c++config.cc: Note here, change version.
	* acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
	* src/locale.cc: Used here.
	* configure.in (use_builtin_sinf): Check for _ISBit using autoconf.

	* aclocal.m4: Regenerate by running `aclocal -I m4.`

	* bits/istream.tcc: Fix.
	* bits/std_istream.h: More changes to extractors.

	* testsuite/27_io/istream_extractor_char.cc: More.
	* testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
	error in testsuite construction.

	* bits/std_istream.h: Partially revert.
	* bits/std_ostream.h: Same.
	* bits/std_sstream.h: Revert.
@
text
@a3240 5





@


1.16
log
@
1999-07-18  Mumit Khan  <khan@@xraylith.wisc.edu>

        * configure.in: Check for float.h and underscored version of
        math functions.
        * acconfig.h: Add @@BOTTOM@@ section for handling underscored
        math functions.
        * configure: Regenerate.
        * config.h.in: Regenerate.
        * math/mathconf.h (float.h): Include conditionally.
        (M_PI): Define conditionally.
        (INFINITE_P): Define for Mingw.
        * bits/locale_facets.tcc: Workaround for compiler crash on
        ix86-*-mingw32.
        * bits/std_cwchar.h (bits/std_cstddef.h): Include.
        * src/locale.cc (bits/std_istream.h): Include.
        (bits/std_ostream.h): Likewise.
@
text
@d23 1
a23 1
  --disable-libtool-lock  force libtool not to do file locking"
a1317 6
if test $host != $build; then
  ac_tool_prefix=${host_alias}-
else
  ac_tool_prefix=
fi

d1326 9
a1334 1
test x"$lt_dlopen" = xyes && libtool_flags="$libtool_flags --enable-dlopen"
d1342 2
a1343 2
  echo '#line 1341 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1364 1
a1364 1
echo "configure:1363: checking whether the C compiler needs -belf" >&5
d1369 1
a1369 1
#line 1368 "configure"
d1376 1
a1376 1
if { (eval echo configure:1375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a1394 136
*-*-cygwin*)
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1398: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$DLLTOOL"; then
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
DLLTOOL="$ac_cv_prog_DLLTOOL"
if test -n "$DLLTOOL"; then
  echo "$ac_t""$DLLTOOL" 1>&6
else
  echo "$ac_t""no" 1>&6
fi


if test -z "$ac_cv_prog_DLLTOOL"; then
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "dlltool", so it can be a program name with args.
set dummy dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1430: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$DLLTOOL"; then
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_DLLTOOL="dlltool"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"
fi
fi
DLLTOOL="$ac_cv_prog_DLLTOOL"
if test -n "$DLLTOOL"; then
  echo "$ac_t""$DLLTOOL" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

else
  DLLTOOL="false"
fi
fi

  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
set dummy ${ac_tool_prefix}as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1465: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$AS"; then
  ac_cv_prog_AS="$AS" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_AS="${ac_tool_prefix}as"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
AS="$ac_cv_prog_AS"
if test -n "$AS"; then
  echo "$ac_t""$AS" 1>&6
else
  echo "$ac_t""no" 1>&6
fi


if test -z "$ac_cv_prog_AS"; then
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "as", so it can be a program name with args.
set dummy as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1497: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$AS"; then
  ac_cv_prog_AS="$AS" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_AS="as"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"
fi
fi
AS="$ac_cv_prog_AS"
if test -n "$AS"; then
  echo "$ac_t""$AS" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

else
  AS="false"
fi
fi

  ;;
a1397 15
# enable the --disable-libtool-lock switch

# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then
  enableval="$enable_libtool_lock"
  need_locks=$enableval
else
  need_locks=yes
fi


if test x"$need_locks" = xno; then
  libtool_flags="$libtool_flags --disable-lock"
fi

d1450 3
a1452 2
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" LN_S="$LN_S" \
NM="$NM" RANLIB="$RANLIB" DLLTOOL="$DLLTOOL" AS="$AS" \
d1480 1
a1480 1
echo "configure:1629: checking for $ac_word" >&5
d1510 1
a1510 1
echo "configure:1659: checking for $ac_word" >&5
d1561 1
a1561 1
echo "configure:1710: checking for $ac_word" >&5
d1593 1
a1593 1
echo "configure:1742: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1604 1
a1604 1
#line 1753 "configure"
d1609 1
a1609 1
if { (eval echo configure:1758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1635 1
a1635 1
echo "configure:1784: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1640 1
a1640 1
echo "configure:1789: checking whether we are using GNU C" >&5
d1649 1
a1649 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1668 1
a1668 1
echo "configure:1817: checking whether ${CC-cc} accepts -g" >&5
d1704 1
a1704 1
echo "configure:1853: checking for $ac_word" >&5
d1736 1
a1736 1
echo "configure:1885: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1747 1
a1747 1
#line 1896 "configure"
d1752 1
a1752 1
if { (eval echo configure:1901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1778 1
a1778 1
echo "configure:1927: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1783 1
a1783 1
echo "configure:1932: checking whether we are using GNU C++" >&5
d1792 1
a1792 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1811 1
a1811 1
echo "configure:1960: checking whether ${CXX-g++} accepts -g" >&5
d1843 1
a1843 1
echo "configure:1992: checking whether ln -s works" >&5
d1865 1
a1865 1
echo "configure:2014: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1888 1
a1888 1
echo "configure:2037: checking for Cygwin environment" >&5
d1893 1
a1893 1
#line 2042 "configure"
d1904 1
a1904 1
if { (eval echo configure:2053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1921 1
a1921 1
echo "configure:2070: checking for mingw32 environment" >&5
d1926 1
a1926 1
#line 2075 "configure"
d1933 1
a1933 1
if { (eval echo configure:2082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1952 1
a1952 1
echo "configure:2101: checking for executable suffix" >&5
d1962 1
a1962 1
  if { (eval echo configure:2111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d1984 1
a1984 1
echo "configure:2133: checking for sin in -lm" >&5
d1992 1
a1992 1
#line 2141 "configure"
d2003 1
a2003 1
if { (eval echo configure:2152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2030 1
a2030 1
echo "configure:2179: checking for $ac_func" >&5
d2035 1
a2035 1
#line 2184 "configure"
d2058 1
a2058 1
if { (eval echo configure:2207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2090 1
a2090 1
echo "configure:2239: checking for $ac_func" >&5
d2095 1
a2095 1
#line 2244 "configure"
d2118 1
a2118 1
if { (eval echo configure:2267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2154 1
a2154 1
echo "configure:2303: checking for $ac_func" >&5
d2159 1
a2159 1
#line 2308 "configure"
d2182 1
a2182 1
if { (eval echo configure:2331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2211 1
a2211 1
echo "configure:2360: checking for sinl" >&5
d2216 1
a2216 1
#line 2365 "configure"
d2239 1
a2239 1
if { (eval echo configure:2388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2258 1
a2258 1
echo "configure:2407: checking for $ac_func" >&5
d2263 1
a2263 1
#line 2412 "configure"
d2286 1
a2286 1
if { (eval echo configure:2435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2321 1
a2321 1
echo "configure:2470: checking how to run the C preprocessor" >&5
d2336 1
a2336 1
#line 2485 "configure"
d2342 1
a2342 1
{ (eval echo configure:2491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2353 1
a2353 1
#line 2502 "configure"
d2359 1
a2359 1
{ (eval echo configure:2508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2370 1
a2370 1
#line 2519 "configure"
d2376 1
a2376 1
{ (eval echo configure:2525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2402 1
a2402 1
echo "configure:2551: checking for complex.h" >&5
d2407 1
a2407 1
#line 2556 "configure"
d2412 1
a2412 1
{ (eval echo configure:2561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2439 1
a2439 1
echo "configure:2588: checking for $ac_hdr" >&5
d2444 1
a2444 1
#line 2593 "configure"
d2449 1
a2449 1
{ (eval echo configure:2598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2483 1
a2483 1
echo "configure:2632: checking whether byte ordering is bigendian" >&5
d2490 1
a2490 1
#line 2639 "configure"
d2501 1
a2501 1
if { (eval echo configure:2650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2505 1
a2505 1
#line 2654 "configure"
d2516 1
a2516 1
if { (eval echo configure:2665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2536 1
a2536 1
#line 2685 "configure"
d2549 1
a2549 1
if { (eval echo configure:2698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2577 1
a2577 1
echo "configure:2726: checking for $ac_func" >&5
d2582 1
a2582 1
#line 2731 "configure"
d2605 1
a2605 1
if { (eval echo configure:2754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2634 1
a2634 1
echo "configure:2783: checking for wchar.h" >&5
d2639 1
a2639 1
#line 2788 "configure"
d2644 1
a2644 1
{ (eval echo configure:2793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2662 1
a2662 1
#line 2811 "configure"
d2669 1
a2669 1
if { (eval echo configure:2818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2692 1
a2692 1
#line 2841 "configure"
d2699 1
a2699 1
if { (eval echo configure:2848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2717 1
a2717 1
echo "configure:2866: checking for glibc 2" >&5
d2723 1
a2723 1
#line 2872 "configure"
d2733 1
a2733 1
if { (eval echo configure:2882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2756 58
d2816 1
a2816 1
echo "configure:2907: checking for LC_MESSAGES" >&5
d2821 1
a2821 1
#line 2912 "configure"
d2828 1
a2828 1
if { (eval echo configure:2919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3007 2
s%@@DLLTOOL@@%$DLLTOOL%g
s%@@AS@@%$AS%g
@


1.15
log
@d
1999-06-24  Benjamin Kosnik  <bkoz@@tintin.cygnus.com>
	* src/gen-c++config.cc (_GLIBCPP_*): Change all
	macros to include _GLIBCPP as a distinct namespace.
	* bits/*: And here.
	* src/*: And here.
	* stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
	* bits/basic_string.h: Remove __get_c_string.
	* src/stdexcept.cc: Define ctor here.
	* bits/ios_base.h: And fix ios_base::failure as well.
	* src/ios.cc: Define here.
	* bits/std_streambuf.h: Add a private copy ctor and assignment
	operator wrapped in _G_RESOLVE_LIB_DEFECTS.
	* bits/ios_base.h: And here too.
	* bits/basic_string.h: Tweak.
	* testsuite/21_strings/nonmember.cc: Add operator+ tests.
	* src/valarray.cc: Rename to. . .
	* src/valarray-inst.cc: This.
	* src/Makefile.am (sources): Change here.
	* src/Makefile.in: Regenerated.
@
text
@d2291 64
d2359 1
a2359 1
echo "configure:2296: checking for sinl" >&5
d2364 1
a2364 1
#line 2301 "configure"
d2387 1
a2387 1
if { (eval echo configure:2324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2406 1
a2406 1
echo "configure:2343: checking for $ac_func" >&5
d2411 1
a2411 1
#line 2348 "configure"
d2434 1
a2434 1
if { (eval echo configure:2371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2469 1
a2469 1
echo "configure:2406: checking how to run the C preprocessor" >&5
d2484 1
a2484 1
#line 2421 "configure"
d2490 1
a2490 1
{ (eval echo configure:2427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2501 1
a2501 1
#line 2438 "configure"
d2507 1
a2507 1
{ (eval echo configure:2444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2518 1
a2518 1
#line 2455 "configure"
d2524 1
a2524 1
{ (eval echo configure:2461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2550 1
a2550 1
echo "configure:2487: checking for complex.h" >&5
d2555 1
a2555 1
#line 2492 "configure"
d2560 1
a2560 1
{ (eval echo configure:2497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2583 1
a2583 1
machine/param.h sys/machine.h fp.h locale.h
d2587 1
a2587 1
echo "configure:2524: checking for $ac_hdr" >&5
d2592 1
a2592 1
#line 2529 "configure"
d2597 1
a2597 1
{ (eval echo configure:2534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2631 1
a2631 1
echo "configure:2568: checking whether byte ordering is bigendian" >&5
d2638 1
a2638 1
#line 2575 "configure"
d2649 1
a2649 1
if { (eval echo configure:2586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2653 1
a2653 1
#line 2590 "configure"
d2664 1
a2664 1
if { (eval echo configure:2601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2684 1
a2684 1
#line 2621 "configure"
d2697 1
a2697 1
if { (eval echo configure:2634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2725 1
a2725 1
echo "configure:2662: checking for $ac_func" >&5
d2730 1
a2730 1
#line 2667 "configure"
d2753 1
a2753 1
if { (eval echo configure:2690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2782 1
a2782 1
echo "configure:2719: checking for wchar.h" >&5
d2787 1
a2787 1
#line 2724 "configure"
d2792 1
a2792 1
{ (eval echo configure:2729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2810 1
a2810 1
#line 2747 "configure"
d2817 1
a2817 1
if { (eval echo configure:2754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2840 1
a2840 1
#line 2777 "configure"
d2847 1
a2847 1
if { (eval echo configure:2784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2865 1
a2865 1
echo "configure:2802: checking for glibc 2" >&5
d2871 1
a2871 1
#line 2808 "configure"
d2881 1
a2881 1
if { (eval echo configure:2818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2906 1
a2906 1
echo "configure:2843: checking for LC_MESSAGES" >&5
d2911 1
a2911 1
#line 2848 "configure"
d2918 1
a2918 1
if { (eval echo configure:2855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.14
log
@d
1999-06-24  Benjamin Kosnik  <bkoz@@tintin.cygnus.com>
            Tom Tromey  <tromey@@cygnus.com>
	* configure.in (use_glibc2): Eek, correct for non-glibc systems.
	Use AM_CONDITIONAL to get us out of this jam. .
	* libio/Makefile.am: Same.
	* */Makefile: Regenerated.
1999-06-24  Benjamin Kosnik  <bkoz@@tintin.cygnus.com>
            John Potter  <jpotter@@eagle.lhup.edu>
	* stl/bits/stl_tree.h (insert_equal): Fix.
	* testsuite/23_containers/multiset.cc: New file.
@
text
@d2769 1
a2769 1
#define _G_NEED_MBSTATE_T 1
d3268 1
@


1.13
log
@d
1999-06-23  Benjamin Kosnik  <bkoz@@cygnus.com>
	* configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
	this works correctly on glibc-2 systems. This should allow
	simplified linking on these systems, and successful linking on Red
	Hat 6.0 systems.
	* configure, Makefile: Regenerate.
	* bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
	* testsuite/ext: New directory.
	* testsuite/ext/headers.cc: New file.
1999-06-23  Vadim Egorov  <egorovv@@1c.ru>
        * stl/ext/hash_set: include missing headers
        * stl/ext/hash_map: Same
        * stl/ext/slist: Same
@
text
@d2830 5
a2834 12
if test $use_glibc2 = "no"; then
LIBIO_SRCS = filedoalloc.c floatconv.c genops.c fileops.c iovfprintf.c	\
	     iovfscanf.c ioignore.c iopadn.c iofgetpos.c iofread.c	\
	     iofscanf.c iofsetpos.c iogetdelim.c ioprintf.c ioseekoff.c	\
	     ioseekpos.c outfloat.c strops.c iofclose.c iopopen.c	\
	     ioungetc.c peekc.c iogetc.c ioputc.c iofeof.c ioferror.c	\
	     stdfiles.c

STDIO_WRAP_SRCS = iofdopen.c iofflush.c iofgets.c iofopen.c iofprintf.c	\
		  iofputs.c iofwrite.c iogets.c ioperror.c ioputs.c	\
		  ioscanf.c iosetbuffer.c iosetvbuf.c iosprintf.c	\
		  iosscanf.c ioftell.c iovsscanf.c iovsprintf.c
d2836 2
a2837 2
  LIBIO_SRCS=
  STDIO_WRAP_SRCS=
a2839 2


d2842 1
a2842 1
echo "configure:2852: checking for LC_MESSAGES" >&5
d2847 1
a2847 1
#line 2857 "configure"
d2854 1
a2854 1
if { (eval echo configure:2864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3046 2
a3047 2
s%@@LIBIO_SRCS@@%$LIBIO_SRCS%g
s%@@STDIO_WRAP_SRCS@@%$STDIO_WRAP_SRCS%g
d3268 1
@


1.12
log
@d
1999-06-07  Benjamin Kosnik  <bkoz@@tintin.cygnus.com>
	* bits/std_cmath.h: Example of how to use the generated macro.
	* acconfig.h: Add macro for sinf here.
	* configure.in (LIBS): Add test for builtin math function sinf.
	* configure: Regenerated.
	* bits/basic_string.h: Fix _S_max_size.
@
text
@a2811 1
  return 0;
d2813 1
a2813 1
  Fail miserably
d2817 1
a2817 1
if { (eval echo configure:2819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2831 14
a2844 4
  LIBIO_SRCS='$(LIBIO_SRCS)'
  
  STDIO_WRAP_SRCS='$(STDIO_WRAP_SRCS)'
  
d2847 2
d2851 1
a2851 1
echo "configure:2841: checking for LC_MESSAGES" >&5
d2856 1
a2856 1
#line 2846 "configure"
d2863 1
a2863 1
if { (eval echo configure:2853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.11
log
@d
1999-06-01  Benjamin Kosnik  <bkoz@@tintin.cygnus.com>
	* src/gen-c++config.cc: New file. Making c++config.h at configure
	time by catting this file (nee bits/config.h) with the build
	directories config.h. This is not a complete or perfect solution
	but is better than what was in place previously.
	* bits/c++config.h: Rename/move to above.
	* src/Makefile.am (headers): Remove c++config.h.
	(myinstallheaders). Add.
	* Makefile*: Regenerated.
	* bits/std_cwchar.h: Add include of c++config.h for HAVE_*
	definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
	declared only if not present in the host's wchar.h.
	* bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
	* bits/std_cmath.h: Define out, for the moment. Linux has no
	__buitin_fsqrtl? Probably need some kind of configure trickery
	here as well.
	* src/Makefile.*: Regenerate.
	* bits/c++config.h: Add config.h include.
	* bits/std_cwchar.h: Remove remaining #error guard.
	* acconfig.h: Add bits for HAVE_LC_MESSAGES.
	* configure.in (LIBS): Replace previous effort for mbstate_t and
	strtold/strtof with this implementation.
@
text
@d2775 25
d2801 1
a2801 1
echo "configure:2777: checking for glibc 2" >&5
d2807 1
a2807 1
#line 2783 "configure"
d2818 1
a2818 1
if { (eval echo configure:2794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2840 1
a2840 1
echo "configure:2816: checking for LC_MESSAGES" >&5
d2845 1
a2845 1
#line 2821 "configure"
d2852 1
a2852 1
if { (eval echo configure:2828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2872 1

d3266 2
@


1.10
log
@d
1999-05-17  Benjamin Kosnik  <bkoz@@happy.cygnus.com>
	* bits/std_streambuf.h: Same.
	* bits/loccore.h (_Bad_use_facet): Remove bits warned about.
	* bits/locfacets.h (std): Same.
	* bits/sstream.tcc: Same.
	* testsuite/27_io/stringstream.cc: Tweak.
	* testsuite/27_io/filebuf.cc: Adjust.
	* testsuite/21_strings/capacity.cc (test01): Add more
	string::reserve tests.
	* bits/c++config.h: Remove broken CCTYPE.
	* bits/std_cctype.h: Tweak, remove de-macroization, enable
	squesterd topper implementation.
	* bits/std_cwctype.h: Same.
	* bits/missing.h: Remove.
	* bits/std_locale.h: Remove missing.h include.
	* stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
	* src/Makefile.am (headers): Add bits/std_cwctype.h.
	INCLUDES: Add top_builddir.
	* src/Makefile.in: Regenerate.
	* Makefile.am: Add check and check-install as new targets.
	* testsuite/make_check_libfree++: Move to. . .
	* mkcheck: Here.
	* configure.in: Tweak versions.
	* mknumeric_limits: Set paths correctly.
@
text
@d718 1
a718 1
VERSION=2.90.2
d2235 1
a2235 1
strtof fabsf sincos sincosf sincosl finite qfinite fpclass qfpclass
a2517 58
for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2522: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2527 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:2550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
LIBSTRINGOBJS="$LIBSTRINGOBJS ${ac_func}.lo"
fi
done



d2523 1
a2523 1
echo "configure:2582: checking for $ac_hdr" >&5
d2528 1
a2528 1
#line 2587 "configure"
d2533 1
a2533 1
{ (eval echo configure:2592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2567 1
a2567 1
echo "configure:2626: checking whether byte ordering is bigendian" >&5
d2574 1
a2574 1
#line 2633 "configure"
d2585 1
a2585 1
if { (eval echo configure:2644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2589 1
a2589 1
#line 2648 "configure"
d2600 1
a2600 1
if { (eval echo configure:2659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2620 1
a2620 1
#line 2679 "configure"
d2633 1
a2633 1
if { (eval echo configure:2692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2658 117
d2776 1
a2776 1
echo "configure:2718: checking for glibc 2" >&5
d2782 1
a2782 1
#line 2724 "configure"
d2793 1
a2793 1
if { (eval echo configure:2735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2815 1
a2815 1
echo "configure:2757: checking for LC_MESSAGES" >&5
d2820 1
a2820 1
#line 2762 "configure"
d2827 1
a2827 1
if { (eval echo configure:2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2848 1
d3242 1
@


1.9
log
@*** empty log message ***
@
text
@d44 1
d159 1
d330 5
d500 7
a506 5
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
d508 2
d579 1
a579 1
echo "configure:569: checking for a BSD compatible install" >&5
d632 1
a632 1
echo "configure:622: checking whether build environment is sane" >&5
d689 1
a689 1
echo "configure:679: checking whether ${MAKE-make} sets \${MAKE}" >&5
d735 1
a735 1
echo "configure:725: checking for working aclocal" >&5
d748 1
a748 1
echo "configure:738: checking for working autoconf" >&5
d761 1
a761 1
echo "configure:751: checking for working automake" >&5
d774 1
a774 1
echo "configure:764: checking for working autoheader" >&5
d787 1
a787 1
echo "configure:777: checking for working makeinfo" >&5
d880 1
a880 1
echo "configure:870: checking host system type" >&5
d901 1
a901 1
echo "configure:891: checking build system type" >&5
d921 1
a921 1
echo "configure:911: checking for $ac_word" >&5
d951 1
a951 1
echo "configure:941: checking for $ac_word" >&5
d981 1
a981 1
echo "configure:971: checking for $ac_word" >&5
d1032 1
a1032 1
echo "configure:1022: checking for $ac_word" >&5
d1064 1
a1064 1
echo "configure:1054: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1075 1
a1075 1
#line 1065 "configure"
d1080 1
a1080 1
if { (eval echo configure:1070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1106 1
a1106 1
echo "configure:1096: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1111 1
a1111 1
echo "configure:1101: checking whether we are using GNU C" >&5
d1120 1
a1120 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1139 1
a1139 1
echo "configure:1129: checking whether ${CC-cc} accepts -g" >&5
d1182 1
a1182 1
echo "configure:1172: checking for ld used by GCC" >&5
d1206 1
a1206 1
echo "configure:1196: checking for GNU ld" >&5
d1209 1
a1209 1
echo "configure:1199: checking for non-GNU ld" >&5
d1245 1
a1245 1
echo "configure:1235: checking if the linker ($LD) is GNU ld" >&5
d1261 1
a1261 1
echo "configure:1251: checking for BSD-compatible nm" >&5
d1298 1
a1298 1
echo "configure:1288: checking whether ln -s works" >&5
d1340 2
a1341 2
  echo '#line 1330 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1362 1
a1362 1
echo "configure:1352: checking whether the C compiler needs -belf" >&5
d1367 1
a1367 1
#line 1357 "configure"
d1374 1
a1374 1
if { (eval echo configure:1364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1397 1
a1397 1
echo "configure:1387: checking for $ac_word" >&5
d1429 1
a1429 1
echo "configure:1419: checking for $ac_word" >&5
d1464 1
a1464 1
echo "configure:1454: checking for $ac_word" >&5
d1496 1
a1496 1
echo "configure:1486: checking for $ac_word" >&5
d1628 1
a1628 1
echo "configure:1618: checking for $ac_word" >&5
d1658 1
a1658 1
echo "configure:1648: checking for $ac_word" >&5
d1709 1
a1709 1
echo "configure:1699: checking for $ac_word" >&5
d1741 1
a1741 1
echo "configure:1731: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1752 1
a1752 1
#line 1742 "configure"
d1757 1
a1757 1
if { (eval echo configure:1747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1783 1
a1783 1
echo "configure:1773: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1788 1
a1788 1
echo "configure:1778: checking whether we are using GNU C" >&5
d1797 1
a1797 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1816 1
a1816 1
echo "configure:1806: checking whether ${CC-cc} accepts -g" >&5
d1852 1
a1852 1
echo "configure:1842: checking for $ac_word" >&5
d1884 1
a1884 1
echo "configure:1874: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1895 1
a1895 1
#line 1885 "configure"
d1900 1
a1900 1
if { (eval echo configure:1890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1926 1
a1926 1
echo "configure:1916: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1931 1
a1931 1
echo "configure:1921: checking whether we are using GNU C++" >&5
d1940 1
a1940 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1959 1
a1959 1
echo "configure:1949: checking whether ${CXX-g++} accepts -g" >&5
d1991 1
a1991 1
echo "configure:1981: checking whether ln -s works" >&5
d2013 1
a2013 1
echo "configure:2003: checking whether to enable maintainer-specific portions of Makefiles" >&5
d2036 1
a2036 1
echo "configure:2026: checking for Cygwin environment" >&5
d2041 1
a2041 1
#line 2031 "configure"
d2052 1
a2052 1
if { (eval echo configure:2042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2069 1
a2069 1
echo "configure:2059: checking for mingw32 environment" >&5
d2074 1
a2074 1
#line 2064 "configure"
d2081 1
a2081 1
if { (eval echo configure:2071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2100 1
a2100 1
echo "configure:2090: checking for executable suffix" >&5
d2110 1
a2110 1
  if { (eval echo configure:2100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
d2132 1
a2132 1
echo "configure:2122: checking for sin in -lm" >&5
d2140 1
a2140 1
#line 2130 "configure"
d2151 1
a2151 1
if { (eval echo configure:2141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2178 1
a2178 1
echo "configure:2168: checking for $ac_func" >&5
d2183 1
a2183 1
#line 2173 "configure"
d2206 1
a2206 1
if { (eval echo configure:2196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2238 1
a2238 1
echo "configure:2228: checking for $ac_func" >&5
d2243 1
a2243 1
#line 2233 "configure"
d2266 1
a2266 1
if { (eval echo configure:2256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2295 1
a2295 1
echo "configure:2285: checking for sinl" >&5
d2300 1
a2300 1
#line 2290 "configure"
d2323 1
a2323 1
if { (eval echo configure:2313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2342 1
a2342 1
echo "configure:2332: checking for $ac_func" >&5
d2347 1
a2347 1
#line 2337 "configure"
d2370 1
a2370 1
if { (eval echo configure:2360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2405 1
a2405 1
echo "configure:2395: checking how to run the C preprocessor" >&5
d2420 1
a2420 1
#line 2410 "configure"
d2426 1
a2426 1
{ (eval echo configure:2416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2437 1
a2437 1
#line 2427 "configure"
d2443 1
a2443 1
{ (eval echo configure:2433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2454 1
a2454 1
#line 2444 "configure"
d2460 1
a2460 1
{ (eval echo configure:2450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2486 1
a2486 1
echo "configure:2476: checking for complex.h" >&5
d2491 1
a2491 1
#line 2481 "configure"
d2496 1
a2496 1
{ (eval echo configure:2486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2521 1
a2521 1
echo "configure:2511: checking for $ac_func" >&5
d2526 1
a2526 1
#line 2516 "configure"
d2549 1
a2549 1
if { (eval echo configure:2539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2581 1
a2581 1
echo "configure:2571: checking for $ac_hdr" >&5
d2586 1
a2586 1
#line 2576 "configure"
d2591 1
a2591 1
{ (eval echo configure:2581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2625 1
a2625 1
echo "configure:2615: checking whether byte ordering is bigendian" >&5
d2632 1
a2632 1
#line 2622 "configure"
d2643 1
a2643 1
if { (eval echo configure:2633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2647 1
a2647 1
#line 2637 "configure"
d2658 1
a2658 1
if { (eval echo configure:2648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2678 1
a2678 1
#line 2668 "configure"
d2691 1
a2691 1
if { (eval echo configure:2681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2717 1
a2717 1
echo "configure:2707: checking for glibc 2" >&5
d2723 1
a2723 1
#line 2713 "configure"
d2734 1
a2734 1
if { (eval echo configure:2724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2756 1
a2756 1
echo "configure:2746: checking for LC_MESSAGES" >&5
d2761 1
a2761 1
#line 2751 "configure"
d2768 1
a2768 1
if { (eval echo configure:2758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.8
log
@Ditto.
@
text
@d4 1
a4 1
# Generated automatically using autoconf version 2.12.2 
d19 2
d23 2
d349 1
a349 1
    echo "configure generated by autoconf version 2.12.2"
d568 1
a568 1
echo "configure:565: checking for a BSD compatible install" >&5
a619 3

test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'

d621 1
a621 1
echo "configure:621: checking whether build environment is sane" >&5
d678 1
a678 1
echo "configure:678: checking whether ${MAKE-make} sets \${MAKE}" >&5
d724 1
a724 1
echo "configure:724: checking for working aclocal" >&5
d737 1
a737 1
echo "configure:737: checking for working autoconf" >&5
d750 1
a750 1
echo "configure:750: checking for working automake" >&5
d763 1
a763 1
echo "configure:763: checking for working autoheader" >&5
d776 1
a776 1
echo "configure:776: checking for working makeinfo" >&5
d839 23
d869 1
a869 1
echo "configure:846: checking host system type" >&5
d889 18
d910 1
a910 1
echo "configure:869: checking for $ac_word" >&5
d940 1
a940 1
echo "configure:899: checking for $ac_word" >&5
d970 1
a970 1
echo "configure:929: checking for $ac_word" >&5
d1021 1
a1021 1
echo "configure:980: checking for $ac_word" >&5
d1053 1
a1053 1
echo "configure:1012: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1064 1
a1064 1
#line 1023 "configure"
d1069 1
a1069 1
if { (eval echo configure:1028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1095 1
a1095 1
echo "configure:1054: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1100 1
a1100 1
echo "configure:1059: checking whether we are using GNU C" >&5
d1109 1
a1109 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1128 1
a1128 1
echo "configure:1087: checking whether ${CC-cc} accepts -g" >&5
a1166 1

d1171 1
a1171 1
echo "configure:1131: checking for ld used by GCC" >&5
d1174 10
a1183 4
  # Accept absolute paths.
  /* | [A-Za-z]:\\*)
    test -z "$LD" && LD="$ac_prog"
    ;;
d1195 1
a1195 1
echo "configure:1149: checking for GNU ld" >&5
d1198 1
a1198 1
echo "configure:1152: checking for non-GNU ld" >&5
d1204 1
a1204 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
d1207 1
a1207 1
    if test -f "$ac_dir/$ac_prog"; then
d1215 1
a1215 1
        test "$with_gnu_ld" != yes && break
d1234 1
a1234 1
echo "configure:1188: checking if the linker ($LD) is GNU ld" >&5
d1250 1
a1250 1
echo "configure:1204: checking for BSD-compatible nm" >&5
d1258 2
a1259 2
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in /usr/ucb /usr/ccs/bin $PATH /bin; do
d1261 1
a1261 1
    if test -f $ac_dir/nm; then
d1266 2
a1267 1
        ac_cv_path_NM="$ac_dir/nm -B"
d1269 2
a1270 1
        ac_cv_path_NM="$ac_dir/nm -p"
d1272 2
a1273 1
        ac_cv_path_NM="$ac_dir/nm"
a1274 1
      break
d1287 1
a1287 1
echo "configure:1239: checking whether ln -s works" >&5
d1307 6
a1312 2
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
d1315 1
a1315 1
libtool_flags=
d1318 1
a1318 1
test "$silent" = yes && libtool_flags="$libtool_flags --silent"
d1321 2
d1329 2
a1330 2
  echo '#line 1275 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1348 1
d1350 167
d1518 1
d1521 65
d1588 2
a1589 1
LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
d1594 16
d1617 1
a1617 1
echo "configure:1312: checking for $ac_word" >&5
d1647 1
a1647 1
echo "configure:1342: checking for $ac_word" >&5
d1698 1
a1698 1
echo "configure:1393: checking for $ac_word" >&5
d1730 1
a1730 1
echo "configure:1425: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1741 1
a1741 1
#line 1436 "configure"
d1746 1
a1746 1
if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1772 1
a1772 1
echo "configure:1467: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1777 1
a1777 1
echo "configure:1472: checking whether we are using GNU C" >&5
d1786 1
a1786 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1805 1
a1805 1
echo "configure:1500: checking whether ${CC-cc} accepts -g" >&5
d1841 1
a1841 1
echo "configure:1536: checking for $ac_word" >&5
d1873 1
a1873 1
echo "configure:1568: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1884 1
a1884 1
#line 1579 "configure"
d1887 1
a1887 1
main(){return(0);}
d1889 1
a1889 1
if { (eval echo configure:1584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1915 1
a1915 1
echo "configure:1610: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1920 1
a1920 1
echo "configure:1615: checking whether we are using GNU C++" >&5
d1929 1
a1929 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1948 1
a1948 1
echo "configure:1643: checking whether ${CXX-g++} accepts -g" >&5
d1980 1
a1980 1
echo "configure:1675: checking whether ln -s works" >&5
d2002 1
a2002 1
echo "configure:1697: checking whether to enable maintainer-specific portions of Makefiles" >&5
a2011 5
  if test $USE_MAINTAINER_MODE = yes; then
    MAINT=
  else
    MAINT='#M#'
  fi
d2014 13
a2026 3
echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6
echo "configure:1715: checking for Cygwin32 environment" >&5
if eval "test \"`echo '$''{'am_cv_cygwin32'+set}'`\" = set"; then
d2030 1
a2030 1
#line 1720 "configure"
d2034 5
a2038 1
return __CYGWIN32__;
d2041 1
a2041 1
if { (eval echo configure:1727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2043 1
a2043 1
  am_cv_cygwin32=yes
d2048 1
a2048 1
  am_cv_cygwin32=no
d2054 6
a2059 6
echo "$ac_t""$am_cv_cygwin32" 1>&6
CYGWIN32=
test "$am_cv_cygwin32" = yes && CYGWIN32=yes
echo $ac_n "checking for Mingw32 environment""... $ac_c" 1>&6
echo "configure:1744: checking for Mingw32 environment" >&5
if eval "test \"`echo '$''{'am_cv_mingw32'+set}'`\" = set"; then
d2063 1
a2063 1
#line 1749 "configure"
d2070 1
a2070 1
if { (eval echo configure:1756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2072 1
a2072 1
  am_cv_mingw32=yes
d2077 1
a2077 1
  am_cv_mingw32=no
d2083 1
a2083 1
echo "$ac_t""$am_cv_mingw32" 1>&6
d2085 1
a2085 1
test "$am_cv_mingw32" = yes && MINGW32=yes
d2089 2
a2090 2
echo "configure:1775: checking for executable suffix" >&5
if eval "test \"`echo '$''{'am_cv_exeext'+set}'`\" = set"; then
d2093 2
a2094 2
  if test "$CYGWIN32" = yes || test "$MINGW32" = yes; then
am_cv_exeext=.exe
d2096 16
a2111 15
cat > am_c_test.c << 'EOF'
int main() {
/* Nothing needed here */
}
EOF
${CC-cc} -o am_c_test $CFLAGS $CPPFLAGS $LDFLAGS am_c_test.c $LIBS 1>&5
am_cv_exeext=
for file in am_c_test.*; do
   case $file in
    *.c) ;;
    *.o) ;;
    *) am_cv_exeext=`echo $file | sed -e s/am_c_test//` ;;
   esac
done
rm -f am_c_test*
a2113 2
test x"${am_cv_exeext}" = x && am_cv_exeext=no
fi
d2115 3
a2117 2
test x"${am_cv_exeext}" != xno && EXEEXT=${am_cv_exeext}
echo "$ac_t""${am_cv_exeext}" 1>&6
d2121 1
a2121 1
echo "configure:1807: checking for sin in -lm" >&5
d2129 1
a2129 1
#line 1815 "configure"
d2140 1
a2140 1
if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2167 1
a2167 1
echo "configure:1853: checking for $ac_func" >&5
d2172 1
a2172 1
#line 1858 "configure"
d2195 1
a2195 1
if { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2227 1
a2227 1
echo "configure:1913: checking for $ac_func" >&5
d2232 1
a2232 1
#line 1918 "configure"
d2255 1
a2255 1
if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2284 1
a2284 1
echo "configure:1970: checking for sinl" >&5
d2289 1
a2289 1
#line 1975 "configure"
d2312 1
a2312 1
if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2331 1
a2331 1
echo "configure:2017: checking for $ac_func" >&5
d2336 1
a2336 1
#line 2022 "configure"
d2359 1
a2359 1
if { (eval echo configure:2045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2394 1
a2394 1
echo "configure:2080: checking how to run the C preprocessor" >&5
d2409 1
a2409 1
#line 2095 "configure"
d2415 1
a2415 1
{ (eval echo configure:2101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2426 1
a2426 1
#line 2112 "configure"
d2432 1
a2432 1
{ (eval echo configure:2118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2443 1
a2443 1
#line 2129 "configure"
d2449 1
a2449 1
{ (eval echo configure:2135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2475 1
a2475 1
echo "configure:2161: checking for complex.h" >&5
d2480 1
a2480 1
#line 2166 "configure"
d2485 1
a2485 1
{ (eval echo configure:2171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2510 1
a2510 1
echo "configure:2196: checking for $ac_func" >&5
d2515 1
a2515 1
#line 2201 "configure"
d2538 1
a2538 1
if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2566 1
a2566 1
machine/param.h sys/machine.h fp.h
d2570 1
a2570 1
echo "configure:2256: checking for $ac_hdr" >&5
d2575 1
a2575 1
#line 2261 "configure"
d2580 1
a2580 1
{ (eval echo configure:2266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2614 1
a2614 1
echo "configure:2300: checking whether byte ordering is bigendian" >&5
d2621 1
a2621 1
#line 2307 "configure"
d2632 1
a2632 1
if { (eval echo configure:2318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2636 1
a2636 1
#line 2322 "configure"
d2647 1
a2647 1
if { (eval echo configure:2333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2667 1
a2667 1
#line 2353 "configure"
d2680 1
a2680 1
if { (eval echo configure:2366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2706 1
a2706 1
echo "configure:2392: checking for glibc 2" >&5
d2712 1
a2712 1
#line 2398 "configure"
d2723 1
a2723 1
if { (eval echo configure:2409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2743 35
d2868 1
a2868 1
    echo "$CONFIG_STATUS generated by autoconf version 2.12.2"
d2927 5
d2937 2
d2941 2
@


1.7
log
@Regenerated.
@
text
@d2013 1
a2013 1
 csqrtl ctanhl ctanl cargl hypotl
@


1.6
log
@Regenerated.
@
text
@d1849 1
a1849 1
carg cargf nan
d1907 2
a1908 2
for ac_func in isnan isnanf isnanl isinf isinff isinfl copysign copysignf \
copysignl cosf coshf expf logf log10f powf sinf sinhf sqrtf tanf tanhf \
d1967 1
d1969 1
a1969 1
echo "configure:1969: checking for sinl" >&5
d1974 1
a1974 1
#line 1974 "configure"
d1997 1
a1997 1
if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2011 3
a2013 2
  for ac_func in ccoshl ccosl cexpl clog10l clogl cpowl csinhl csinl \
 csqrtl ctanhl ctanl cargl
d2016 1
a2016 1
echo "configure:2015: checking for $ac_func" >&5
d2021 1
a2021 1
#line 2020 "configure"
d2044 1
a2044 1
if { (eval echo configure:2043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2075 1
d2079 1
a2079 1
echo "configure:2077: checking how to run the C preprocessor" >&5
d2094 1
a2094 1
#line 2092 "configure"
d2100 1
a2100 1
{ (eval echo configure:2098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2111 1
a2111 1
#line 2109 "configure"
d2117 1
a2117 1
{ (eval echo configure:2115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2128 1
a2128 1
#line 2126 "configure"
d2134 1
a2134 1
{ (eval echo configure:2132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2160 1
a2160 1
echo "configure:2158: checking for complex.h" >&5
d2165 1
a2165 1
#line 2163 "configure"
d2170 1
a2170 1
{ (eval echo configure:2168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2195 1
a2195 1
echo "configure:2193: checking for $ac_func" >&5
d2200 1
a2200 1
#line 2198 "configure"
d2223 1
a2223 1
if { (eval echo configure:2221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2255 1
a2255 1
echo "configure:2253: checking for $ac_hdr" >&5
d2260 1
a2260 1
#line 2258 "configure"
d2265 1
a2265 1
{ (eval echo configure:2263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2299 1
a2299 1
echo "configure:2297: checking whether byte ordering is bigendian" >&5
d2306 1
a2306 1
#line 2304 "configure"
d2317 1
a2317 1
if { (eval echo configure:2315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2321 1
a2321 1
#line 2319 "configure"
d2332 1
a2332 1
if { (eval echo configure:2330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2352 1
a2352 1
#line 2350 "configure"
d2365 1
a2365 1
if { (eval echo configure:2363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2391 1
a2391 1
echo "configure:2389: checking for glibc 2" >&5
d2397 1
a2397 1
#line 2395 "configure"
d2408 1
a2408 1
if { (eval echo configure:2406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2587 1
@


1.5
log
@Regerated.
@
text
@d612 2
d620 1
a620 1
echo "configure:619: checking whether build environment is sane" >&5
d677 1
a677 1
echo "configure:676: checking whether ${MAKE-make} sets \${MAKE}" >&5
d723 1
a723 1
echo "configure:722: checking for working aclocal" >&5
d736 1
a736 1
echo "configure:735: checking for working autoconf" >&5
d749 1
a749 1
echo "configure:748: checking for working automake" >&5
d762 1
a762 1
echo "configure:761: checking for working autoheader" >&5
d775 1
a775 1
echo "configure:774: checking for working makeinfo" >&5
d845 1
a845 1
echo "configure:844: checking host system type" >&5
d868 1
a868 1
echo "configure:867: checking for $ac_word" >&5
d876 2
a877 1
  for ac_dir in $PATH; do
d898 1
a898 1
echo "configure:896: checking for $ac_word" >&5
d906 2
a907 1
  for ac_dir in $PATH; do
d928 1
a928 1
echo "configure:925: checking for $ac_word" >&5
d937 2
a938 1
  for ac_dir in $PATH; do
d979 1
a979 1
echo "configure:975: checking for $ac_word" >&5
d987 2
a988 1
  for ac_dir in $PATH; do
d1011 1
a1011 1
echo "configure:1006: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1020 3
a1022 2
cat > conftest.$ac_ext <<EOF
#line 1016 "configure"
d1024 1
d1027 1
a1027 1
if { (eval echo configure:1020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1041 6
d1053 1
a1053 1
echo "configure:1040: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1058 1
a1058 1
echo "configure:1045: checking whether we are using GNU C" >&5
d1067 1
a1067 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1086 1
a1086 1
echo "configure:1073: checking whether ${CC-cc} accepts -g" >&5
d1130 1
a1130 1
echo "configure:1117: checking for ld used by GCC" >&5
d1148 1
a1148 1
echo "configure:1135: checking for GNU ld" >&5
d1151 1
a1151 1
echo "configure:1138: checking for non-GNU ld" >&5
d1187 1
a1187 1
echo "configure:1174: checking if the linker ($LD) is GNU ld" >&5
d1203 1
a1203 1
echo "configure:1190: checking for BSD-compatible nm" >&5
d1238 1
a1238 1
echo "configure:1225: checking whether ln -s works" >&5
d1274 2
a1275 2
  echo '#line 1261 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1311 1
a1311 1
echo "configure:1298: checking for $ac_word" >&5
d1319 2
a1320 1
  for ac_dir in $PATH; do
d1341 1
a1341 1
echo "configure:1327: checking for $ac_word" >&5
d1350 2
a1351 1
  for ac_dir in $PATH; do
d1392 1
a1392 1
echo "configure:1377: checking for $ac_word" >&5
d1400 2
a1401 1
  for ac_dir in $PATH; do
d1424 1
a1424 1
echo "configure:1408: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1433 3
a1435 2
cat > conftest.$ac_ext <<EOF
#line 1418 "configure"
d1437 1
d1440 1
a1440 1
if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1454 6
d1466 1
a1466 1
echo "configure:1442: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1471 1
a1471 1
echo "configure:1447: checking whether we are using GNU C" >&5
d1480 1
a1480 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1499 1
a1499 1
echo "configure:1475: checking whether ${CC-cc} accepts -g" >&5
d1535 1
a1535 1
echo "configure:1511: checking for $ac_word" >&5
d1543 2
a1544 1
  for ac_dir in $PATH; do
d1567 1
a1567 1
echo "configure:1542: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1576 3
a1578 2
cat > conftest.$ac_ext <<EOF
#line 1552 "configure"
d1580 1
d1583 1
a1583 1
if { (eval echo configure:1556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1609 1
a1609 1
echo "configure:1582: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1614 1
a1614 1
echo "configure:1587: checking whether we are using GNU C++" >&5
d1623 1
a1623 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1642 1
a1642 1
echo "configure:1615: checking whether ${CXX-g++} accepts -g" >&5
d1674 1
a1674 1
echo "configure:1647: checking whether ln -s works" >&5
d1696 1
a1696 1
echo "configure:1669: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1714 1
a1714 1
echo "configure:1687: checking for Cygwin32 environment" >&5
d1719 1
a1719 1
#line 1692 "configure"
d1726 1
a1726 1
if { (eval echo configure:1699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1743 1
a1743 1
echo "configure:1716: checking for Mingw32 environment" >&5
d1748 1
a1748 1
#line 1721 "configure"
d1755 1
a1755 1
if { (eval echo configure:1728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1774 1
a1774 1
echo "configure:1747: checking for executable suffix" >&5
d1806 1
a1806 1
echo "configure:1779: checking for sin in -lm" >&5
d1814 1
a1814 1
#line 1787 "configure"
d1825 1
a1825 1
if { (eval echo configure:1798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1852 1
a1852 1
echo "configure:1825: checking for $ac_func" >&5
d1857 1
a1857 1
#line 1830 "configure"
d1880 1
a1880 1
if { (eval echo configure:1853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1912 1
a1912 1
echo "configure:1885: checking for $ac_func" >&5
d1917 1
a1917 1
#line 1890 "configure"
d1940 1
a1940 1
if { (eval echo configure:1913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1968 1
a1968 1
echo "configure:1941: checking for sinl" >&5
d1973 1
a1973 1
#line 1946 "configure"
d1996 1
a1996 1
if { (eval echo configure:1969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2014 1
a2014 1
echo "configure:1987: checking for $ac_func" >&5
d2019 1
a2019 1
#line 1992 "configure"
d2042 1
a2042 1
if { (eval echo configure:2015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2076 1
a2076 1
echo "configure:2049: checking how to run the C preprocessor" >&5
d2091 1
a2091 1
#line 2064 "configure"
d2097 1
a2097 1
{ (eval echo configure:2070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2108 1
a2108 1
#line 2081 "configure"
d2114 1
a2114 1
{ (eval echo configure:2087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2125 1
a2125 1
#line 2098 "configure"
d2131 1
a2131 1
{ (eval echo configure:2104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2157 1
a2157 1
echo "configure:2130: checking for complex.h" >&5
d2162 1
a2162 1
#line 2135 "configure"
d2167 1
a2167 1
{ (eval echo configure:2140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2192 1
a2192 1
echo "configure:2165: checking for $ac_func" >&5
d2197 1
a2197 1
#line 2170 "configure"
d2220 1
a2220 1
if { (eval echo configure:2193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2252 1
a2252 1
echo "configure:2225: checking for $ac_hdr" >&5
d2257 1
a2257 1
#line 2230 "configure"
d2262 1
a2262 1
{ (eval echo configure:2235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2296 1
a2296 1
echo "configure:2269: checking whether byte ordering is bigendian" >&5
d2303 1
a2303 1
#line 2276 "configure"
d2314 1
a2314 1
if { (eval echo configure:2287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2318 1
a2318 1
#line 2291 "configure"
d2329 1
a2329 1
if { (eval echo configure:2302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2349 1
a2349 1
#line 2322 "configure"
d2362 1
a2362 1
if { (eval echo configure:2335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2387 38
d2448 1
a2448 1
  case `(ac_space=' '; set) 2>&1 | grep ac_space` in
d2526 1
a2526 1
trap 'rm -fr `echo "Makefile math/Makefile string/Makefile src/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
d2539 1
d2559 1
a2560 1
s%@@INSTALL_SCRIPT@@%$INSTALL_SCRIPT%g
d2586 2
d2629 1
a2629 1
CONFIG_FILES=\${CONFIG_FILES-"Makefile math/Makefile string/Makefile src/Makefile"}
@


1.4
log
@Regenerated.
@
text
@d2219 2
a2220 1
for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h
d2224 1
a2224 1
echo "configure:2224: checking for $ac_hdr" >&5
d2229 1
a2229 1
#line 2229 "configure"
d2234 1
a2234 1
{ (eval echo configure:2234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2263 3
a2265 1
   && test "$ac_cv_header_machine_endian_h" = no
d2268 1
a2268 1
echo "configure:2266: checking whether byte ordering is bigendian" >&5
d2275 1
a2275 1
#line 2273 "configure"
d2286 1
a2286 1
if { (eval echo configure:2284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2290 1
a2290 1
#line 2288 "configure"
d2301 1
a2301 1
if { (eval echo configure:2299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2321 1
a2321 1
#line 2319 "configure"
d2334 1
a2334 1
if { (eval echo configure:2332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.3
log
@Merge in all of my random changes needed for various increases in
success in libsuite++:

	* BUGS: New file, with various discovered bugs that need to be
	fixed.

	* Makefile.in, math/Makefile.in, string/Makefile.in,
	src/Makefile.in: Reran automake.

	Workarounds, these may not all be the final fixes:

	* bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
	not private, for basic_istream::get() in std_istream.h to be able
	to use it.
	(basic_ios::operator void*): Don't use static_cast for the false
	case.
	(basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
	This appears to have been in sep94, but didn't get corrected
	afterwards.

	* bits/basic_string.h (npos): Don't init here.
	* bits/string.tcc: Instead, do initialization here, to -1 instead
	of the size_type destructor.

	* src/traits.cc, src/wtraits.cc: New files.
	* bits/char_traits.h: For char_traits<char> and
	char_traits<wchar_t>, declare static, but define over in the src
	files.

	* bits/gslice.h: Comment out forward decls of _Array, valarray,
	gslice_array, and _GsliceExpression.

	* bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
	clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
	stdout, and stderr.  Note we do get unresolved refs to stdin, but
	that'll get fixed by the "true" solution.

	* bits/std_ios.h: Include <bits/std_streambuf.h> to get the
	definition of basic_streambuf.h, which is used in basic_ios.h to
	call pubimbue.

	* bits/std_streambuf.h: Don't include libio.h for now.
 	(class basic_streambuf): Define missing methods pubimbue and
	getloc.

	* src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
	ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
	locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.

	* src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.

	* src/locale.cc: Come up with munged versions of _S_toupper,
	_S_tolower, and _S_table instead of the glibc-specific ones, so
	they're at least defined, if not necessarily usable.  The glibc
	ones on any other system will yield unresolved refs to
	__ctype_{b,toupper,tolower}.

	* src/string.cc: Define all of ADDCS, ADDPS, et al.  Add
	basic_ios, basic_istream, basic_ostream.  Don't do char_traits
	anymore cuz of the explicit specialization in char_traits.h.
	Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
	file for the details.

	* stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
	* stl/bits/stl_iterator.h (__distance): Likewise.

	* stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
	op>, op<=, and op>= for reverse_iterator.  Also add op!= for
	istream_iterator.
@
text
@d704 1
a704 1
VERSION=2.8
d1881 1
a1881 1
strtof fabsf
d2219 1
a2219 1
for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h
d2259 96
@


1.2
log
@Regenerated.
@
text
@d4 1
a4 1
# Generated automatically using autoconf version 2.12 
d61 1
d345 1
a345 1
    echo "configure generated by autoconf version 2.12"
d515 1
a515 1
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
d518 2
d559 1
d564 1
a564 1
echo "configure:561: checking for a BSD compatible install" >&5
d569 1
a569 1
    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS="${IFS}:"
d576 3
a578 1
      for ac_prog in ginstall installbsd scoinst install; do
a582 1
	    # OSF/1 installbsd also uses dspmsg, but is usable.
d618 1
a618 1
echo "configure:614: checking whether build environment is sane" >&5
d675 1
a675 1
echo "configure:671: checking whether ${MAKE-make} sets \${MAKE}" >&5
d721 1
a721 1
echo "configure:717: checking for working aclocal" >&5
d734 1
a734 1
echo "configure:730: checking for working autoconf" >&5
d747 1
a747 1
echo "configure:743: checking for working automake" >&5
d760 1
a760 1
echo "configure:756: checking for working autoheader" >&5
d773 1
a773 1
echo "configure:769: checking for working makeinfo" >&5
d838 1
a838 1
if $ac_config_sub sun4 >/dev/null 2>&1; then :
d843 1
a843 1
echo "configure:839: checking host system type" >&5
d850 1
a850 1
    if host_alias=`$ac_config_guess`; then :
d857 1
a857 1
host=`$ac_config_sub $host_alias`
d866 1
a866 1
echo "configure:862: checking for $ac_word" >&5
d873 1
a873 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
d895 1
a895 1
echo "configure:891: checking for $ac_word" >&5
d902 1
a902 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
d924 1
a924 1
echo "configure:920: checking for $ac_word" >&5
d931 1
a931 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
d968 33
d1005 1
a1005 1
echo "configure:968: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1011 1
a1011 1
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
d1015 1
a1015 1
#line 978 "configure"
d1019 1
a1019 1
if { (eval echo configure:982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
d1039 1
a1039 1
echo "configure:1002: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1044 1
a1044 1
echo "configure:1007: checking whether we are using GNU C" >&5
d1053 1
a1053 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1064 9
a1072 5
  ac_test_CFLAGS="${CFLAGS+set}"
  ac_save_CFLAGS="$CFLAGS"
  CFLAGS=
  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1031: checking whether ${CC-cc} accepts -g" >&5
d1087 4
a1090 3
  if test "$ac_test_CFLAGS" = set; then
    CFLAGS="$ac_save_CFLAGS"
  elif test $ac_cv_prog_cc_g = yes; then
d1093 4
d1098 2
a1100 3
else
  GCC=
  test "${CFLAGS+set}" = set || CFLAGS="-g"
d1116 1
a1116 1
echo "configure:1071: checking for ld used by GCC" >&5
d1134 1
a1134 1
echo "configure:1089: checking for GNU ld" >&5
d1137 1
a1137 1
echo "configure:1092: checking for non-GNU ld" >&5
d1173 1
a1173 1
echo "configure:1128: checking if the linker ($LD) is GNU ld" >&5
d1189 1
a1189 1
echo "configure:1144: checking for BSD-compatible nm" >&5
d1224 1
a1224 1
echo "configure:1179: checking whether ln -s works" >&5
d1260 2
a1261 2
  echo '#line 1215 "configure"' > conftest.$ac_ext
  if { (eval echo configure:1216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1297 1
a1297 1
echo "configure:1252: checking for $ac_word" >&5
d1304 1
a1304 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
d1326 1
a1326 1
echo "configure:1281: checking for $ac_word" >&5
d1333 1
a1333 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
d1370 33
d1407 1
a1407 1
echo "configure:1329: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1413 1
a1413 1
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
d1417 1
a1417 1
#line 1339 "configure"
d1421 1
a1421 1
if { (eval echo configure:1343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
d1441 1
a1441 1
echo "configure:1363: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1446 1
a1446 1
echo "configure:1368: checking whether we are using GNU C" >&5
d1455 1
a1455 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1466 9
a1474 5
  ac_test_CFLAGS="${CFLAGS+set}"
  ac_save_CFLAGS="$CFLAGS"
  CFLAGS=
  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1392: checking whether ${CC-cc} accepts -g" >&5
d1489 4
a1492 3
  if test "$ac_test_CFLAGS" = set; then
    CFLAGS="$ac_save_CFLAGS"
  elif test $ac_cv_prog_cc_g = yes; then
d1495 4
d1500 2
a1502 3
else
  GCC=
  test "${CFLAGS+set}" = set || CFLAGS="-g"
d1505 1
a1505 1
for ac_prog in $CCC c++ g++ gcc CC cxx cc++
d1510 1
a1510 1
echo "configure:1424: checking for $ac_word" >&5
d1517 1
a1517 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
d1541 1
a1541 1
echo "configure:1455: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d1547 1
a1547 1
ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
d1551 1
a1551 1
#line 1465 "configure"
d1555 1
a1555 1
if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
d1573 1
a1573 1
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
d1581 1
a1581 1
echo "configure:1495: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d1586 1
a1586 1
echo "configure:1500: checking whether we are using GNU C++" >&5
d1595 1
a1595 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1606 9
a1614 5
  ac_test_CXXFLAGS="${CXXFLAGS+set}"
  ac_save_CXXFLAGS="$CXXFLAGS"
  CXXFLAGS=
  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
echo "configure:1524: checking whether ${CXX-g++} accepts -g" >&5
d1629 4
a1632 3
  if test "$ac_test_CXXFLAGS" = set; then
    CXXFLAGS="$ac_save_CXXFLAGS"
  elif test $ac_cv_prog_cxx_g = yes; then
d1635 4
d1640 2
a1642 3
else
  GXX=
  test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
d1646 1
a1646 1
echo "configure:1552: checking whether ln -s works" >&5
d1668 1
a1668 1
echo "configure:1574: checking whether to enable maintainer-specific portions of Makefiles" >&5
d1686 1
a1686 1
echo "configure:1592: checking for Cygwin32 environment" >&5
d1691 1
a1691 1
#line 1597 "configure"
d1698 1
a1698 1
if { (eval echo configure:1604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1715 1
a1715 1
echo "configure:1621: checking for Mingw32 environment" >&5
d1720 1
a1720 1
#line 1626 "configure"
d1727 1
a1727 1
if { (eval echo configure:1633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1746 1
a1746 1
echo "configure:1652: checking for executable suffix" >&5
d1778 1
a1778 1
echo "configure:1684: checking for sin in -lm" >&5
d1786 1
a1786 1
#line 1692 "configure"
d1797 1
a1797 1
if { (eval echo configure:1703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
d1824 1
a1824 1
echo "configure:1730: checking for $ac_func" >&5
d1829 1
a1829 1
#line 1735 "configure"
d1852 1
a1852 1
if { (eval echo configure:1758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
d1884 1
a1884 1
echo "configure:1790: checking for $ac_func" >&5
d1889 1
a1889 1
#line 1795 "configure"
d1912 1
a1912 1
if { (eval echo configure:1818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
d1940 1
a1940 1
echo "configure:1846: checking for sinl" >&5
d1945 1
a1945 1
#line 1851 "configure"
d1968 1
a1968 1
if { (eval echo configure:1874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
d1986 1
a1986 1
echo "configure:1892: checking for $ac_func" >&5
d1991 1
a1991 1
#line 1897 "configure"
d2014 1
a2014 1
if { (eval echo configure:1920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
d2048 1
a2048 1
echo "configure:1954: checking how to run the C preprocessor" >&5
d2063 1
a2063 1
#line 1969 "configure"
d2069 2
a2070 2
{ (eval echo configure:1975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
d2080 18
a2097 1
#line 1986 "configure"
d2103 2
a2104 2
{ (eval echo configure:1992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
d2117 2
d2129 1
a2129 1
echo "configure:2016: checking for complex.h" >&5
d2134 1
a2134 1
#line 2021 "configure"
d2139 2
a2140 2
{ (eval echo configure:2026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
d2164 1
a2164 1
echo "configure:2051: checking for $ac_func" >&5
d2169 1
a2169 1
#line 2056 "configure"
d2192 1
a2192 1
if { (eval echo configure:2079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
d2223 1
a2223 1
echo "configure:2110: checking for $ac_hdr" >&5
d2228 1
a2228 1
#line 2115 "configure"
d2233 2
a2234 2
{ (eval echo configure:2120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
d2283 1
a2283 1
  case `(ac_space=' '; set) 2>&1` in
d2350 1
a2350 1
    echo "$CONFIG_STATUS generated by autoconf version 2.12"
d2370 1
@


1.1
log
@Generated configure script.
@
text
@d1724 3
a1726 4
for ac_func in ccos ccosf ccosh ccoshf ccoshl ccosl cexp cexpf cexpl \
clog clog10 clog10f clog10l clogf clogl cpow cpowf cpowl csin csinf csinh \
csinhf csinhl csinl csqrt csqrtf csqrtl ctan ctanf ctanh ctanhf ctanhl ctanl \
carg cargf cargl
d1729 1
a1729 1
echo "configure:1731: checking for $ac_func" >&5
d1734 1
a1734 1
#line 1736 "configure"
d1757 1
a1757 1
if { (eval echo configure:1759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
d1785 2
a1786 1
copysignl nan nanf nanl
d1841 109
d1953 1
a1953 1
echo "configure:1845: checking how to run the C preprocessor" >&5
d1968 1
a1968 1
#line 1860 "configure"
d1974 1
a1974 1
{ (eval echo configure:1866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1985 1
a1985 1
#line 1877 "configure"
d1991 1
a1991 1
{ (eval echo configure:1883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2015 1
a2015 1
echo "configure:1907: checking for complex.h" >&5
d2020 1
a2020 1
#line 1912 "configure"
d2025 1
a2025 1
{ (eval echo configure:1917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2047 5
a2051 3
echo $ac_n "checking for ISO C 9x complex.h""... $ac_c" 1>&6
echo "configure:1940: checking for ISO C 9x complex.h" >&5
if eval "test \"`echo '$''{'have_complex_h'+set}'`\" = set"; then
d2055 1
a2055 1
#line 1945 "configure"
d2057 8
a2064 1
#include <complex.h>
d2066 10
a2075 1
complex double foo = _Complex_I;
d2078 1
a2078 1
if { (eval echo configure:1952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2080 1
a2080 1
  have_complex_h=yes
d2085 1
a2085 1
  have_complex_h=no
d2090 7
a2096 3
echo "$ac_t""$have_complex_h" 1>&6
if test $have_complex_h = yes; then
COMPLEX_H=\"`echo '#include <complex.h>' | gcc -M -E - | sed -e 's/.* \([^ ]*complex.h\) .*/\1/p' -e d`\"
d2098 2
a2099 1
COMPLEX_H=\"generic/complex.h\"
d2101 2
d2105 1
a2105 1
for ac_hdr in nan.h ieeefp.h
d2109 1
a2109 1
echo "configure:1976: checking for $ac_hdr" >&5
d2114 1
a2114 1
#line 1981 "configure"
d2119 1
a2119 1
{ (eval echo configure:1986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2247 1
a2247 1
trap 'rm -fr `echo "Makefile math/Makefile src/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
d2304 1
a2304 1
s%@@COMPLEX_H@@%$COMPLEX_H%g
d2346 1
a2346 1
CONFIG_FILES=\${CONFIG_FILES-"Makefile math/Makefile src/Makefile"}
@

