Changeset 2398 in Sophya for trunk/ArchTOIPipe


Ignore:
Timestamp:
Jun 5, 2003, 10:15:47 AM (22 years ago)
Author:
aubourg
Message:

pio avec JMD a cote!

Location:
trunk/ArchTOIPipe
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/Makefile.in

    r2385 r2398  
    3939 endif
    4040 ifeq ($(CXX), CC)
    41 #    CXXFLAGS = -O -prelink -ptused -64
    42     CXXFLAGS = -O -prelink  -64
     41#    CXXFLAGS = -O -prelink -ptused -64 
     42    CXXFLAGS = -O -prelink  -64 -DIRIX64
    4343
    44     CFLAGS   = -O -64
     44    CFLAGS   = -O -64 -DIRIX64
    4545#   CXXFLAGS = -LANG:std -woff 1171,1174,1552 -O -OPT:Olimit=0
    4646#   CFLAGS  =  -O -OPT:Olimit=0
  • trunk/ArchTOIPipe/Kernel/piotoirdr.cc

    r2397 r2398  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: piotoirdr.cc,v 1.9 2003-06-05 02:18:06 aubourg Exp $
     5// $Id: piotoirdr.cc,v 1.10 2003-06-05 08:15:47 aubourg Exp $
    66
    77#include "piotoirdr.h"
     
    2828void PIOTOIReader::init() {
    2929  fits_lock();
    30   pioGroup = PIOOpenTOI(const_cast<char*>(group.c_str()), "r");
     30  char groupname[128];
     31  strcpy(groupname, group.c_str());
     32  pioGroup = PIOOpenTOI(groupname, "r");
     33 
     34  if (pioGroup == NULL) {
     35    cerr << " ERROR in PIOOpenTOI cannnot open " << groupname << endl;
     36    abort();
     37  }
    3138  fits_unlock();
     39  cout << "pioGroup : "<< pioGroup << endl;
    3240  readBounds();
    3341  bufferSize = 1000;
    34   cout << "PIOTOIReader : opened " << group
    35        << " " <<  snBegin << " - " << snEnd << endl;
     42  cout << "PIOTOIReader : opened " << groupname
     43       << " " <<  snBegin << " - " << snEnd << ": " << pioGroup << endl;
    3644  if (flagdef != "") {
    3745    cout << "   with flagdef = " << flagdef << endl;
  • trunk/ArchTOIPipe/Makefile.in

    r2392 r2398  
    5252 endif
    5353 ifeq ($(CXX), CC)
    54     CXXFLAGS = -O -prelink  -64
     54    CXXFLAGS = -O -prelink  -64 -DIRIX64
    5555#    CXXFLAGS = -O -prelink -ptused -64
    56     CFLAGS   = -O -64
     56    CFLAGS   = -O -64 -DIRIX64
    5757#   CXXFLAGS = -LANG:std -woff 1171,1174,1552 -O -OPT:Olimit=0
    5858#   CFLAGS  =  -O -OPT:Olimit=0
  • trunk/ArchTOIPipe/Processors/Makefile.in

    r2227 r2398  
    3333 ifeq ($(CXX), CC)
    3434#    CXXFLAGS = -O -prelink -ptused -64
    35     CXXFLAGS = -O -prelink  -64
    36     CFLAGS   = -O -64
     35    CXXFLAGS = -O -prelink  -64 -DIRIX64
     36    CFLAGS   = -O -64 -DIRIX64
    3737#   CXXFLAGS = -LANG:std -woff 1171,1174,1552 -O -OPT:Olimit=0
    3838#   CFLAGS  =  -O -OPT:Olimit=0
  • trunk/ArchTOIPipe/configure

    r2328 r2398  
    11#! /bin/sh
     2
    23# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by Autoconf 2.52.
     4# Generated automatically using autoconf version 2.13
     5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
    46#
    5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    6 # Free Software Foundation, Inc.
    77# This configure script is free software; the Free Software Foundation
    88# gives unlimited permission to copy, distribute and modify it.
    99
    10 # Avoid depending upon Character Ranges.
    11 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    14 as_cr_digits='0123456789'
    15 as_cr_alnum=$as_cr_Letters$as_cr_digits
    16 
    17 # Sed expression to map a string onto a valid variable name.
    18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    19 
    20 # Sed expression to map a string onto a valid CPP name.
    21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    22 
    23 # Be Bourne compatible
    24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    25   emulate sh
    26   NULLCMD=:
    27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    28   set -o posix
    29 fi
    30 
    31 # Name of the executable.
    32 as_me=`echo "$0" |sed 's,.*[\\/],,'`
    33 
    34 if expr a : '\(a\)' >/dev/null 2>&1; then
    35   as_expr=expr
    36 else
    37   as_expr=false
    38 fi
    39 
    40 rm -f conf$$ conf$$.exe conf$$.file
    41 echo >conf$$.file
    42 if ln -s conf$$.file conf$$ 2>/dev/null; then
    43   # We could just check for DJGPP; but this test a) works b) is more generic
    44   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    45   if test -f conf$$.exe; then
    46     # Don't use ln at all; we don't have any links
    47     as_ln_s='cp -p'
    48   else
    49     as_ln_s='ln -s'
    50   fi
    51 elif ln conf$$.file conf$$ 2>/dev/null; then
    52   as_ln_s=ln
    53 else
    54   as_ln_s='cp -p'
    55 fi
    56 rm -f conf$$ conf$$.exe conf$$.file
    57 
    58 as_executable_p="test -f"
    59 
    60 # Support unset when possible.
    61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    62   as_unset=unset
    63 else
    64   as_unset=false
    65 fi
    66 
    67 # NLS nuisances.
    68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
    69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
    70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
    71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
    72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
    73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
    74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
    75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
    76 
    77 # IFS
    78 # We need space, tab and new line, in precisely that order.
    79 as_nl='
    80 '
    81 IFS="   $as_nl"
    82 
    83 # CDPATH.
    84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
    85 
    86 # Name of the host.
    87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    88 # so uname gets run too.
    89 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    90 
    91 exec 6>&1
    92 
    93 #
    94 # Initializations.
    95 #
     10# Defaults:
     11ac_help=
    9612ac_default_prefix=/usr/local
    97 cross_compiling=no
    98 subdirs=
    99 MFLAGS= MAKEFLAGS=
    100 SHELL=${CONFIG_SHELL-/bin/sh}
    101 
    102 # Maximum number of lines to put in a shell here document.
    103 # This variable seems obsolete.  It should probably be removed, and
    104 # only ac_max_sed_lines should be used.
    105 : ${ac_max_here_lines=38}
    106 
    107 ac_unique_file="Kernel/toi.cc"
    108 # Factoring default headers for most tests.
    109 ac_includes_default="\
    110 #include <stdio.h>
    111 #if HAVE_SYS_TYPES_H
    112 # include <sys/types.h>
    113 #endif
    114 #if HAVE_SYS_STAT_H
    115 # include <sys/stat.h>
    116 #endif
    117 #if STDC_HEADERS
    118 # include <stdlib.h>
    119 # include <stddef.h>
    120 #else
    121 # if HAVE_STDLIB_H
    122 #  include <stdlib.h>
    123 # endif
    124 #endif
    125 #if HAVE_STRING_H
    126 # if !STDC_HEADERS && HAVE_MEMORY_H
    127 #  include <memory.h>
    128 # endif
    129 # include <string.h>
    130 #endif
    131 #if HAVE_STRINGS_H
    132 # include <strings.h>
    133 #endif
    134 #if HAVE_INTTYPES_H
    135 # include <inttypes.h>
    136 #else
    137 # if HAVE_STDINT_H
    138 #  include <stdint.h>
    139 # endif
    140 #endif
    141 #if HAVE_UNISTD_H
    142 # include <unistd.h>
    143 #endif"
     13# Any additions from configure.in:
     14ac_help="$ac_help
     15  --with-sophya           Compile and link with SOPHYA"
     16ac_help="$ac_help
     17 --with-piolib   Compile with PIOLib"
    14418
    14519# Initialize some variables set by options.
    146 ac_init_help=
    147 ac_init_version=false
    14820# The variables have the same names as the options, with
    14921# dashes changed to underlines.
    150 cache_file=/dev/null
     22build=NONE
     23cache_file=./config.cache
    15124exec_prefix=NONE
     25host=NONE
    15226no_create=
     27nonopt=NONE
    15328no_recursion=
    15429prefix=NONE
     
    15934site=
    16035srcdir=
     36target=NONE
    16137verbose=
    16238x_includes=NONE
    16339x_libraries=NONE
    164 
    165 # Installation directory options.
    166 # These are left unexpanded so users can "make install exec_prefix=/foo"
    167 # and all the variables that are supposed to be based on exec_prefix
    168 # by default will actually change.
    169 # Use braces instead of parens because sh, perl, etc. also accept them.
    17040bindir='${exec_prefix}/bin'
    17141sbindir='${exec_prefix}/sbin'
     
    18151mandir='${prefix}/man'
    18252
    183 # Identity of this package.
    184 PACKAGE_NAME=
    185 PACKAGE_TARNAME=
    186 PACKAGE_VERSION=
    187 PACKAGE_STRING=
    188 PACKAGE_BUGREPORT=
     53# Initialize some other variables.
     54subdirs=
     55MFLAGS= MAKEFLAGS=
     56SHELL=${CONFIG_SHELL-/bin/sh}
     57# Maximum number of lines to put in a shell here document.
     58ac_max_here_lines=12
    18959
    19060ac_prev=
    19161for ac_option
    19262do
     63
    19364  # If the previous option needs an argument, assign it.
    19465  if test -n "$ac_prev"; then
     
    19869  fi
    19970
    200   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     71  case "$ac_option" in
     72  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
     73  *) ac_optarg= ;;
     74  esac
    20175
    20276  # Accept the important Cygnus configure options, so we can diagnose typos.
    20377
    204   case $ac_option in
     78  case "$ac_option" in
    20579
    20680  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    20781    ac_prev=bindir ;;
    20882  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    209     bindir=$ac_optarg ;;
     83    bindir="$ac_optarg" ;;
    21084
    21185  -build | --build | --buil | --bui | --bu)
    212     ac_prev=build_alias ;;
     86    ac_prev=build ;;
    21387  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    214     build_alias=$ac_optarg ;;
     88    build="$ac_optarg" ;;
    21589
    21690  -cache-file | --cache-file | --cache-fil | --cache-fi \
     
    21993  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    22094  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    221     cache_file=$ac_optarg ;;
    222 
    223   --config-cache | -C)
    224     cache_file=config.cache ;;
     95    cache_file="$ac_optarg" ;;
    22596
    22697  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     
    22899  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    229100  | --da=*)
    230     datadir=$ac_optarg ;;
     101    datadir="$ac_optarg" ;;
    231102
    232103  -disable-* | --disable-*)
    233     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     104    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
    234105    # Reject names that are not valid shell variable names.
    235     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    236       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    237    { (exit 1); exit 1; }; }
    238     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    239     eval "enable_$ac_feature=no" ;;
     106    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
     107      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
     108    fi
     109    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
     110    eval "enable_${ac_feature}=no" ;;
    240111
    241112  -enable-* | --enable-*)
    242     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     113    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
    243114    # Reject names that are not valid shell variable names.
    244     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    245       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    246    { (exit 1); exit 1; }; }
    247     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    248     case $ac_option in
    249       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     115    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
     116      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
     117    fi
     118    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
     119    case "$ac_option" in
     120      *=*) ;;
    250121      *) ac_optarg=yes ;;
    251122    esac
    252     eval "enable_$ac_feature='$ac_optarg'" ;;
     123    eval "enable_${ac_feature}='$ac_optarg'" ;;
    253124
    254125  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    259130  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    260131  | --exec=* | --exe=* | --ex=*)
    261     exec_prefix=$ac_optarg ;;
     132    exec_prefix="$ac_optarg" ;;
    262133
    263134  -gas | --gas | --ga | --g)
     
    265136    with_gas=yes ;;
    266137
    267   -help | --help | --hel | --he | -h)
    268     ac_init_help=long ;;
    269   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    270     ac_init_help=recursive ;;
    271   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    272     ac_init_help=short ;;
     138  -help | --help | --hel | --he)
     139    # Omit some internal or obsolete options to make the list less imposing.
     140    # This message is too long to be a string in the A/UX 3.1 sh.
     141    cat << EOF
     142Usage: configure [options] [host]
     143Options: [defaults in brackets after descriptions]
     144Configuration:
     145  --cache-file=FILE       cache test results in FILE
     146  --help                  print this message
     147  --no-create             do not create output files
     148  --quiet, --silent       do not print \`checking...' messages
     149  --version               print the version of autoconf that created configure
     150Directory and file names:
     151  --prefix=PREFIX         install architecture-independent files in PREFIX
     152                          [$ac_default_prefix]
     153  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
     154                          [same as prefix]
     155  --bindir=DIR            user executables in DIR [EPREFIX/bin]
     156  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
     157  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
     158  --datadir=DIR           read-only architecture-independent data in DIR
     159                          [PREFIX/share]
     160  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
     161  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
     162                          [PREFIX/com]
     163  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
     164  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
     165  --includedir=DIR        C header files in DIR [PREFIX/include]
     166  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
     167  --infodir=DIR           info documentation in DIR [PREFIX/info]
     168  --mandir=DIR            man documentation in DIR [PREFIX/man]
     169  --srcdir=DIR            find the sources in DIR [configure dir or ..]
     170  --program-prefix=PREFIX prepend PREFIX to installed program names
     171  --program-suffix=SUFFIX append SUFFIX to installed program names
     172  --program-transform-name=PROGRAM
     173                          run sed PROGRAM on installed program names
     174EOF
     175    cat << EOF
     176Host type:
     177  --build=BUILD           configure for building on BUILD [BUILD=HOST]
     178  --host=HOST             configure for HOST [guessed]
     179  --target=TARGET         configure for TARGET [TARGET=HOST]
     180Features and packages:
     181  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
     182  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     183  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     184  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     185  --x-includes=DIR        X include files are in DIR
     186  --x-libraries=DIR       X library files are in DIR
     187EOF
     188    if test -n "$ac_help"; then
     189      echo "--enable and --with options recognized:$ac_help"
     190    fi
     191    exit 0 ;;
    273192
    274193  -host | --host | --hos | --ho)
    275     ac_prev=host_alias ;;
     194    ac_prev=host ;;
    276195  -host=* | --host=* | --hos=* | --ho=*)
    277     host_alias=$ac_optarg ;;
     196    host="$ac_optarg" ;;
    278197
    279198  -includedir | --includedir | --includedi | --included | --include \
     
    282201  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    283202  | --includ=* | --inclu=* | --incl=* | --inc=*)
    284     includedir=$ac_optarg ;;
     203    includedir="$ac_optarg" ;;
    285204
    286205  -infodir | --infodir | --infodi | --infod | --info | --inf)
    287206    ac_prev=infodir ;;
    288207  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    289     infodir=$ac_optarg ;;
     208    infodir="$ac_optarg" ;;
    290209
    291210  -libdir | --libdir | --libdi | --libd)
    292211    ac_prev=libdir ;;
    293212  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    294     libdir=$ac_optarg ;;
     213    libdir="$ac_optarg" ;;
    295214
    296215  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     
    299218  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    300219  | --libexe=* | --libex=* | --libe=*)
    301     libexecdir=$ac_optarg ;;
     220    libexecdir="$ac_optarg" ;;
    302221
    303222  -localstatedir | --localstatedir | --localstatedi | --localstated \
     
    308227  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    309228  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    310     localstatedir=$ac_optarg ;;
     229    localstatedir="$ac_optarg" ;;
    311230
    312231  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    313232    ac_prev=mandir ;;
    314233  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    315     mandir=$ac_optarg ;;
     234    mandir="$ac_optarg" ;;
    316235
    317236  -nfp | --nfp | --nf)
     
    334253  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    335254  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    336     oldincludedir=$ac_optarg ;;
     255    oldincludedir="$ac_optarg" ;;
    337256
    338257  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    339258    ac_prev=prefix ;;
    340259  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    341     prefix=$ac_optarg ;;
     260    prefix="$ac_optarg" ;;
    342261
    343262  -program-prefix | --program-prefix | --program-prefi | --program-pref \
     
    346265  -program-prefix=* | --program-prefix=* | --program-prefi=* \
    347266  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    348     program_prefix=$ac_optarg ;;
     267    program_prefix="$ac_optarg" ;;
    349268
    350269  -program-suffix | --program-suffix | --program-suffi | --program-suff \
     
    353272  -program-suffix=* | --program-suffix=* | --program-suffi=* \
    354273  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    355     program_suffix=$ac_optarg ;;
     274    program_suffix="$ac_optarg" ;;
    356275
    357276  -program-transform-name | --program-transform-name \
     
    370289  | --program-trans=* | --program-tran=* \
    371290  | --progr-tra=* | --program-tr=* | --program-t=*)
    372     program_transform_name=$ac_optarg ;;
     291    program_transform_name="$ac_optarg" ;;
    373292
    374293  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    380299  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    381300  | --sbi=* | --sb=*)
    382     sbindir=$ac_optarg ;;
     301    sbindir="$ac_optarg" ;;
    383302
    384303  -sharedstatedir | --sharedstatedir | --sharedstatedi \
     
    391310  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    392311  | --sha=* | --sh=*)
    393     sharedstatedir=$ac_optarg ;;
     312    sharedstatedir="$ac_optarg" ;;
    394313
    395314  -site | --site | --sit)
    396315    ac_prev=site ;;
    397316  -site=* | --site=* | --sit=*)
    398     site=$ac_optarg ;;
     317    site="$ac_optarg" ;;
    399318
    400319  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    401320    ac_prev=srcdir ;;
    402321  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    403     srcdir=$ac_optarg ;;
     322    srcdir="$ac_optarg" ;;
    404323
    405324  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     
    408327  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    409328  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    410     sysconfdir=$ac_optarg ;;
     329    sysconfdir="$ac_optarg" ;;
    411330
    412331  -target | --target | --targe | --targ | --tar | --ta | --t)
    413     ac_prev=target_alias ;;
     332    ac_prev=target ;;
    414333  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    415     target_alias=$ac_optarg ;;
     334    target="$ac_optarg" ;;
    416335
    417336  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    418337    verbose=yes ;;
    419338
    420   -version | --version | --versio | --versi | --vers | -V)
    421     ac_init_version=: ;;
     339  -version | --version | --versio | --versi | --vers)
     340    echo "configure generated by autoconf version 2.13"
     341    exit 0 ;;
    422342
    423343  -with-* | --with-*)
    424     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     344    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
    425345    # Reject names that are not valid shell variable names.
    426     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    427       { echo "$as_me: error: invalid package name: $ac_package" >&2
    428    { (exit 1); exit 1; }; }
     346    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
     347      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
     348    fi
    429349    ac_package=`echo $ac_package| sed 's/-/_/g'`
    430     case $ac_option in
    431       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     350    case "$ac_option" in
     351      *=*) ;;
    432352      *) ac_optarg=yes ;;
    433353    esac
    434     eval "with_$ac_package='$ac_optarg'" ;;
     354    eval "with_${ac_package}='$ac_optarg'" ;;
    435355
    436356  -without-* | --without-*)
    437     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     357    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
    438358    # Reject names that are not valid shell variable names.
    439     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    440       { echo "$as_me: error: invalid package name: $ac_package" >&2
    441    { (exit 1); exit 1; }; }
    442     ac_package=`echo $ac_package | sed 's/-/_/g'`
    443     eval "with_$ac_package=no" ;;
     359    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
     360      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
     361    fi
     362    ac_package=`echo $ac_package| sed 's/-/_/g'`
     363    eval "with_${ac_package}=no" ;;
    444364
    445365  --x)
     
    452372  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    453373  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    454     x_includes=$ac_optarg ;;
     374    x_includes="$ac_optarg" ;;
    455375
    456376  -x-libraries | --x-libraries | --x-librarie | --x-librari \
     
    459379  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    460380  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    461     x_libraries=$ac_optarg ;;
    462 
    463   -*) { echo "$as_me: error: unrecognized option: $ac_option
    464 Try \`$0 --help' for more information." >&2
    465    { (exit 1); exit 1; }; }
     381    x_libraries="$ac_optarg" ;;
     382
     383  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
    466384    ;;
    467385
    468   *=*)
    469     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    470     # Reject names that are not valid shell variable names.
    471     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    472       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    473    { (exit 1); exit 1; }; }
    474     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    475     eval "$ac_envvar='$ac_optarg'"
    476     export $ac_envvar ;;
    477 
    478386  *)
    479     # FIXME: should be removed in autoconf 3.0.
    480     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    481     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    482       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    483     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     387    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
     388      echo "configure: warning: $ac_option: invalid host type" 1>&2
     389    fi
     390    if test "x$nonopt" != xNONE; then
     391      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
     392    fi
     393    nonopt="$ac_option"
    484394    ;;
    485395
     
    488398
    489399if test -n "$ac_prev"; then
    490   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    491   { echo "$as_me: error: missing argument to $ac_option" >&2
    492    { (exit 1); exit 1; }; }
    493 fi
    494 
    495 # Be sure to have absolute paths.
    496 for ac_var in exec_prefix prefix
     400  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
     401fi
     402
     403trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
     404
     405# File descriptor usage:
     406# 0 standard input
     407# 1 file creation
     408# 2 errors and warnings
     409# 3 some systems may open it to /dev/tty
     410# 4 used on the Kubota Titan
     411# 6 checking for... messages and results
     412# 5 compiler messages saved in config.log
     413if test "$silent" = yes; then
     414  exec 6>/dev/null
     415else
     416  exec 6>&1
     417fi
     418exec 5>./config.log
     419
     420echo "\
     421This file contains any messages produced by compilers while
     422running configure, to aid debugging if configure makes a mistake.
     423" 1>&5
     424
     425# Strip out --no-create and --no-recursion so they do not pile up.
     426# Also quote any args containing shell metacharacters.
     427ac_configure_args=
     428for ac_arg
    497429do
    498   eval ac_val=$`echo $ac_var`
    499   case $ac_val in
    500     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    501     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
    502    { (exit 1); exit 1; }; };;
     430  case "$ac_arg" in
     431  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
     432  | --no-cr | --no-c) ;;
     433  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
     434  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
     435  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
     436  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     437  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
    503438  esac
    504439done
    505440
    506 # Be sure to have absolute paths.
    507 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    508               localstatedir libdir includedir oldincludedir infodir mandir
    509 do
    510   eval ac_val=$`echo $ac_var`
    511   case $ac_val in
    512     [\\/$]* | ?:[\\/]* ) ;;
    513     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
    514    { (exit 1); exit 1; }; };;
    515   esac
    516 done
    517 
    518 # There might be people who depend on the old broken behavior: `$host'
    519 # used to hold the argument of --host etc.
    520 build=$build_alias
    521 host=$host_alias
    522 target=$target_alias
    523 
    524 # FIXME: should be removed in autoconf 3.0.
    525 if test "x$host_alias" != x; then
    526   if test "x$build_alias" = x; then
    527     cross_compiling=maybe
    528     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    529     If a cross compiler is detected then cross compile mode will be used." >&2
    530   elif test "x$build_alias" != "x$host_alias"; then
    531     cross_compiling=yes
    532   fi
    533 fi
    534 
    535 ac_tool_prefix=
    536 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    537 
    538 test "$silent" = yes && exec 6>/dev/null
     441# NLS nuisances.
     442# Only set these to C if already set.  These must not be set unconditionally
     443# because not all systems understand e.g. LANG=C (notably SCO).
     444# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
     445# Non-C LC_CTYPE values break the ctype check.
     446if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
     447if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
     448if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
     449if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
     450
     451# confdefs.h avoids OS command line length limits that DEFS can exceed.
     452rm -rf conftest* confdefs.h
     453# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     454echo > confdefs.h
     455
     456# A filename unique to this package, relative to the directory that
     457# configure is in, which we can look for to find out if srcdir is correct.
     458ac_unique_file=Kernel/toi.cc
    539459
    540460# Find the source files, if location was not specified.
     
    543463  # Try the directory containing this script, then its parent.
    544464  ac_prog=$0
    545   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
     465  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
    546466  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
    547467  srcdir=$ac_confdir
     
    554474if test ! -r $srcdir/$ac_unique_file; then
    555475  if test "$ac_srcdir_defaulted" = yes; then
    556     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
    557    { (exit 1); exit 1; }; }
     476    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
    558477  else
    559     { echo "$as_me: error: cannot find sources in $srcdir" >&2
    560    { (exit 1); exit 1; }; }
    561   fi
    562 fi
    563 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    564 ac_env_build_alias_set=${build_alias+set}
    565 ac_env_build_alias_value=$build_alias
    566 ac_cv_env_build_alias_set=${build_alias+set}
    567 ac_cv_env_build_alias_value=$build_alias
    568 ac_env_host_alias_set=${host_alias+set}
    569 ac_env_host_alias_value=$host_alias
    570 ac_cv_env_host_alias_set=${host_alias+set}
    571 ac_cv_env_host_alias_value=$host_alias
    572 ac_env_target_alias_set=${target_alias+set}
    573 ac_env_target_alias_value=$target_alias
    574 ac_cv_env_target_alias_set=${target_alias+set}
    575 ac_cv_env_target_alias_value=$target_alias
    576 ac_env_CC_set=${CC+set}
    577 ac_env_CC_value=$CC
    578 ac_cv_env_CC_set=${CC+set}
    579 ac_cv_env_CC_value=$CC
    580 ac_env_CFLAGS_set=${CFLAGS+set}
    581 ac_env_CFLAGS_value=$CFLAGS
    582 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    583 ac_cv_env_CFLAGS_value=$CFLAGS
    584 ac_env_LDFLAGS_set=${LDFLAGS+set}
    585 ac_env_LDFLAGS_value=$LDFLAGS
    586 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    587 ac_cv_env_LDFLAGS_value=$LDFLAGS
    588 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    589 ac_env_CPPFLAGS_value=$CPPFLAGS
    590 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    591 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    592 ac_env_CXX_set=${CXX+set}
    593 ac_env_CXX_value=$CXX
    594 ac_cv_env_CXX_set=${CXX+set}
    595 ac_cv_env_CXX_value=$CXX
    596 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    597 ac_env_CXXFLAGS_value=$CXXFLAGS
    598 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    599 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    600 ac_env_CPP_set=${CPP+set}
    601 ac_env_CPP_value=$CPP
    602 ac_cv_env_CPP_set=${CPP+set}
    603 ac_cv_env_CPP_value=$CPP
    604 
    605 #
    606 # Report the --help message.
    607 #
    608 if test "$ac_init_help" = "long"; then
    609   # Omit some internal or obsolete options to make the list less imposing.
    610   # This message is too long to be a string in the A/UX 3.1 sh.
    611   cat <<EOF
    612 \`configure' configures this package to adapt to many kinds of systems.
    613 
    614 Usage: $0 [OPTION]... [VAR=VALUE]...
    615 
    616 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    617 VAR=VALUE.  See below for descriptions of some of the useful variables.
    618 
    619 Defaults for the options are specified in brackets.
    620 
    621 Configuration:
    622   -h, --help              display this help and exit
    623       --help=short        display options specific to this package
    624       --help=recursive    display the short help of all the included packages
    625   -V, --version           display version information and exit
    626   -q, --quiet, --silent   do not print \`checking...' messages
    627       --cache-file=FILE   cache test results in FILE [disabled]
    628   -C, --config-cache      alias for \`--cache-file=config.cache'
    629   -n, --no-create         do not create output files
    630       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    631 
    632 EOF
    633 
    634   cat <<EOF
    635 Installation directories:
    636   --prefix=PREFIX         install architecture-independent files in PREFIX
    637                           [$ac_default_prefix]
    638   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    639                           [PREFIX]
    640 
    641 By default, \`make install' will install all the files in
    642 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    643 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    644 for instance \`--prefix=\$HOME'.
    645 
    646 For better control, use the options below.
    647 
    648 Fine tuning of the installation directories:
    649   --bindir=DIR           user executables [EPREFIX/bin]
    650   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    651   --libexecdir=DIR       program executables [EPREFIX/libexec]
    652   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    653   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    654   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    655   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    656   --libdir=DIR           object code libraries [EPREFIX/lib]
    657   --includedir=DIR       C header files [PREFIX/include]
    658   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    659   --infodir=DIR          info documentation [PREFIX/info]
    660   --mandir=DIR           man documentation [PREFIX/man]
    661 EOF
    662 
    663   cat <<\EOF
    664 EOF
    665 fi
    666 
    667 if test -n "$ac_init_help"; then
    668 
    669   cat <<\EOF
    670 
    671 Optional Packages:
    672   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    673   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    674   --with-sophya           Compile and link with SOPHYA
    675  --with-piolib   Compile with PIOLib
    676 
    677 Some influential environment variables:
    678   CC          C compiler command
    679   CFLAGS      C compiler flags
    680   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    681               nonstandard directory <lib dir>
    682   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    683               headers in a nonstandard directory <include dir>
    684   CXX         C++ compiler command
    685   CXXFLAGS    C++ compiler flags
    686   CPP         C preprocessor
    687 
    688 Use these variables to override the choices made by `configure' or to help
    689 it to find libraries and programs with nonstandard names/locations.
    690 
    691 EOF
    692 fi
    693 
    694 if test "$ac_init_help" = "recursive"; then
    695   # If there are subdirs, report their specific --help.
    696   ac_popdir=`pwd`
    697   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
    698     cd $ac_subdir
    699     # A "../" for each directory in /$ac_subdir.
    700     ac_dots=`echo $ac_subdir |
    701              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
    702 
    703     case $srcdir in
    704     .) # No --srcdir option.  We are building in place.
    705       ac_sub_srcdir=$srcdir ;;
    706     [\\/]* | ?:[\\/]* ) # Absolute path.
    707       ac_sub_srcdir=$srcdir/$ac_subdir ;;
    708     *) # Relative path.
    709       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
    710     esac
    711 
    712     # Check for guested configure; otherwise get Cygnus style configure.
    713     if test -f $ac_sub_srcdir/configure.gnu; then
    714       echo
    715       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
    716     elif test -f $ac_sub_srcdir/configure; then
    717       echo
    718       $SHELL $ac_sub_srcdir/configure  --help=recursive
    719     elif test -f $ac_sub_srcdir/configure.ac ||
    720            test -f $ac_sub_srcdir/configure.in; then
    721       echo
    722       $ac_configure --help
    723     else
    724       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
    725     fi
    726     cd $ac_popdir
    727   done
    728 fi
    729 
    730 test -n "$ac_init_help" && exit 0
    731 if $ac_init_version; then
    732   cat <<\EOF
    733 
    734 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    735 Free Software Foundation, Inc.
    736 This configure script is free software; the Free Software Foundation
    737 gives unlimited permission to copy, distribute and modify it.
    738 EOF
    739   exit 0
    740 fi
    741 exec 5>config.log
    742 cat >&5 <<EOF
    743 This file contains any messages produced by compilers while
    744 running configure, to aid debugging if configure makes a mistake.
    745 
    746 It was created by $as_me, which was
    747 generated by GNU Autoconf 2.52.  Invocation command line was
    748 
    749   $ $0 $@
    750 
    751 EOF
    752 {
    753 cat <<_ASUNAME
    754 ## ---------- ##
    755 ## Platform.  ##
    756 ## ---------- ##
    757 
    758 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
    759 uname -m = `(uname -m) 2>/dev/null || echo unknown`
    760 uname -r = `(uname -r) 2>/dev/null || echo unknown`
    761 uname -s = `(uname -s) 2>/dev/null || echo unknown`
    762 uname -v = `(uname -v) 2>/dev/null || echo unknown`
    763 
    764 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
    765 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
    766 
    767 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
    768 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    769 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    770 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    771 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    772 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
    773 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
    774 
    775 PATH = $PATH
    776 
    777 _ASUNAME
    778 } >&5
    779 
    780 cat >&5 <<EOF
    781 ## ------------ ##
    782 ## Core tests.  ##
    783 ## ------------ ##
    784 
    785 EOF
    786 
    787 # Keep a trace of the command line.
    788 # Strip out --no-create and --no-recursion so they do not pile up.
    789 # Also quote any args containing shell meta-characters.
    790 ac_configure_args=
    791 ac_sep=
    792 for ac_arg
    793 do
    794   case $ac_arg in
    795   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    796   | --no-cr | --no-c) ;;
    797   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    798   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
    799   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    800     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
    801     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    802     ac_sep=" " ;;
    803   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
    804      ac_sep=" " ;;
    805   esac
    806   # Get rid of the leading space.
    807 done
    808 
    809 # When interrupted or exit'd, cleanup temporary files, and complete
    810 # config.log.  We remove comments because anyway the quotes in there
    811 # would cause problems or look ugly.
    812 trap 'exit_status=$?
    813   # Save into config.log some information that might help in debugging.
    814   echo >&5
    815   echo "## ----------------- ##" >&5
    816   echo "## Cache variables.  ##" >&5
    817   echo "## ----------------- ##" >&5
    818   echo >&5
    819   # The following way of writing the cache mishandles newlines in values,
    820 {
    821   (set) 2>&1 |
    822     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    823     *ac_space=\ *)
    824       sed -n \
    825         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    826           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    827       ;;
    828     *)
    829       sed -n \
    830         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    831       ;;
    832     esac;
    833 } >&5
    834   sed "/^$/d" confdefs.h >conftest.log
    835   if test -s conftest.log; then
    836     echo >&5
    837     echo "## ------------ ##" >&5
    838     echo "## confdefs.h.  ##" >&5
    839     echo "## ------------ ##" >&5
    840     echo >&5
    841     cat conftest.log >&5
    842   fi
    843   (echo; echo) >&5
    844   test "$ac_signal" != 0 &&
    845     echo "$as_me: caught signal $ac_signal" >&5
    846   echo "$as_me: exit $exit_status" >&5
    847   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
    848     exit $exit_status
    849      ' 0
    850 for ac_signal in 1 2 13 15; do
    851   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    852 done
    853 ac_signal=0
    854 
    855 # confdefs.h avoids OS command line length limits that DEFS can exceed.
    856 rm -rf conftest* confdefs.h
    857 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    858 echo >confdefs.h
    859 
    860 # Let the site file select an alternate cache file if it wants to.
     478    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
     479  fi
     480fi
     481srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
     482
    861483# Prefer explicitly selected file to automatically selected ones.
    862484if test -z "$CONFIG_SITE"; then
     
    869491for ac_site_file in $CONFIG_SITE; do
    870492  if test -r "$ac_site_file"; then
    871     { echo "$as_me:871: loading site script $ac_site_file" >&5
    872 echo "$as_me: loading site script $ac_site_file" >&6;}
    873     cat "$ac_site_file" >&5
     493    echo "loading site script $ac_site_file"
    874494    . "$ac_site_file"
    875495  fi
     
    877497
    878498if test -r "$cache_file"; then
    879   # Some versions of bash will fail to source /dev/null (special
    880   # files actually), so we avoid doing that.
    881   if test -f "$cache_file"; then
    882     { echo "$as_me:882: loading cache $cache_file" >&5
    883 echo "$as_me: loading cache $cache_file" >&6;}
    884     case $cache_file in
    885       [\\/]* | ?:[\\/]* ) . $cache_file;;
    886       *)                      . ./$cache_file;;
    887     esac
    888   fi
    889 else
    890   { echo "$as_me:890: creating cache $cache_file" >&5
    891 echo "$as_me: creating cache $cache_file" >&6;}
    892   >$cache_file
    893 fi
    894 
    895 # Check that the precious variables saved in the cache have kept the same
    896 # value.
    897 ac_cache_corrupted=false
    898 for ac_var in `(set) 2>&1 |
    899                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    900   eval ac_old_set=\$ac_cv_env_${ac_var}_set
    901   eval ac_new_set=\$ac_env_${ac_var}_set
    902   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    903   eval ac_new_val="\$ac_env_${ac_var}_value"
    904   case $ac_old_set,$ac_new_set in
    905     set,)
    906       { echo "$as_me:906: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    907 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    908       ac_cache_corrupted=: ;;
    909     ,set)
    910       { echo "$as_me:910: error: \`$ac_var' was not set in the previous run" >&5
    911 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    912       ac_cache_corrupted=: ;;
    913     ,);;
    914     *)
    915       if test "x$ac_old_val" != "x$ac_new_val"; then
    916         { echo "$as_me:916: error: \`$ac_var' has changed since the previous run:" >&5
    917 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    918         { echo "$as_me:918:   former value:  $ac_old_val" >&5
    919 echo "$as_me:   former value:  $ac_old_val" >&2;}
    920         { echo "$as_me:920:   current value: $ac_new_val" >&5
    921 echo "$as_me:   current value: $ac_new_val" >&2;}
    922         ac_cache_corrupted=:
    923       fi;;
    924   esac
    925   # Pass precious variables to config.status.  It doesn't matter if
    926   # we pass some twice (in addition to the command line arguments).
    927   if test "$ac_new_set" = set; then
    928     case $ac_new_val in
    929     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    930       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
    931       ac_configure_args="$ac_configure_args '$ac_arg'"
    932       ;;
    933     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
    934        ;;
    935     esac
    936   fi
    937 done
    938 if $ac_cache_corrupted; then
    939   { echo "$as_me:939: error: changes in the environment can compromise the build" >&5
    940 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    941   { { echo "$as_me:941: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    942 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    943    { (exit 1); exit 1; }; }
     499  echo "loading cache $cache_file"
     500  . $cache_file
     501else
     502  echo "creating cache $cache_file"
     503  > $cache_file
    944504fi
    945505
    946506ac_ext=c
     507# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    947508ac_cpp='$CPP $CPPFLAGS'
    948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    951 
    952 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    953   *c*,-n*) ECHO_N= ECHO_C='
    954 ' ECHO_T='      ' ;;
    955   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    956   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
    957 esac
    958 echo "#! $SHELL" >conftest.sh
    959 echo  "exit 0"   >>conftest.sh
    960 chmod +x conftest.sh
    961 if { (echo "$as_me:961: PATH=\".;.\"; conftest.sh") >&5
    962   (PATH=".;."; conftest.sh) 2>&5
    963   ac_status=$?
    964   echo "$as_me:964: \$? = $ac_status" >&5
    965   (exit $ac_status); }; then
    966   ac_path_separator=';'
    967 else
    968   ac_path_separator=:
    969 fi
    970 PATH_SEPARATOR="$ac_path_separator"
    971 rm -f conftest.sh
    972 
    973 ac_config_headers="$ac_config_headers conf.h"
     509ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     510ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     511cross_compiling=$ac_cv_prog_cc_cross
     512
     513ac_exeext=
     514ac_objext=o
     515if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
     516  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
     517  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
     518    ac_n= ac_c='
     519' ac_t='        '
     520  else
     521    ac_n=-n ac_c= ac_t=
     522  fi
     523else
     524  ac_n= ac_c='\c' ac_t=
     525fi
     526
     527
     528
    974529
    975530# Check whether --with-sophya or --without-sophya was given.
     
    979534else
    980535  use_sophya=0
    981 fi;
     536fi
     537
     538
     539
    982540
    983541# Check whether --with-piolib or --without-piolib was given.
     
    987545else
    988546  use_piolib=0
    989 fi;
     547fi
     548
     549
    990550
    991551if test `uname` = OSF1 -a -z "$CXX"; then
     
    1009569fi
    1010570
    1011 ac_ext=c
    1012 ac_cpp='$CPP $CPPFLAGS'
    1013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1016 if test -n "$ac_tool_prefix"; then
    1017   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    1018 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1019 echo "$as_me:1019: checking for $ac_word" >&5
    1020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1021 if test "${ac_cv_prog_CC+set}" = set; then
    1022   echo $ECHO_N "(cached) $ECHO_C" >&6
     571# Extract the first word of "gcc", so it can be a program name with args.
     572set dummy gcc; ac_word=$2
     573echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     574echo "configure:575: checking for $ac_word" >&5
     575if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     576  echo $ac_n "(cached) $ac_c" 1>&6
    1023577else
    1024578  if test -n "$CC"; then
    1025579  ac_cv_prog_CC="$CC" # Let the user override the test.
    1026580else
    1027   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1028 ac_dummy="$PATH"
    1029 for ac_dir in $ac_dummy; do
    1030   IFS=$ac_save_IFS
    1031   test -z "$ac_dir" && ac_dir=.
    1032   $as_executable_p "$ac_dir/$ac_word" || continue
    1033 ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1034 echo "$as_me:1034: found $ac_dir/$ac_word" >&5
    1035 break
    1036 done
    1037 
    1038 fi
    1039 fi
    1040 CC=$ac_cv_prog_CC
     581  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     582  ac_dummy="$PATH"
     583  for ac_dir in $ac_dummy; do
     584    test -z "$ac_dir" && ac_dir=.
     585    if test -f $ac_dir/$ac_word; then
     586      ac_cv_prog_CC="gcc"
     587      break
     588    fi
     589  done
     590  IFS="$ac_save_ifs"
     591fi
     592fi
     593CC="$ac_cv_prog_CC"
    1041594if test -n "$CC"; then
    1042   echo "$as_me:1042: result: $CC" >&5
    1043 echo "${ECHO_T}$CC" >&6
    1044 else
    1045   echo "$as_me:1045: result: no" >&5
    1046 echo "${ECHO_T}no" >&6
    1047 fi
    1048 
    1049 fi
    1050 if test -z "$ac_cv_prog_CC"; then
    1051   ac_ct_CC=$CC
    1052   # Extract the first word of "gcc", so it can be a program name with args.
    1053 set dummy gcc; ac_word=$2
    1054 echo "$as_me:1054: checking for $ac_word" >&5
    1055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1056 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1057   echo $ECHO_N "(cached) $ECHO_C" >&6
    1058 else
    1059   if test -n "$ac_ct_CC"; then
    1060   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1061 else
    1062   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1063 ac_dummy="$PATH"
    1064 for ac_dir in $ac_dummy; do
    1065   IFS=$ac_save_IFS
    1066   test -z "$ac_dir" && ac_dir=.
    1067   $as_executable_p "$ac_dir/$ac_word" || continue
    1068 ac_cv_prog_ac_ct_CC="gcc"
    1069 echo "$as_me:1069: found $ac_dir/$ac_word" >&5
    1070 break
    1071 done
    1072 
    1073 fi
    1074 fi
    1075 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1076 if test -n "$ac_ct_CC"; then
    1077   echo "$as_me:1077: result: $ac_ct_CC" >&5
    1078 echo "${ECHO_T}$ac_ct_CC" >&6
    1079 else
    1080   echo "$as_me:1080: result: no" >&5
    1081 echo "${ECHO_T}no" >&6
    1082 fi
    1083 
    1084   CC=$ac_ct_CC
    1085 else
    1086   CC="$ac_cv_prog_CC"
    1087 fi
    1088 
    1089 if test -z "$CC"; then
    1090   if test -n "$ac_tool_prefix"; then
    1091   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    1092 set dummy ${ac_tool_prefix}cc; ac_word=$2
    1093 echo "$as_me:1093: checking for $ac_word" >&5
    1094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1095 if test "${ac_cv_prog_CC+set}" = set; then
    1096   echo $ECHO_N "(cached) $ECHO_C" >&6
    1097 else
    1098   if test -n "$CC"; then
    1099   ac_cv_prog_CC="$CC" # Let the user override the test.
    1100 else
    1101   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1102 ac_dummy="$PATH"
    1103 for ac_dir in $ac_dummy; do
    1104   IFS=$ac_save_IFS
    1105   test -z "$ac_dir" && ac_dir=.
    1106   $as_executable_p "$ac_dir/$ac_word" || continue
    1107 ac_cv_prog_CC="${ac_tool_prefix}cc"
    1108 echo "$as_me:1108: found $ac_dir/$ac_word" >&5
    1109 break
    1110 done
    1111 
    1112 fi
    1113 fi
    1114 CC=$ac_cv_prog_CC
    1115 if test -n "$CC"; then
    1116   echo "$as_me:1116: result: $CC" >&5
    1117 echo "${ECHO_T}$CC" >&6
    1118 else
    1119   echo "$as_me:1119: result: no" >&5
    1120 echo "${ECHO_T}no" >&6
    1121 fi
    1122 
    1123 fi
    1124 if test -z "$ac_cv_prog_CC"; then
    1125   ac_ct_CC=$CC
    1126   # Extract the first word of "cc", so it can be a program name with args.
    1127 set dummy cc; ac_word=$2
    1128 echo "$as_me:1128: checking for $ac_word" >&5
    1129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1130 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1131   echo $ECHO_N "(cached) $ECHO_C" >&6
    1132 else
    1133   if test -n "$ac_ct_CC"; then
    1134   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1135 else
    1136   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1137 ac_dummy="$PATH"
    1138 for ac_dir in $ac_dummy; do
    1139   IFS=$ac_save_IFS
    1140   test -z "$ac_dir" && ac_dir=.
    1141   $as_executable_p "$ac_dir/$ac_word" || continue
    1142 ac_cv_prog_ac_ct_CC="cc"
    1143 echo "$as_me:1143: found $ac_dir/$ac_word" >&5
    1144 break
    1145 done
    1146 
    1147 fi
    1148 fi
    1149 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1150 if test -n "$ac_ct_CC"; then
    1151   echo "$as_me:1151: result: $ac_ct_CC" >&5
    1152 echo "${ECHO_T}$ac_ct_CC" >&6
    1153 else
    1154   echo "$as_me:1154: result: no" >&5
    1155 echo "${ECHO_T}no" >&6
    1156 fi
    1157 
    1158   CC=$ac_ct_CC
    1159 else
    1160   CC="$ac_cv_prog_CC"
    1161 fi
    1162 
    1163 fi
     595  echo "$ac_t""$CC" 1>&6
     596else
     597  echo "$ac_t""no" 1>&6
     598fi
     599
    1164600if test -z "$CC"; then
    1165601  # Extract the first word of "cc", so it can be a program name with args.
    1166602set dummy cc; ac_word=$2
    1167 echo "$as_me:1167: checking for $ac_word" >&5
    1168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1169 if test "${ac_cv_prog_CC+set}" = set; then
    1170   echo $ECHO_N "(cached) $ECHO_C" >&6
     603echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     604echo "configure:605: checking for $ac_word" >&5
     605if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     606  echo $ac_n "(cached) $ac_c" 1>&6
    1171607else
    1172608  if test -n "$CC"; then
    1173609  ac_cv_prog_CC="$CC" # Let the user override the test.
    1174610else
     611  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1175612  ac_prog_rejected=no
    1176   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1177 ac_dummy="$PATH"
    1178 for ac_dir in $ac_dummy; do
    1179   IFS=$ac_save_IFS
    1180   test -z "$ac_dir" && ac_dir=.
    1181   $as_executable_p "$ac_dir/$ac_word" || continue
    1182 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
    1183   ac_prog_rejected=yes
    1184   continue
    1185 fi
    1186 ac_cv_prog_CC="cc"
    1187 echo "$as_me:1187: found $ac_dir/$ac_word" >&5
    1188 break
    1189 done
    1190 
     613  ac_dummy="$PATH"
     614  for ac_dir in $ac_dummy; do
     615    test -z "$ac_dir" && ac_dir=.
     616    if test -f $ac_dir/$ac_word; then
     617      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
     618        ac_prog_rejected=yes
     619        continue
     620      fi
     621      ac_cv_prog_CC="cc"
     622      break
     623    fi
     624  done
     625  IFS="$ac_save_ifs"
    1191626if test $ac_prog_rejected = yes; then
    1192627  # We found a bogon in the path, so make sure we never use it.
    1193628  set dummy $ac_cv_prog_CC
    1194629  shift
    1195   if test $# != 0; then
     630  if test $# -gt 0; then
    1196631    # We chose a different compiler from the bogus one.
    1197632    # However, it has the same basename, so the bogon will be chosen
    1198633    # first if we set CC to just the basename; use the full file name.
    1199634    shift
    1200     set dummy "$ac_dir/$ac_word" ${1+"$@"}
     635    set dummy "$ac_dir/$ac_word" "$@"
    1201636    shift
    1202637    ac_cv_prog_CC="$@"
     
    1205640fi
    1206641fi
    1207 CC=$ac_cv_prog_CC
     642CC="$ac_cv_prog_CC"
    1208643if test -n "$CC"; then
    1209   echo "$as_me:1209: result: $CC" >&5
    1210 echo "${ECHO_T}$CC" >&6
    1211 else
    1212   echo "$as_me:1212: result: no" >&5
    1213 echo "${ECHO_T}no" >&6
    1214 fi
    1215 
    1216 fi
    1217 if test -z "$CC"; then
    1218   if test -n "$ac_tool_prefix"; then
    1219   for ac_prog in cl
    1220   do
    1221     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    1222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1223 echo "$as_me:1223: checking for $ac_word" >&5
    1224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1225 if test "${ac_cv_prog_CC+set}" = set; then
    1226   echo $ECHO_N "(cached) $ECHO_C" >&6
     644  echo "$ac_t""$CC" 1>&6
     645else
     646  echo "$ac_t""no" 1>&6
     647fi
     648
     649  if test -z "$CC"; then
     650    case "`uname -s`" in
     651    *win32* | *WIN32*)
     652      # Extract the first word of "cl", so it can be a program name with args.
     653set dummy cl; ac_word=$2
     654echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     655echo "configure:656: checking for $ac_word" >&5
     656if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     657  echo $ac_n "(cached) $ac_c" 1>&6
    1227658else
    1228659  if test -n "$CC"; then
    1229660  ac_cv_prog_CC="$CC" # Let the user override the test.
    1230661else
    1231   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1232 ac_dummy="$PATH"
    1233 for ac_dir in $ac_dummy; do
    1234   IFS=$ac_save_IFS
    1235   test -z "$ac_dir" && ac_dir=.
    1236   $as_executable_p "$ac_dir/$ac_word" || continue
    1237 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1238 echo "$as_me:1238: found $ac_dir/$ac_word" >&5
    1239 break
    1240 done
    1241 
    1242 fi
    1243 fi
    1244 CC=$ac_cv_prog_CC
     662  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     663  ac_dummy="$PATH"
     664  for ac_dir in $ac_dummy; do
     665    test -z "$ac_dir" && ac_dir=.
     666    if test -f $ac_dir/$ac_word; then
     667      ac_cv_prog_CC="cl"
     668      break
     669    fi
     670  done
     671  IFS="$ac_save_ifs"
     672fi
     673fi
     674CC="$ac_cv_prog_CC"
    1245675if test -n "$CC"; then
    1246   echo "$as_me:1246: result: $CC" >&5
    1247 echo "${ECHO_T}$CC" >&6
    1248 else
    1249   echo "$as_me:1249: result: no" >&5
    1250 echo "${ECHO_T}no" >&6
    1251 fi
    1252 
    1253     test -n "$CC" && break
    1254   done
    1255 fi
    1256 if test -z "$CC"; then
    1257   ac_ct_CC=$CC
    1258   for ac_prog in cl
    1259 do
    1260   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1261 set dummy $ac_prog; ac_word=$2
    1262 echo "$as_me:1262: checking for $ac_word" >&5
    1263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1264 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1265   echo $ECHO_N "(cached) $ECHO_C" >&6
    1266 else
    1267   if test -n "$ac_ct_CC"; then
    1268   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1269 else
    1270   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1271 ac_dummy="$PATH"
    1272 for ac_dir in $ac_dummy; do
    1273   IFS=$ac_save_IFS
    1274   test -z "$ac_dir" && ac_dir=.
    1275   $as_executable_p "$ac_dir/$ac_word" || continue
    1276 ac_cv_prog_ac_ct_CC="$ac_prog"
    1277 echo "$as_me:1277: found $ac_dir/$ac_word" >&5
    1278 break
    1279 done
    1280 
    1281 fi
    1282 fi
    1283 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1284 if test -n "$ac_ct_CC"; then
    1285   echo "$as_me:1285: result: $ac_ct_CC" >&5
    1286 echo "${ECHO_T}$ac_ct_CC" >&6
    1287 else
    1288   echo "$as_me:1288: result: no" >&5
    1289 echo "${ECHO_T}no" >&6
    1290 fi
    1291 
    1292   test -n "$ac_ct_CC" && break
    1293 done
    1294 
    1295   CC=$ac_ct_CC
    1296 fi
    1297 
    1298 fi
    1299 
    1300 test -z "$CC" && { { echo "$as_me:1300: error: no acceptable cc found in \$PATH" >&5
    1301 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
    1302    { (exit 1); exit 1; }; }
    1303 
    1304 # Provide some information about the compiler.
    1305 echo "$as_me:1305:" \
    1306      "checking for C compiler version" >&5
    1307 ac_compiler=`set X $ac_compile; echo $2`
    1308 { (eval echo "$as_me:1308: \"$ac_compiler --version </dev/null >&5\"") >&5
    1309   (eval $ac_compiler --version </dev/null >&5) 2>&5
    1310   ac_status=$?
    1311   echo "$as_me:1311: \$? = $ac_status" >&5
    1312   (exit $ac_status); }
    1313 { (eval echo "$as_me:1313: \"$ac_compiler -v </dev/null >&5\"") >&5
    1314   (eval $ac_compiler -v </dev/null >&5) 2>&5
    1315   ac_status=$?
    1316   echo "$as_me:1316: \$? = $ac_status" >&5
    1317   (exit $ac_status); }
    1318 { (eval echo "$as_me:1318: \"$ac_compiler -V </dev/null >&5\"") >&5
    1319   (eval $ac_compiler -V </dev/null >&5) 2>&5
    1320   ac_status=$?
    1321   echo "$as_me:1321: \$? = $ac_status" >&5
    1322   (exit $ac_status); }
    1323 
    1324 cat >conftest.$ac_ext <<_ACEOF
    1325 #line 1325 "configure"
     676  echo "$ac_t""$CC" 1>&6
     677else
     678  echo "$ac_t""no" 1>&6
     679fi
     680 ;;
     681    esac
     682  fi
     683  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
     684fi
     685
     686echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     687echo "configure:688: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     688
     689ac_ext=c
     690# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     691ac_cpp='$CPP $CPPFLAGS'
     692ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     693ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     694cross_compiling=$ac_cv_prog_cc_cross
     695
     696cat > conftest.$ac_ext << EOF
     697
     698#line 699 "configure"
    1326699#include "confdefs.h"
    1327700
    1328 int
    1329 main ()
    1330 {
    1331 
    1332   ;
    1333   return 0;
    1334 }
    1335 _ACEOF
    1336 ac_clean_files_save=$ac_clean_files
    1337 ac_clean_files="$ac_clean_files a.out a.exe"
    1338 # Try to create an executable without -o first, disregard a.out.
    1339 # It will help us diagnose broken compilers, and finding out an intuition
    1340 # of exeext.
    1341 echo "$as_me:1341: checking for C compiler default output" >&5
    1342 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
    1343 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1344 if { (eval echo "$as_me:1344: \"$ac_link_default\"") >&5
    1345   (eval $ac_link_default) 2>&5
    1346   ac_status=$?
    1347   echo "$as_me:1347: \$? = $ac_status" >&5
    1348   (exit $ac_status); }; then
    1349   # Find the output, starting from the most likely.  This scheme is
    1350 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1351 # resort.
    1352 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
    1353                 ls a.out conftest 2>/dev/null;
    1354                 ls a.* conftest.* 2>/dev/null`; do
    1355   case $ac_file in
    1356     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
    1357     a.out ) # We found the default executable, but exeext='' is most
    1358             # certainly right.
    1359             break;;
    1360     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1361           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
    1362           export ac_cv_exeext
    1363           break;;
    1364     * ) break;;
    1365   esac
    1366 done
    1367 else
    1368   echo "$as_me: failed program was:" >&5
    1369 cat conftest.$ac_ext >&5
    1370 { { echo "$as_me:1370: error: C compiler cannot create executables" >&5
    1371 echo "$as_me: error: C compiler cannot create executables" >&2;}
    1372    { (exit 77); exit 77; }; }
    1373 fi
    1374 
    1375 ac_exeext=$ac_cv_exeext
    1376 echo "$as_me:1376: result: $ac_file" >&5
    1377 echo "${ECHO_T}$ac_file" >&6
    1378 
    1379 # Check the compiler produces executables we can run.  If not, either
    1380 # the compiler is broken, or we cross compile.
    1381 echo "$as_me:1381: checking whether the C compiler works" >&5
    1382 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    1383 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    1384 # If not cross compiling, check that we can run a simple program.
    1385 if test "$cross_compiling" != yes; then
    1386   if { ac_try='./$ac_file'
    1387   { (eval echo "$as_me:1387: \"$ac_try\"") >&5
    1388   (eval $ac_try) 2>&5
    1389   ac_status=$?
    1390   echo "$as_me:1390: \$? = $ac_status" >&5
    1391   (exit $ac_status); }; }; then
    1392     cross_compiling=no
     701main(){return(0);}
     702EOF
     703if { (eval echo configure:704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     704  ac_cv_prog_cc_works=yes
     705  # If we can't run a trivial program, we are probably using a cross compiler.
     706  if (./conftest; exit) 2>/dev/null; then
     707    ac_cv_prog_cc_cross=no
    1393708  else
    1394     if test "$cross_compiling" = maybe; then
    1395         cross_compiling=yes
    1396     else
    1397         { { echo "$as_me:1397: error: cannot run C compiled programs.
    1398 If you meant to cross compile, use \`--host'." >&5
    1399 echo "$as_me: error: cannot run C compiled programs.
    1400 If you meant to cross compile, use \`--host'." >&2;}
    1401    { (exit 1); exit 1; }; }
    1402     fi
    1403   fi
    1404 fi
    1405 echo "$as_me:1405: result: yes" >&5
    1406 echo "${ECHO_T}yes" >&6
    1407 
    1408 rm -f a.out a.exe conftest$ac_cv_exeext
    1409 ac_clean_files=$ac_clean_files_save
    1410 # Check the compiler produces executables we can run.  If not, either
    1411 # the compiler is broken, or we cross compile.
    1412 echo "$as_me:1412: checking whether we are cross compiling" >&5
    1413 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1414 echo "$as_me:1414: result: $cross_compiling" >&5
    1415 echo "${ECHO_T}$cross_compiling" >&6
    1416 
    1417 echo "$as_me:1417: checking for executable suffix" >&5
    1418 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
    1419 if { (eval echo "$as_me:1419: \"$ac_link\"") >&5
    1420   (eval $ac_link) 2>&5
    1421   ac_status=$?
    1422   echo "$as_me:1422: \$? = $ac_status" >&5
    1423   (exit $ac_status); }; then
    1424   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    1425 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    1426 # work properly (i.e., refer to `conftest.exe'), while it won't with
    1427 # `rm'.
    1428 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
    1429   case $ac_file in
    1430     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
    1431     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1432           export ac_cv_exeext
    1433           break;;
    1434     * ) break;;
    1435   esac
    1436 done
    1437 else
    1438   { { echo "$as_me:1438: error: cannot compute EXEEXT: cannot compile and link" >&5
    1439 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
    1440    { (exit 1); exit 1; }; }
    1441 fi
    1442 
    1443 rm -f conftest$ac_cv_exeext
    1444 echo "$as_me:1444: result: $ac_cv_exeext" >&5
    1445 echo "${ECHO_T}$ac_cv_exeext" >&6
    1446 
    1447 rm -f conftest.$ac_ext
    1448 EXEEXT=$ac_cv_exeext
    1449 ac_exeext=$EXEEXT
    1450 echo "$as_me:1450: checking for object suffix" >&5
    1451 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
    1452 if test "${ac_cv_objext+set}" = set; then
    1453   echo $ECHO_N "(cached) $ECHO_C" >&6
    1454 else
    1455   cat >conftest.$ac_ext <<_ACEOF
    1456 #line 1456 "configure"
    1457 #include "confdefs.h"
    1458 
    1459 int
    1460 main ()
    1461 {
    1462 
    1463   ;
    1464   return 0;
    1465 }
    1466 _ACEOF
    1467 rm -f conftest.o conftest.obj
    1468 if { (eval echo "$as_me:1468: \"$ac_compile\"") >&5
    1469   (eval $ac_compile) 2>&5
    1470   ac_status=$?
    1471   echo "$as_me:1471: \$? = $ac_status" >&5
    1472   (exit $ac_status); }; then
    1473   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    1474   case $ac_file in
    1475     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
    1476     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    1477        break;;
    1478   esac
    1479 done
    1480 else
    1481   echo "$as_me: failed program was:" >&5
    1482 cat conftest.$ac_ext >&5
    1483 { { echo "$as_me:1483: error: cannot compute OBJEXT: cannot compile" >&5
    1484 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
    1485    { (exit 1); exit 1; }; }
    1486 fi
    1487 
    1488 rm -f conftest.$ac_cv_objext conftest.$ac_ext
    1489 fi
    1490 echo "$as_me:1490: result: $ac_cv_objext" >&5
    1491 echo "${ECHO_T}$ac_cv_objext" >&6
    1492 OBJEXT=$ac_cv_objext
    1493 ac_objext=$OBJEXT
    1494 echo "$as_me:1494: checking whether we are using the GNU C compiler" >&5
    1495 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    1496 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    1497   echo $ECHO_N "(cached) $ECHO_C" >&6
    1498 else
    1499   cat >conftest.$ac_ext <<_ACEOF
    1500 #line 1500 "configure"
    1501 #include "confdefs.h"
    1502 
    1503 int
    1504 main ()
    1505 {
    1506 #ifndef __GNUC__
    1507        choke me
     709    ac_cv_prog_cc_cross=yes
     710  fi
     711else
     712  echo "configure: failed program was:" >&5
     713  cat conftest.$ac_ext >&5
     714  ac_cv_prog_cc_works=no
     715fi
     716rm -fr conftest*
     717ac_ext=c
     718# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     719ac_cpp='$CPP $CPPFLAGS'
     720ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     721ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     722cross_compiling=$ac_cv_prog_cc_cross
     723
     724echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
     725if test $ac_cv_prog_cc_works = no; then
     726  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
     727fi
     728echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     729echo "configure:730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     730echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
     731cross_compiling=$ac_cv_prog_cc_cross
     732
     733echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
     734echo "configure:735: checking whether we are using GNU C" >&5
     735if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
     736  echo $ac_n "(cached) $ac_c" 1>&6
     737else
     738  cat > conftest.c <<EOF
     739#ifdef __GNUC__
     740  yes;
    1508741#endif
    1509 
    1510   ;
    1511   return 0;
    1512 }
    1513 _ACEOF
    1514 rm -f conftest.$ac_objext
    1515 if { (eval echo "$as_me:1515: \"$ac_compile\"") >&5
    1516   (eval $ac_compile) 2>&5
    1517   ac_status=$?
    1518   echo "$as_me:1518: \$? = $ac_status" >&5
    1519   (exit $ac_status); } &&
    1520          { ac_try='test -s conftest.$ac_objext'
    1521   { (eval echo "$as_me:1521: \"$ac_try\"") >&5
    1522   (eval $ac_try) 2>&5
    1523   ac_status=$?
    1524   echo "$as_me:1524: \$? = $ac_status" >&5
    1525   (exit $ac_status); }; }; then
    1526   ac_compiler_gnu=yes
    1527 else
    1528   echo "$as_me: failed program was:" >&5
    1529 cat conftest.$ac_ext >&5
    1530 ac_compiler_gnu=no
    1531 fi
    1532 rm -f conftest.$ac_objext conftest.$ac_ext
    1533 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    1534 
    1535 fi
    1536 echo "$as_me:1536: result: $ac_cv_c_compiler_gnu" >&5
    1537 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    1538 GCC=`test $ac_compiler_gnu = yes && echo yes`
    1539 ac_test_CFLAGS=${CFLAGS+set}
    1540 ac_save_CFLAGS=$CFLAGS
    1541 CFLAGS="-g"
    1542 echo "$as_me:1542: checking whether $CC accepts -g" >&5
    1543 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    1544 if test "${ac_cv_prog_cc_g+set}" = set; then
    1545   echo $ECHO_N "(cached) $ECHO_C" >&6
    1546 else
    1547   cat >conftest.$ac_ext <<_ACEOF
    1548 #line 1548 "configure"
    1549 #include "confdefs.h"
    1550 
    1551 int
    1552 main ()
    1553 {
    1554 
    1555   ;
    1556   return 0;
    1557 }
    1558 _ACEOF
    1559 rm -f conftest.$ac_objext
    1560 if { (eval echo "$as_me:1560: \"$ac_compile\"") >&5
    1561   (eval $ac_compile) 2>&5
    1562   ac_status=$?
    1563   echo "$as_me:1563: \$? = $ac_status" >&5
    1564   (exit $ac_status); } &&
    1565          { ac_try='test -s conftest.$ac_objext'
    1566   { (eval echo "$as_me:1566: \"$ac_try\"") >&5
    1567   (eval $ac_try) 2>&5
    1568   ac_status=$?
    1569   echo "$as_me:1569: \$? = $ac_status" >&5
    1570   (exit $ac_status); }; }; then
     742EOF
     743if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     744  ac_cv_prog_gcc=yes
     745else
     746  ac_cv_prog_gcc=no
     747fi
     748fi
     749
     750echo "$ac_t""$ac_cv_prog_gcc" 1>&6
     751
     752if test $ac_cv_prog_gcc = yes; then
     753  GCC=yes
     754else
     755  GCC=
     756fi
     757
     758ac_test_CFLAGS="${CFLAGS+set}"
     759ac_save_CFLAGS="$CFLAGS"
     760CFLAGS=
     761echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
     762echo "configure:763: checking whether ${CC-cc} accepts -g" >&5
     763if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
     764  echo $ac_n "(cached) $ac_c" 1>&6
     765else
     766  echo 'void f(){}' > conftest.c
     767if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
    1571768  ac_cv_prog_cc_g=yes
    1572769else
    1573   echo "$as_me: failed program was:" >&5
    1574 cat conftest.$ac_ext >&5
    1575 ac_cv_prog_cc_g=no
    1576 fi
    1577 rm -f conftest.$ac_objext conftest.$ac_ext
    1578 fi
    1579 echo "$as_me:1579: result: $ac_cv_prog_cc_g" >&5
    1580 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     770  ac_cv_prog_cc_g=no
     771fi
     772rm -f conftest*
     773
     774fi
     775
     776echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
    1581777if test "$ac_test_CFLAGS" = set; then
    1582   CFLAGS=$ac_save_CFLAGS
     778  CFLAGS="$ac_save_CFLAGS"
    1583779elif test $ac_cv_prog_cc_g = yes; then
    1584780  if test "$GCC" = yes; then
     
    1594790  fi
    1595791fi
    1596 # Some people use a C++ compiler to compile C.  Since we use `exit',
    1597 # in C++ we need to declare it.  In case someone uses the same compiler
    1598 # for both compiling C and C++ we need to have the C++ compiler decide
    1599 # the declaration of exit, since it's the most demanding environment.
    1600 cat >conftest.$ac_ext <<_ACEOF
    1601 #ifndef __cplusplus
    1602   choke me
    1603 #endif
    1604 _ACEOF
    1605 rm -f conftest.$ac_objext
    1606 if { (eval echo "$as_me:1606: \"$ac_compile\"") >&5
    1607   (eval $ac_compile) 2>&5
    1608   ac_status=$?
    1609   echo "$as_me:1609: \$? = $ac_status" >&5
    1610   (exit $ac_status); } &&
    1611          { ac_try='test -s conftest.$ac_objext'
    1612   { (eval echo "$as_me:1612: \"$ac_try\"") >&5
    1613   (eval $ac_try) 2>&5
    1614   ac_status=$?
    1615   echo "$as_me:1615: \$? = $ac_status" >&5
    1616   (exit $ac_status); }; }; then
    1617   for ac_declaration in \
    1618    ''\
    1619    '#include <stdlib.h>' \
    1620    'extern "C" void std::exit (int) throw (); using std::exit;' \
    1621    'extern "C" void std::exit (int); using std::exit;' \
    1622    'extern "C" void exit (int) throw ();' \
    1623    'extern "C" void exit (int);' \
    1624    'void exit (int);'
     792
     793for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
    1625794do
    1626   cat >conftest.$ac_ext <<_ACEOF
    1627 #line 1627 "configure"
    1628 #include "confdefs.h"
    1629 #include <stdlib.h>
    1630 $ac_declaration
    1631 int
    1632 main ()
    1633 {
    1634 exit (42);
    1635   ;
    1636   return 0;
    1637 }
    1638 _ACEOF
    1639 rm -f conftest.$ac_objext
    1640 if { (eval echo "$as_me:1640: \"$ac_compile\"") >&5
    1641   (eval $ac_compile) 2>&5
    1642   ac_status=$?
    1643   echo "$as_me:1643: \$? = $ac_status" >&5
    1644   (exit $ac_status); } &&
    1645          { ac_try='test -s conftest.$ac_objext'
    1646   { (eval echo "$as_me:1646: \"$ac_try\"") >&5
    1647   (eval $ac_try) 2>&5
    1648   ac_status=$?
    1649   echo "$as_me:1649: \$? = $ac_status" >&5
    1650   (exit $ac_status); }; }; then
    1651   :
    1652 else
    1653   echo "$as_me: failed program was:" >&5
    1654 cat conftest.$ac_ext >&5
    1655 continue
    1656 fi
    1657 rm -f conftest.$ac_objext conftest.$ac_ext
    1658   cat >conftest.$ac_ext <<_ACEOF
    1659 #line 1659 "configure"
    1660 #include "confdefs.h"
    1661 $ac_declaration
    1662 int
    1663 main ()
    1664 {
    1665 exit (42);
    1666   ;
    1667   return 0;
    1668 }
    1669 _ACEOF
    1670 rm -f conftest.$ac_objext
    1671 if { (eval echo "$as_me:1671: \"$ac_compile\"") >&5
    1672   (eval $ac_compile) 2>&5
    1673   ac_status=$?
    1674   echo "$as_me:1674: \$? = $ac_status" >&5
    1675   (exit $ac_status); } &&
    1676          { ac_try='test -s conftest.$ac_objext'
    1677   { (eval echo "$as_me:1677: \"$ac_try\"") >&5
    1678   (eval $ac_try) 2>&5
    1679   ac_status=$?
    1680   echo "$as_me:1680: \$? = $ac_status" >&5
    1681   (exit $ac_status); }; }; then
    1682   break
    1683 else
    1684   echo "$as_me: failed program was:" >&5
    1685 cat conftest.$ac_ext >&5
    1686 fi
    1687 rm -f conftest.$ac_objext conftest.$ac_ext
    1688 done
    1689 rm -f conftest*
    1690 if test -n "$ac_declaration"; then
    1691   echo '#ifdef __cplusplus' >>confdefs.h
    1692   echo $ac_declaration      >>confdefs.h
    1693   echo '#endif'             >>confdefs.h
    1694 fi
    1695 
    1696 else
    1697   echo "$as_me: failed program was:" >&5
    1698 cat conftest.$ac_ext >&5
    1699 fi
    1700 rm -f conftest.$ac_objext conftest.$ac_ext
    1701 ac_ext=c
    1702 ac_cpp='$CPP $CPPFLAGS'
    1703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1706 
    1707 ac_ext=cc
    1708 ac_cpp='$CXXCPP $CPPFLAGS'
    1709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    1712 if test -n "$ac_tool_prefix"; then
    1713   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    1714   do
    1715     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    1716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1717 echo "$as_me:1717: checking for $ac_word" >&5
    1718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1719 if test "${ac_cv_prog_CXX+set}" = set; then
    1720   echo $ECHO_N "(cached) $ECHO_C" >&6
     795# Extract the first word of "$ac_prog", so it can be a program name with args.
     796set dummy $ac_prog; ac_word=$2
     797echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     798echo "configure:799: checking for $ac_word" >&5
     799if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
     800  echo $ac_n "(cached) $ac_c" 1>&6
    1721801else
    1722802  if test -n "$CXX"; then
    1723803  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    1724804else
    1725   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1726 ac_dummy="$PATH"
    1727 for ac_dir in $ac_dummy; do
    1728   IFS=$ac_save_IFS
    1729   test -z "$ac_dir" && ac_dir=.
    1730   $as_executable_p "$ac_dir/$ac_word" || continue
    1731 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    1732 echo "$as_me:1732: found $ac_dir/$ac_word" >&5
    1733 break
     805  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     806  ac_dummy="$PATH"
     807  for ac_dir in $ac_dummy; do
     808    test -z "$ac_dir" && ac_dir=.
     809    if test -f $ac_dir/$ac_word; then
     810      ac_cv_prog_CXX="$ac_prog"
     811      break
     812    fi
     813  done
     814  IFS="$ac_save_ifs"
     815fi
     816fi
     817CXX="$ac_cv_prog_CXX"
     818if test -n "$CXX"; then
     819  echo "$ac_t""$CXX" 1>&6
     820else
     821  echo "$ac_t""no" 1>&6
     822fi
     823
     824test -n "$CXX" && break
    1734825done
    1735 
    1736 fi
    1737 fi
    1738 CXX=$ac_cv_prog_CXX
    1739 if test -n "$CXX"; then
    1740   echo "$as_me:1740: result: $CXX" >&5
    1741 echo "${ECHO_T}$CXX" >&6
    1742 else
    1743   echo "$as_me:1743: result: no" >&5
    1744 echo "${ECHO_T}no" >&6
    1745 fi
    1746 
    1747     test -n "$CXX" && break
    1748   done
    1749 fi
    1750 if test -z "$CXX"; then
    1751   ac_ct_CXX=$CXX
    1752   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    1753 do
    1754   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1755 set dummy $ac_prog; ac_word=$2
    1756 echo "$as_me:1756: checking for $ac_word" >&5
    1757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1758 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    1759   echo $ECHO_N "(cached) $ECHO_C" >&6
    1760 else
    1761   if test -n "$ac_ct_CXX"; then
    1762   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    1763 else
    1764   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1765 ac_dummy="$PATH"
    1766 for ac_dir in $ac_dummy; do
    1767   IFS=$ac_save_IFS
    1768   test -z "$ac_dir" && ac_dir=.
    1769   $as_executable_p "$ac_dir/$ac_word" || continue
    1770 ac_cv_prog_ac_ct_CXX="$ac_prog"
    1771 echo "$as_me:1771: found $ac_dir/$ac_word" >&5
    1772 break
    1773 done
    1774 
    1775 fi
    1776 fi
    1777 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    1778 if test -n "$ac_ct_CXX"; then
    1779   echo "$as_me:1779: result: $ac_ct_CXX" >&5
    1780 echo "${ECHO_T}$ac_ct_CXX" >&6
    1781 else
    1782   echo "$as_me:1782: result: no" >&5
    1783 echo "${ECHO_T}no" >&6
    1784 fi
    1785 
    1786   test -n "$ac_ct_CXX" && break
    1787 done
    1788 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    1789 
    1790   CXX=$ac_ct_CXX
    1791 fi
    1792 
    1793 # Provide some information about the compiler.
    1794 echo "$as_me:1794:" \
    1795      "checking for C++ compiler version" >&5
    1796 ac_compiler=`set X $ac_compile; echo $2`
    1797 { (eval echo "$as_me:1797: \"$ac_compiler --version </dev/null >&5\"") >&5
    1798   (eval $ac_compiler --version </dev/null >&5) 2>&5
    1799   ac_status=$?
    1800   echo "$as_me:1800: \$? = $ac_status" >&5
    1801   (exit $ac_status); }
    1802 { (eval echo "$as_me:1802: \"$ac_compiler -v </dev/null >&5\"") >&5
    1803   (eval $ac_compiler -v </dev/null >&5) 2>&5
    1804   ac_status=$?
    1805   echo "$as_me:1805: \$? = $ac_status" >&5
    1806   (exit $ac_status); }
    1807 { (eval echo "$as_me:1807: \"$ac_compiler -V </dev/null >&5\"") >&5
    1808   (eval $ac_compiler -V </dev/null >&5) 2>&5
    1809   ac_status=$?
    1810   echo "$as_me:1810: \$? = $ac_status" >&5
    1811   (exit $ac_status); }
    1812 
    1813 echo "$as_me:1813: checking whether we are using the GNU C++ compiler" >&5
    1814 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    1815 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    1816   echo $ECHO_N "(cached) $ECHO_C" >&6
    1817 else
    1818   cat >conftest.$ac_ext <<_ACEOF
    1819 #line 1819 "configure"
     826test -n "$CXX" || CXX="gcc"
     827
     828
     829echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     830echo "configure:831: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     831
     832ac_ext=C
     833# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     834ac_cpp='$CXXCPP $CPPFLAGS'
     835ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     836ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     837cross_compiling=$ac_cv_prog_cxx_cross
     838
     839cat > conftest.$ac_ext << EOF
     840
     841#line 842 "configure"
    1820842#include "confdefs.h"
    1821843
    1822 int
    1823 main ()
    1824 {
    1825 #ifndef __GNUC__
    1826        choke me
     844int main(){return(0);}
     845EOF
     846if { (eval echo configure:847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     847  ac_cv_prog_cxx_works=yes
     848  # If we can't run a trivial program, we are probably using a cross compiler.
     849  if (./conftest; exit) 2>/dev/null; then
     850    ac_cv_prog_cxx_cross=no
     851  else
     852    ac_cv_prog_cxx_cross=yes
     853  fi
     854else
     855  echo "configure: failed program was:" >&5
     856  cat conftest.$ac_ext >&5
     857  ac_cv_prog_cxx_works=no
     858fi
     859rm -fr conftest*
     860ac_ext=c
     861# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     862ac_cpp='$CPP $CPPFLAGS'
     863ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     864ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     865cross_compiling=$ac_cv_prog_cc_cross
     866
     867echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
     868if test $ac_cv_prog_cxx_works = no; then
     869  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
     870fi
     871echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     872echo "configure:873: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     873echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
     874cross_compiling=$ac_cv_prog_cxx_cross
     875
     876echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
     877echo "configure:878: checking whether we are using GNU C++" >&5
     878if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
     879  echo $ac_n "(cached) $ac_c" 1>&6
     880else
     881  cat > conftest.C <<EOF
     882#ifdef __GNUC__
     883  yes;
    1827884#endif
    1828 
    1829   ;
    1830   return 0;
    1831 }
    1832 _ACEOF
    1833 rm -f conftest.$ac_objext
    1834 if { (eval echo "$as_me:1834: \"$ac_compile\"") >&5
    1835   (eval $ac_compile) 2>&5
    1836   ac_status=$?
    1837   echo "$as_me:1837: \$? = $ac_status" >&5
    1838   (exit $ac_status); } &&
    1839          { ac_try='test -s conftest.$ac_objext'
    1840   { (eval echo "$as_me:1840: \"$ac_try\"") >&5
    1841   (eval $ac_try) 2>&5
    1842   ac_status=$?
    1843   echo "$as_me:1843: \$? = $ac_status" >&5
    1844   (exit $ac_status); }; }; then
    1845   ac_compiler_gnu=yes
    1846 else
    1847   echo "$as_me: failed program was:" >&5
    1848 cat conftest.$ac_ext >&5
    1849 ac_compiler_gnu=no
    1850 fi
    1851 rm -f conftest.$ac_objext conftest.$ac_ext
    1852 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    1853 
    1854 fi
    1855 echo "$as_me:1855: result: $ac_cv_cxx_compiler_gnu" >&5
    1856 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    1857 GXX=`test $ac_compiler_gnu = yes && echo yes`
    1858 ac_test_CXXFLAGS=${CXXFLAGS+set}
    1859 ac_save_CXXFLAGS=$CXXFLAGS
    1860 CXXFLAGS="-g"
    1861 echo "$as_me:1861: checking whether $CXX accepts -g" >&5
    1862 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    1863 if test "${ac_cv_prog_cxx_g+set}" = set; then
    1864   echo $ECHO_N "(cached) $ECHO_C" >&6
    1865 else
    1866   cat >conftest.$ac_ext <<_ACEOF
    1867 #line 1867 "configure"
    1868 #include "confdefs.h"
    1869 
    1870 int
    1871 main ()
    1872 {
    1873 
    1874   ;
    1875   return 0;
    1876 }
    1877 _ACEOF
    1878 rm -f conftest.$ac_objext
    1879 if { (eval echo "$as_me:1879: \"$ac_compile\"") >&5
    1880   (eval $ac_compile) 2>&5
    1881   ac_status=$?
    1882   echo "$as_me:1882: \$? = $ac_status" >&5
    1883   (exit $ac_status); } &&
    1884          { ac_try='test -s conftest.$ac_objext'
    1885   { (eval echo "$as_me:1885: \"$ac_try\"") >&5
    1886   (eval $ac_try) 2>&5
    1887   ac_status=$?
    1888   echo "$as_me:1888: \$? = $ac_status" >&5
    1889   (exit $ac_status); }; }; then
     885EOF
     886if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     887  ac_cv_prog_gxx=yes
     888else
     889  ac_cv_prog_gxx=no
     890fi
     891fi
     892
     893echo "$ac_t""$ac_cv_prog_gxx" 1>&6
     894
     895if test $ac_cv_prog_gxx = yes; then
     896  GXX=yes
     897else
     898  GXX=
     899fi
     900
     901ac_test_CXXFLAGS="${CXXFLAGS+set}"
     902ac_save_CXXFLAGS="$CXXFLAGS"
     903CXXFLAGS=
     904echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
     905echo "configure:906: checking whether ${CXX-g++} accepts -g" >&5
     906if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
     907  echo $ac_n "(cached) $ac_c" 1>&6
     908else
     909  echo 'void f(){}' > conftest.cc
     910if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
    1890911  ac_cv_prog_cxx_g=yes
    1891912else
    1892   echo "$as_me: failed program was:" >&5
    1893 cat conftest.$ac_ext >&5
    1894 ac_cv_prog_cxx_g=no
    1895 fi
    1896 rm -f conftest.$ac_objext conftest.$ac_ext
    1897 fi
    1898 echo "$as_me:1898: result: $ac_cv_prog_cxx_g" >&5
    1899 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     913  ac_cv_prog_cxx_g=no
     914fi
     915rm -f conftest*
     916
     917fi
     918
     919echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
    1900920if test "$ac_test_CXXFLAGS" = set; then
    1901   CXXFLAGS=$ac_save_CXXFLAGS
     921  CXXFLAGS="$ac_save_CXXFLAGS"
    1902922elif test $ac_cv_prog_cxx_g = yes; then
    1903923  if test "$GXX" = yes; then
     
    1913933  fi
    1914934fi
    1915 for ac_declaration in \
    1916    ''\
    1917    '#include <stdlib.h>' \
    1918    'extern "C" void std::exit (int) throw (); using std::exit;' \
    1919    'extern "C" void std::exit (int); using std::exit;' \
    1920    'extern "C" void exit (int) throw ();' \
    1921    'extern "C" void exit (int);' \
    1922    'void exit (int);'
    1923 do
    1924   cat >conftest.$ac_ext <<_ACEOF
    1925 #line 1925 "configure"
    1926 #include "confdefs.h"
    1927 #include <stdlib.h>
    1928 $ac_declaration
    1929 int
    1930 main ()
    1931 {
    1932 exit (42);
    1933   ;
    1934   return 0;
    1935 }
    1936 _ACEOF
    1937 rm -f conftest.$ac_objext
    1938 if { (eval echo "$as_me:1938: \"$ac_compile\"") >&5
    1939   (eval $ac_compile) 2>&5
    1940   ac_status=$?
    1941   echo "$as_me:1941: \$? = $ac_status" >&5
    1942   (exit $ac_status); } &&
    1943          { ac_try='test -s conftest.$ac_objext'
    1944   { (eval echo "$as_me:1944: \"$ac_try\"") >&5
    1945   (eval $ac_try) 2>&5
    1946   ac_status=$?
    1947   echo "$as_me:1947: \$? = $ac_status" >&5
    1948   (exit $ac_status); }; }; then
    1949   :
    1950 else
    1951   echo "$as_me: failed program was:" >&5
    1952 cat conftest.$ac_ext >&5
    1953 continue
    1954 fi
    1955 rm -f conftest.$ac_objext conftest.$ac_ext
    1956   cat >conftest.$ac_ext <<_ACEOF
    1957 #line 1957 "configure"
    1958 #include "confdefs.h"
    1959 $ac_declaration
    1960 int
    1961 main ()
    1962 {
    1963 exit (42);
    1964   ;
    1965   return 0;
    1966 }
    1967 _ACEOF
    1968 rm -f conftest.$ac_objext
    1969 if { (eval echo "$as_me:1969: \"$ac_compile\"") >&5
    1970   (eval $ac_compile) 2>&5
    1971   ac_status=$?
    1972   echo "$as_me:1972: \$? = $ac_status" >&5
    1973   (exit $ac_status); } &&
    1974          { ac_try='test -s conftest.$ac_objext'
    1975   { (eval echo "$as_me:1975: \"$ac_try\"") >&5
    1976   (eval $ac_try) 2>&5
    1977   ac_status=$?
    1978   echo "$as_me:1978: \$? = $ac_status" >&5
    1979   (exit $ac_status); }; }; then
    1980   break
    1981 else
    1982   echo "$as_me: failed program was:" >&5
    1983 cat conftest.$ac_ext >&5
    1984 fi
    1985 rm -f conftest.$ac_objext conftest.$ac_ext
    1986 done
    1987 rm -f conftest*
    1988 if test -n "$ac_declaration"; then
    1989   echo '#ifdef __cplusplus' >>confdefs.h
    1990   echo $ac_declaration      >>confdefs.h
    1991   echo '#endif'             >>confdefs.h
    1992 fi
    1993 
    1994 ac_ext=c
    1995 ac_cpp='$CPP $CPPFLAGS'
    1996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1999935
    2000936if test `uname` = "Darwin"; then
     
    2002938  ARFLAGS="-static -o"
    2003939  RANLIB=":"
    2004 
     940 
     941 
     942 
     943elif test `uname` = "IRIX64"; then
     944  AR=CC
     945  ARFLAGS="-ar -prelink -o"
     946 
     947 
     948  RANLIB=":"
     949 
    2005950else
    2006951  ARFLAGS="-cr"
    2007 
     952 
    2008953  if test -x /usr/bin/ar; then
    2009954    # Extract the first word of "ar", so it can be a program name with args.
    2010955set dummy ar; ac_word=$2
    2011 echo "$as_me:2011: checking for $ac_word" >&5
    2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2013 if test "${ac_cv_path_AR+set}" = set; then
    2014   echo $ECHO_N "(cached) $ECHO_C" >&6
    2015 else
    2016   case $AR in
    2017   [\\/]* | ?:[\\/]*)
     956echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     957echo "configure:958: checking for $ac_word" >&5
     958if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
     959  echo $ac_n "(cached) $ac_c" 1>&6
     960else
     961  case "$AR" in
     962  /*)
    2018963  ac_cv_path_AR="$AR" # Let the user override the test with a path.
    2019964  ;;
     965  ?:/*)                 
     966  ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
     967  ;;
    2020968  *)
    2021   ac_save_IFS=$IFS; IFS=$ac_path_separator
    2022 ac_dummy="/usr/bin:$PATH"
    2023 for ac_dir in $ac_dummy; do
    2024   IFS=$ac_save_IFS
    2025   test -z "$ac_dir" && ac_dir=.
    2026   if $as_executable_p "$ac_dir/$ac_word"; then
    2027    ac_cv_path_AR="$ac_dir/$ac_word"
    2028    echo "$as_me:2028: found $ac_dir/$ac_word" >&5
    2029    break
    2030 fi
    2031 done
    2032 
     969  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     970  ac_dummy="/usr/bin:$PATH"
     971  for ac_dir in $ac_dummy; do
     972    test -z "$ac_dir" && ac_dir=.
     973    if test -f $ac_dir/$ac_word; then
     974      ac_cv_path_AR="$ac_dir/$ac_word"
     975      break
     976    fi
     977  done
     978  IFS="$ac_save_ifs"
    2033979  test -z "$ac_cv_path_AR" && ac_cv_path_AR="/usr/bin/ar"
    2034980  ;;
    2035981esac
    2036982fi
    2037 AR=$ac_cv_path_AR
    2038 
     983AR="$ac_cv_path_AR"
    2039984if test -n "$AR"; then
    2040   echo "$as_me:2040: result: $AR" >&5
    2041 echo "${ECHO_T}$AR" >&6
    2042 else
    2043   echo "$as_me:2043: result: no" >&5
    2044 echo "${ECHO_T}no" >&6
    2045 fi
    2046 
     985  echo "$ac_t""$AR" 1>&6
     986else
     987  echo "$ac_t""no" 1>&6
     988fi
     989 
    2047990  else
    2048991    # Extract the first word of "ar", so it can be a program name with args.
    2049992set dummy ar; ac_word=$2
    2050 echo "$as_me:2050: checking for $ac_word" >&5
    2051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2052 if test "${ac_cv_prog_AR+set}" = set; then
    2053   echo $ECHO_N "(cached) $ECHO_C" >&6
     993echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     994echo "configure:995: checking for $ac_word" >&5
     995if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
     996  echo $ac_n "(cached) $ac_c" 1>&6
    2054997else
    2055998  if test -n "$AR"; then
    2056999  ac_cv_prog_AR="$AR" # Let the user override the test.
    20571000else
    2058   ac_save_IFS=$IFS; IFS=$ac_path_separator
    2059 ac_dummy="$PATH"
    2060 for ac_dir in $ac_dummy; do
    2061   IFS=$ac_save_IFS
    2062   test -z "$ac_dir" && ac_dir=.
    2063   $as_executable_p "$ac_dir/$ac_word" || continue
    2064 ac_cv_prog_AR=""
    2065 echo "$as_me:2065: found $ac_dir/$ac_word" >&5
    2066 break
    2067 done
    2068 
    2069 fi
    2070 fi
    2071 AR=$ac_cv_prog_AR
     1001  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1002  ac_dummy="$PATH"
     1003  for ac_dir in $ac_dummy; do
     1004    test -z "$ac_dir" && ac_dir=.
     1005    if test -f $ac_dir/$ac_word; then
     1006      ac_cv_prog_AR=""
     1007      break
     1008    fi
     1009  done
     1010  IFS="$ac_save_ifs"
     1011fi
     1012fi
     1013AR="$ac_cv_prog_AR"
    20721014if test -n "$AR"; then
    2073   echo "$as_me:2073: result: $AR" >&5
    2074 echo "${ECHO_T}$AR" >&6
    2075 else
    2076   echo "$as_me:2076: result: no" >&5
    2077 echo "${ECHO_T}no" >&6
     1015  echo "$ac_t""$AR" 1>&6
     1016else
     1017  echo "$ac_t""no" 1>&6
    20781018fi
    20791019
     
    20821022    # Extract the first word of "ranlib", so it can be a program name with args.
    20831023set dummy ranlib; ac_word=$2
    2084 echo "$as_me:2084: checking for $ac_word" >&5
    2085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2086 if test "${ac_cv_path_RANLIB+set}" = set; then
    2087   echo $ECHO_N "(cached) $ECHO_C" >&6
    2088 else
    2089   case $RANLIB in
    2090   [\\/]* | ?:[\\/]*)
     1024echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1025echo "configure:1026: checking for $ac_word" >&5
     1026if eval "test \"`echo '$''{'ac_cv_path_RANLIB'+set}'`\" = set"; then
     1027  echo $ac_n "(cached) $ac_c" 1>&6
     1028else
     1029  case "$RANLIB" in
     1030  /*)
    20911031  ac_cv_path_RANLIB="$RANLIB" # Let the user override the test with a path.
    20921032  ;;
     1033  ?:/*)                 
     1034  ac_cv_path_RANLIB="$RANLIB" # Let the user override the test with a dos path.
     1035  ;;
    20931036  *)
    2094   ac_save_IFS=$IFS; IFS=$ac_path_separator
    2095 ac_dummy="/usr/bin:$PATH"
    2096 for ac_dir in $ac_dummy; do
    2097   IFS=$ac_save_IFS
    2098   test -z "$ac_dir" && ac_dir=.
    2099   if $as_executable_p "$ac_dir/$ac_word"; then
    2100    ac_cv_path_RANLIB="$ac_dir/$ac_word"
    2101    echo "$as_me:2101: found $ac_dir/$ac_word" >&5
    2102    break
    2103 fi
    2104 done
    2105 
     1037  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1038  ac_dummy="/usr/bin:$PATH"
     1039  for ac_dir in $ac_dummy; do
     1040    test -z "$ac_dir" && ac_dir=.
     1041    if test -f $ac_dir/$ac_word; then
     1042      ac_cv_path_RANLIB="$ac_dir/$ac_word"
     1043      break
     1044    fi
     1045  done
     1046  IFS="$ac_save_ifs"
    21061047  test -z "$ac_cv_path_RANLIB" && ac_cv_path_RANLIB="/usr/bin/ranlib"
    21071048  ;;
    21081049esac
    21091050fi
    2110 RANLIB=$ac_cv_path_RANLIB
    2111 
     1051RANLIB="$ac_cv_path_RANLIB"
    21121052if test -n "$RANLIB"; then
    2113   echo "$as_me:2113: result: $RANLIB" >&5
    2114 echo "${ECHO_T}$RANLIB" >&6
    2115 else
    2116   echo "$as_me:2116: result: no" >&5
    2117 echo "${ECHO_T}no" >&6
    2118 fi
    2119 
     1053  echo "$ac_t""$RANLIB" 1>&6
     1054else
     1055  echo "$ac_t""no" 1>&6
     1056fi
     1057 
    21201058  else
    2121     if test -n "$ac_tool_prefix"; then
    2122   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    2123 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2124 echo "$as_me:2124: checking for $ac_word" >&5
    2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2126 if test "${ac_cv_prog_RANLIB+set}" = set; then
    2127   echo $ECHO_N "(cached) $ECHO_C" >&6
     1059    # Extract the first word of "ranlib", so it can be a program name with args.
     1060set dummy ranlib; ac_word=$2
     1061echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1062echo "configure:1063: checking for $ac_word" >&5
     1063if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
     1064  echo $ac_n "(cached) $ac_c" 1>&6
    21281065else
    21291066  if test -n "$RANLIB"; then
    21301067  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    21311068else
    2132   ac_save_IFS=$IFS; IFS=$ac_path_separator
    2133 ac_dummy="$PATH"
    2134 for ac_dir in $ac_dummy; do
    2135   IFS=$ac_save_IFS
    2136   test -z "$ac_dir" && ac_dir=.
    2137   $as_executable_p "$ac_dir/$ac_word" || continue
    2138 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2139 echo "$as_me:2139: found $ac_dir/$ac_word" >&5
    2140 break
    2141 done
    2142 
    2143 fi
    2144 fi
    2145 RANLIB=$ac_cv_prog_RANLIB
     1069  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1070  ac_dummy="$PATH"
     1071  for ac_dir in $ac_dummy; do
     1072    test -z "$ac_dir" && ac_dir=.
     1073    if test -f $ac_dir/$ac_word; then
     1074      ac_cv_prog_RANLIB="ranlib"
     1075      break
     1076    fi
     1077  done
     1078  IFS="$ac_save_ifs"
     1079  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
     1080fi
     1081fi
     1082RANLIB="$ac_cv_prog_RANLIB"
    21461083if test -n "$RANLIB"; then
    2147   echo "$as_me:2147: result: $RANLIB" >&5
    2148 echo "${ECHO_T}$RANLIB" >&6
    2149 else
    2150   echo "$as_me:2150: result: no" >&5
    2151 echo "${ECHO_T}no" >&6
    2152 fi
    2153 
    2154 fi
    2155 if test -z "$ac_cv_prog_RANLIB"; then
    2156   ac_ct_RANLIB=$RANLIB
    2157   # Extract the first word of "ranlib", so it can be a program name with args.
    2158 set dummy ranlib; ac_word=$2
    2159 echo "$as_me:2159: checking for $ac_word" >&5
    2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    2162   echo $ECHO_N "(cached) $ECHO_C" >&6
    2163 else
    2164   if test -n "$ac_ct_RANLIB"; then
    2165   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    2166 else
    2167   ac_save_IFS=$IFS; IFS=$ac_path_separator
    2168 ac_dummy="$PATH"
    2169 for ac_dir in $ac_dummy; do
    2170   IFS=$ac_save_IFS
    2171   test -z "$ac_dir" && ac_dir=.
    2172   $as_executable_p "$ac_dir/$ac_word" || continue
    2173 ac_cv_prog_ac_ct_RANLIB="ranlib"
    2174 echo "$as_me:2174: found $ac_dir/$ac_word" >&5
    2175 break
    2176 done
    2177 
    2178   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    2179 fi
    2180 fi
    2181 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    2182 if test -n "$ac_ct_RANLIB"; then
    2183   echo "$as_me:2183: result: $ac_ct_RANLIB" >&5
    2184 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    2185 else
    2186   echo "$as_me:2186: result: no" >&5
    2187 echo "${ECHO_T}no" >&6
    2188 fi
    2189 
    2190   RANLIB=$ac_ct_RANLIB
    2191 else
    2192   RANLIB="$ac_cv_prog_RANLIB"
     1084  echo "$ac_t""$RANLIB" 1>&6
     1085else
     1086  echo "$ac_t""no" 1>&6
    21931087fi
    21941088
     
    22061100    ac_install_sh="$ac_aux_dir/install.sh -c"
    22071101    break
    2208   elif test -f $ac_dir/shtool; then
    2209     ac_aux_dir=$ac_dir
    2210     ac_install_sh="$ac_aux_dir/shtool install -c"
    2211     break
    22121102  fi
    22131103done
    22141104if test -z "$ac_aux_dir"; then
    2215   { { echo "$as_me:2215: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2216 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    2217    { (exit 1); exit 1; }; }
    2218 fi
    2219 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2220 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2221 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     1105  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
     1106fi
     1107ac_config_guess=$ac_aux_dir/config.guess
     1108ac_config_sub=$ac_aux_dir/config.sub
     1109ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
    22221110
    22231111# Find a good install program.  We prefer a C program (faster),
     
    22281116# IRIX /sbin/install
    22291117# AIX /bin/install
    2230 # AmigaOS /C/install, which installs bootblocks on floppy discs
    22311118# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    22321119# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    22331120# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    22341121# ./install, which can be erroneously created by make from ./install.sh.
    2235 echo "$as_me:2235: checking for a BSD compatible install" >&5
    2236 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
     1122echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
     1123echo "configure:1124: checking for a BSD compatible install" >&5
    22371124if test -z "$INSTALL"; then
    2238 if test "${ac_cv_path_install+set}" = set; then
    2239   echo $ECHO_N "(cached) $ECHO_C" >&6
    2240 else
    2241     ac_save_IFS=$IFS; IFS=$ac_path_separator
     1125if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     1126  echo $ac_n "(cached) $ac_c" 1>&6
     1127else
     1128    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
    22421129  for ac_dir in $PATH; do
    2243     IFS=$ac_save_IFS
    22441130    # Account for people who put trailing slashes in PATH elements.
    2245     case $ac_dir/ in
    2246     / | ./ | .// | /cC/* \
    2247     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
    2248     | /usr/ucb/* ) ;;
     1131    case "$ac_dir/" in
     1132    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    22491133    *)
    22501134      # OSF1 and SCO ODT 3.0 have their own names for install.
     
    22521136      # by default.
    22531137      for ac_prog in ginstall scoinst install; do
    2254         if $as_executable_p "$ac_dir/$ac_prog"; then
     1138        if test -f $ac_dir/$ac_prog; then
    22551139          if test $ac_prog = install &&
    2256             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
     1140            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    22571141            # AIX install.  It has an incompatible calling convention.
    2258             :
    2259           elif test $ac_prog = install &&
    2260             grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
    2261             # program-specific install script used by HP pwplus--don't use.
    22621142            :
    22631143          else
     
    22701150    esac
    22711151  done
     1152  IFS="$ac_save_IFS"
    22721153
    22731154fi
    22741155  if test "${ac_cv_path_install+set}" = set; then
    2275     INSTALL=$ac_cv_path_install
     1156    INSTALL="$ac_cv_path_install"
    22761157  else
    22771158    # As a last resort, use the slow shell script.  We don't cache a
     
    22791160    # break other packages using the cache if that directory is
    22801161    # removed, or if the path is relative.
    2281     INSTALL=$ac_install_sh
    2282   fi
    2283 fi
    2284 echo "$as_me:2284: result: $INSTALL" >&5
    2285 echo "${ECHO_T}$INSTALL" >&6
     1162    INSTALL="$ac_install_sh"
     1163  fi
     1164fi
     1165echo "$ac_t""$INSTALL" 1>&6
    22861166
    22871167# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    22891169test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    22901170
    2291 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     1171test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
    22921172
    22931173test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     1174
    22941175
    22951176if test $GCC = "yes"; then
     
    22991180fi
    23001181
    2301 ac_ext=c
    2302 ac_cpp='$CPP $CPPFLAGS'
    2303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2306 echo "$as_me:2306: checking how to run the C preprocessor" >&5
    2307 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    2308 # On Suns, sometimes $CPP names a directory.
    2309 if test -n "$CPP" && test -d "$CPP"; then
    2310   CPP=
    2311 fi
    2312 if test -z "$CPP"; then
    2313   if test "${ac_cv_prog_CPP+set}" = set; then
    2314   echo $ECHO_N "(cached) $ECHO_C" >&6
    2315 else
    2316       # Double quotes because CPP needs to be expanded
    2317     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    2318     do
    2319       ac_preproc_ok=false
    2320 for ac_c_preproc_warn_flag in '' yes
    2321 do
    2322   # Use a header file that comes with gcc, so configuring glibc
    2323   # with a fresh cross-compiler works.
    2324   # On the NeXT, cc -E runs the code through the compiler's parser,
    2325   # not just through cpp. "Syntax error" is here to catch this case.
    2326   cat >conftest.$ac_ext <<_ACEOF
    2327 #line 2327 "configure"
     1182
     1183echo $ac_n "checking size of short""... $ac_c" 1>&6
     1184echo "configure:1185: checking size of short" >&5
     1185if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
     1186  echo $ac_n "(cached) $ac_c" 1>&6
     1187else
     1188  if test "$cross_compiling" = yes; then
     1189    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
     1190else
     1191  cat > conftest.$ac_ext <<EOF
     1192#line 1193 "configure"
    23281193#include "confdefs.h"
    2329 #include <assert.h>
    2330                      Syntax error
    2331 _ACEOF
    2332 if { (eval echo "$as_me:2332: \"$ac_cpp conftest.$ac_ext\"") >&5
    2333   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2334   ac_status=$?
    2335   egrep -v '^ *\+' conftest.er1 >conftest.err
    2336   rm -f conftest.er1
    2337   cat conftest.err >&5
    2338   echo "$as_me:2338: \$? = $ac_status" >&5
    2339   (exit $ac_status); } >/dev/null; then
    2340   if test -s conftest.err; then
    2341     ac_cpp_err=$ac_c_preproc_warn_flag
    2342   else
    2343     ac_cpp_err=
    2344   fi
    2345 else
    2346   ac_cpp_err=yes
    2347 fi
    2348 if test -z "$ac_cpp_err"; then
    2349   :
    2350 else
    2351   echo "$as_me: failed program was:" >&5
     1194#include <stdio.h>
     1195main()
     1196{
     1197  FILE *f=fopen("conftestval", "w");
     1198  if (!f) exit(1);
     1199  fprintf(f, "%d\n", sizeof(short));
     1200  exit(0);
     1201}
     1202EOF
     1203if { (eval echo configure:1204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1204then
     1205  ac_cv_sizeof_short=`cat conftestval`
     1206else
     1207  echo "configure: failed program was:" >&5
    23521208  cat conftest.$ac_ext >&5
    2353   # Broken: fails on valid input.
    2354 continue
    2355 fi
    2356 rm -f conftest.err conftest.$ac_ext
    2357 
    2358   # OK, works on sane cases.  Now check whether non-existent headers
    2359   # can be detected and how.
    2360   cat >conftest.$ac_ext <<_ACEOF
    2361 #line 2361 "configure"
     1209  rm -fr conftest*
     1210  ac_cv_sizeof_short=0
     1211fi
     1212rm -fr conftest*
     1213fi
     1214
     1215fi
     1216echo "$ac_t""$ac_cv_sizeof_short" 1>&6
     1217cat >> confdefs.h <<EOF
     1218#define SIZEOF_SHORT $ac_cv_sizeof_short
     1219EOF
     1220
     1221
     1222echo $ac_n "checking size of int""... $ac_c" 1>&6
     1223echo "configure:1224: checking size of int" >&5
     1224if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
     1225  echo $ac_n "(cached) $ac_c" 1>&6
     1226else
     1227  if test "$cross_compiling" = yes; then
     1228    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
     1229else
     1230  cat > conftest.$ac_ext <<EOF
     1231#line 1232 "configure"
    23621232#include "confdefs.h"
    2363 #include <ac_nonexistent.h>
    2364 _ACEOF
    2365 if { (eval echo "$as_me:2365: \"$ac_cpp conftest.$ac_ext\"") >&5
    2366   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2367   ac_status=$?
    2368   egrep -v '^ *\+' conftest.er1 >conftest.err
    2369   rm -f conftest.er1
    2370   cat conftest.err >&5
    2371   echo "$as_me:2371: \$? = $ac_status" >&5
    2372   (exit $ac_status); } >/dev/null; then
    2373   if test -s conftest.err; then
    2374     ac_cpp_err=$ac_c_preproc_warn_flag
    2375   else
    2376     ac_cpp_err=
    2377   fi
    2378 else
    2379   ac_cpp_err=yes
    2380 fi
    2381 if test -z "$ac_cpp_err"; then
    2382   # Broken: success on invalid input.
    2383 continue
    2384 else
    2385   echo "$as_me: failed program was:" >&5
     1233#include <stdio.h>
     1234main()
     1235{
     1236  FILE *f=fopen("conftestval", "w");
     1237  if (!f) exit(1);
     1238  fprintf(f, "%d\n", sizeof(int));
     1239  exit(0);
     1240}
     1241EOF
     1242if { (eval echo configure:1243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1243then
     1244  ac_cv_sizeof_int=`cat conftestval`
     1245else
     1246  echo "configure: failed program was:" >&5
    23861247  cat conftest.$ac_ext >&5
    2387   # Passes both tests.
    2388 ac_preproc_ok=:
    2389 break
    2390 fi
    2391 rm -f conftest.err conftest.$ac_ext
    2392 
    2393 done
    2394 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2395 rm -f conftest.err conftest.$ac_ext
    2396 if $ac_preproc_ok; then
    2397   break
    2398 fi
    2399 
    2400     done
    2401     ac_cv_prog_CPP=$CPP
    2402 
    2403 fi
    2404   CPP=$ac_cv_prog_CPP
    2405 else
    2406   ac_cv_prog_CPP=$CPP
    2407 fi
    2408 echo "$as_me:2408: result: $CPP" >&5
    2409 echo "${ECHO_T}$CPP" >&6
    2410 ac_preproc_ok=false
    2411 for ac_c_preproc_warn_flag in '' yes
    2412 do
    2413   # Use a header file that comes with gcc, so configuring glibc
    2414   # with a fresh cross-compiler works.
    2415   # On the NeXT, cc -E runs the code through the compiler's parser,
    2416   # not just through cpp. "Syntax error" is here to catch this case.
    2417   cat >conftest.$ac_ext <<_ACEOF
    2418 #line 2418 "configure"
     1248  rm -fr conftest*
     1249  ac_cv_sizeof_int=0
     1250fi
     1251rm -fr conftest*
     1252fi
     1253
     1254fi
     1255echo "$ac_t""$ac_cv_sizeof_int" 1>&6
     1256cat >> confdefs.h <<EOF
     1257#define SIZEOF_INT $ac_cv_sizeof_int
     1258EOF
     1259
     1260
     1261echo $ac_n "checking size of long""... $ac_c" 1>&6
     1262echo "configure:1263: checking size of long" >&5
     1263if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
     1264  echo $ac_n "(cached) $ac_c" 1>&6
     1265else
     1266  if test "$cross_compiling" = yes; then
     1267    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
     1268else
     1269  cat > conftest.$ac_ext <<EOF
     1270#line 1271 "configure"
    24191271#include "confdefs.h"
    2420 #include <assert.h>
    2421                      Syntax error
    2422 _ACEOF
    2423 if { (eval echo "$as_me:2423: \"$ac_cpp conftest.$ac_ext\"") >&5
    2424   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2425   ac_status=$?
    2426   egrep -v '^ *\+' conftest.er1 >conftest.err
    2427   rm -f conftest.er1
    2428   cat conftest.err >&5
    2429   echo "$as_me:2429: \$? = $ac_status" >&5
    2430   (exit $ac_status); } >/dev/null; then
    2431   if test -s conftest.err; then
    2432     ac_cpp_err=$ac_c_preproc_warn_flag
    2433   else
    2434     ac_cpp_err=
    2435   fi
    2436 else
    2437   ac_cpp_err=yes
    2438 fi
    2439 if test -z "$ac_cpp_err"; then
    2440   :
    2441 else
    2442   echo "$as_me: failed program was:" >&5
     1272#include <stdio.h>
     1273main()
     1274{
     1275  FILE *f=fopen("conftestval", "w");
     1276  if (!f) exit(1);
     1277  fprintf(f, "%d\n", sizeof(long));
     1278  exit(0);
     1279}
     1280EOF
     1281if { (eval echo configure:1282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1282then
     1283  ac_cv_sizeof_long=`cat conftestval`
     1284else
     1285  echo "configure: failed program was:" >&5
    24431286  cat conftest.$ac_ext >&5
    2444   # Broken: fails on valid input.
    2445 continue
    2446 fi
    2447 rm -f conftest.err conftest.$ac_ext
    2448 
    2449   # OK, works on sane cases.  Now check whether non-existent headers
    2450   # can be detected and how.
    2451   cat >conftest.$ac_ext <<_ACEOF
    2452 #line 2452 "configure"
     1287  rm -fr conftest*
     1288  ac_cv_sizeof_long=0
     1289fi
     1290rm -fr conftest*
     1291fi
     1292
     1293fi
     1294echo "$ac_t""$ac_cv_sizeof_long" 1>&6
     1295cat >> confdefs.h <<EOF
     1296#define SIZEOF_LONG $ac_cv_sizeof_long
     1297EOF
     1298
     1299
     1300echo $ac_n "checking size of long long""... $ac_c" 1>&6
     1301echo "configure:1302: checking size of long long" >&5
     1302if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
     1303  echo $ac_n "(cached) $ac_c" 1>&6
     1304else
     1305  if test "$cross_compiling" = yes; then
     1306    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
     1307else
     1308  cat > conftest.$ac_ext <<EOF
     1309#line 1310 "configure"
    24531310#include "confdefs.h"
    2454 #include <ac_nonexistent.h>
    2455 _ACEOF
    2456 if { (eval echo "$as_me:2456: \"$ac_cpp conftest.$ac_ext\"") >&5
    2457   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2458   ac_status=$?
    2459   egrep -v '^ *\+' conftest.er1 >conftest.err
    2460   rm -f conftest.er1
    2461   cat conftest.err >&5
    2462   echo "$as_me:2462: \$? = $ac_status" >&5
    2463   (exit $ac_status); } >/dev/null; then
    2464   if test -s conftest.err; then
    2465     ac_cpp_err=$ac_c_preproc_warn_flag
    2466   else
    2467     ac_cpp_err=
    2468   fi
    2469 else
    2470   ac_cpp_err=yes
    2471 fi
    2472 if test -z "$ac_cpp_err"; then
    2473   # Broken: success on invalid input.
    2474 continue
    2475 else
    2476   echo "$as_me: failed program was:" >&5
     1311#include <stdio.h>
     1312main()
     1313{
     1314  FILE *f=fopen("conftestval", "w");
     1315  if (!f) exit(1);
     1316  fprintf(f, "%d\n", sizeof(long long));
     1317  exit(0);
     1318}
     1319EOF
     1320if { (eval echo configure:1321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1321then
     1322  ac_cv_sizeof_long_long=`cat conftestval`
     1323else
     1324  echo "configure: failed program was:" >&5
    24771325  cat conftest.$ac_ext >&5
    2478   # Passes both tests.
    2479 ac_preproc_ok=:
    2480 break
    2481 fi
    2482 rm -f conftest.err conftest.$ac_ext
    2483 
    2484 done
    2485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2486 rm -f conftest.err conftest.$ac_ext
    2487 if $ac_preproc_ok; then
    2488   :
    2489 else
    2490   { { echo "$as_me:2490: error: C preprocessor \"$CPP\" fails sanity check" >&5
    2491 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
    2492    { (exit 1); exit 1; }; }
    2493 fi
    2494 
    2495 ac_ext=c
    2496 ac_cpp='$CPP $CPPFLAGS'
    2497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2500 
    2501 echo "$as_me:2501: checking for ANSI C header files" >&5
    2502 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    2503 if test "${ac_cv_header_stdc+set}" = set; then
    2504   echo $ECHO_N "(cached) $ECHO_C" >&6
    2505 else
    2506   cat >conftest.$ac_ext <<_ACEOF
    2507 #line 2507 "configure"
     1326  rm -fr conftest*
     1327  ac_cv_sizeof_long_long=0
     1328fi
     1329rm -fr conftest*
     1330fi
     1331
     1332fi
     1333echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
     1334cat >> confdefs.h <<EOF
     1335#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
     1336EOF
     1337
     1338
     1339echo $ac_n "checking size of float""... $ac_c" 1>&6
     1340echo "configure:1341: checking size of float" >&5
     1341if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then
     1342  echo $ac_n "(cached) $ac_c" 1>&6
     1343else
     1344  if test "$cross_compiling" = yes; then
     1345    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
     1346else
     1347  cat > conftest.$ac_ext <<EOF
     1348#line 1349 "configure"
    25081349#include "confdefs.h"
    2509 #include <stdlib.h>
    2510 #include <stdarg.h>
    2511 #include <string.h>
    2512 #include <float.h>
    2513 
    2514 _ACEOF
    2515 if { (eval echo "$as_me:2515: \"$ac_cpp conftest.$ac_ext\"") >&5
    2516   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2517   ac_status=$?
    2518   egrep -v '^ *\+' conftest.er1 >conftest.err
    2519   rm -f conftest.er1
    2520   cat conftest.err >&5
    2521   echo "$as_me:2521: \$? = $ac_status" >&5
    2522   (exit $ac_status); } >/dev/null; then
    2523   if test -s conftest.err; then
    2524     ac_cpp_err=$ac_c_preproc_warn_flag
    2525   else
    2526     ac_cpp_err=
    2527   fi
    2528 else
    2529   ac_cpp_err=yes
    2530 fi
    2531 if test -z "$ac_cpp_err"; then
    2532   ac_cv_header_stdc=yes
    2533 else
    2534   echo "$as_me: failed program was:" >&5
     1350#include <stdio.h>
     1351main()
     1352{
     1353  FILE *f=fopen("conftestval", "w");
     1354  if (!f) exit(1);
     1355  fprintf(f, "%d\n", sizeof(float));
     1356  exit(0);
     1357}
     1358EOF
     1359if { (eval echo configure:1360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1360then
     1361  ac_cv_sizeof_float=`cat conftestval`
     1362else
     1363  echo "configure: failed program was:" >&5
    25351364  cat conftest.$ac_ext >&5
    2536   ac_cv_header_stdc=no
    2537 fi
    2538 rm -f conftest.err conftest.$ac_ext
    2539 
    2540 if test $ac_cv_header_stdc = yes; then
    2541   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    2542   cat >conftest.$ac_ext <<_ACEOF
    2543 #line 2543 "configure"
     1365  rm -fr conftest*
     1366  ac_cv_sizeof_float=0
     1367fi
     1368rm -fr conftest*
     1369fi
     1370
     1371fi
     1372echo "$ac_t""$ac_cv_sizeof_float" 1>&6
     1373cat >> confdefs.h <<EOF
     1374#define SIZEOF_FLOAT $ac_cv_sizeof_float
     1375EOF
     1376
     1377
     1378echo $ac_n "checking size of double""... $ac_c" 1>&6
     1379echo "configure:1380: checking size of double" >&5
     1380if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
     1381  echo $ac_n "(cached) $ac_c" 1>&6
     1382else
     1383  if test "$cross_compiling" = yes; then
     1384    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
     1385else
     1386  cat > conftest.$ac_ext <<EOF
     1387#line 1388 "configure"
    25441388#include "confdefs.h"
    2545 #include <string.h>
    2546 
    2547 _ACEOF
    2548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2549   egrep "memchr" >/dev/null 2>&1; then
    2550   :
    2551 else
    2552   ac_cv_header_stdc=no
    2553 fi
    2554 rm -f conftest*
    2555 
    2556 fi
    2557 
    2558 if test $ac_cv_header_stdc = yes; then
    2559   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    2560   cat >conftest.$ac_ext <<_ACEOF
    2561 #line 2561 "configure"
     1389#include <stdio.h>
     1390main()
     1391{
     1392  FILE *f=fopen("conftestval", "w");
     1393  if (!f) exit(1);
     1394  fprintf(f, "%d\n", sizeof(double));
     1395  exit(0);
     1396}
     1397EOF
     1398if { (eval echo configure:1399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1399then
     1400  ac_cv_sizeof_double=`cat conftestval`
     1401else
     1402  echo "configure: failed program was:" >&5
     1403  cat conftest.$ac_ext >&5
     1404  rm -fr conftest*
     1405  ac_cv_sizeof_double=0
     1406fi
     1407rm -fr conftest*
     1408fi
     1409
     1410fi
     1411echo "$ac_t""$ac_cv_sizeof_double" 1>&6
     1412cat >> confdefs.h <<EOF
     1413#define SIZEOF_DOUBLE $ac_cv_sizeof_double
     1414EOF
     1415
     1416
     1417echo $ac_n "checking size of long double""... $ac_c" 1>&6
     1418echo "configure:1419: checking size of long double" >&5
     1419if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then
     1420  echo $ac_n "(cached) $ac_c" 1>&6
     1421else
     1422  if test "$cross_compiling" = yes; then
     1423    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
     1424else
     1425  cat > conftest.$ac_ext <<EOF
     1426#line 1427 "configure"
    25621427#include "confdefs.h"
    2563 #include <stdlib.h>
    2564 
    2565 _ACEOF
    2566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2567   egrep "free" >/dev/null 2>&1; then
    2568   :
    2569 else
    2570   ac_cv_header_stdc=no
    2571 fi
    2572 rm -f conftest*
    2573 
    2574 fi
    2575 
    2576 if test $ac_cv_header_stdc = yes; then
    2577   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    2578   if test "$cross_compiling" = yes; then
    2579   :
    2580 else
    2581   cat >conftest.$ac_ext <<_ACEOF
    2582 #line 2582 "configure"
    2583 #include "confdefs.h"
    2584 #include <ctype.h>
    2585 #if ((' ' & 0x0FF) == 0x020)
    2586 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    2587 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    2588 #else
    2589 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
    2590                      || ('j' <= (c) && (c) <= 'r') \
    2591                      || ('s' <= (c) && (c) <= 'z'))
    2592 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    2593 #endif
    2594 
    2595 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    2596 int
    2597 main ()
     1428#include <stdio.h>
     1429main()
    25981430{
    2599   int i;
    2600   for (i = 0; i < 256; i++)
    2601     if (XOR (islower (i), ISLOWER (i))
    2602         || toupper (i) != TOUPPER (i))
    2603       exit(2);
    2604   exit (0);
     1431  FILE *f=fopen("conftestval", "w");
     1432  if (!f) exit(1);
     1433  fprintf(f, "%d\n", sizeof(long double));
     1434  exit(0);
    26051435}
    2606 _ACEOF
    2607 rm -f conftest$ac_exeext
    2608 if { (eval echo "$as_me:2608: \"$ac_link\"") >&5
    2609   (eval $ac_link) 2>&5
    2610   ac_status=$?
    2611   echo "$as_me:2611: \$? = $ac_status" >&5
    2612   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2613   { (eval echo "$as_me:2613: \"$ac_try\"") >&5
    2614   (eval $ac_try) 2>&5
    2615   ac_status=$?
    2616   echo "$as_me:2616: \$? = $ac_status" >&5
    2617   (exit $ac_status); }; }; then
    2618   :
    2619 else
    2620   echo "$as_me: program exited with status $ac_status" >&5
    2621 echo "$as_me: failed program was:" >&5
    2622 cat conftest.$ac_ext >&5
    2623 ac_cv_header_stdc=no
    2624 fi
    2625 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    2626 fi
    2627 fi
    2628 fi
    2629 echo "$as_me:2629: result: $ac_cv_header_stdc" >&5
    2630 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    2631 if test $ac_cv_header_stdc = yes; then
    2632 
    2633 cat >>confdefs.h <<\EOF
    2634 #define STDC_HEADERS 1
    2635 EOF
    2636 
    2637 fi
    2638 
    2639 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    2640 
    2641 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    2642                   inttypes.h stdint.h unistd.h
    2643 do
    2644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    2645 echo "$as_me:2645: checking for $ac_header" >&5
    2646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    2647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    2648   echo $ECHO_N "(cached) $ECHO_C" >&6
    2649 else
    2650   cat >conftest.$ac_ext <<_ACEOF
    2651 #line 2651 "configure"
    2652 #include "confdefs.h"
    2653 $ac_includes_default
    2654 #include <$ac_header>
    2655 _ACEOF
    2656 rm -f conftest.$ac_objext
    2657 if { (eval echo "$as_me:2657: \"$ac_compile\"") >&5
    2658   (eval $ac_compile) 2>&5
    2659   ac_status=$?
    2660   echo "$as_me:2660: \$? = $ac_status" >&5
    2661   (exit $ac_status); } &&
    2662          { ac_try='test -s conftest.$ac_objext'
    2663   { (eval echo "$as_me:2663: \"$ac_try\"") >&5
    2664   (eval $ac_try) 2>&5
    2665   ac_status=$?
    2666   echo "$as_me:2666: \$? = $ac_status" >&5
    2667   (exit $ac_status); }; }; then
    2668   eval "$as_ac_Header=yes"
    2669 else
    2670   echo "$as_me: failed program was:" >&5
    2671 cat conftest.$ac_ext >&5
    2672 eval "$as_ac_Header=no"
    2673 fi
    2674 rm -f conftest.$ac_objext conftest.$ac_ext
    2675 fi
    2676 echo "$as_me:2676: result: `eval echo '${'$as_ac_Header'}'`" >&5
    2677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    2678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    2679   cat >>confdefs.h <<EOF
    2680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    2681 EOF
    2682 
    2683 fi
    2684 done
    2685 
    2686 echo "$as_me:2686: checking for short" >&5
    2687 echo $ECHO_N "checking for short... $ECHO_C" >&6
    2688 if test "${ac_cv_type_short+set}" = set; then
    2689   echo $ECHO_N "(cached) $ECHO_C" >&6
    2690 else
    2691   cat >conftest.$ac_ext <<_ACEOF
    2692 #line 2692 "configure"
    2693 #include "confdefs.h"
    2694 $ac_includes_default
    2695 int
    2696 main ()
    2697 {
    2698 if ((short *) 0)
    2699   return 0;
    2700 if (sizeof (short))
    2701   return 0;
    2702   ;
    2703   return 0;
    2704 }
    2705 _ACEOF
    2706 rm -f conftest.$ac_objext
    2707 if { (eval echo "$as_me:2707: \"$ac_compile\"") >&5
    2708   (eval $ac_compile) 2>&5
    2709   ac_status=$?
    2710   echo "$as_me:2710: \$? = $ac_status" >&5
    2711   (exit $ac_status); } &&
    2712          { ac_try='test -s conftest.$ac_objext'
    2713   { (eval echo "$as_me:2713: \"$ac_try\"") >&5
    2714   (eval $ac_try) 2>&5
    2715   ac_status=$?
    2716   echo "$as_me:2716: \$? = $ac_status" >&5
    2717   (exit $ac_status); }; }; then
    2718   ac_cv_type_short=yes
    2719 else
    2720   echo "$as_me: failed program was:" >&5
    2721 cat conftest.$ac_ext >&5
    2722 ac_cv_type_short=no
    2723 fi
    2724 rm -f conftest.$ac_objext conftest.$ac_ext
    2725 fi
    2726 echo "$as_me:2726: result: $ac_cv_type_short" >&5
    2727 echo "${ECHO_T}$ac_cv_type_short" >&6
    2728 
    2729 echo "$as_me:2729: checking size of short" >&5
    2730 echo $ECHO_N "checking size of short... $ECHO_C" >&6
    2731 if test "${ac_cv_sizeof_short+set}" = set; then
    2732   echo $ECHO_N "(cached) $ECHO_C" >&6
    2733 else
    2734   if test "$ac_cv_type_short" = yes; then
    2735   if test "$cross_compiling" = yes; then
    2736   # Depending upon the size, compute the lo and hi bounds.
    2737 cat >conftest.$ac_ext <<_ACEOF
    2738 #line 2738 "configure"
    2739 #include "confdefs.h"
    2740 $ac_includes_default
    2741 int
    2742 main ()
    2743 {
    2744 int _array_ [1 - 2 * !((sizeof (short)) >= 0)]
    2745   ;
    2746   return 0;
    2747 }
    2748 _ACEOF
    2749 rm -f conftest.$ac_objext
    2750 if { (eval echo "$as_me:2750: \"$ac_compile\"") >&5
    2751   (eval $ac_compile) 2>&5
    2752   ac_status=$?
    2753   echo "$as_me:2753: \$? = $ac_status" >&5
    2754   (exit $ac_status); } &&
    2755          { ac_try='test -s conftest.$ac_objext'
    2756   { (eval echo "$as_me:2756: \"$ac_try\"") >&5
    2757   (eval $ac_try) 2>&5
    2758   ac_status=$?
    2759   echo "$as_me:2759: \$? = $ac_status" >&5
    2760   (exit $ac_status); }; }; then
    2761   ac_lo=0 ac_mid=0
    2762   while :; do
    2763     cat >conftest.$ac_ext <<_ACEOF
    2764 #line 2764 "configure"
    2765 #include "confdefs.h"
    2766 $ac_includes_default
    2767 int
    2768 main ()
    2769 {
    2770 int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
    2771   ;
    2772   return 0;
    2773 }
    2774 _ACEOF
    2775 rm -f conftest.$ac_objext
    2776 if { (eval echo "$as_me:2776: \"$ac_compile\"") >&5
    2777   (eval $ac_compile) 2>&5
    2778   ac_status=$?
    2779   echo "$as_me:2779: \$? = $ac_status" >&5
    2780   (exit $ac_status); } &&
    2781          { ac_try='test -s conftest.$ac_objext'
    2782   { (eval echo "$as_me:2782: \"$ac_try\"") >&5
    2783   (eval $ac_try) 2>&5
    2784   ac_status=$?
    2785   echo "$as_me:2785: \$? = $ac_status" >&5
    2786   (exit $ac_status); }; }; then
    2787   ac_hi=$ac_mid; break
    2788 else
    2789   echo "$as_me: failed program was:" >&5
    2790 cat conftest.$ac_ext >&5
    2791 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
    2792 fi
    2793 rm -f conftest.$ac_objext conftest.$ac_ext
    2794   done
    2795 else
    2796   echo "$as_me: failed program was:" >&5
    2797 cat conftest.$ac_ext >&5
    2798 ac_hi=-1 ac_mid=-1
    2799   while :; do
    2800     cat >conftest.$ac_ext <<_ACEOF
    2801 #line 2801 "configure"
    2802 #include "confdefs.h"
    2803 $ac_includes_default
    2804 int
    2805 main ()
    2806 {
    2807 int _array_ [1 - 2 * !((sizeof (short)) >= $ac_mid)]
    2808   ;
    2809   return 0;
    2810 }
    2811 _ACEOF
    2812 rm -f conftest.$ac_objext
    2813 if { (eval echo "$as_me:2813: \"$ac_compile\"") >&5
    2814   (eval $ac_compile) 2>&5
    2815   ac_status=$?
    2816   echo "$as_me:2816: \$? = $ac_status" >&5
    2817   (exit $ac_status); } &&
    2818          { ac_try='test -s conftest.$ac_objext'
    2819   { (eval echo "$as_me:2819: \"$ac_try\"") >&5
    2820   (eval $ac_try) 2>&5
    2821   ac_status=$?
    2822   echo "$as_me:2822: \$? = $ac_status" >&5
    2823   (exit $ac_status); }; }; then
    2824   ac_lo=$ac_mid; break
    2825 else
    2826   echo "$as_me: failed program was:" >&5
    2827 cat conftest.$ac_ext >&5
    2828 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
    2829 fi
    2830 rm -f conftest.$ac_objext conftest.$ac_ext
    2831   done
    2832 fi
    2833 rm -f conftest.$ac_objext conftest.$ac_ext
    2834 # Binary search between lo and hi bounds.
    2835 while test "x$ac_lo" != "x$ac_hi"; do
    2836   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    2837   cat >conftest.$ac_ext <<_ACEOF
    2838 #line 2838 "configure"
    2839 #include "confdefs.h"
    2840 $ac_includes_default
    2841 int
    2842 main ()
    2843 {
    2844 int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
    2845   ;
    2846   return 0;
    2847 }
    2848 _ACEOF
    2849 rm -f conftest.$ac_objext
    2850 if { (eval echo "$as_me:2850: \"$ac_compile\"") >&5
    2851   (eval $ac_compile) 2>&5
    2852   ac_status=$?
    2853   echo "$as_me:2853: \$? = $ac_status" >&5
    2854   (exit $ac_status); } &&
    2855          { ac_try='test -s conftest.$ac_objext'
    2856   { (eval echo "$as_me:2856: \"$ac_try\"") >&5
    2857   (eval $ac_try) 2>&5
    2858   ac_status=$?
    2859   echo "$as_me:2859: \$? = $ac_status" >&5
    2860   (exit $ac_status); }; }; then
    2861   ac_hi=$ac_mid
    2862 else
    2863   echo "$as_me: failed program was:" >&5
    2864 cat conftest.$ac_ext >&5
    2865 ac_lo=`expr $ac_mid + 1`
    2866 fi
    2867 rm -f conftest.$ac_objext conftest.$ac_ext
    2868 done
    2869 ac_cv_sizeof_short=$ac_lo
    2870 else
    2871   if test "$cross_compiling" = yes; then
    2872   { { echo "$as_me:2872: error: cannot run test program while cross compiling" >&5
    2873 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
    2874    { (exit 1); exit 1; }; }
    2875 else
    2876   cat >conftest.$ac_ext <<_ACEOF
    2877 #line 2877 "configure"
    2878 #include "confdefs.h"
    2879 $ac_includes_default
    2880 int
    2881 main ()
    2882 {
    2883 FILE *f = fopen ("conftest.val", "w");
    2884 if (!f)
    2885   exit (1);
    2886 fprintf (f, "%d", (sizeof (short)));
    2887 fclose (f);
    2888   ;
    2889   return 0;
    2890 }
    2891 _ACEOF
    2892 rm -f conftest$ac_exeext
    2893 if { (eval echo "$as_me:2893: \"$ac_link\"") >&5
    2894   (eval $ac_link) 2>&5
    2895   ac_status=$?
    2896   echo "$as_me:2896: \$? = $ac_status" >&5
    2897   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2898   { (eval echo "$as_me:2898: \"$ac_try\"") >&5
    2899   (eval $ac_try) 2>&5
    2900   ac_status=$?
    2901   echo "$as_me:2901: \$? = $ac_status" >&5
    2902   (exit $ac_status); }; }; then
    2903   ac_cv_sizeof_short=`cat conftest.val`
    2904 else
    2905   echo "$as_me: program exited with status $ac_status" >&5
    2906 echo "$as_me: failed program was:" >&5
    2907 cat conftest.$ac_ext >&5
    2908 fi
    2909 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    2910 fi
    2911 fi
    2912 rm -f conftest.val
    2913 else
    2914   ac_cv_sizeof_short=0
    2915 fi
    2916 fi
    2917 echo "$as_me:2917: result: $ac_cv_sizeof_short" >&5
    2918 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
    2919 cat >>confdefs.h <<EOF
    2920 #define SIZEOF_SHORT $ac_cv_sizeof_short
    2921 EOF
    2922 
    2923 echo "$as_me:2923: checking for int" >&5
    2924 echo $ECHO_N "checking for int... $ECHO_C" >&6
    2925 if test "${ac_cv_type_int+set}" = set; then
    2926   echo $ECHO_N "(cached) $ECHO_C" >&6
    2927 else
    2928   cat >conftest.$ac_ext <<_ACEOF
    2929 #line 2929 "configure"
    2930 #include "confdefs.h"
    2931 $ac_includes_default
    2932 int
    2933 main ()
    2934 {
    2935 if ((int *) 0)
    2936   return 0;
    2937 if (sizeof (int))
    2938   return 0;
    2939   ;
    2940   return 0;
    2941 }
    2942 _ACEOF
    2943 rm -f conftest.$ac_objext
    2944 if { (eval echo "$as_me:2944: \"$ac_compile\"") >&5
    2945   (eval $ac_compile) 2>&5
    2946   ac_status=$?
    2947   echo "$as_me:2947: \$? = $ac_status" >&5
    2948   (exit $ac_status); } &&
    2949          { ac_try='test -s conftest.$ac_objext'
    2950   { (eval echo "$as_me:2950: \"$ac_try\"") >&5
    2951   (eval $ac_try) 2>&5
    2952   ac_status=$?
    2953   echo "$as_me:2953: \$? = $ac_status" >&5
    2954   (exit $ac_status); }; }; then
    2955   ac_cv_type_int=yes
    2956 else
    2957   echo "$as_me: failed program was:" >&5
    2958 cat conftest.$ac_ext >&5
    2959 ac_cv_type_int=no
    2960 fi
    2961 rm -f conftest.$ac_objext conftest.$ac_ext
    2962 fi
    2963 echo "$as_me:2963: result: $ac_cv_type_int" >&5
    2964 echo "${ECHO_T}$ac_cv_type_int" >&6
    2965 
    2966 echo "$as_me:2966: checking size of int" >&5
    2967 echo $ECHO_N "checking size of int... $ECHO_C" >&6
    2968 if test "${ac_cv_sizeof_int+set}" = set; then
    2969   echo $ECHO_N "(cached) $ECHO_C" >&6
    2970 else
    2971   if test "$ac_cv_type_int" = yes; then
    2972   if test "$cross_compiling" = yes; then
    2973   # Depending upon the size, compute the lo and hi bounds.
    2974 cat >conftest.$ac_ext <<_ACEOF
    2975 #line 2975 "configure"
    2976 #include "confdefs.h"
    2977 $ac_includes_default
    2978 int
    2979 main ()
    2980 {
    2981 int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
    2982   ;
    2983   return 0;
    2984 }
    2985 _ACEOF
    2986 rm -f conftest.$ac_objext
    2987 if { (eval echo "$as_me:2987: \"$ac_compile\"") >&5
    2988   (eval $ac_compile) 2>&5
    2989   ac_status=$?
    2990   echo "$as_me:2990: \$? = $ac_status" >&5
    2991   (exit $ac_status); } &&
    2992          { ac_try='test -s conftest.$ac_objext'
    2993   { (eval echo "$as_me:2993: \"$ac_try\"") >&5
    2994   (eval $ac_try) 2>&5
    2995   ac_status=$?
    2996   echo "$as_me:2996: \$? = $ac_status" >&5
    2997   (exit $ac_status); }; }; then
    2998   ac_lo=0 ac_mid=0
    2999   while :; do
    3000     cat >conftest.$ac_ext <<_ACEOF
    3001 #line 3001 "configure"
    3002 #include "confdefs.h"
    3003 $ac_includes_default
    3004 int
    3005 main ()
    3006 {
    3007 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
    3008   ;
    3009   return 0;
    3010 }
    3011 _ACEOF
    3012 rm -f conftest.$ac_objext
    3013 if { (eval echo "$as_me:3013: \"$ac_compile\"") >&5
    3014   (eval $ac_compile) 2>&5
    3015   ac_status=$?
    3016   echo "$as_me:3016: \$? = $ac_status" >&5
    3017   (exit $ac_status); } &&
    3018          { ac_try='test -s conftest.$ac_objext'
    3019   { (eval echo "$as_me:3019: \"$ac_try\"") >&5
    3020   (eval $ac_try) 2>&5
    3021   ac_status=$?
    3022   echo "$as_me:3022: \$? = $ac_status" >&5
    3023   (exit $ac_status); }; }; then
    3024   ac_hi=$ac_mid; break
    3025 else
    3026   echo "$as_me: failed program was:" >&5
    3027 cat conftest.$ac_ext >&5
    3028 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
    3029 fi
    3030 rm -f conftest.$ac_objext conftest.$ac_ext
    3031   done
    3032 else
    3033   echo "$as_me: failed program was:" >&5
    3034 cat conftest.$ac_ext >&5
    3035 ac_hi=-1 ac_mid=-1
    3036   while :; do
    3037     cat >conftest.$ac_ext <<_ACEOF
    3038 #line 3038 "configure"
    3039 #include "confdefs.h"
    3040 $ac_includes_default
    3041 int
    3042 main ()
    3043 {
    3044 int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
    3045   ;
    3046   return 0;
    3047 }
    3048 _ACEOF
    3049 rm -f conftest.$ac_objext
    3050 if { (eval echo "$as_me:3050: \"$ac_compile\"") >&5
    3051   (eval $ac_compile) 2>&5
    3052   ac_status=$?
    3053   echo "$as_me:3053: \$? = $ac_status" >&5
    3054   (exit $ac_status); } &&
    3055          { ac_try='test -s conftest.$ac_objext'
    3056   { (eval echo "$as_me:3056: \"$ac_try\"") >&5
    3057   (eval $ac_try) 2>&5
    3058   ac_status=$?
    3059   echo "$as_me:3059: \$? = $ac_status" >&5
    3060   (exit $ac_status); }; }; then
    3061   ac_lo=$ac_mid; break
    3062 else
    3063   echo "$as_me: failed program was:" >&5
    3064 cat conftest.$ac_ext >&5
    3065 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
    3066 fi
    3067 rm -f conftest.$ac_objext conftest.$ac_ext
    3068   done
    3069 fi
    3070 rm -f conftest.$ac_objext conftest.$ac_ext
    3071 # Binary search between lo and hi bounds.
    3072 while test "x$ac_lo" != "x$ac_hi"; do
    3073   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    3074   cat >conftest.$ac_ext <<_ACEOF
    3075 #line 3075 "configure"
    3076 #include "confdefs.h"
    3077 $ac_includes_default
    3078 int
    3079 main ()
    3080 {
    3081 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
    3082   ;
    3083   return 0;
    3084 }
    3085 _ACEOF
    3086 rm -f conftest.$ac_objext
    3087 if { (eval echo "$as_me:3087: \"$ac_compile\"") >&5
    3088   (eval $ac_compile) 2>&5
    3089   ac_status=$?
    3090   echo "$as_me:3090: \$? = $ac_status" >&5
    3091   (exit $ac_status); } &&
    3092          { ac_try='test -s conftest.$ac_objext'
    3093   { (eval echo "$as_me:3093: \"$ac_try\"") >&5
    3094   (eval $ac_try) 2>&5
    3095   ac_status=$?
    3096   echo "$as_me:3096: \$? = $ac_status" >&5
    3097   (exit $ac_status); }; }; then
    3098   ac_hi=$ac_mid
    3099 else
    3100   echo "$as_me: failed program was:" >&5
    3101 cat conftest.$ac_ext >&5
    3102 ac_lo=`expr $ac_mid + 1`
    3103 fi
    3104 rm -f conftest.$ac_objext conftest.$ac_ext
    3105 done
    3106 ac_cv_sizeof_int=$ac_lo
    3107 else
    3108   if test "$cross_compiling" = yes; then
    3109   { { echo "$as_me:3109: error: cannot run test program while cross compiling" >&5
    3110 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
    3111    { (exit 1); exit 1; }; }
    3112 else
    3113   cat >conftest.$ac_ext <<_ACEOF
    3114 #line 3114 "configure"
    3115 #include "confdefs.h"
    3116 $ac_includes_default
    3117 int
    3118 main ()
    3119 {
    3120 FILE *f = fopen ("conftest.val", "w");
    3121 if (!f)
    3122   exit (1);
    3123 fprintf (f, "%d", (sizeof (int)));
    3124 fclose (f);
    3125   ;
    3126   return 0;
    3127 }
    3128 _ACEOF
    3129 rm -f conftest$ac_exeext
    3130 if { (eval echo "$as_me:3130: \"$ac_link\"") >&5
    3131   (eval $ac_link) 2>&5
    3132   ac_status=$?
    3133   echo "$as_me:3133: \$? = $ac_status" >&5
    3134   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3135   { (eval echo "$as_me:3135: \"$ac_try\"") >&5
    3136   (eval $ac_try) 2>&5
    3137   ac_status=$?
    3138   echo "$as_me:3138: \$? = $ac_status" >&5
    3139   (exit $ac_status); }; }; then
    3140   ac_cv_sizeof_int=`cat conftest.val`
    3141 else
    3142   echo "$as_me: program exited with status $ac_status" >&5
    3143 echo "$as_me: failed program was:" >&5
    3144 cat conftest.$ac_ext >&5
    3145 fi
    3146 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3147 fi
    3148 fi
    3149 rm -f conftest.val
    3150 else
    3151   ac_cv_sizeof_int=0
    3152 fi
    3153 fi
    3154 echo "$as_me:3154: result: $ac_cv_sizeof_int" >&5
    3155 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
    3156 cat >>confdefs.h <<EOF
    3157 #define SIZEOF_INT $ac_cv_sizeof_int
    3158 EOF
    3159 
    3160 echo "$as_me:3160: checking for long" >&5
    3161 echo $ECHO_N "checking for long... $ECHO_C" >&6
    3162 if test "${ac_cv_type_long+set}" = set; then
    3163   echo $ECHO_N "(cached) $ECHO_C" >&6
    3164 else
    3165   cat >conftest.$ac_ext <<_ACEOF
    3166 #line 3166 "configure"
    3167 #include "confdefs.h"
    3168 $ac_includes_default
    3169 int
    3170 main ()
    3171 {
    3172 if ((long *) 0)
    3173   return 0;
    3174 if (sizeof (long))
    3175   return 0;
    3176   ;
    3177   return 0;
    3178 }
    3179 _ACEOF
    3180 rm -f conftest.$ac_objext
    3181 if { (eval echo "$as_me:3181: \"$ac_compile\"") >&5
    3182   (eval $ac_compile) 2>&5
    3183   ac_status=$?
    3184   echo "$as_me:3184: \$? = $ac_status" >&5
    3185   (exit $ac_status); } &&
    3186          { ac_try='test -s conftest.$ac_objext'
    3187   { (eval echo "$as_me:3187: \"$ac_try\"") >&5
    3188   (eval $ac_try) 2>&5
    3189   ac_status=$?
    3190   echo "$as_me:3190: \$? = $ac_status" >&5
    3191   (exit $ac_status); }; }; then
    3192   ac_cv_type_long=yes
    3193 else
    3194   echo "$as_me: failed program was:" >&5
    3195 cat conftest.$ac_ext >&5
    3196 ac_cv_type_long=no
    3197 fi
    3198 rm -f conftest.$ac_objext conftest.$ac_ext
    3199 fi
    3200 echo "$as_me:3200: result: $ac_cv_type_long" >&5
    3201 echo "${ECHO_T}$ac_cv_type_long" >&6
    3202 
    3203 echo "$as_me:3203: checking size of long" >&5
    3204 echo $ECHO_N "checking size of long... $ECHO_C" >&6
    3205 if test "${ac_cv_sizeof_long+set}" = set; then
    3206   echo $ECHO_N "(cached) $ECHO_C" >&6
    3207 else
    3208   if test "$ac_cv_type_long" = yes; then
    3209   if test "$cross_compiling" = yes; then
    3210   # Depending upon the size, compute the lo and hi bounds.
    3211 cat >conftest.$ac_ext <<_ACEOF
    3212 #line 3212 "configure"
    3213 #include "confdefs.h"
    3214 $ac_includes_default
    3215 int
    3216 main ()
    3217 {
    3218 int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
    3219   ;
    3220   return 0;
    3221 }
    3222 _ACEOF
    3223 rm -f conftest.$ac_objext
    3224 if { (eval echo "$as_me:3224: \"$ac_compile\"") >&5
    3225   (eval $ac_compile) 2>&5
    3226   ac_status=$?
    3227   echo "$as_me:3227: \$? = $ac_status" >&5
    3228   (exit $ac_status); } &&
    3229          { ac_try='test -s conftest.$ac_objext'
    3230   { (eval echo "$as_me:3230: \"$ac_try\"") >&5
    3231   (eval $ac_try) 2>&5
    3232   ac_status=$?
    3233   echo "$as_me:3233: \$? = $ac_status" >&5
    3234   (exit $ac_status); }; }; then
    3235   ac_lo=0 ac_mid=0
    3236   while :; do
    3237     cat >conftest.$ac_ext <<_ACEOF
    3238 #line 3238 "configure"
    3239 #include "confdefs.h"
    3240 $ac_includes_default
    3241 int
    3242 main ()
    3243 {
    3244 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
    3245   ;
    3246   return 0;
    3247 }
    3248 _ACEOF
    3249 rm -f conftest.$ac_objext
    3250 if { (eval echo "$as_me:3250: \"$ac_compile\"") >&5
    3251   (eval $ac_compile) 2>&5
    3252   ac_status=$?
    3253   echo "$as_me:3253: \$? = $ac_status" >&5
    3254   (exit $ac_status); } &&
    3255          { ac_try='test -s conftest.$ac_objext'
    3256   { (eval echo "$as_me:3256: \"$ac_try\"") >&5
    3257   (eval $ac_try) 2>&5
    3258   ac_status=$?
    3259   echo "$as_me:3259: \$? = $ac_status" >&5
    3260   (exit $ac_status); }; }; then
    3261   ac_hi=$ac_mid; break
    3262 else
    3263   echo "$as_me: failed program was:" >&5
    3264 cat conftest.$ac_ext >&5
    3265 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
    3266 fi
    3267 rm -f conftest.$ac_objext conftest.$ac_ext
    3268   done
    3269 else
    3270   echo "$as_me: failed program was:" >&5
    3271 cat conftest.$ac_ext >&5
    3272 ac_hi=-1 ac_mid=-1
    3273   while :; do
    3274     cat >conftest.$ac_ext <<_ACEOF
    3275 #line 3275 "configure"
    3276 #include "confdefs.h"
    3277 $ac_includes_default
    3278 int
    3279 main ()
    3280 {
    3281 int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
    3282   ;
    3283   return 0;
    3284 }
    3285 _ACEOF
    3286 rm -f conftest.$ac_objext
    3287 if { (eval echo "$as_me:3287: \"$ac_compile\"") >&5
    3288   (eval $ac_compile) 2>&5
    3289   ac_status=$?
    3290   echo "$as_me:3290: \$? = $ac_status" >&5
    3291   (exit $ac_status); } &&
    3292          { ac_try='test -s conftest.$ac_objext'
    3293   { (eval echo "$as_me:3293: \"$ac_try\"") >&5
    3294   (eval $ac_try) 2>&5
    3295   ac_status=$?
    3296   echo "$as_me:3296: \$? = $ac_status" >&5
    3297   (exit $ac_status); }; }; then
    3298   ac_lo=$ac_mid; break
    3299 else
    3300   echo "$as_me: failed program was:" >&5
    3301 cat conftest.$ac_ext >&5
    3302 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
    3303 fi
    3304 rm -f conftest.$ac_objext conftest.$ac_ext
    3305   done
    3306 fi
    3307 rm -f conftest.$ac_objext conftest.$ac_ext
    3308 # Binary search between lo and hi bounds.
    3309 while test "x$ac_lo" != "x$ac_hi"; do
    3310   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    3311   cat >conftest.$ac_ext <<_ACEOF
    3312 #line 3312 "configure"
    3313 #include "confdefs.h"
    3314 $ac_includes_default
    3315 int
    3316 main ()
    3317 {
    3318 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
    3319   ;
    3320   return 0;
    3321 }
    3322 _ACEOF
    3323 rm -f conftest.$ac_objext
    3324 if { (eval echo "$as_me:3324: \"$ac_compile\"") >&5
    3325   (eval $ac_compile) 2>&5
    3326   ac_status=$?
    3327   echo "$as_me:3327: \$? = $ac_status" >&5
    3328   (exit $ac_status); } &&
    3329          { ac_try='test -s conftest.$ac_objext'
    3330   { (eval echo "$as_me:3330: \"$ac_try\"") >&5
    3331   (eval $ac_try) 2>&5
    3332   ac_status=$?
    3333   echo "$as_me:3333: \$? = $ac_status" >&5
    3334   (exit $ac_status); }; }; then
    3335   ac_hi=$ac_mid
    3336 else
    3337   echo "$as_me: failed program was:" >&5
    3338 cat conftest.$ac_ext >&5
    3339 ac_lo=`expr $ac_mid + 1`
    3340 fi
    3341 rm -f conftest.$ac_objext conftest.$ac_ext
    3342 done
    3343 ac_cv_sizeof_long=$ac_lo
    3344 else
    3345   if test "$cross_compiling" = yes; then
    3346   { { echo "$as_me:3346: error: cannot run test program while cross compiling" >&5
    3347 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
    3348    { (exit 1); exit 1; }; }
    3349 else
    3350   cat >conftest.$ac_ext <<_ACEOF
    3351 #line 3351 "configure"
    3352 #include "confdefs.h"
    3353 $ac_includes_default
    3354 int
    3355 main ()
    3356 {
    3357 FILE *f = fopen ("conftest.val", "w");
    3358 if (!f)
    3359   exit (1);
    3360 fprintf (f, "%d", (sizeof (long)));
    3361 fclose (f);
    3362   ;
    3363   return 0;
    3364 }
    3365 _ACEOF
    3366 rm -f conftest$ac_exeext
    3367 if { (eval echo "$as_me:3367: \"$ac_link\"") >&5
    3368   (eval $ac_link) 2>&5
    3369   ac_status=$?
    3370   echo "$as_me:3370: \$? = $ac_status" >&5
    3371   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3372   { (eval echo "$as_me:3372: \"$ac_try\"") >&5
    3373   (eval $ac_try) 2>&5
    3374   ac_status=$?
    3375   echo "$as_me:3375: \$? = $ac_status" >&5
    3376   (exit $ac_status); }; }; then
    3377   ac_cv_sizeof_long=`cat conftest.val`
    3378 else
    3379   echo "$as_me: program exited with status $ac_status" >&5
    3380 echo "$as_me: failed program was:" >&5
    3381 cat conftest.$ac_ext >&5
    3382 fi
    3383 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3384 fi
    3385 fi
    3386 rm -f conftest.val
    3387 else
    3388   ac_cv_sizeof_long=0
    3389 fi
    3390 fi
    3391 echo "$as_me:3391: result: $ac_cv_sizeof_long" >&5
    3392 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
    3393 cat >>confdefs.h <<EOF
    3394 #define SIZEOF_LONG $ac_cv_sizeof_long
    3395 EOF
    3396 
    3397 echo "$as_me:3397: checking for long long" >&5
    3398 echo $ECHO_N "checking for long long... $ECHO_C" >&6
    3399 if test "${ac_cv_type_long_long+set}" = set; then
    3400   echo $ECHO_N "(cached) $ECHO_C" >&6
    3401 else
    3402   cat >conftest.$ac_ext <<_ACEOF
    3403 #line 3403 "configure"
    3404 #include "confdefs.h"
    3405 $ac_includes_default
    3406 int
    3407 main ()
    3408 {
    3409 if ((long long *) 0)
    3410   return 0;
    3411 if (sizeof (long long))
    3412   return 0;
    3413   ;
    3414   return 0;
    3415 }
    3416 _ACEOF
    3417 rm -f conftest.$ac_objext
    3418 if { (eval echo "$as_me:3418: \"$ac_compile\"") >&5
    3419   (eval $ac_compile) 2>&5
    3420   ac_status=$?
    3421   echo "$as_me:3421: \$? = $ac_status" >&5
    3422   (exit $ac_status); } &&
    3423          { ac_try='test -s conftest.$ac_objext'
    3424   { (eval echo "$as_me:3424: \"$ac_try\"") >&5
    3425   (eval $ac_try) 2>&5
    3426   ac_status=$?
    3427   echo "$as_me:3427: \$? = $ac_status" >&5
    3428   (exit $ac_status); }; }; then
    3429   ac_cv_type_long_long=yes
    3430 else
    3431   echo "$as_me: failed program was:" >&5
    3432 cat conftest.$ac_ext >&5
    3433 ac_cv_type_long_long=no
    3434 fi
    3435 rm -f conftest.$ac_objext conftest.$ac_ext
    3436 fi
    3437 echo "$as_me:3437: result: $ac_cv_type_long_long" >&5
    3438 echo "${ECHO_T}$ac_cv_type_long_long" >&6
    3439 
    3440 echo "$as_me:3440: checking size of long long" >&5
    3441 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
    3442 if test "${ac_cv_sizeof_long_long+set}" = set; then
    3443   echo $ECHO_N "(cached) $ECHO_C" >&6
    3444 else
    3445   if test "$ac_cv_type_long_long" = yes; then
    3446   if test "$cross_compiling" = yes; then
    3447   # Depending upon the size, compute the lo and hi bounds.
    3448 cat >conftest.$ac_ext <<_ACEOF
    3449 #line 3449 "configure"
    3450 #include "confdefs.h"
    3451 $ac_includes_default
    3452 int
    3453 main ()
    3454 {
    3455 int _array_ [1 - 2 * !((sizeof (long long)) >= 0)]
    3456   ;
    3457   return 0;
    3458 }
    3459 _ACEOF
    3460 rm -f conftest.$ac_objext
    3461 if { (eval echo "$as_me:3461: \"$ac_compile\"") >&5
    3462   (eval $ac_compile) 2>&5
    3463   ac_status=$?
    3464   echo "$as_me:3464: \$? = $ac_status" >&5
    3465   (exit $ac_status); } &&
    3466          { ac_try='test -s conftest.$ac_objext'
    3467   { (eval echo "$as_me:3467: \"$ac_try\"") >&5
    3468   (eval $ac_try) 2>&5
    3469   ac_status=$?
    3470   echo "$as_me:3470: \$? = $ac_status" >&5
    3471   (exit $ac_status); }; }; then
    3472   ac_lo=0 ac_mid=0
    3473   while :; do
    3474     cat >conftest.$ac_ext <<_ACEOF
    3475 #line 3475 "configure"
    3476 #include "confdefs.h"
    3477 $ac_includes_default
    3478 int
    3479 main ()
    3480 {
    3481 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
    3482   ;
    3483   return 0;
    3484 }
    3485 _ACEOF
    3486 rm -f conftest.$ac_objext
    3487 if { (eval echo "$as_me:3487: \"$ac_compile\"") >&5
    3488   (eval $ac_compile) 2>&5
    3489   ac_status=$?
    3490   echo "$as_me:3490: \$? = $ac_status" >&5
    3491   (exit $ac_status); } &&
    3492          { ac_try='test -s conftest.$ac_objext'
    3493   { (eval echo "$as_me:3493: \"$ac_try\"") >&5
    3494   (eval $ac_try) 2>&5
    3495   ac_status=$?
    3496   echo "$as_me:3496: \$? = $ac_status" >&5
    3497   (exit $ac_status); }; }; then
    3498   ac_hi=$ac_mid; break
    3499 else
    3500   echo "$as_me: failed program was:" >&5
    3501 cat conftest.$ac_ext >&5
    3502 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
    3503 fi
    3504 rm -f conftest.$ac_objext conftest.$ac_ext
    3505   done
    3506 else
    3507   echo "$as_me: failed program was:" >&5
    3508 cat conftest.$ac_ext >&5
    3509 ac_hi=-1 ac_mid=-1
    3510   while :; do
    3511     cat >conftest.$ac_ext <<_ACEOF
    3512 #line 3512 "configure"
    3513 #include "confdefs.h"
    3514 $ac_includes_default
    3515 int
    3516 main ()
    3517 {
    3518 int _array_ [1 - 2 * !((sizeof (long long)) >= $ac_mid)]
    3519   ;
    3520   return 0;
    3521 }
    3522 _ACEOF
    3523 rm -f conftest.$ac_objext
    3524 if { (eval echo "$as_me:3524: \"$ac_compile\"") >&5
    3525   (eval $ac_compile) 2>&5
    3526   ac_status=$?
    3527   echo "$as_me:3527: \$? = $ac_status" >&5
    3528   (exit $ac_status); } &&
    3529          { ac_try='test -s conftest.$ac_objext'
    3530   { (eval echo "$as_me:3530: \"$ac_try\"") >&5
    3531   (eval $ac_try) 2>&5
    3532   ac_status=$?
    3533   echo "$as_me:3533: \$? = $ac_status" >&5
    3534   (exit $ac_status); }; }; then
    3535   ac_lo=$ac_mid; break
    3536 else
    3537   echo "$as_me: failed program was:" >&5
    3538 cat conftest.$ac_ext >&5
    3539 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
    3540 fi
    3541 rm -f conftest.$ac_objext conftest.$ac_ext
    3542   done
    3543 fi
    3544 rm -f conftest.$ac_objext conftest.$ac_ext
    3545 # Binary search between lo and hi bounds.
    3546 while test "x$ac_lo" != "x$ac_hi"; do
    3547   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    3548   cat >conftest.$ac_ext <<_ACEOF
    3549 #line 3549 "configure"
    3550 #include "confdefs.h"
    3551 $ac_includes_default
    3552 int
    3553 main ()
    3554 {
    3555 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
    3556   ;
    3557   return 0;
    3558 }
    3559 _ACEOF
    3560 rm -f conftest.$ac_objext
    3561 if { (eval echo "$as_me:3561: \"$ac_compile\"") >&5
    3562   (eval $ac_compile) 2>&5
    3563   ac_status=$?
    3564   echo "$as_me:3564: \$? = $ac_status" >&5
    3565   (exit $ac_status); } &&
    3566          { ac_try='test -s conftest.$ac_objext'
    3567   { (eval echo "$as_me:3567: \"$ac_try\"") >&5
    3568   (eval $ac_try) 2>&5
    3569   ac_status=$?
    3570   echo "$as_me:3570: \$? = $ac_status" >&5
    3571   (exit $ac_status); }; }; then
    3572   ac_hi=$ac_mid
    3573 else
    3574   echo "$as_me: failed program was:" >&5
    3575 cat conftest.$ac_ext >&5
    3576 ac_lo=`expr $ac_mid + 1`
    3577 fi
    3578 rm -f conftest.$ac_objext conftest.$ac_ext
    3579 done
    3580 ac_cv_sizeof_long_long=$ac_lo
    3581 else
    3582   if test "$cross_compiling" = yes; then
    3583   { { echo "$as_me:3583: error: cannot run test program while cross compiling" >&5
    3584 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
    3585    { (exit 1); exit 1; }; }
    3586 else
    3587   cat >conftest.$ac_ext <<_ACEOF
    3588 #line 3588 "configure"
    3589 #include "confdefs.h"
    3590 $ac_includes_default
    3591 int
    3592 main ()
    3593 {
    3594 FILE *f = fopen ("conftest.val", "w");
    3595 if (!f)
    3596   exit (1);
    3597 fprintf (f, "%d", (sizeof (long long)));
    3598 fclose (f);
    3599   ;
    3600   return 0;
    3601 }
    3602 _ACEOF
    3603 rm -f conftest$ac_exeext
    3604 if { (eval echo "$as_me:3604: \"$ac_link\"") >&5
    3605   (eval $ac_link) 2>&5
    3606   ac_status=$?
    3607   echo "$as_me:3607: \$? = $ac_status" >&5
    3608   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3609   { (eval echo "$as_me:3609: \"$ac_try\"") >&5
    3610   (eval $ac_try) 2>&5
    3611   ac_status=$?
    3612   echo "$as_me:3612: \$? = $ac_status" >&5
    3613   (exit $ac_status); }; }; then
    3614   ac_cv_sizeof_long_long=`cat conftest.val`
    3615 else
    3616   echo "$as_me: program exited with status $ac_status" >&5
    3617 echo "$as_me: failed program was:" >&5
    3618 cat conftest.$ac_ext >&5
    3619 fi
    3620 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3621 fi
    3622 fi
    3623 rm -f conftest.val
    3624 else
    3625   ac_cv_sizeof_long_long=0
    3626 fi
    3627 fi
    3628 echo "$as_me:3628: result: $ac_cv_sizeof_long_long" >&5
    3629 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
    3630 cat >>confdefs.h <<EOF
    3631 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
    3632 EOF
    3633 
    3634 echo "$as_me:3634: checking for float" >&5
    3635 echo $ECHO_N "checking for float... $ECHO_C" >&6
    3636 if test "${ac_cv_type_float+set}" = set; then
    3637   echo $ECHO_N "(cached) $ECHO_C" >&6
    3638 else
    3639   cat >conftest.$ac_ext <<_ACEOF
    3640 #line 3640 "configure"
    3641 #include "confdefs.h"
    3642 $ac_includes_default
    3643 int
    3644 main ()
    3645 {
    3646 if ((float *) 0)
    3647   return 0;
    3648 if (sizeof (float))
    3649   return 0;
    3650   ;
    3651   return 0;
    3652 }
    3653 _ACEOF
    3654 rm -f conftest.$ac_objext
    3655 if { (eval echo "$as_me:3655: \"$ac_compile\"") >&5
    3656   (eval $ac_compile) 2>&5
    3657   ac_status=$?
    3658   echo "$as_me:3658: \$? = $ac_status" >&5
    3659   (exit $ac_status); } &&
    3660          { ac_try='test -s conftest.$ac_objext'
    3661   { (eval echo "$as_me:3661: \"$ac_try\"") >&5
    3662   (eval $ac_try) 2>&5
    3663   ac_status=$?
    3664   echo "$as_me:3664: \$? = $ac_status" >&5
    3665   (exit $ac_status); }; }; then
    3666   ac_cv_type_float=yes
    3667 else
    3668   echo "$as_me: failed program was:" >&5
    3669 cat conftest.$ac_ext >&5
    3670 ac_cv_type_float=no
    3671 fi
    3672 rm -f conftest.$ac_objext conftest.$ac_ext
    3673 fi
    3674 echo "$as_me:3674: result: $ac_cv_type_float" >&5
    3675 echo "${ECHO_T}$ac_cv_type_float" >&6
    3676 
    3677 echo "$as_me:3677: checking size of float" >&5
    3678 echo $ECHO_N "checking size of float... $ECHO_C" >&6
    3679 if test "${ac_cv_sizeof_float+set}" = set; then
    3680   echo $ECHO_N "(cached) $ECHO_C" >&6
    3681 else
    3682   if test "$ac_cv_type_float" = yes; then
    3683   if test "$cross_compiling" = yes; then
    3684   # Depending upon the size, compute the lo and hi bounds.
    3685 cat >conftest.$ac_ext <<_ACEOF
    3686 #line 3686 "configure"
    3687 #include "confdefs.h"
    3688 $ac_includes_default
    3689 int
    3690 main ()
    3691 {
    3692 int _array_ [1 - 2 * !((sizeof (float)) >= 0)]
    3693   ;
    3694   return 0;
    3695 }
    3696 _ACEOF
    3697 rm -f conftest.$ac_objext
    3698 if { (eval echo "$as_me:3698: \"$ac_compile\"") >&5
    3699   (eval $ac_compile) 2>&5
    3700   ac_status=$?
    3701   echo "$as_me:3701: \$? = $ac_status" >&5
    3702   (exit $ac_status); } &&
    3703          { ac_try='test -s conftest.$ac_objext'
    3704   { (eval echo "$as_me:3704: \"$ac_try\"") >&5
    3705   (eval $ac_try) 2>&5
    3706   ac_status=$?
    3707   echo "$as_me:3707: \$? = $ac_status" >&5
    3708   (exit $ac_status); }; }; then
    3709   ac_lo=0 ac_mid=0
    3710   while :; do
    3711     cat >conftest.$ac_ext <<_ACEOF
    3712 #line 3712 "configure"
    3713 #include "confdefs.h"
    3714 $ac_includes_default
    3715 int
    3716 main ()
    3717 {
    3718 int _array_ [1 - 2 * !((sizeof (float)) <= $ac_mid)]
    3719   ;
    3720   return 0;
    3721 }
    3722 _ACEOF
    3723 rm -f conftest.$ac_objext
    3724 if { (eval echo "$as_me:3724: \"$ac_compile\"") >&5
    3725   (eval $ac_compile) 2>&5
    3726   ac_status=$?
    3727   echo "$as_me:3727: \$? = $ac_status" >&5
    3728   (exit $ac_status); } &&
    3729          { ac_try='test -s conftest.$ac_objext'
    3730   { (eval echo "$as_me:3730: \"$ac_try\"") >&5
    3731   (eval $ac_try) 2>&5
    3732   ac_status=$?
    3733   echo "$as_me:3733: \$? = $ac_status" >&5
    3734   (exit $ac_status); }; }; then
    3735   ac_hi=$ac_mid; break
    3736 else
    3737   echo "$as_me: failed program was:" >&5
    3738 cat conftest.$ac_ext >&5
    3739 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
    3740 fi
    3741 rm -f conftest.$ac_objext conftest.$ac_ext
    3742   done
    3743 else
    3744   echo "$as_me: failed program was:" >&5
    3745 cat conftest.$ac_ext >&5
    3746 ac_hi=-1 ac_mid=-1
    3747   while :; do
    3748     cat >conftest.$ac_ext <<_ACEOF
    3749 #line 3749 "configure"
    3750 #include "confdefs.h"
    3751 $ac_includes_default
    3752 int
    3753 main ()
    3754 {
    3755 int _array_ [1 - 2 * !((sizeof (float)) >= $ac_mid)]
    3756   ;
    3757   return 0;
    3758 }
    3759 _ACEOF
    3760 rm -f conftest.$ac_objext
    3761 if { (eval echo "$as_me:3761: \"$ac_compile\"") >&5
    3762   (eval $ac_compile) 2>&5
    3763   ac_status=$?
    3764   echo "$as_me:3764: \$? = $ac_status" >&5
    3765   (exit $ac_status); } &&
    3766          { ac_try='test -s conftest.$ac_objext'
    3767   { (eval echo "$as_me:3767: \"$ac_try\"") >&5
    3768   (eval $ac_try) 2>&5
    3769   ac_status=$?
    3770   echo "$as_me:3770: \$? = $ac_status" >&5
    3771   (exit $ac_status); }; }; then
    3772   ac_lo=$ac_mid; break
    3773 else
    3774   echo "$as_me: failed program was:" >&5
    3775 cat conftest.$ac_ext >&5
    3776 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
    3777 fi
    3778 rm -f conftest.$ac_objext conftest.$ac_ext
    3779   done
    3780 fi
    3781 rm -f conftest.$ac_objext conftest.$ac_ext
    3782 # Binary search between lo and hi bounds.
    3783 while test "x$ac_lo" != "x$ac_hi"; do
    3784   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    3785   cat >conftest.$ac_ext <<_ACEOF
    3786 #line 3786 "configure"
    3787 #include "confdefs.h"
    3788 $ac_includes_default
    3789 int
    3790 main ()
    3791 {
    3792 int _array_ [1 - 2 * !((sizeof (float)) <= $ac_mid)]
    3793   ;
    3794   return 0;
    3795 }
    3796 _ACEOF
    3797 rm -f conftest.$ac_objext
    3798 if { (eval echo "$as_me:3798: \"$ac_compile\"") >&5
    3799   (eval $ac_compile) 2>&5
    3800   ac_status=$?
    3801   echo "$as_me:3801: \$? = $ac_status" >&5
    3802   (exit $ac_status); } &&
    3803          { ac_try='test -s conftest.$ac_objext'
    3804   { (eval echo "$as_me:3804: \"$ac_try\"") >&5
    3805   (eval $ac_try) 2>&5
    3806   ac_status=$?
    3807   echo "$as_me:3807: \$? = $ac_status" >&5
    3808   (exit $ac_status); }; }; then
    3809   ac_hi=$ac_mid
    3810 else
    3811   echo "$as_me: failed program was:" >&5
    3812 cat conftest.$ac_ext >&5
    3813 ac_lo=`expr $ac_mid + 1`
    3814 fi
    3815 rm -f conftest.$ac_objext conftest.$ac_ext
    3816 done
    3817 ac_cv_sizeof_float=$ac_lo
    3818 else
    3819   if test "$cross_compiling" = yes; then
    3820   { { echo "$as_me:3820: error: cannot run test program while cross compiling" >&5
    3821 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
    3822    { (exit 1); exit 1; }; }
    3823 else
    3824   cat >conftest.$ac_ext <<_ACEOF
    3825 #line 3825 "configure"
    3826 #include "confdefs.h"
    3827 $ac_includes_default
    3828 int
    3829 main ()
    3830 {
    3831 FILE *f = fopen ("conftest.val", "w");
    3832 if (!f)
    3833   exit (1);
    3834 fprintf (f, "%d", (sizeof (float)));
    3835 fclose (f);
    3836   ;
    3837   return 0;
    3838 }
    3839 _ACEOF
    3840 rm -f conftest$ac_exeext
    3841 if { (eval echo "$as_me:3841: \"$ac_link\"") >&5
    3842   (eval $ac_link) 2>&5
    3843   ac_status=$?
    3844   echo "$as_me:3844: \$? = $ac_status" >&5
    3845   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3846   { (eval echo "$as_me:3846: \"$ac_try\"") >&5
    3847   (eval $ac_try) 2>&5
    3848   ac_status=$?
    3849   echo "$as_me:3849: \$? = $ac_status" >&5
    3850   (exit $ac_status); }; }; then
    3851   ac_cv_sizeof_float=`cat conftest.val`
    3852 else
    3853   echo "$as_me: program exited with status $ac_status" >&5
    3854 echo "$as_me: failed program was:" >&5
    3855 cat conftest.$ac_ext >&5
    3856 fi
    3857 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3858 fi
    3859 fi
    3860 rm -f conftest.val
    3861 else
    3862   ac_cv_sizeof_float=0
    3863 fi
    3864 fi
    3865 echo "$as_me:3865: result: $ac_cv_sizeof_float" >&5
    3866 echo "${ECHO_T}$ac_cv_sizeof_float" >&6
    3867 cat >>confdefs.h <<EOF
    3868 #define SIZEOF_FLOAT $ac_cv_sizeof_float
    3869 EOF
    3870 
    3871 echo "$as_me:3871: checking for double" >&5
    3872 echo $ECHO_N "checking for double... $ECHO_C" >&6
    3873 if test "${ac_cv_type_double+set}" = set; then
    3874   echo $ECHO_N "(cached) $ECHO_C" >&6
    3875 else
    3876   cat >conftest.$ac_ext <<_ACEOF
    3877 #line 3877 "configure"
    3878 #include "confdefs.h"
    3879 $ac_includes_default
    3880 int
    3881 main ()
    3882 {
    3883 if ((double *) 0)
    3884   return 0;
    3885 if (sizeof (double))
    3886   return 0;
    3887   ;
    3888   return 0;
    3889 }
    3890 _ACEOF
    3891 rm -f conftest.$ac_objext
    3892 if { (eval echo "$as_me:3892: \"$ac_compile\"") >&5
    3893   (eval $ac_compile) 2>&5
    3894   ac_status=$?
    3895   echo "$as_me:3895: \$? = $ac_status" >&5
    3896   (exit $ac_status); } &&
    3897          { ac_try='test -s conftest.$ac_objext'
    3898   { (eval echo "$as_me:3898: \"$ac_try\"") >&5
    3899   (eval $ac_try) 2>&5
    3900   ac_status=$?
    3901   echo "$as_me:3901: \$? = $ac_status" >&5
    3902   (exit $ac_status); }; }; then
    3903   ac_cv_type_double=yes
    3904 else
    3905   echo "$as_me: failed program was:" >&5
    3906 cat conftest.$ac_ext >&5
    3907 ac_cv_type_double=no
    3908 fi
    3909 rm -f conftest.$ac_objext conftest.$ac_ext
    3910 fi
    3911 echo "$as_me:3911: result: $ac_cv_type_double" >&5
    3912 echo "${ECHO_T}$ac_cv_type_double" >&6
    3913 
    3914 echo "$as_me:3914: checking size of double" >&5
    3915 echo $ECHO_N "checking size of double... $ECHO_C" >&6
    3916 if test "${ac_cv_sizeof_double+set}" = set; then
    3917   echo $ECHO_N "(cached) $ECHO_C" >&6
    3918 else
    3919   if test "$ac_cv_type_double" = yes; then
    3920   if test "$cross_compiling" = yes; then
    3921   # Depending upon the size, compute the lo and hi bounds.
    3922 cat >conftest.$ac_ext <<_ACEOF
    3923 #line 3923 "configure"
    3924 #include "confdefs.h"
    3925 $ac_includes_default
    3926 int
    3927 main ()
    3928 {
    3929 int _array_ [1 - 2 * !((sizeof (double)) >= 0)]
    3930   ;
    3931   return 0;
    3932 }
    3933 _ACEOF
    3934 rm -f conftest.$ac_objext
    3935 if { (eval echo "$as_me:3935: \"$ac_compile\"") >&5
    3936   (eval $ac_compile) 2>&5
    3937   ac_status=$?
    3938   echo "$as_me:3938: \$? = $ac_status" >&5
    3939   (exit $ac_status); } &&
    3940          { ac_try='test -s conftest.$ac_objext'
    3941   { (eval echo "$as_me:3941: \"$ac_try\"") >&5
    3942   (eval $ac_try) 2>&5
    3943   ac_status=$?
    3944   echo "$as_me:3944: \$? = $ac_status" >&5
    3945   (exit $ac_status); }; }; then
    3946   ac_lo=0 ac_mid=0
    3947   while :; do
    3948     cat >conftest.$ac_ext <<_ACEOF
    3949 #line 3949 "configure"
    3950 #include "confdefs.h"
    3951 $ac_includes_default
    3952 int
    3953 main ()
    3954 {
    3955 int _array_ [1 - 2 * !((sizeof (double)) <= $ac_mid)]
    3956   ;
    3957   return 0;
    3958 }
    3959 _ACEOF
    3960 rm -f conftest.$ac_objext
    3961 if { (eval echo "$as_me:3961: \"$ac_compile\"") >&5
    3962   (eval $ac_compile) 2>&5
    3963   ac_status=$?
    3964   echo "$as_me:3964: \$? = $ac_status" >&5
    3965   (exit $ac_status); } &&
    3966          { ac_try='test -s conftest.$ac_objext'
    3967   { (eval echo "$as_me:3967: \"$ac_try\"") >&5
    3968   (eval $ac_try) 2>&5
    3969   ac_status=$?
    3970   echo "$as_me:3970: \$? = $ac_status" >&5
    3971   (exit $ac_status); }; }; then
    3972   ac_hi=$ac_mid; break
    3973 else
    3974   echo "$as_me: failed program was:" >&5
    3975 cat conftest.$ac_ext >&5
    3976 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
    3977 fi
    3978 rm -f conftest.$ac_objext conftest.$ac_ext
    3979   done
    3980 else
    3981   echo "$as_me: failed program was:" >&5
    3982 cat conftest.$ac_ext >&5
    3983 ac_hi=-1 ac_mid=-1
    3984   while :; do
    3985     cat >conftest.$ac_ext <<_ACEOF
    3986 #line 3986 "configure"
    3987 #include "confdefs.h"
    3988 $ac_includes_default
    3989 int
    3990 main ()
    3991 {
    3992 int _array_ [1 - 2 * !((sizeof (double)) >= $ac_mid)]
    3993   ;
    3994   return 0;
    3995 }
    3996 _ACEOF
    3997 rm -f conftest.$ac_objext
    3998 if { (eval echo "$as_me:3998: \"$ac_compile\"") >&5
    3999   (eval $ac_compile) 2>&5
    4000   ac_status=$?
    4001   echo "$as_me:4001: \$? = $ac_status" >&5
    4002   (exit $ac_status); } &&
    4003          { ac_try='test -s conftest.$ac_objext'
    4004   { (eval echo "$as_me:4004: \"$ac_try\"") >&5
    4005   (eval $ac_try) 2>&5
    4006   ac_status=$?
    4007   echo "$as_me:4007: \$? = $ac_status" >&5
    4008   (exit $ac_status); }; }; then
    4009   ac_lo=$ac_mid; break
    4010 else
    4011   echo "$as_me: failed program was:" >&5
    4012 cat conftest.$ac_ext >&5
    4013 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
    4014 fi
    4015 rm -f conftest.$ac_objext conftest.$ac_ext
    4016   done
    4017 fi
    4018 rm -f conftest.$ac_objext conftest.$ac_ext
    4019 # Binary search between lo and hi bounds.
    4020 while test "x$ac_lo" != "x$ac_hi"; do
    4021   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    4022   cat >conftest.$ac_ext <<_ACEOF
    4023 #line 4023 "configure"
    4024 #include "confdefs.h"
    4025 $ac_includes_default
    4026 int
    4027 main ()
    4028 {
    4029 int _array_ [1 - 2 * !((sizeof (double)) <= $ac_mid)]
    4030   ;
    4031   return 0;
    4032 }
    4033 _ACEOF
    4034 rm -f conftest.$ac_objext
    4035 if { (eval echo "$as_me:4035: \"$ac_compile\"") >&5
    4036   (eval $ac_compile) 2>&5
    4037   ac_status=$?
    4038   echo "$as_me:4038: \$? = $ac_status" >&5
    4039   (exit $ac_status); } &&
    4040          { ac_try='test -s conftest.$ac_objext'
    4041   { (eval echo "$as_me:4041: \"$ac_try\"") >&5
    4042   (eval $ac_try) 2>&5
    4043   ac_status=$?
    4044   echo "$as_me:4044: \$? = $ac_status" >&5
    4045   (exit $ac_status); }; }; then
    4046   ac_hi=$ac_mid
    4047 else
    4048   echo "$as_me: failed program was:" >&5
    4049 cat conftest.$ac_ext >&5
    4050 ac_lo=`expr $ac_mid + 1`
    4051 fi
    4052 rm -f conftest.$ac_objext conftest.$ac_ext
    4053 done
    4054 ac_cv_sizeof_double=$ac_lo
    4055 else
    4056   if test "$cross_compiling" = yes; then
    4057   { { echo "$as_me:4057: error: cannot run test program while cross compiling" >&5
    4058 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
    4059    { (exit 1); exit 1; }; }
    4060 else
    4061   cat >conftest.$ac_ext <<_ACEOF
    4062 #line 4062 "configure"
    4063 #include "confdefs.h"
    4064 $ac_includes_default
    4065 int
    4066 main ()
    4067 {
    4068 FILE *f = fopen ("conftest.val", "w");
    4069 if (!f)
    4070   exit (1);
    4071 fprintf (f, "%d", (sizeof (double)));
    4072 fclose (f);
    4073   ;
    4074   return 0;
    4075 }
    4076 _ACEOF
    4077 rm -f conftest$ac_exeext
    4078 if { (eval echo "$as_me:4078: \"$ac_link\"") >&5
    4079   (eval $ac_link) 2>&5
    4080   ac_status=$?
    4081   echo "$as_me:4081: \$? = $ac_status" >&5
    4082   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4083   { (eval echo "$as_me:4083: \"$ac_try\"") >&5
    4084   (eval $ac_try) 2>&5
    4085   ac_status=$?
    4086   echo "$as_me:4086: \$? = $ac_status" >&5
    4087   (exit $ac_status); }; }; then
    4088   ac_cv_sizeof_double=`cat conftest.val`
    4089 else
    4090   echo "$as_me: program exited with status $ac_status" >&5
    4091 echo "$as_me: failed program was:" >&5
    4092 cat conftest.$ac_ext >&5
    4093 fi
    4094 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4095 fi
    4096 fi
    4097 rm -f conftest.val
    4098 else
    4099   ac_cv_sizeof_double=0
    4100 fi
    4101 fi
    4102 echo "$as_me:4102: result: $ac_cv_sizeof_double" >&5
    4103 echo "${ECHO_T}$ac_cv_sizeof_double" >&6
    4104 cat >>confdefs.h <<EOF
    4105 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
    4106 EOF
    4107 
    4108 echo "$as_me:4108: checking for long double" >&5
    4109 echo $ECHO_N "checking for long double... $ECHO_C" >&6
    4110 if test "${ac_cv_type_long_double+set}" = set; then
    4111   echo $ECHO_N "(cached) $ECHO_C" >&6
    4112 else
    4113   cat >conftest.$ac_ext <<_ACEOF
    4114 #line 4114 "configure"
    4115 #include "confdefs.h"
    4116 $ac_includes_default
    4117 int
    4118 main ()
    4119 {
    4120 if ((long double *) 0)
    4121   return 0;
    4122 if (sizeof (long double))
    4123   return 0;
    4124   ;
    4125   return 0;
    4126 }
    4127 _ACEOF
    4128 rm -f conftest.$ac_objext
    4129 if { (eval echo "$as_me:4129: \"$ac_compile\"") >&5
    4130   (eval $ac_compile) 2>&5
    4131   ac_status=$?
    4132   echo "$as_me:4132: \$? = $ac_status" >&5
    4133   (exit $ac_status); } &&
    4134          { ac_try='test -s conftest.$ac_objext'
    4135   { (eval echo "$as_me:4135: \"$ac_try\"") >&5
    4136   (eval $ac_try) 2>&5
    4137   ac_status=$?
    4138   echo "$as_me:4138: \$? = $ac_status" >&5
    4139   (exit $ac_status); }; }; then
    4140   ac_cv_type_long_double=yes
    4141 else
    4142   echo "$as_me: failed program was:" >&5
    4143 cat conftest.$ac_ext >&5
    4144 ac_cv_type_long_double=no
    4145 fi
    4146 rm -f conftest.$ac_objext conftest.$ac_ext
    4147 fi
    4148 echo "$as_me:4148: result: $ac_cv_type_long_double" >&5
    4149 echo "${ECHO_T}$ac_cv_type_long_double" >&6
    4150 
    4151 echo "$as_me:4151: checking size of long double" >&5
    4152 echo $ECHO_N "checking size of long double... $ECHO_C" >&6
    4153 if test "${ac_cv_sizeof_long_double+set}" = set; then
    4154   echo $ECHO_N "(cached) $ECHO_C" >&6
    4155 else
    4156   if test "$ac_cv_type_long_double" = yes; then
    4157   if test "$cross_compiling" = yes; then
    4158   # Depending upon the size, compute the lo and hi bounds.
    4159 cat >conftest.$ac_ext <<_ACEOF
    4160 #line 4160 "configure"
    4161 #include "confdefs.h"
    4162 $ac_includes_default
    4163 int
    4164 main ()
    4165 {
    4166 int _array_ [1 - 2 * !((sizeof (long double)) >= 0)]
    4167   ;
    4168   return 0;
    4169 }
    4170 _ACEOF
    4171 rm -f conftest.$ac_objext
    4172 if { (eval echo "$as_me:4172: \"$ac_compile\"") >&5
    4173   (eval $ac_compile) 2>&5
    4174   ac_status=$?
    4175   echo "$as_me:4175: \$? = $ac_status" >&5
    4176   (exit $ac_status); } &&
    4177          { ac_try='test -s conftest.$ac_objext'
    4178   { (eval echo "$as_me:4178: \"$ac_try\"") >&5
    4179   (eval $ac_try) 2>&5
    4180   ac_status=$?
    4181   echo "$as_me:4181: \$? = $ac_status" >&5
    4182   (exit $ac_status); }; }; then
    4183   ac_lo=0 ac_mid=0
    4184   while :; do
    4185     cat >conftest.$ac_ext <<_ACEOF
    4186 #line 4186 "configure"
    4187 #include "confdefs.h"
    4188 $ac_includes_default
    4189 int
    4190 main ()
    4191 {
    4192 int _array_ [1 - 2 * !((sizeof (long double)) <= $ac_mid)]
    4193   ;
    4194   return 0;
    4195 }
    4196 _ACEOF
    4197 rm -f conftest.$ac_objext
    4198 if { (eval echo "$as_me:4198: \"$ac_compile\"") >&5
    4199   (eval $ac_compile) 2>&5
    4200   ac_status=$?
    4201   echo "$as_me:4201: \$? = $ac_status" >&5
    4202   (exit $ac_status); } &&
    4203          { ac_try='test -s conftest.$ac_objext'
    4204   { (eval echo "$as_me:4204: \"$ac_try\"") >&5
    4205   (eval $ac_try) 2>&5
    4206   ac_status=$?
    4207   echo "$as_me:4207: \$? = $ac_status" >&5
    4208   (exit $ac_status); }; }; then
    4209   ac_hi=$ac_mid; break
    4210 else
    4211   echo "$as_me: failed program was:" >&5
    4212 cat conftest.$ac_ext >&5
    4213 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
    4214 fi
    4215 rm -f conftest.$ac_objext conftest.$ac_ext
    4216   done
    4217 else
    4218   echo "$as_me: failed program was:" >&5
    4219 cat conftest.$ac_ext >&5
    4220 ac_hi=-1 ac_mid=-1
    4221   while :; do
    4222     cat >conftest.$ac_ext <<_ACEOF
    4223 #line 4223 "configure"
    4224 #include "confdefs.h"
    4225 $ac_includes_default
    4226 int
    4227 main ()
    4228 {
    4229 int _array_ [1 - 2 * !((sizeof (long double)) >= $ac_mid)]
    4230   ;
    4231   return 0;
    4232 }
    4233 _ACEOF
    4234 rm -f conftest.$ac_objext
    4235 if { (eval echo "$as_me:4235: \"$ac_compile\"") >&5
    4236   (eval $ac_compile) 2>&5
    4237   ac_status=$?
    4238   echo "$as_me:4238: \$? = $ac_status" >&5
    4239   (exit $ac_status); } &&
    4240          { ac_try='test -s conftest.$ac_objext'
    4241   { (eval echo "$as_me:4241: \"$ac_try\"") >&5
    4242   (eval $ac_try) 2>&5
    4243   ac_status=$?
    4244   echo "$as_me:4244: \$? = $ac_status" >&5
    4245   (exit $ac_status); }; }; then
    4246   ac_lo=$ac_mid; break
    4247 else
    4248   echo "$as_me: failed program was:" >&5
    4249 cat conftest.$ac_ext >&5
    4250 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
    4251 fi
    4252 rm -f conftest.$ac_objext conftest.$ac_ext
    4253   done
    4254 fi
    4255 rm -f conftest.$ac_objext conftest.$ac_ext
    4256 # Binary search between lo and hi bounds.
    4257 while test "x$ac_lo" != "x$ac_hi"; do
    4258   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    4259   cat >conftest.$ac_ext <<_ACEOF
    4260 #line 4260 "configure"
    4261 #include "confdefs.h"
    4262 $ac_includes_default
    4263 int
    4264 main ()
    4265 {
    4266 int _array_ [1 - 2 * !((sizeof (long double)) <= $ac_mid)]
    4267   ;
    4268   return 0;
    4269 }
    4270 _ACEOF
    4271 rm -f conftest.$ac_objext
    4272 if { (eval echo "$as_me:4272: \"$ac_compile\"") >&5
    4273   (eval $ac_compile) 2>&5
    4274   ac_status=$?
    4275   echo "$as_me:4275: \$? = $ac_status" >&5
    4276   (exit $ac_status); } &&
    4277          { ac_try='test -s conftest.$ac_objext'
    4278   { (eval echo "$as_me:4278: \"$ac_try\"") >&5
    4279   (eval $ac_try) 2>&5
    4280   ac_status=$?
    4281   echo "$as_me:4281: \$? = $ac_status" >&5
    4282   (exit $ac_status); }; }; then
    4283   ac_hi=$ac_mid
    4284 else
    4285   echo "$as_me: failed program was:" >&5
    4286 cat conftest.$ac_ext >&5
    4287 ac_lo=`expr $ac_mid + 1`
    4288 fi
    4289 rm -f conftest.$ac_objext conftest.$ac_ext
    4290 done
    4291 ac_cv_sizeof_long_double=$ac_lo
    4292 else
    4293   if test "$cross_compiling" = yes; then
    4294   { { echo "$as_me:4294: error: cannot run test program while cross compiling" >&5
    4295 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
    4296    { (exit 1); exit 1; }; }
    4297 else
    4298   cat >conftest.$ac_ext <<_ACEOF
    4299 #line 4299 "configure"
    4300 #include "confdefs.h"
    4301 $ac_includes_default
    4302 int
    4303 main ()
    4304 {
    4305 FILE *f = fopen ("conftest.val", "w");
    4306 if (!f)
    4307   exit (1);
    4308 fprintf (f, "%d", (sizeof (long double)));
    4309 fclose (f);
    4310   ;
    4311   return 0;
    4312 }
    4313 _ACEOF
    4314 rm -f conftest$ac_exeext
    4315 if { (eval echo "$as_me:4315: \"$ac_link\"") >&5
    4316   (eval $ac_link) 2>&5
    4317   ac_status=$?
    4318   echo "$as_me:4318: \$? = $ac_status" >&5
    4319   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4320   { (eval echo "$as_me:4320: \"$ac_try\"") >&5
    4321   (eval $ac_try) 2>&5
    4322   ac_status=$?
    4323   echo "$as_me:4323: \$? = $ac_status" >&5
    4324   (exit $ac_status); }; }; then
    4325   ac_cv_sizeof_long_double=`cat conftest.val`
    4326 else
    4327   echo "$as_me: program exited with status $ac_status" >&5
    4328 echo "$as_me: failed program was:" >&5
    4329 cat conftest.$ac_ext >&5
    4330 fi
    4331 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4332 fi
    4333 fi
    4334 rm -f conftest.val
    4335 else
     1436EOF
     1437if { (eval echo configure:1438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1438then
     1439  ac_cv_sizeof_long_double=`cat conftestval`
     1440else
     1441  echo "configure: failed program was:" >&5
     1442  cat conftest.$ac_ext >&5
     1443  rm -fr conftest*
    43361444  ac_cv_sizeof_long_double=0
    43371445fi
    4338 fi
    4339 echo "$as_me:4339: result: $ac_cv_sizeof_long_double" >&5
    4340 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6
    4341 cat >>confdefs.h <<EOF
     1446rm -fr conftest*
     1447fi
     1448
     1449fi
     1450echo "$ac_t""$ac_cv_sizeof_long_double" 1>&6
     1451cat >> confdefs.h <<EOF
    43421452#define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
    43431453EOF
    43441454
    4345 echo "$as_me:4345: checking \"for cfitsio lib\"" >&5
    4346 echo $ECHO_N "checking \"for cfitsio lib\"... $ECHO_C" >&6
     1455
     1456
     1457
     1458echo $ac_n "checking "for cfitsio lib"""... $ac_c" 1>&6
     1459echo "configure:1460: checking "for cfitsio lib"" >&5
    43471460MACHDIR=`uname`-$CXX
    43481461if test -f $ARCHBASEREP/$MACHDIR/Libs/libcfitsio.a; then
     
    43641477elif test -f /usr/local/lib/libcfitsio.a; then
    43651478  cfitslibdir=""
    4366 else
    4367   { { echo "$as_me:4367: error: \"Cannot find cfitsio library\"" >&5
    4368 echo "$as_me: error: \"Cannot find cfitsio library\"" >&2;}
    4369    { (exit 1); exit 1; }; }
    4370 fi
    4371 echo "$as_me:4371: result: $cfitslibdir" >&5
    4372 echo "${ECHO_T}$cfitslibdir" >&6
    4373 
    4374 echo "$as_me:4374: checking \"for cfitsio includes\"" >&5
    4375 echo $ECHO_N "checking \"for cfitsio includes\"... $ECHO_C" >&6
     1479else
     1480  { echo "configure: error: "Cannot find cfitsio library"" 1>&2; exit 1; }
     1481fi
     1482echo "$ac_t""$cfitslibdir" 1>&6
     1483
     1484
     1485echo $ac_n "checking "for cfitsio includes"""... $ac_c" 1>&6
     1486echo "configure:1487: checking "for cfitsio includes"" >&5
    43761487if test -f $CFITSIODIR/fitsio.h; then
    43771488  cfitsincdir='-I$(CFITSIODIR)'
     
    43811492  cfitsincdir=""
    43821493else
    4383   { { echo "$as_me:4383: error: \"Cannot find cfitsio include fitsio.h\"" >&5
    4384 echo "$as_me: error: \"Cannot find cfitsio include fitsio.h\"" >&2;}
    4385    { (exit 1); exit 1; }; }
    4386 fi
    4387 echo "$as_me:4387: result: $cfitsincdir" >&5
    4388 echo "${ECHO_T}$cfitsincdir" >&6
    4389 
    4390 echo "$as_me:4390: checking for sin in -lm" >&5
    4391 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
    4392 if test "${ac_cv_lib_m_sin+set}" = set; then
    4393   echo $ECHO_N "(cached) $ECHO_C" >&6
    4394 else
    4395   ac_check_lib_save_LIBS=$LIBS
     1494  { echo "configure: error: "Cannot find cfitsio include fitsio.h"" 1>&2; exit 1; }
     1495fi
     1496echo "$ac_t""$cfitsincdir" 1>&6
     1497
     1498
     1499echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
     1500echo "configure:1501: checking for sin in -lm" >&5
     1501ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
     1502if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1503  echo $ac_n "(cached) $ac_c" 1>&6
     1504else
     1505  ac_save_LIBS="$LIBS"
    43961506LIBS="-lm  $LIBS"
    4397 cat >conftest.$ac_ext <<_ACEOF
    4398 #line 4398 "configure"
     1507cat > conftest.$ac_ext <<EOF
     1508#line 1509 "configure"
    43991509#include "confdefs.h"
    4400 
    44011510/* Override any gcc2 internal prototype to avoid an error.  */
    4402 #ifdef __cplusplus
    4403 extern "C"
    4404 #endif
    44051511/* We use char because int might match the return type of a gcc2
    4406    builtin and then its argument prototype would still apply.  */
    4407 char sin ();
    4408 int
    4409 main ()
    4410 {
    4411 sin ();
    4412   ;
    4413   return 0;
    4414 }
    4415 _ACEOF
    4416 rm -f conftest.$ac_objext conftest$ac_exeext
    4417 if { (eval echo "$as_me:4417: \"$ac_link\"") >&5
    4418   (eval $ac_link) 2>&5
    4419   ac_status=$?
    4420   echo "$as_me:4420: \$? = $ac_status" >&5
    4421   (exit $ac_status); } &&
    4422          { ac_try='test -s conftest$ac_exeext'
    4423   { (eval echo "$as_me:4423: \"$ac_try\"") >&5
    4424   (eval $ac_try) 2>&5
    4425   ac_status=$?
    4426   echo "$as_me:4426: \$? = $ac_status" >&5
    4427   (exit $ac_status); }; }; then
    4428   ac_cv_lib_m_sin=yes
    4429 else
    4430   echo "$as_me: failed program was:" >&5
    4431 cat conftest.$ac_ext >&5
    4432 ac_cv_lib_m_sin=no
    4433 fi
    4434 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4435 LIBS=$ac_check_lib_save_LIBS
    4436 fi
    4437 echo "$as_me:4437: result: $ac_cv_lib_m_sin" >&5
    4438 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
    4439 if test $ac_cv_lib_m_sin = yes; then
    4440   cat >>confdefs.h <<EOF
    4441 #define HAVE_LIBM 1
     1512    builtin and then its argument prototype would still apply.  */
     1513char sin();
     1514
     1515int main() {
     1516sin()
     1517; return 0; }
     1518EOF
     1519if { (eval echo configure:1520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1520  rm -rf conftest*
     1521  eval "ac_cv_lib_$ac_lib_var=yes"
     1522else
     1523  echo "configure: failed program was:" >&5
     1524  cat conftest.$ac_ext >&5
     1525  rm -rf conftest*
     1526  eval "ac_cv_lib_$ac_lib_var=no"
     1527fi
     1528rm -f conftest*
     1529LIBS="$ac_save_LIBS"
     1530
     1531fi
     1532if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1533  echo "$ac_t""yes" 1>&6
     1534    ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1535    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1536  cat >> confdefs.h <<EOF
     1537#define $ac_tr_lib 1
    44421538EOF
    44431539
    44441540  LIBS="-lm $LIBS"
    44451541
    4446 fi
    4447 
    4448 echo "$as_me:4448: checking for pthread_create in -lpthread" >&5
    4449 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
    4450 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
    4451   echo $ECHO_N "(cached) $ECHO_C" >&6
    4452 else
    4453   ac_check_lib_save_LIBS=$LIBS
     1542else
     1543  echo "$ac_t""no" 1>&6
     1544fi
     1545
     1546echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
     1547echo "configure:1548: checking for pthread_create in -lpthread" >&5
     1548ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
     1549if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1550  echo $ac_n "(cached) $ac_c" 1>&6
     1551else
     1552  ac_save_LIBS="$LIBS"
    44541553LIBS="-lpthread  $LIBS"
    4455 cat >conftest.$ac_ext <<_ACEOF
    4456 #line 4456 "configure"
     1554cat > conftest.$ac_ext <<EOF
     1555#line 1556 "configure"
    44571556#include "confdefs.h"
    4458 
    44591557/* Override any gcc2 internal prototype to avoid an error.  */
    4460 #ifdef __cplusplus
    4461 extern "C"
    4462 #endif
    44631558/* We use char because int might match the return type of a gcc2
    4464    builtin and then its argument prototype would still apply.  */
    4465 char pthread_create ();
    4466 int
    4467 main ()
    4468 {
    4469 pthread_create ();
    4470   ;
    4471   return 0;
    4472 }
    4473 _ACEOF
    4474 rm -f conftest.$ac_objext conftest$ac_exeext
    4475 if { (eval echo "$as_me:4475: \"$ac_link\"") >&5
    4476   (eval $ac_link) 2>&5
    4477   ac_status=$?
    4478   echo "$as_me:4478: \$? = $ac_status" >&5
    4479   (exit $ac_status); } &&
    4480          { ac_try='test -s conftest$ac_exeext'
    4481   { (eval echo "$as_me:4481: \"$ac_try\"") >&5
    4482   (eval $ac_try) 2>&5
    4483   ac_status=$?
    4484   echo "$as_me:4484: \$? = $ac_status" >&5
    4485   (exit $ac_status); }; }; then
    4486   ac_cv_lib_pthread_pthread_create=yes
    4487 else
    4488   echo "$as_me: failed program was:" >&5
    4489 cat conftest.$ac_ext >&5
    4490 ac_cv_lib_pthread_pthread_create=no
    4491 fi
    4492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4493 LIBS=$ac_check_lib_save_LIBS
    4494 fi
    4495 echo "$as_me:4495: result: $ac_cv_lib_pthread_pthread_create" >&5
    4496 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
    4497 if test $ac_cv_lib_pthread_pthread_create = yes; then
    4498   cat >>confdefs.h <<EOF
    4499 #define HAVE_LIBPTHREAD 1
     1559    builtin and then its argument prototype would still apply.  */
     1560char pthread_create();
     1561
     1562int main() {
     1563pthread_create()
     1564; return 0; }
     1565EOF
     1566if { (eval echo configure:1567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1567  rm -rf conftest*
     1568  eval "ac_cv_lib_$ac_lib_var=yes"
     1569else
     1570  echo "configure: failed program was:" >&5
     1571  cat conftest.$ac_ext >&5
     1572  rm -rf conftest*
     1573  eval "ac_cv_lib_$ac_lib_var=no"
     1574fi
     1575rm -f conftest*
     1576LIBS="$ac_save_LIBS"
     1577
     1578fi
     1579if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1580  echo "$ac_t""yes" 1>&6
     1581    ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1582    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1583  cat >> confdefs.h <<EOF
     1584#define $ac_tr_lib 1
    45001585EOF
    45011586
    45021587  LIBS="-lpthread $LIBS"
    45031588
    4504 fi
    4505 
    4506 echo "$as_me:4506: checking for scopy_ in -lblas" >&5
    4507 echo $ECHO_N "checking for scopy_ in -lblas... $ECHO_C" >&6
    4508 if test "${ac_cv_lib_blas_scopy_+set}" = set; then
    4509   echo $ECHO_N "(cached) $ECHO_C" >&6
    4510 else
    4511   ac_check_lib_save_LIBS=$LIBS
     1589else
     1590  echo "$ac_t""no" 1>&6
     1591fi
     1592
     1593echo $ac_n "checking for scopy_ in -lblas""... $ac_c" 1>&6
     1594echo "configure:1595: checking for scopy_ in -lblas" >&5
     1595ac_lib_var=`echo blas'_'scopy_ | sed 'y%./+-%__p_%'`
     1596if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1597  echo $ac_n "(cached) $ac_c" 1>&6
     1598else
     1599  ac_save_LIBS="$LIBS"
    45121600LIBS="-lblas  $LIBS"
    4513 cat >conftest.$ac_ext <<_ACEOF
    4514 #line 4514 "configure"
     1601cat > conftest.$ac_ext <<EOF
     1602#line 1603 "configure"
    45151603#include "confdefs.h"
    4516 
    45171604/* Override any gcc2 internal prototype to avoid an error.  */
    4518 #ifdef __cplusplus
    4519 extern "C"
    4520 #endif
    45211605/* We use char because int might match the return type of a gcc2
    4522    builtin and then its argument prototype would still apply.  */
    4523 char scopy_ ();
    4524 int
    4525 main ()
    4526 {
    4527 scopy_ ();
    4528   ;
    4529   return 0;
    4530 }
    4531 _ACEOF
    4532 rm -f conftest.$ac_objext conftest$ac_exeext
    4533 if { (eval echo "$as_me:4533: \"$ac_link\"") >&5
    4534   (eval $ac_link) 2>&5
    4535   ac_status=$?
    4536   echo "$as_me:4536: \$? = $ac_status" >&5
    4537   (exit $ac_status); } &&
    4538          { ac_try='test -s conftest$ac_exeext'
    4539   { (eval echo "$as_me:4539: \"$ac_try\"") >&5
    4540   (eval $ac_try) 2>&5
    4541   ac_status=$?
    4542   echo "$as_me:4542: \$? = $ac_status" >&5
    4543   (exit $ac_status); }; }; then
    4544   ac_cv_lib_blas_scopy_=yes
    4545 else
    4546   echo "$as_me: failed program was:" >&5
    4547 cat conftest.$ac_ext >&5
    4548 ac_cv_lib_blas_scopy_=no
    4549 fi
    4550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4551 LIBS=$ac_check_lib_save_LIBS
    4552 fi
    4553 echo "$as_me:4553: result: $ac_cv_lib_blas_scopy_" >&5
    4554 echo "${ECHO_T}$ac_cv_lib_blas_scopy_" >&6
    4555 if test $ac_cv_lib_blas_scopy_ = yes; then
    4556   cat >>confdefs.h <<EOF
    4557 #define HAVE_LIBBLAS 1
     1606    builtin and then its argument prototype would still apply.  */
     1607char scopy_();
     1608
     1609int main() {
     1610scopy_()
     1611; return 0; }
     1612EOF
     1613if { (eval echo configure:1614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1614  rm -rf conftest*
     1615  eval "ac_cv_lib_$ac_lib_var=yes"
     1616else
     1617  echo "configure: failed program was:" >&5
     1618  cat conftest.$ac_ext >&5
     1619  rm -rf conftest*
     1620  eval "ac_cv_lib_$ac_lib_var=no"
     1621fi
     1622rm -f conftest*
     1623LIBS="$ac_save_LIBS"
     1624
     1625fi
     1626if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1627  echo "$ac_t""yes" 1>&6
     1628    ac_tr_lib=HAVE_LIB`echo blas | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1629    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1630  cat >> confdefs.h <<EOF
     1631#define $ac_tr_lib 1
    45581632EOF
    45591633
    45601634  LIBS="-lblas $LIBS"
    45611635
    4562 fi
    4563 
    4564 echo "$as_me:4564: checking for s_copy in -lg2c" >&5
    4565 echo $ECHO_N "checking for s_copy in -lg2c... $ECHO_C" >&6
    4566 if test "${ac_cv_lib_g2c_s_copy+set}" = set; then
    4567   echo $ECHO_N "(cached) $ECHO_C" >&6
    4568 else
    4569   ac_check_lib_save_LIBS=$LIBS
     1636else
     1637  echo "$ac_t""no" 1>&6
     1638fi
     1639
     1640echo $ac_n "checking for s_copy in -lg2c""... $ac_c" 1>&6
     1641echo "configure:1642: checking for s_copy in -lg2c" >&5
     1642ac_lib_var=`echo g2c'_'s_copy | sed 'y%./+-%__p_%'`
     1643if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1644  echo $ac_n "(cached) $ac_c" 1>&6
     1645else
     1646  ac_save_LIBS="$LIBS"
    45701647LIBS="-lg2c  $LIBS"
    4571 cat >conftest.$ac_ext <<_ACEOF
    4572 #line 4572 "configure"
     1648cat > conftest.$ac_ext <<EOF
     1649#line 1650 "configure"
    45731650#include "confdefs.h"
    4574 
    45751651/* Override any gcc2 internal prototype to avoid an error.  */
    4576 #ifdef __cplusplus
    4577 extern "C"
    4578 #endif
    45791652/* We use char because int might match the return type of a gcc2
    4580    builtin and then its argument prototype would still apply.  */
    4581 char s_copy ();
    4582 int
    4583 main ()
    4584 {
    4585 s_copy ();
    4586   ;
    4587   return 0;
    4588 }
    4589 _ACEOF
    4590 rm -f conftest.$ac_objext conftest$ac_exeext
    4591 if { (eval echo "$as_me:4591: \"$ac_link\"") >&5
    4592   (eval $ac_link) 2>&5
    4593   ac_status=$?
    4594   echo "$as_me:4594: \$? = $ac_status" >&5
    4595   (exit $ac_status); } &&
    4596          { ac_try='test -s conftest$ac_exeext'
    4597   { (eval echo "$as_me:4597: \"$ac_try\"") >&5
    4598   (eval $ac_try) 2>&5
    4599   ac_status=$?
    4600   echo "$as_me:4600: \$? = $ac_status" >&5
    4601   (exit $ac_status); }; }; then
    4602   ac_cv_lib_g2c_s_copy=yes
    4603 else
    4604   echo "$as_me: failed program was:" >&5
    4605 cat conftest.$ac_ext >&5
    4606 ac_cv_lib_g2c_s_copy=no
    4607 fi
    4608 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4609 LIBS=$ac_check_lib_save_LIBS
    4610 fi
    4611 echo "$as_me:4611: result: $ac_cv_lib_g2c_s_copy" >&5
    4612 echo "${ECHO_T}$ac_cv_lib_g2c_s_copy" >&6
    4613 if test $ac_cv_lib_g2c_s_copy = yes; then
    4614   cat >>confdefs.h <<EOF
    4615 #define HAVE_LIBG2C 1
     1653    builtin and then its argument prototype would still apply.  */
     1654char s_copy();
     1655
     1656int main() {
     1657s_copy()
     1658; return 0; }
     1659EOF
     1660if { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1661  rm -rf conftest*
     1662  eval "ac_cv_lib_$ac_lib_var=yes"
     1663else
     1664  echo "configure: failed program was:" >&5
     1665  cat conftest.$ac_ext >&5
     1666  rm -rf conftest*
     1667  eval "ac_cv_lib_$ac_lib_var=no"
     1668fi
     1669rm -f conftest*
     1670LIBS="$ac_save_LIBS"
     1671
     1672fi
     1673if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1674  echo "$ac_t""yes" 1>&6
     1675    ac_tr_lib=HAVE_LIB`echo g2c | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1676    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1677  cat >> confdefs.h <<EOF
     1678#define $ac_tr_lib 1
    46161679EOF
    46171680
    46181681  LIBS="-lg2c $LIBS"
    46191682
    4620 fi
     1683else
     1684  echo "$ac_t""no" 1>&6
     1685fi
     1686
    46211687
    46221688if test $use_piolib = 1; then
    4623   echo "$as_me:4623: checking \"for PIOLib\"" >&5
    4624 echo $ECHO_N "checking \"for PIOLib\"... $ECHO_C" >&6
     1689  echo $ac_n "checking "for PIOLib"""... $ac_c" 1>&6
     1690echo "configure:1691: checking "for PIOLib"" >&5
    46251691  if test -f /usr/local/lib/libpiolib.a; then
    46261692    piolibdir=""
     
    46301696    pioincdir='-I$(PIOINCDIR)'
    46311697  else
    4632     { { echo "$as_me:4632: error: \"Cannot find PIO library\"" >&5
    4633 echo "$as_me: error: \"Cannot find PIO library\"" >&2;}
    4634    { (exit 1); exit 1; }; }
    4635   fi
    4636   echo "$as_me:4636: result: \"ok\"" >&5
    4637 echo "${ECHO_T}\"ok\"" >&6
    4638 
    4639 fi
    4640 
    4641 echo "$as_me:4641: checking for ANSI C header files" >&5
    4642 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    4643 if test "${ac_cv_header_stdc+set}" = set; then
    4644   echo $ECHO_N "(cached) $ECHO_C" >&6
    4645 else
    4646   cat >conftest.$ac_ext <<_ACEOF
    4647 #line 4647 "configure"
     1698    { echo "configure: error: "Cannot find PIO library"" 1>&2; exit 1; }
     1699  fi
     1700  echo "$ac_t"""ok"" 1>&6
     1701 
     1702 
     1703fi
     1704
     1705echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
     1706echo "configure:1707: checking how to run the C preprocessor" >&5
     1707# On Suns, sometimes $CPP names a directory.
     1708if test -n "$CPP" && test -d "$CPP"; then
     1709  CPP=
     1710fi
     1711if test -z "$CPP"; then
     1712if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
     1713  echo $ac_n "(cached) $ac_c" 1>&6
     1714else
     1715    # This must be in double quotes, not single quotes, because CPP may get
     1716  # substituted into the Makefile and "${CC-cc}" will confuse make.
     1717  CPP="${CC-cc} -E"
     1718  # On the NeXT, cc -E runs the code through the compiler's parser,
     1719  # not just through cpp.
     1720  cat > conftest.$ac_ext <<EOF
     1721#line 1722 "configure"
     1722#include "confdefs.h"
     1723#include <assert.h>
     1724Syntax Error
     1725EOF
     1726ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     1727{ (eval echo configure:1728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1728ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1729if test -z "$ac_err"; then
     1730  :
     1731else
     1732  echo "$ac_err" >&5
     1733  echo "configure: failed program was:" >&5
     1734  cat conftest.$ac_ext >&5
     1735  rm -rf conftest*
     1736  CPP="${CC-cc} -E -traditional-cpp"
     1737  cat > conftest.$ac_ext <<EOF
     1738#line 1739 "configure"
     1739#include "confdefs.h"
     1740#include <assert.h>
     1741Syntax Error
     1742EOF
     1743ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     1744{ (eval echo configure:1745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1745ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1746if test -z "$ac_err"; then
     1747  :
     1748else
     1749  echo "$ac_err" >&5
     1750  echo "configure: failed program was:" >&5
     1751  cat conftest.$ac_ext >&5
     1752  rm -rf conftest*
     1753  CPP="${CC-cc} -nologo -E"
     1754  cat > conftest.$ac_ext <<EOF
     1755#line 1756 "configure"
     1756#include "confdefs.h"
     1757#include <assert.h>
     1758Syntax Error
     1759EOF
     1760ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     1761{ (eval echo configure:1762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1762ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1763if test -z "$ac_err"; then
     1764  :
     1765else
     1766  echo "$ac_err" >&5
     1767  echo "configure: failed program was:" >&5
     1768  cat conftest.$ac_ext >&5
     1769  rm -rf conftest*
     1770  CPP=/lib/cpp
     1771fi
     1772rm -f conftest*
     1773fi
     1774rm -f conftest*
     1775fi
     1776rm -f conftest*
     1777  ac_cv_prog_CPP="$CPP"
     1778fi
     1779  CPP="$ac_cv_prog_CPP"
     1780else
     1781  ac_cv_prog_CPP="$CPP"
     1782fi
     1783echo "$ac_t""$CPP" 1>&6
     1784
     1785echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
     1786echo "configure:1787: checking for ANSI C header files" >&5
     1787if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
     1788  echo $ac_n "(cached) $ac_c" 1>&6
     1789else
     1790  cat > conftest.$ac_ext <<EOF
     1791#line 1792 "configure"
    46481792#include "confdefs.h"
    46491793#include <stdlib.h>
     
    46511795#include <string.h>
    46521796#include <float.h>
    4653 
    4654 _ACEOF
    4655 if { (eval echo "$as_me:4655: \"$ac_cpp conftest.$ac_ext\"") >&5
    4656   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4657   ac_status=$?
    4658   egrep -v '^ *\+' conftest.er1 >conftest.err
    4659   rm -f conftest.er1
    4660   cat conftest.err >&5
    4661   echo "$as_me:4661: \$? = $ac_status" >&5
    4662   (exit $ac_status); } >/dev/null; then
    4663   if test -s conftest.err; then
    4664     ac_cpp_err=$ac_c_preproc_warn_flag
    4665   else
    4666     ac_cpp_err=
    4667   fi
    4668 else
    4669   ac_cpp_err=yes
    4670 fi
    4671 if test -z "$ac_cpp_err"; then
     1797EOF
     1798ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     1799{ (eval echo configure:1800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1800ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1801if test -z "$ac_err"; then
     1802  rm -rf conftest*
    46721803  ac_cv_header_stdc=yes
    46731804else
    4674   echo "$as_me: failed program was:" >&5
     1805  echo "$ac_err" >&5
     1806  echo "configure: failed program was:" >&5
    46751807  cat conftest.$ac_ext >&5
     1808  rm -rf conftest*
    46761809  ac_cv_header_stdc=no
    46771810fi
    4678 rm -f conftest.err conftest.$ac_ext
     1811rm -f conftest*
    46791812
    46801813if test $ac_cv_header_stdc = yes; then
    46811814  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4682   cat >conftest.$ac_ext <<_ACEOF
    4683 #line 4683 "configure"
     1815cat > conftest.$ac_ext <<EOF
     1816#line 1817 "configure"
    46841817#include "confdefs.h"
    46851818#include <string.h>
    4686 
    4687 _ACEOF
     1819EOF
    46881820if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    46891821  egrep "memchr" >/dev/null 2>&1; then
    46901822  :
    46911823else
     1824  rm -rf conftest*
    46921825  ac_cv_header_stdc=no
    46931826fi
     
    46981831if test $ac_cv_header_stdc = yes; then
    46991832  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4700   cat >conftest.$ac_ext <<_ACEOF
    4701 #line 4701 "configure"
     1833cat > conftest.$ac_ext <<EOF
     1834#line 1835 "configure"
    47021835#include "confdefs.h"
    47031836#include <stdlib.h>
    4704 
    4705 _ACEOF
     1837EOF
    47061838if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    47071839  egrep "free" >/dev/null 2>&1; then
    47081840  :
    47091841else
     1842  rm -rf conftest*
    47101843  ac_cv_header_stdc=no
    47111844fi
     
    47161849if test $ac_cv_header_stdc = yes; then
    47171850  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4718   if test "$cross_compiling" = yes; then
     1851if test "$cross_compiling" = yes; then
    47191852  :
    47201853else
    4721   cat >conftest.$ac_ext <<_ACEOF
    4722 #line 4722 "configure"
     1854  cat > conftest.$ac_ext <<EOF
     1855#line 1856 "configure"
    47231856#include "confdefs.h"
    47241857#include <ctype.h>
    4725 #if ((' ' & 0x0FF) == 0x020)
    4726 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    4727 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    4728 #else
    4729 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
    4730                      || ('j' <= (c) && (c) <= 'r') \
    4731                      || ('s' <= (c) && (c) <= 'z'))
    4732 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    4733 #endif
    4734 
     1858#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     1859#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    47351860#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    4736 int
    4737 main ()
    4738 {
    4739   int i;
    4740   for (i = 0; i < 256; i++)
    4741     if (XOR (islower (i), ISLOWER (i))
    4742         || toupper (i) != TOUPPER (i))
    4743       exit(2);
    4744   exit (0);
    4745 }
    4746 _ACEOF
    4747 rm -f conftest$ac_exeext
    4748 if { (eval echo "$as_me:4748: \"$ac_link\"") >&5
    4749   (eval $ac_link) 2>&5
    4750   ac_status=$?
    4751   echo "$as_me:4751: \$? = $ac_status" >&5
    4752   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4753   { (eval echo "$as_me:4753: \"$ac_try\"") >&5
    4754   (eval $ac_try) 2>&5
    4755   ac_status=$?
    4756   echo "$as_me:4756: \$? = $ac_status" >&5
    4757   (exit $ac_status); }; }; then
     1861int main () { int i; for (i = 0; i < 256; i++)
     1862if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
     1863exit (0); }
     1864
     1865EOF
     1866if { (eval echo configure:1867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1867then
    47581868  :
    47591869else
    4760   echo "$as_me: program exited with status $ac_status" >&5
    4761 echo "$as_me: failed program was:" >&5
    4762 cat conftest.$ac_ext >&5
    4763 ac_cv_header_stdc=no
    4764 fi
    4765 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4766 fi
    4767 fi
    4768 fi
    4769 echo "$as_me:4769: result: $ac_cv_header_stdc" >&5
    4770 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     1870  echo "configure: failed program was:" >&5
     1871  cat conftest.$ac_ext >&5
     1872  rm -fr conftest*
     1873  ac_cv_header_stdc=no
     1874fi
     1875rm -fr conftest*
     1876fi
     1877
     1878fi
     1879fi
     1880
     1881echo "$ac_t""$ac_cv_header_stdc" 1>&6
    47711882if test $ac_cv_header_stdc = yes; then
    4772 
    4773 cat >>confdefs.h <<\EOF
     1883  cat >> confdefs.h <<\EOF
    47741884#define STDC_HEADERS 1
    47751885EOF
     
    47771887fi
    47781888
    4779 for ac_header in values.h stdint.h
     1889for ac_hdr in values.h stdint.h
    47801890do
    4781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4782 echo "$as_me:4782: checking for $ac_header" >&5
    4783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4785   echo $ECHO_N "(cached) $ECHO_C" >&6
    4786 else
    4787   cat >conftest.$ac_ext <<_ACEOF
    4788 #line 4788 "configure"
     1891ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     1892echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1893echo "configure:1894: checking for $ac_hdr" >&5
     1894if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     1895  echo $ac_n "(cached) $ac_c" 1>&6
     1896else
     1897  cat > conftest.$ac_ext <<EOF
     1898#line 1899 "configure"
    47891899#include "confdefs.h"
    4790 #include <$ac_header>
    4791 _ACEOF
    4792 if { (eval echo "$as_me:4792: \"$ac_cpp conftest.$ac_ext\"") >&5
    4793   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4794   ac_status=$?
    4795   egrep -v '^ *\+' conftest.er1 >conftest.err
    4796   rm -f conftest.er1
    4797   cat conftest.err >&5
    4798   echo "$as_me:4798: \$? = $ac_status" >&5
    4799   (exit $ac_status); } >/dev/null; then
    4800   if test -s conftest.err; then
    4801     ac_cpp_err=$ac_c_preproc_warn_flag
    4802   else
    4803     ac_cpp_err=
    4804   fi
    4805 else
    4806   ac_cpp_err=yes
    4807 fi
    4808 if test -z "$ac_cpp_err"; then
    4809   eval "$as_ac_Header=yes"
    4810 else
    4811   echo "$as_me: failed program was:" >&5
     1900#include <$ac_hdr>
     1901EOF
     1902ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     1903{ (eval echo configure:1904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1904ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1905if test -z "$ac_err"; then
     1906  rm -rf conftest*
     1907  eval "ac_cv_header_$ac_safe=yes"
     1908else
     1909  echo "$ac_err" >&5
     1910  echo "configure: failed program was:" >&5
    48121911  cat conftest.$ac_ext >&5
    4813   eval "$as_ac_Header=no"
    4814 fi
    4815 rm -f conftest.err conftest.$ac_ext
    4816 fi
    4817 echo "$as_me:4817: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4820   cat >>confdefs.h <<EOF
    4821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4822 EOF
    4823 
     1912  rm -rf conftest*
     1913  eval "ac_cv_header_$ac_safe=no"
     1914fi
     1915rm -f conftest*
     1916fi
     1917if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     1918  echo "$ac_t""yes" 1>&6
     1919    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
     1920  cat >> confdefs.h <<EOF
     1921#define $ac_tr_hdr 1
     1922EOF
     1923 
     1924else
     1925  echo "$ac_t""no" 1>&6
    48241926fi
    48251927done
     1928
    48261929
    48271930outfiles="Makefile Kernel/Makefile Processors/Makefile TestPipes/Makefile"
     
    48301933fi
    48311934
    4832 ac_config_files="$ac_config_files $outfiles"
    4833 cat >confcache <<\_ACEOF
     1935trap '' 1 2 15
     1936cat > confcache <<\EOF
    48341937# This file is a shell script that caches the results of configure
    48351938# tests run on this system so they can be shared between configure
    4836 # scripts and configure runs, see configure's option --config-cache.
    4837 # It is not useful on other systems.  If it contains results you don't
    4838 # want to keep, you may remove or edit it.
     1939# scripts and configure runs.  It is not useful on other systems.
     1940# If it contains results you don't want to keep, you may remove or edit it.
    48391941#
    4840 # config.status only pays attention to the cache file if you give it
    4841 # the --recheck option to rerun configure.
     1942# By default, configure uses ./config.cache as the cache file,
     1943# creating it if it does not exist already.  You can give configure
     1944# the --cache-file=FILE option to use a different cache file; that is
     1945# what configure does when it calls configure scripts in
     1946# subdirectories, so they share the cache.
     1947# Giving --cache-file=/dev/null disables caching, for debugging configure.
     1948# config.status only pays attention to the cache file if you give it the
     1949# --recheck option to rerun configure.
    48421950#
    4843 # `ac_cv_env_foo' variables (set or unset) will be overriden when
    4844 # loading this file, other *unset* `ac_cv_foo' will be assigned the
    4845 # following values.
    4846 
    4847 _ACEOF
    4848 
     1951EOF
    48491952# The following way of writing the cache mishandles newlines in values,
    48501953# but we know of no workaround that is simple, portable, and efficient.
     
    48521955# Ultrix sh set writes to stderr and can't be redirected directly,
    48531956# and sets the high bit in the cache file unless we assign to the vars.
    4854 {
    4855   (set) 2>&1 |
    4856     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    4857     *ac_space=\ *)
    4858       # `set' does not quote correctly, so add quotes (double-quote
    4859       # substitution turns \\\\ into \\, and sed turns \\ into \).
    4860       sed -n \
    4861         "s/'/'\\\\''/g;
    4862           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    4863       ;;
    4864     *)
    4865       # `set' quotes correctly as required by POSIX, so do not add quotes.
    4866       sed -n \
    4867         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    4868       ;;
    4869     esac;
    4870 } |
    4871   sed '
    4872      t clear
    4873      : clear
    4874      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    4875      t end
    4876      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    4877      : end' >>confcache
    4878 if cmp -s $cache_file confcache; then :; else
     1957(set) 2>&1 |
     1958  case `(ac_space=' '; set | grep ac_space) 2>&1` in
     1959  *ac_space=\ *)
     1960    # `set' does not quote correctly, so add quotes (double-quote substitution
     1961    # turns \\\\ into \\, and sed turns \\ into \).
     1962    sed -n \
     1963      -e "s/'/'\\\\''/g" \
     1964      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
     1965    ;;
     1966  *)
     1967    # `set' quotes correctly as required by POSIX, so do not add quotes.
     1968    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
     1969    ;;
     1970  esac >> confcache
     1971if cmp -s $cache_file confcache; then
     1972  :
     1973else
    48791974  if test -w $cache_file; then
    4880     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    4881     cat confcache >$cache_file
     1975    echo "updating cache $cache_file"
     1976    cat confcache > $cache_file
    48821977  else
    48831978    echo "not updating unwritable cache $cache_file"
     
    48851980fi
    48861981rm -f confcache
     1982
     1983trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    48871984
    48881985test "x$prefix" = xNONE && prefix=$ac_default_prefix
     
    48901987test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    48911988
    4892 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    4893 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    4894 # trailing colons and then remove the whole line if VPATH becomes empty
    4895 # (actually we leave an empty line to preserve line numbers).
     1989# Any assignment to VPATH causes Sun make to only execute
     1990# the first set of double-colon rules, so remove it if not needed.
     1991# If there is a colon in the path, we need to keep it.
    48961992if test "x$srcdir" = x.; then
    4897   ac_vpsub='/^[         ]*VPATH[        ]*=/{
    4898 s/:*\$(srcdir):*/:/;
    4899 s/:*\${srcdir}:*/:/;
    4900 s/:*@srcdir@:*/:/;
    4901 s/^\([^=]*=[    ]*\):*/\1/;
    4902 s/:*$//;
    4903 s/^[^=]*=[      ]*$//;
    4904 }'
    4905 fi
     1993  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
     1994fi
     1995
     1996trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
    49061997
    49071998DEFS=-DHAVE_CONFIG_H
    49081999
     2000# Without the "./", some shells look in PATH for config.status.
    49092001: ${CONFIG_STATUS=./config.status}
    4910 ac_clean_files_save=$ac_clean_files
    4911 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    4912 { echo "$as_me:4912: creating $CONFIG_STATUS" >&5
    4913 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    4914 cat >$CONFIG_STATUS <<_ACEOF
    4915 #! $SHELL
     2002
     2003echo creating $CONFIG_STATUS
     2004rm -f $CONFIG_STATUS
     2005cat > $CONFIG_STATUS <<EOF
     2006#! /bin/sh
    49162007# Generated automatically by configure.
    49172008# Run this file to recreate the current configuration.
     2009# This directory was configured as follows,
     2010# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
     2011#
     2012# $0 $ac_configure_args
     2013#
    49182014# Compiler output produced by configure, useful for debugging
    4919 # configure, is in config.log if it exists.
    4920 
    4921 debug=false
    4922 SHELL=\${CONFIG_SHELL-$SHELL}
    4923 ac_cs_invocation="\$0 \$@"
    4924 
    4925 _ACEOF
    4926 
    4927 cat >>$CONFIG_STATUS <<\_ACEOF
    4928 # Be Bourne compatible
    4929 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    4930   emulate sh
    4931   NULLCMD=:
    4932 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    4933   set -o posix
    4934 fi
    4935 
    4936 # Name of the executable.
    4937 as_me=`echo "$0" |sed 's,.*[\\/],,'`
    4938 
    4939 if expr a : '\(a\)' >/dev/null 2>&1; then
    4940   as_expr=expr
    4941 else
    4942   as_expr=false
    4943 fi
    4944 
    4945 rm -f conf$$ conf$$.exe conf$$.file
    4946 echo >conf$$.file
    4947 if ln -s conf$$.file conf$$ 2>/dev/null; then
    4948   # We could just check for DJGPP; but this test a) works b) is more generic
    4949   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    4950   if test -f conf$$.exe; then
    4951     # Don't use ln at all; we don't have any links
    4952     as_ln_s='cp -p'
    4953   else
    4954     as_ln_s='ln -s'
    4955   fi
    4956 elif ln conf$$.file conf$$ 2>/dev/null; then
    4957   as_ln_s=ln
    4958 else
    4959   as_ln_s='cp -p'
    4960 fi
    4961 rm -f conf$$ conf$$.exe conf$$.file
    4962 
    4963 as_executable_p="test -f"
    4964 
    4965 # Support unset when possible.
    4966 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    4967   as_unset=unset
    4968 else
    4969   as_unset=false
    4970 fi
    4971 
    4972 # NLS nuisances.
    4973 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
    4974 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
    4975 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
    4976 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
    4977 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
    4978 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
    4979 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
    4980 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
    4981 
    4982 # IFS
    4983 # We need space, tab and new line, in precisely that order.
    4984 as_nl='
    4985 '
    4986 IFS="   $as_nl"
    4987 
    4988 # CDPATH.
    4989 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
    4990 
    4991 exec 6>&1
    4992 
    4993 _ACEOF
    4994 
    4995 # Files that config.status was made for.
    4996 if test -n "$ac_config_files"; then
    4997   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    4998 fi
    4999 
    5000 if test -n "$ac_config_headers"; then
    5001   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    5002 fi
    5003 
    5004 if test -n "$ac_config_links"; then
    5005   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    5006 fi
    5007 
    5008 if test -n "$ac_config_commands"; then
    5009   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    5010 fi
    5011 
    5012 cat >>$CONFIG_STATUS <<\EOF
    5013 
    5014 ac_cs_usage="\
    5015 \`$as_me' instantiates files from templates according to the
    5016 current configuration.
    5017 
    5018 Usage: $0 [OPTIONS] [FILE]...
    5019 
    5020   -h, --help       print this help, then exit
    5021   -V, --version    print version number, then exit
    5022   -d, --debug      don't remove temporary files
    5023       --recheck    update $as_me by reconfiguring in the same conditions
    5024   --file=FILE[:TEMPLATE]
    5025                    instantiate the configuration file FILE
    5026   --header=FILE[:TEMPLATE]
    5027                    instantiate the configuration header FILE
    5028 
    5029 Configuration files:
    5030 $config_files
    5031 
    5032 Configuration headers:
    5033 $config_headers
    5034 
    5035 Report bugs to <bug-autoconf@gnu.org>."
    5036 EOF
    5037 
    5038 cat >>$CONFIG_STATUS <<EOF
    5039 ac_cs_version="\\
    5040 config.status
    5041 configured by $0, generated by GNU Autoconf 2.52,
    5042   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    5043 
    5044 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    5045 Free Software Foundation, Inc.
    5046 This config.status script is free software; the Free Software Foundation
    5047 gives unlimited permission to copy, distribute and modify it."
    5048 srcdir=$srcdir
    5049 INSTALL="$INSTALL"
    5050 EOF
    5051 
    5052 cat >>$CONFIG_STATUS <<\EOF
    5053 # If no file are specified by the user, then we need to provide default
    5054 # value.  By we need to know if files were specified by the user.
    5055 ac_need_defaults=:
    5056 while test $# != 0
     2015# configure, is in ./config.log if it exists.
     2016
     2017ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
     2018for ac_option
    50572019do
    5058   case $1 in
    5059   --*=*)
    5060     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    5061     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    5062     shift
    5063     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
    5064     shift
    5065     ;;
    5066   -*);;
    5067   *) # This is not an option, so the user has probably given explicit
    5068      # arguments.
    5069      ac_need_defaults=false;;
    5070   esac
    5071 
    5072   case $1 in
    5073   # Handling of the options.
    5074 EOF
    5075 cat >>$CONFIG_STATUS <<EOF
     2020  case "\$ac_option" in
    50762021  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    5077     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
    5078     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
    5079 EOF
    5080 cat >>$CONFIG_STATUS <<\EOF
    5081   --version | --vers* | -V )
    5082     echo "$ac_cs_version"; exit 0 ;;
    5083   --he | --h)
    5084     # Conflict between --help and --header
    5085     { { echo "$as_me:5085: error: ambiguous option: $1
    5086 Try \`$0 --help' for more information." >&5
    5087 echo "$as_me: error: ambiguous option: $1
    5088 Try \`$0 --help' for more information." >&2;}
    5089    { (exit 1); exit 1; }; };;
    5090   --help | --hel | -h )
    5091     echo "$ac_cs_usage"; exit 0 ;;
    5092   --debug | --d* | -d )
    5093     debug=: ;;
    5094   --file | --fil | --fi | --f )
    5095     shift
    5096     CONFIG_FILES="$CONFIG_FILES $1"
    5097     ac_need_defaults=false;;
    5098   --header | --heade | --head | --hea )
    5099     shift
    5100     CONFIG_HEADERS="$CONFIG_HEADERS $1"
    5101     ac_need_defaults=false;;
    5102 
    5103   # This is an error.
    5104   -*) { { echo "$as_me:5104: error: unrecognized option: $1
    5105 Try \`$0 --help' for more information." >&5
    5106 echo "$as_me: error: unrecognized option: $1
    5107 Try \`$0 --help' for more information." >&2;}
    5108    { (exit 1); exit 1; }; } ;;
    5109 
    5110   *) ac_config_targets="$ac_config_targets $1" ;;
    5111 
    5112   esac
    5113   shift
    5114 done
    5115 
    5116 exec 5>>config.log
    5117 cat >&5 << _ACEOF
    5118 
    5119 ## ----------------------- ##
    5120 ## Running config.status.  ##
    5121 ## ----------------------- ##
    5122 
    5123 This file was extended by $as_me 2.52, executed with
    5124   CONFIG_FILES    = $CONFIG_FILES
    5125   CONFIG_HEADERS  = $CONFIG_HEADERS
    5126   CONFIG_LINKS    = $CONFIG_LINKS
    5127   CONFIG_COMMANDS = $CONFIG_COMMANDS
    5128   > $ac_cs_invocation
    5129 on `(hostname || uname -n) 2>/dev/null | sed 1q`
    5130 
    5131 _ACEOF
    5132 EOF
    5133 
    5134 cat >>$CONFIG_STATUS <<\EOF
    5135 for ac_config_target in $ac_config_targets
    5136 do
    5137   case "$ac_config_target" in
    5138   # Handling of arguments.
    5139   "$outfiles" ) CONFIG_FILES="$CONFIG_FILES $outfiles" ;;
    5140   "conf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS conf.h" ;;
    5141   *) { { echo "$as_me:5141: error: invalid argument: $ac_config_target" >&5
    5142 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    5143    { (exit 1); exit 1; }; };;
     2022    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
     2023    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
     2024  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
     2025    echo "$CONFIG_STATUS generated by autoconf version 2.13"
     2026    exit 0 ;;
     2027  -help | --help | --hel | --he | --h)
     2028    echo "\$ac_cs_usage"; exit 0 ;;
     2029  *) echo "\$ac_cs_usage"; exit 1 ;;
    51442030  esac
    51452031done
    51462032
    5147 # If the user did not use the arguments to specify the items to instantiate,
    5148 # then the envvar interface is used.  Set only those that are not.
    5149 # We use the long form for the default assignment because of an extremely
    5150 # bizarre bug on SunOS 4.1.3.
    5151 if $ac_need_defaults; then
    5152   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    5153   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
    5154 fi
    5155 
    5156 # Create a temporary directory, and hook for its removal unless debugging.
    5157 $debug ||
    5158 {
    5159   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    5160   trap '{ (exit 1); exit 1; }' 1 2 13 15
    5161 }
    5162 
    5163 # Create a (secure) tmp directory for tmp files.
    5164 : ${TMPDIR=/tmp}
    5165 {
    5166   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
    5167   test -n "$tmp" && test -d "$tmp"
    5168 }  ||
    5169 {
    5170   tmp=$TMPDIR/cs$$-$RANDOM
    5171   (umask 077 && mkdir $tmp)
    5172 } ||
    5173 {
    5174    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
    5175    { (exit 1); exit 1; }
    5176 }
    5177 
    5178 EOF
    5179 
    5180 cat >>$CONFIG_STATUS <<EOF
    5181 
    5182 #
    5183 # CONFIG_FILES section.
    5184 #
    5185 
    5186 # No need to generate the scripts if there are no CONFIG_FILES.
    5187 # This happens for instance when ./config.status config.h
    5188 if test -n "\$CONFIG_FILES"; then
    5189   # Protect against being on the right side of a sed subst in config.status.
    5190   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    5191    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    5192 s,@SHELL@,$SHELL,;t t
    5193 s,@exec_prefix@,$exec_prefix,;t t
    5194 s,@prefix@,$prefix,;t t
    5195 s,@program_transform_name@,$program_transform_name,;t t
    5196 s,@bindir@,$bindir,;t t
    5197 s,@sbindir@,$sbindir,;t t
    5198 s,@libexecdir@,$libexecdir,;t t
    5199 s,@datadir@,$datadir,;t t
    5200 s,@sysconfdir@,$sysconfdir,;t t
    5201 s,@sharedstatedir@,$sharedstatedir,;t t
    5202 s,@localstatedir@,$localstatedir,;t t
    5203 s,@libdir@,$libdir,;t t
    5204 s,@includedir@,$includedir,;t t
    5205 s,@oldincludedir@,$oldincludedir,;t t
    5206 s,@infodir@,$infodir,;t t
    5207 s,@mandir@,$mandir,;t t
    5208 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    5209 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    5210 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    5211 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    5212 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    5213 s,@build_alias@,$build_alias,;t t
    5214 s,@host_alias@,$host_alias,;t t
    5215 s,@target_alias@,$target_alias,;t t
    5216 s,@ECHO_C@,$ECHO_C,;t t
    5217 s,@ECHO_N@,$ECHO_N,;t t
    5218 s,@ECHO_T@,$ECHO_T,;t t
    5219 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    5220 s,@DEFS@,$DEFS,;t t
    5221 s,@LIBS@,$LIBS,;t t
    5222 s,@use_sophya@,$use_sophya,;t t
    5223 s,@use_piolib@,$use_piolib,;t t
    5224 s,@CC@,$CC,;t t
    5225 s,@CFLAGS@,$CFLAGS,;t t
    5226 s,@LDFLAGS@,$LDFLAGS,;t t
    5227 s,@CPPFLAGS@,$CPPFLAGS,;t t
    5228 s,@ac_ct_CC@,$ac_ct_CC,;t t
    5229 s,@EXEEXT@,$EXEEXT,;t t
    5230 s,@OBJEXT@,$OBJEXT,;t t
    5231 s,@CXX@,$CXX,;t t
    5232 s,@CXXFLAGS@,$CXXFLAGS,;t t
    5233 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    5234 s,@AR@,$AR,;t t
    5235 s,@ARFLAGS@,$ARFLAGS,;t t
    5236 s,@RANLIB@,$RANLIB,;t t
    5237 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    5238 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    5239 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    5240 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    5241 s,@gcc@,$gcc,;t t
    5242 s,@CPP@,$CPP,;t t
    5243 s,@cfitslibdir@,$cfitslibdir,;t t
    5244 s,@cfitsincdir@,$cfitsincdir,;t t
    5245 s,@piolibdir@,$piolibdir,;t t
    5246 s,@pioincdir@,$pioincdir,;t t
     2033ac_given_srcdir=$srcdir
     2034ac_given_INSTALL="$INSTALL"
     2035
     2036trap 'rm -fr `echo "$outfiles conf.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     2037EOF
     2038cat >> $CONFIG_STATUS <<EOF
     2039
     2040# Protect against being on the right side of a sed subst in config.status.
     2041sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
     2042 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
     2043$ac_vpsub
     2044$extrasub
     2045s%@SHELL@%$SHELL%g
     2046s%@CFLAGS@%$CFLAGS%g
     2047s%@CPPFLAGS@%$CPPFLAGS%g
     2048s%@CXXFLAGS@%$CXXFLAGS%g
     2049s%@FFLAGS@%$FFLAGS%g
     2050s%@DEFS@%$DEFS%g
     2051s%@LDFLAGS@%$LDFLAGS%g
     2052s%@LIBS@%$LIBS%g
     2053s%@exec_prefix@%$exec_prefix%g
     2054s%@prefix@%$prefix%g
     2055s%@program_transform_name@%$program_transform_name%g
     2056s%@bindir@%$bindir%g
     2057s%@sbindir@%$sbindir%g
     2058s%@libexecdir@%$libexecdir%g
     2059s%@datadir@%$datadir%g
     2060s%@sysconfdir@%$sysconfdir%g
     2061s%@sharedstatedir@%$sharedstatedir%g
     2062s%@localstatedir@%$localstatedir%g
     2063s%@libdir@%$libdir%g
     2064s%@includedir@%$includedir%g
     2065s%@oldincludedir@%$oldincludedir%g
     2066s%@infodir@%$infodir%g
     2067s%@mandir@%$mandir%g
     2068s%@use_sophya@%$use_sophya%g
     2069s%@use_piolib@%$use_piolib%g
     2070s%@CC@%$CC%g
     2071s%@CXX@%$CXX%g
     2072s%@AR@%$AR%g
     2073s%@ARFLAGS@%$ARFLAGS%g
     2074s%@RANLIB@%$RANLIB%g
     2075s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
     2076s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     2077s%@INSTALL_DATA@%$INSTALL_DATA%g
     2078s%@gcc@%$gcc%g
     2079s%@cfitslibdir@%$cfitslibdir%g
     2080s%@cfitsincdir@%$cfitsincdir%g
     2081s%@piolibdir@%$piolibdir%g
     2082s%@pioincdir@%$pioincdir%g
     2083s%@CPP@%$CPP%g
     2084
    52472085CEOF
    5248 
    5249 EOF
    5250 
    5251   cat >>$CONFIG_STATUS <<\EOF
    5252   # Split the substitutions into bite-sized pieces for seds with
    5253   # small command number limits, like on Digital OSF/1 and HP-UX.
    5254   ac_max_sed_lines=48
    5255   ac_sed_frag=1 # Number of current file.
    5256   ac_beg=1 # First line for current file.
    5257   ac_end=$ac_max_sed_lines # Line after last line for current file.
    5258   ac_more_lines=:
    5259   ac_sed_cmds=
    5260   while $ac_more_lines; do
    5261     if test $ac_beg -gt 1; then
    5262       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     2086EOF
     2087
     2088cat >> $CONFIG_STATUS <<\EOF
     2089
     2090# Split the substitutions into bite-sized pieces for seds with
     2091# small command number limits, like on Digital OSF/1 and HP-UX.
     2092ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
     2093ac_file=1 # Number of current file.
     2094ac_beg=1 # First line for current file.
     2095ac_end=$ac_max_sed_cmds # Line after last line for current file.
     2096ac_more_lines=:
     2097ac_sed_cmds=""
     2098while $ac_more_lines; do
     2099  if test $ac_beg -gt 1; then
     2100    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
     2101  else
     2102    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
     2103  fi
     2104  if test ! -s conftest.s$ac_file; then
     2105    ac_more_lines=false
     2106    rm -f conftest.s$ac_file
     2107  else
     2108    if test -z "$ac_sed_cmds"; then
     2109      ac_sed_cmds="sed -f conftest.s$ac_file"
    52632110    else
    5264       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     2111      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    52652112    fi
    5266     if test ! -s $tmp/subs.frag; then
    5267       ac_more_lines=false
    5268     else
    5269       # The purpose of the label and of the branching condition is to
    5270       # speed up the sed processing (if there are no `@' at all, there
    5271       # is no need to browse any of the substitutions).
    5272       # These are the two extra sed commands mentioned above.
    5273       (echo ':t
    5274   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    5275       if test -z "$ac_sed_cmds"; then
    5276         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    5277       else
    5278         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    5279       fi
    5280       ac_sed_frag=`expr $ac_sed_frag + 1`
    5281       ac_beg=$ac_end
    5282       ac_end=`expr $ac_end + $ac_max_sed_lines`
    5283     fi
    5284   done
    5285   if test -z "$ac_sed_cmds"; then
    5286     ac_sed_cmds=cat
    5287   fi
    5288 fi # test -n "$CONFIG_FILES"
    5289 
    5290 EOF
    5291 cat >>$CONFIG_STATUS <<\EOF
    5292 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     2113    ac_file=`expr $ac_file + 1`
     2114    ac_beg=$ac_end
     2115    ac_end=`expr $ac_end + $ac_max_sed_cmds`
     2116  fi
     2117done
     2118if test -z "$ac_sed_cmds"; then
     2119  ac_sed_cmds=cat
     2120fi
     2121EOF
     2122
     2123cat >> $CONFIG_STATUS <<EOF
     2124
     2125CONFIG_FILES=\${CONFIG_FILES-"$outfiles"}
     2126EOF
     2127cat >> $CONFIG_STATUS <<\EOF
     2128for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
    52932129  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    5294   case $ac_file in
    5295   - | *:- | *:-:* ) # input from stdin
    5296         cat >$tmp/stdin
    5297         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    5298         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    5299   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    5300         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    5301   * )   ac_file_in=$ac_file.in ;;
     2130  case "$ac_file" in
     2131  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
     2132       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
     2133  *) ac_file_in="${ac_file}.in" ;;
    53022134  esac
    53032135
    5304   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    5305   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    5306          X"$ac_file" : 'X\(//\)[^/]' \| \
    5307          X"$ac_file" : 'X\(//\)$' \| \
    5308          X"$ac_file" : 'X\(/\)' \| \
    5309          .     : '\(.\)' 2>/dev/null ||
    5310 echo X"$ac_file" |
    5311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    5312           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    5313           /^X\(\/\/\)$/{ s//\1/; q; }
    5314           /^X\(\/\).*/{ s//\1/; q; }
    5315           s/.*/./; q'`
     2136  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
     2137
     2138  # Remove last slash and all that follows it.  Not all systems have dirname.
     2139  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
    53162140  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    5317     { case "$ac_dir" in
    5318   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
    5319   *)                      as_incr_dir=.;;
    5320 esac
    5321 as_dummy="$ac_dir"
    5322 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
    5323   case $as_mkdir_dir in
    5324     # Skip DOS drivespec
    5325     ?:) as_incr_dir=$as_mkdir_dir ;;
    5326     *)
    5327       as_incr_dir=$as_incr_dir/$as_mkdir_dir
    5328       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
    5329     ;;
    5330   esac
    5331 done; }
    5332 
    5333     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
     2141    # The file is in a subdirectory.
     2142    test ! -d "$ac_dir" && mkdir "$ac_dir"
     2143    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    53342144    # A "../" for each directory in $ac_dir_suffix.
    5335     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
     2145    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
    53362146  else
    53372147    ac_dir_suffix= ac_dots=
    53382148  fi
    53392149
    5340   case $srcdir in
    5341   .)  ac_srcdir=.
    5342       if test -z "$ac_dots"; then
    5343          ac_top_srcdir=.
    5344       else
    5345          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
    5346       fi ;;
    5347   [\\/]* | ?:[\\/]* )
    5348       ac_srcdir=$srcdir$ac_dir_suffix;
    5349       ac_top_srcdir=$srcdir ;;
     2150  case "$ac_given_srcdir" in
     2151  .)  srcdir=.
     2152      if test -z "$ac_dots"; then top_srcdir=.
     2153      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
     2154  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
    53502155  *) # Relative path.
    5351     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
    5352     ac_top_srcdir=$ac_dots$srcdir ;;
     2156    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
     2157    top_srcdir="$ac_dots$ac_given_srcdir" ;;
    53532158  esac
    53542159
    5355   case $INSTALL in
    5356   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    5357   *) ac_INSTALL=$ac_dots$INSTALL ;;
     2160  case "$ac_given_INSTALL" in
     2161  [/$]*) INSTALL="$ac_given_INSTALL" ;;
     2162  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
    53582163  esac
    53592164
    5360   if test x"$ac_file" != x-; then
    5361     { echo "$as_me:5361: creating $ac_file" >&5
    5362 echo "$as_me: creating $ac_file" >&6;}
    5363     rm -f "$ac_file"
    5364   fi
    5365   # Let's still pretend it is `configure' which instantiates (i.e., don't
    5366   # use $as_me), people would be surprised to read:
    5367   #    /* config.h.  Generated automatically by config.status.  */
    5368   configure_input="Generated automatically from `echo $ac_file_in |
    5369                                                  sed 's,.*/,,'` by configure."
    5370 
    5371   # First look for the input files in the build tree, otherwise in the
    5372   # src tree.
    5373   ac_file_inputs=`IFS=:
    5374     for f in $ac_file_in; do
    5375       case $f in
    5376       -) echo $tmp/stdin ;;
    5377       [\\/$]*)
    5378          # Absolute (can't be DOS-style, as IFS=:)
    5379          test -f "$f" || { { echo "$as_me:5379: error: cannot find input file: $f" >&5
    5380 echo "$as_me: error: cannot find input file: $f" >&2;}
    5381    { (exit 1); exit 1; }; }
    5382          echo $f;;
    5383       *) # Relative
    5384          if test -f "$f"; then
    5385            # Build tree
    5386            echo $f
    5387          elif test -f "$srcdir/$f"; then
    5388            # Source tree
    5389            echo $srcdir/$f
    5390          else
    5391            # /dev/null tree
    5392            { { echo "$as_me:5392: error: cannot find input file: $f" >&5
    5393 echo "$as_me: error: cannot find input file: $f" >&2;}
    5394    { (exit 1); exit 1; }; }
    5395          fi;;
    5396       esac
    5397     done` || { (exit 1); exit 1; }
    5398 EOF
    5399 cat >>$CONFIG_STATUS <<EOF
    5400   sed "$ac_vpsub
    5401 $extrasub
    5402 EOF
    5403 cat >>$CONFIG_STATUS <<\EOF
    5404 :t
    5405 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    5406 s,@configure_input@,$configure_input,;t t
    5407 s,@srcdir@,$ac_srcdir,;t t
    5408 s,@top_srcdir@,$ac_top_srcdir,;t t
    5409 s,@INSTALL@,$ac_INSTALL,;t t
    5410 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    5411   rm -f $tmp/stdin
    5412   if test x"$ac_file" != x-; then
    5413     mv $tmp/out $ac_file
    5414   else
    5415     cat $tmp/out
    5416     rm -f $tmp/out
    5417   fi
    5418 
    5419 done
    5420 EOF
    5421 cat >>$CONFIG_STATUS <<\EOF
    5422 
    5423 #
    5424 # CONFIG_HEADER section.
    5425 #
     2165  echo creating "$ac_file"
     2166  rm -f "$ac_file"
     2167  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
     2168  case "$ac_file" in
     2169  *Makefile*) ac_comsub="1i\\
     2170# $configure_input" ;;
     2171  *) ac_comsub= ;;
     2172  esac
     2173
     2174  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2175  sed -e "$ac_comsub
     2176s%@configure_input@%$configure_input%g
     2177s%@srcdir@%$srcdir%g
     2178s%@top_srcdir@%$top_srcdir%g
     2179s%@INSTALL@%$INSTALL%g
     2180" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
     2181fi; done
     2182rm -f conftest.s*
    54262183
    54272184# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
     
    54292186#
    54302187# ac_d sets the value in "#define NAME VALUE" lines.
    5431 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
    5432 ac_dB='[        ].*$,\1#\2'
    5433 ac_dC=' '
    5434 ac_dD=',;t'
    5435 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    5436 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
    5437 ac_uB='$,\1#\2define\3'
     2188ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
     2189ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
     2190ac_dC='\3'
     2191ac_dD='%g'
     2192# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
     2193ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     2194ac_uB='\([      ]\)%\1#\2define\3'
    54382195ac_uC=' '
    5439 ac_uD=',;t'
    5440 
    5441 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
     2196ac_uD='\4%g'
     2197# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
     2198ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     2199ac_eB='$%\1#\2define\3'
     2200ac_eC=' '
     2201ac_eD='%g'
     2202
     2203if test "${CONFIG_HEADERS+set}" != set; then
     2204EOF
     2205cat >> $CONFIG_STATUS <<EOF
     2206  CONFIG_HEADERS="conf.h"
     2207EOF
     2208cat >> $CONFIG_STATUS <<\EOF
     2209fi
     2210for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
    54422211  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    5443   case $ac_file in
    5444   - | *:- | *:-:* ) # input from stdin
    5445         cat >$tmp/stdin
    5446         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    5447         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    5448   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    5449         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    5450   * )   ac_file_in=$ac_file.in ;;
     2212  case "$ac_file" in
     2213  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
     2214       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
     2215  *) ac_file_in="${ac_file}.in" ;;
    54512216  esac
    54522217
    5453   test x"$ac_file" != x- && { echo "$as_me:5453: creating $ac_file" >&5
    5454 echo "$as_me: creating $ac_file" >&6;}
    5455 
    5456   # First look for the input files in the build tree, otherwise in the
    5457   # src tree.
    5458   ac_file_inputs=`IFS=:
    5459     for f in $ac_file_in; do
    5460       case $f in
    5461       -) echo $tmp/stdin ;;
    5462       [\\/$]*)
    5463          # Absolute (can't be DOS-style, as IFS=:)
    5464          test -f "$f" || { { echo "$as_me:5464: error: cannot find input file: $f" >&5
    5465 echo "$as_me: error: cannot find input file: $f" >&2;}
    5466    { (exit 1); exit 1; }; }
    5467          echo $f;;
    5468       *) # Relative
    5469          if test -f "$f"; then
    5470            # Build tree
    5471            echo $f
    5472          elif test -f "$srcdir/$f"; then
    5473            # Source tree
    5474            echo $srcdir/$f
    5475          else
    5476            # /dev/null tree
    5477            { { echo "$as_me:5477: error: cannot find input file: $f" >&5
    5478 echo "$as_me: error: cannot find input file: $f" >&2;}
    5479    { (exit 1); exit 1; }; }
    5480          fi;;
    5481       esac
    5482     done` || { (exit 1); exit 1; }
    5483   # Remove the trailing spaces.
    5484   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
    5485 
    5486 EOF
    5487 
    5488 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    5489 # `conftest.undefs', that substitutes the proper values into
    5490 # config.h.in to produce config.h.  The first handles `#define'
    5491 # templates, and the second `#undef' templates.
    5492 # And first: Protect against being on the right side of a sed subst in
    5493 # config.status.  Protect against being in an unquoted here document
    5494 # in config.status.
    5495 rm -f conftest.defines conftest.undefs
    5496 # Using a here document instead of a string reduces the quoting nightmare.
    5497 # Putting comments in sed scripts is not portable.
    5498 #
    5499 # `end' is used to avoid that the second main sed command (meant for
    5500 # 0-ary CPP macros) applies to n-ary macro definitions.
    5501 # See the Autoconf documentation for `clear'.
    5502 cat >confdef2sed.sed <<\EOF
    5503 s/[\\&,]/\\&/g
    5504 s,[\\$`],\\&,g
    5505 t clear
    5506 : clear
    5507 s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
    5508 t end
    5509 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    5510 : end
    5511 EOF
    5512 # If some macros were called several times there might be several times
    5513 # the same #defines, which is useless.  Nevertheless, we may not want to
    5514 # sort them, since we want the *last* AC-DEFINE to be honored.
    5515 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    5516 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    5517 rm -f confdef2sed.sed
     2218  echo creating $ac_file
     2219
     2220  rm -f conftest.frag conftest.in conftest.out
     2221  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2222  cat $ac_file_inputs > conftest.in
     2223
     2224EOF
     2225
     2226# Transform confdefs.h into a sed script conftest.vals that substitutes
     2227# the proper values into config.h.in to produce config.h.  And first:
     2228# Protect against being on the right side of a sed subst in config.status.
     2229# Protect against being in an unquoted here document in config.status.
     2230rm -f conftest.vals
     2231cat > conftest.hdr <<\EOF
     2232s/[\\&%]/\\&/g
     2233s%[\\$`]%\\&%g
     2234s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
     2235s%ac_d%ac_u%gp
     2236s%ac_u%ac_e%gp
     2237EOF
     2238sed -n -f conftest.hdr confdefs.h > conftest.vals
     2239rm -f conftest.hdr
    55182240
    55192241# This sed command replaces #undef with comments.  This is necessary, for
    55202242# example, in the case of _POSIX_SOURCE, which is predefined and required
    55212243# on some systems where configure will not decide to define it.
    5522 cat >>conftest.undefs <<\EOF
    5523 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    5524 EOF
    5525 
    5526 # Break up conftest.defines because some shells have a limit on the size
    5527 # of here documents, and old seds have small limits too (100 cmds).
    5528 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    5529 echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    5530 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    5531 echo '  :' >>$CONFIG_STATUS
     2244cat >> conftest.vals <<\EOF
     2245s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
     2246EOF
     2247
     2248# Break up conftest.vals because some shells have a limit on
     2249# the size of here documents, and old seds have small limits too.
     2250
    55322251rm -f conftest.tail
    5533 while grep . conftest.defines >/dev/null
     2252while :
    55342253do
    5535   # Write a limited-size here document to $tmp/defines.sed.
    5536   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    5537   # Speed up: don't consider the non `#define' lines.
    5538   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
    5539   # Work around the forget-to-reset-the-flag bug.
    5540   echo 't clr' >>$CONFIG_STATUS
    5541   echo ': clr' >>$CONFIG_STATUS
    5542   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
     2254  ac_lines=`grep -c . conftest.vals`
     2255  # grep -c gives empty output for an empty file on some AIX systems.
     2256  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
     2257  # Write a limited-size here document to conftest.frag.
     2258  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
     2259  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
    55432260  echo 'CEOF
    5544   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    5545   rm -f $tmp/in
    5546   mv $tmp/out $tmp/in
    5547 ' >>$CONFIG_STATUS
    5548   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
    5549   rm -f conftest.defines
    5550   mv conftest.tail conftest.defines
     2261  sed -f conftest.frag conftest.in > conftest.out
     2262  rm -f conftest.in
     2263  mv conftest.out conftest.in
     2264' >> $CONFIG_STATUS
     2265  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
     2266  rm -f conftest.vals
     2267  mv conftest.tail conftest.vals
    55512268done
    5552 rm -f conftest.defines
    5553 echo '  fi # egrep' >>$CONFIG_STATUS
    5554 echo >>$CONFIG_STATUS
    5555 
    5556 # Break up conftest.undefs because some shells have a limit on the size
    5557 # of here documents, and old seds have small limits too (100 cmds).
    5558 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    5559 rm -f conftest.tail
    5560 while grep . conftest.undefs >/dev/null
    5561 do
    5562   # Write a limited-size here document to $tmp/undefs.sed.
    5563   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    5564   # Speed up: don't consider the non `#undef'
    5565   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    5566   # Work around the forget-to-reset-the-flag bug.
    5567   echo 't clr' >>$CONFIG_STATUS
    5568   echo ': clr' >>$CONFIG_STATUS
    5569   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    5570   echo 'CEOF
    5571   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    5572   rm -f $tmp/in
    5573   mv $tmp/out $tmp/in
    5574 ' >>$CONFIG_STATUS
    5575   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    5576   rm -f conftest.undefs
    5577   mv conftest.tail conftest.undefs
    5578 done
    5579 rm -f conftest.undefs
    5580 
    5581 cat >>$CONFIG_STATUS <<\EOF
    5582   # Let's still pretend it is `configure' which instantiates (i.e., don't
    5583   # use $as_me), people would be surprised to read:
    5584   #    /* config.h.  Generated automatically by config.status.  */
    5585   if test x"$ac_file" = x-; then
    5586     echo "/* Generated automatically by configure.  */" >$tmp/config.h
     2269rm -f conftest.vals
     2270
     2271cat >> $CONFIG_STATUS <<\EOF
     2272  rm -f conftest.frag conftest.h
     2273  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
     2274  cat conftest.in >> conftest.h
     2275  rm -f conftest.in
     2276  if cmp -s $ac_file conftest.h 2>/dev/null; then
     2277    echo "$ac_file is unchanged"
     2278    rm -f conftest.h
    55872279  else
    5588     echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
    5589   fi
    5590   cat $tmp/in >>$tmp/config.h
    5591   rm -f $tmp/in
    5592   if test x"$ac_file" != x-; then
    5593     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
    5594       { echo "$as_me:5594: $ac_file is unchanged" >&5
    5595 echo "$as_me: $ac_file is unchanged" >&6;}
    5596     else
    5597       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    5598          X"$ac_file" : 'X\(//\)[^/]' \| \
    5599          X"$ac_file" : 'X\(//\)$' \| \
    5600          X"$ac_file" : 'X\(/\)' \| \
    5601          .     : '\(.\)' 2>/dev/null ||
    5602 echo X"$ac_file" |
    5603     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    5604           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    5605           /^X\(\/\/\)$/{ s//\1/; q; }
    5606           /^X\(\/\).*/{ s//\1/; q; }
    5607           s/.*/./; q'`
     2280    # Remove last slash and all that follows it.  Not all systems have dirname.
     2281      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
    56082282      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    5609         { case "$ac_dir" in
    5610   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
    5611   *)                      as_incr_dir=.;;
    5612 esac
    5613 as_dummy="$ac_dir"
    5614 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
    5615   case $as_mkdir_dir in
    5616     # Skip DOS drivespec
    5617     ?:) as_incr_dir=$as_mkdir_dir ;;
    5618     *)
    5619       as_incr_dir=$as_incr_dir/$as_mkdir_dir
    5620       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
    5621     ;;
    5622   esac
    5623 done; }
    5624 
    5625       fi
    5626       rm -f $ac_file
    5627       mv $tmp/config.h $ac_file
     2283      # The file is in a subdirectory.
     2284      test ! -d "$ac_dir" && mkdir "$ac_dir"
    56282285    fi
    5629   else
    5630     cat $tmp/config.h
    5631     rm -f $tmp/config.h
    5632   fi
    5633 done
    5634 EOF
    5635 
    5636 cat >>$CONFIG_STATUS <<\EOF
    5637 
    5638 { (exit 0); exit 0; }
     2286    rm -f $ac_file
     2287    mv conftest.h $ac_file
     2288  fi
     2289fi; done
     2290
     2291EOF
     2292cat >> $CONFIG_STATUS <<EOF
     2293
     2294EOF
     2295cat >> $CONFIG_STATUS <<\EOF
     2296
     2297exit 0
    56392298EOF
    56402299chmod +x $CONFIG_STATUS
    5641 ac_clean_files=$ac_clean_files_save
    5642 
    5643 # configure is writing to config.log, and then calls config.status.
    5644 # config.status does its own redirection, appending to config.log.
    5645 # Unfortunately, on DOS this fails, as config.log is still kept open
    5646 # by configure, so config.status won't be able to write to it; its
    5647 # output is simply discarded.  So we exec the FD to /dev/null,
    5648 # effectively closing config.log, so it can be properly (re)opened and
    5649 # appended to by config.status.  When coming back to configure, we
    5650 # need to make the FD available again.
    5651 if test "$no_create" != yes; then
    5652   ac_cs_success=:
    5653   exec 5>/dev/null
    5654   $SHELL $CONFIG_STATUS || ac_cs_success=false
    5655   exec 5>>config.log
    5656   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    5657   # would make configure fail if this is the last instruction.
    5658   $ac_cs_success || { (exit 1); exit 1; }
    5659 fi
    5660 
     2300rm -fr confdefs* $ac_clean_files
     2301test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
     2302
     2303
  • trunk/ArchTOIPipe/configure.in

    r2328 r2398  
    4141  AC_SUBST(AR)
    4242  AC_SUBST(ARFLAGS)
     43  AC_SUBST(RANLIB)
     44elif test `uname` = "IRIX64"; then
     45  AR=CC
     46  ARFLAGS="-ar -prelink -o"
     47  AC_SUBST(AR)
     48  AC_SUBST(ARFLAGS)
     49  RANLIB=":"
    4350  AC_SUBST(RANLIB)
    4451else
Note: See TracChangeset for help on using the changeset viewer.