head	1.36;
access;
symbols
	charm_5-4-2:1.17
	charm_5-4-1:1.14;
locks; strict;
comment	@# @;


1.36
date	2002.05.15.21.47.44;	author olawlor;	state dead;
branches;
next	1.35;

1.35
date	2002.05.13.20.00.48;	author olawlor;	state Exp;
branches;
next	1.34;

1.34
date	2002.04.12.16.55.14;	author milind;	state Exp;
branches;
next	1.33;

1.33
date	2002.04.09.22.22.58;	author milind;	state Exp;
branches;
next	1.32;

1.32
date	2002.03.30.06.10.50;	author gzheng;	state Exp;
branches;
next	1.31;

1.31
date	2002.01.29.06.47.53;	author gzheng;	state Exp;
branches;
next	1.30;

1.30
date	2001.12.21.17.57.58;	author gzheng;	state Exp;
branches;
next	1.29;

1.29
date	2001.12.20.17.57.07;	author gzheng;	state Exp;
branches;
next	1.28;

1.28
date	2001.12.18.22.29.09;	author gzheng;	state Exp;
branches;
next	1.27;

1.27
date	2001.12.13.20.35.24;	author gzheng;	state Exp;
branches;
next	1.26;

1.26
date	2001.11.16.01.47.48;	author gzheng;	state Exp;
branches;
next	1.25;

1.25
date	2001.10.12.18.11.08;	author gzheng;	state Exp;
branches;
next	1.24;

1.24
date	2001.09.06.04.12.30;	author gzheng;	state Exp;
branches;
next	1.23;

1.23
date	2001.09.06.03.08.43;	author gzheng;	state Exp;
branches;
next	1.22;

1.22
date	2001.08.23.17.04.40;	author olawlor;	state Exp;
branches;
next	1.21;

1.21
date	2001.07.06.18.28.49;	author olawlor;	state Exp;
branches;
next	1.20;

1.20
date	2001.05.25.08.29.20;	author milind;	state Exp;
branches;
next	1.19;

1.19
date	2001.05.16.00.47.43;	author gzheng;	state Exp;
branches;
next	1.18;

1.18
date	2001.05.12.18.28.07;	author gzheng;	state Exp;
branches;
next	1.17;

1.17
date	2001.05.05.05.58.41;	author gzheng;	state Exp;
branches;
next	1.16;

1.16
date	2001.04.20.02.57.58;	author gzheng;	state Exp;
branches;
next	1.15;

1.15
date	2001.04.01.19.44.42;	author gzheng;	state Exp;
branches;
next	1.14;

1.14
date	2001.03.05.20.28.05;	author gzheng;	state Exp;
branches;
next	1.13;

1.13
date	2001.03.04.08.27.53;	author gzheng;	state Exp;
branches;
next	1.12;

1.12
date	2001.03.02.23.03.54;	author gzheng;	state Exp;
branches;
next	1.11;

1.11
date	2001.02.14.20.48.59;	author gzheng;	state Exp;
branches;
next	1.10;

1.10
date	2001.01.17.21.04.52;	author gzheng;	state Exp;
branches;
next	1.9;

1.9
date	2001.01.14.20.48.48;	author gzheng;	state Exp;
branches;
next	1.8;

1.8
date	2001.01.11.23.28.31;	author gzheng;	state Exp;
branches;
next	1.7;

1.7
date	2001.01.11.13.21.15;	author milind;	state Exp;
branches;
next	1.6;

1.6
date	2001.01.10.09.38.05;	author milind;	state Exp;
branches;
next	1.5;

1.5
date	2001.01.09.23.38.19;	author gzheng;	state Exp;
branches;
next	1.4;

1.4
date	2001.01.09.18.25.41;	author gzheng;	state Exp;
branches;
next	1.3;

1.3
date	2000.12.27.07.49.40;	author gzheng;	state Exp;
branches;
next	1.2;

1.2
date	2000.12.21.07.39.44;	author milind;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.20.23.24.17;	author olawlor;	state Exp;
branches;
next	;


desc
@@


1.36
log
@Renamed "charmconfig" to just "configure", which is what
autoconf generates by default.
@
text
@#! /bin/sh

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

# Defaults:
ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:

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

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

ac_prev=
for ac_option
do

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

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

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

  case "$ac_option" in

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  esac
done

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

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

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

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

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

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

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

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

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

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

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

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

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





test -r ./conv-mach-pre.sh && . ./conv-mach-pre.sh

if test ! -r ./conv-mach.sh 
then
        echo "Cannot find ./conv-mach.sh"
        exit 1
fi
. ./conv-mach.sh

test -r ./conv-mach-opt.sh && . ./conv-mach-opt.sh

VERSION=050600
cat >> confdefs.h <<EOF
#define CHARM_VERSION $VERSION
EOF


echo $ac_n "checking machine name""... $ac_c" 1>&6
echo "configure:546: checking machine name" >&5
version=`pwd | awk -F/ '{print $(NF-1)}'`
base_version=`cat .vdir`
cat >> confdefs.h <<EOF
#define CMK_MACHINE_NAME "$version"
EOF

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

t="test.cpp"

# Test: tries to compile C++ file $t (described by $1).
#  If successful, prints $2 and sets $pass/clears $fail
#  If failure, prints $3 and sets $pass/clears $fail
#  additional arguments to c++ compiler are passed as $4
test_cxx() {
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:563: checking "$1"" >&5
	$CMK_CXX -I../include -c $t -o test.o $4 > out 2>&1
	if test $? -eq 0
	then
                echo "$ac_t"""$2"" 1>&6
		pass="1"
		fail="0"
	else
                echo "$ac_t"""$3"" 1>&6
		pass="0"
		fail="1"
	fi
 	strictpass=$pass
	strictfail=$fail
        if test $pass -eq 1
	then 
 	  if cat out | grep -i "warn" > /dev/null 2>&1
	  then 
	    strictpass="0" && strictfail="1"
          fi
        fi
	/bin/rm -f out
}

test_finish() {
	rm -f $t test.o	> /dev/null 2>&1
	/bin/rm -f out
	exit $1
}

# try to decide the version of glibc
get_glibc_version() {
t=test.c
cat > $t <<EOT
#include <stdio.h>
#include <gnu/libc-version.h>
int main (void) { puts (gnu_get_libc_version ()); return 0; }
EOT
gcc -o gver test.c
GLIBCVERSION=`./gver`
/bin/rm -f $t gver
}

cat > $t <<EOT
#include <stdio.h>
void foo(void) {
	printf("Hello, world!\n");
}
EOT
echo "set C++ compiler as: $CMK_CXX"
test_cxx "whether C++ compiler works" "ok" "no" ""
if test $fail -eq 1
then
	echo "Cannot compile C++ programs with $CMK_CXX"
	echo " (check your charm++ version)"
	test_finish 1
fi


# Perform the tests

cat > $t <<EOT
#include <stdlib.h>
bool foo(void) { return true; }
EOT
test_cxx "whether C++ bool works" "ok" "no" ""
cat >> confdefs.h <<EOF
#define CMK_BOOL_DEFINED $pass
EOF

cat >> confdefs.h <<EOF
#define CMK_BOOL_UNDEFINED $fail
EOF


#### check explicit ####
cat > $t <<EOT
#include <stdlib.h>
class er {
 protected:
   explicit er(unsigned int inType) {};
};
EOT
test_cxx "whether C++ class explicit keyword works" "ok" "no" ""
cat >> confdefs.h <<EOF
#define CMK_EXPLICIT $pass
EOF


#### check if signed char is same as char ####
cat > $t <<EOT
#include <stdlib.h>
class er {
 protected:
   void operator()(char &v,const char *desc=NULL) {};
   void operator()(signed char &v,const char *desc=NULL) {};
};
EOT
test_cxx "whether C++ signed char and char differ" "yes" "no" ""
cat >> confdefs.h <<EOF
#define CMK_SIGNEDCHAR_DIFF_CHAR $pass
EOF


#### check if C++ casts work ####
cat > $t <<EOT
int foo(float *t) {return *reinterpret_cast<int *>(t);}
EOT
test_cxx "whether C++ *_casts<> work" "ok" "no" ""
cat >> confdefs.h <<EOF
#define CMK_CPP_CAST_LEGAL $pass
EOF

cat >> confdefs.h <<EOF
#define CMK_CPP_CAST_ILLEGAL $fail
EOF



#### check if templated members work ####
cat > $t <<EOT
typedef void (*func_t)(void);
class foo_foo {
protected:
        int len;
};
class foo: public foo_foo {
public:
	template<func_t f> //Templated member function
	void memb(void) {f(); len++;}
};
inline void fn() {}
void myfunc()
{
  foo x;
  x.template memb<fn>();
}
EOT
test_cxx "whether templated member functions work" "ok" "no" ""
cat >> confdefs.h <<EOF
#define CMK_TEMPLATE_MEMBERS_BROKEN $fail
EOF



cat > $t <<EOT
#include <iostream>
void foo(void) {}
EOT
test_cxx "whether including STL <foo> works" "ok" "no" ""
cat >> confdefs.h <<EOF
#define CMK_STL_USE_DOT_H $fail
EOF

cat >> confdefs.h <<EOF
#define CMK_STL_DONT_USE_DOT_H $pass
EOF


cat > $t <<EOT
namespace foo {
	int x;
};
EOT
test_cxx "whether namespaces work" "ok" "no" ""
cat >> confdefs.h <<EOF
#define CMK_NAMESPACES_BROKEN $fail
EOF



cat > $t <<EOT
#include <typeinfo>
const char *foo(void) {
	int x;
	return typeid(x).name();
}
EOT
test_cxx "whether typeinfo/typeid works" "ok" "no" ""
cat >> confdefs.h <<EOF
#define CMK_HAS_TYPEINFO $pass
EOF


cat > $t <<EOT
namespace foo {
	int x;
};
EOT
test_cxx "whether namespaces work" "ok" "no" ""
cat >> confdefs.h <<EOF
#define CMK_NAMESPACES_BROKEN $fail
EOF



#test if we can have multiple delete like this
cat > $t <<EOT
class foo {
public:
  void operator delete(void*p){};
  void operator delete(void*p,int*){};
};
EOT
test_cxx "whether operator delete can be overloaded in same class" "ok" "no" ""
cat >> confdefs.h <<EOF
#define CMK_MULTIPLE_DELETE $strictpass
EOF


#test if has poll
cat > $t <<EOT
#include <poll.h>
void foo(void) { 
  struct pollfd pos[3];
  poll(pos, 1, 1);
}
EOT
test_cxx "whether it has poll" "yes" "no" ""
cat >> confdefs.h <<EOF
#define CMK_USE_POLL $pass
EOF



#### check if mmap exists ####
cat > $t <<EOT
#include <sys/mman.h>

void *foo(void *a,int l,int fd) {
	return mmap(a,l,PROT_READ+PROT_WRITE,
                 MAP_FIXED+MAP_PRIVATE,fd,0);
}
EOT
test_cxx "whether mmap() exists" "yes" "no" ""
cat >> confdefs.h <<EOF
#define CMK_HAS_MMAP $pass
EOF


#### check if mmap accepts MAP_ANON ####
cat > $t <<EOT
#include <sys/mman.h>

void *foo(void *a,int l) {
	return mmap(a,l,PROT_READ+PROT_WRITE,
                MAP_FIXED+MAP_PRIVATE+MAP_ANON,-1,0);
}
EOT
test_cxx "whether mmap() accepts MAP_ANON" "yes" "no" ""
cat >> confdefs.h <<EOF
#define CMK_HAS_MMAP_ANON $pass
EOF



#test if has zlib
cat > $t <<EOT
#include <zlib.h>
void foo(void) { 
  gzFile f = gzopen("/tmp/x","r");
  gzprintf(f, "test...\n");
  gzclose(f);
}
EOT
test_cxx "whether it has zlib" "yes" "no" "-lz"
cat >> confdefs.h <<EOF
#define CMK_PROJECTIONS_USE_ZLIB $pass
EOF

if test $pass -eq 1
then 
cat >> ./conv-mach-opt.sh << EOT

CMK_LIBS="$CMK_LIBS -lz"

EOT
fi

#test fortran subroutine name
FCC=`echo $CMK_CF90 | cut -d' ' -f1`

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

if test -n "$FCL"
then
  echo $ac_n "checking subroutine name used by Fortran compiler""... $ac_c" 1>&6
echo "configure:877: checking subroutine name used by Fortran compiler" >&5
  if eval "test \"`echo '$''{'fortran_postfix'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.f <<EOF
      SUBROUTINE FOO_FOO
      END
EOF
  $FCC -c conftest.f > /dev/null 2> /dev/null

  NAME=`nm conftest.o | grep "foo_foo__"`
  if test "$NAME" != ""
  then
    fortran_postfix=TWOSCORE
    cat >> confdefs.h <<EOF
#define CMK_FORTRAN_USES_TWOSCORE 1
EOF

  else
    NAME=`nm conftest.o | grep "foo_foo_"`
    if test "$NAME" != ""
    then
      fortran_postfix=ONESCORE
      cat >> confdefs.h <<EOF
#define CMK_FORTRAN_USES_ONESCORE 1
EOF

    else
      NAME=`nm conftest.o | grep "foo_foo"`
      if test "$NAME" != ""
      then
        fortran_postfix=NOSCORE
        cat >> confdefs.h <<EOF
#define CMK_FORTRAN_USES_NOSCORE 1
EOF

      else
        NAME=`nm conftest.o | grep "FOO_FOO"`
        if test "$NAME" != ""
        then
          fortran_postfix=ALLCAPS
          cat >> confdefs.h <<EOF
#define CMK_FORTRAN_USES_ALLCAPS 1
EOF

        else
          echo "#################################################"
          echo "FORTRAN compiler generated name not supported yet"
          echo "#################################################"
        fi
      fi
    fi
  fi
  rm -f conftest.f conftest.o
  
fi

  echo "$ac_t""$fortran_postfix" 1>&6
fi


#go get libpthread.a from charm website
if test "$base_version" = "net-linux" || test "$base_version" = "mpi-linux"
then
case $version in
*linux*smp*|*linux*vmi*)
  if test ! -r ../lib/libpthread.a
  then
    # Extract the first word of "wget", so it can be a program name with args.
set dummy wget; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:948: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_WGET'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$WGET"; then
  ac_cv_prog_WGET="$WGET" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_WGET="wget "
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
WGET="$ac_cv_prog_WGET"
if test -n "$WGET"; then
  echo "$ac_t""$WGET" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

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

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

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

    
    CHARMIP='128.174.241.207'
#    CHARMIP='charm.cs.uiuc.edu'
#    VERSION=`nm /lib/libc.so.6 | grep "A GLIBC_" | tail -1 | sed -e "s/00000000 A GLIBC_//g"`
    get_glibc_version
    L="libpthread-$GLIBCVERSION.a"
    URL="http://${CHARMIP}/distrib/$L"
    finish=0
    printf "getting $L from $URL ..."
    if test -n "$WGET"
    then
      printf "(wget) ..."
      $WGET $URL > /dev/null 2>&1  && mv $L ../lib && finish=1
    fi
    if test $finish = 0 && test -n "$LYNX"
    then
      printf "(lynx) ..."
      $LYNX -source $URL > $L 2>/dev/null 
      if file -L $L | grep 'archive' > /dev/null
      then
        mv $L ../lib && finish=1
      fi
    fi
    if test $finish = 0 && test -n "$TELNET" && test -n "$UUDECODE"
    then
      printf "(telnet) ..."
      cat > get_libpthread <<EOT
#! /bin/sh
echo "GET /distrib/libpthread-$GLIBCVERSION.uu 1.0"
echo
# exit normally when the telnet session closes.
trap "exit 0" 13
while : ; do
 echo
 sleep 1
done
EOT
      /bin/sh ./get_libpthread | ($TELNET $CHARMIP 80 > .uulib 2>/dev/null); $UUDECODE .uulib 2>/dev/null && rm -f .uulib && mv $L ../lib && finish=1
    fi
    ln -s $L ../lib/libpthread.a
    if test $finish = 0 || test ! -r ../lib/libpthread.a
    then
      /bin/rm -f ../lib/libpthread.a
      echo "failed"
      echo "#####################################################################"
      echo "wget, lynx or telnet must be installed to get libpthread.a from charm website."
      echo "Alternately, your version of GLIBC ($GLIBCVERSION) is not yet supported--"
      echo " contact ppl@@cs.uiuc.edu for assistance."
      echo "#####################################################################"
      exit 1
    else
      echo "done"
    fi
  fi
  ;;
esac
fi

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

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

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

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

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

DEFS=-DHAVE_CONFIG_H

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

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

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

ac_given_srcdir=$srcdir

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

# Protect against being on the right side of a sed subst in config.status.
sed 's/%@@/@@@@/; s/@@%/@@@@/; s/%g\$/@@g/; /@@g\$/s/[\\\\&%]/\\\\&/g;
 s/@@@@/%@@/; s/@@@@/@@%/; s/@@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
s%@@SHELL@@%$SHELL%g
s%@@CFLAGS@@%$CFLAGS%g
s%@@CPPFLAGS@@%$CPPFLAGS%g
s%@@CXXFLAGS@@%$CXXFLAGS%g
s%@@FFLAGS@@%$FFLAGS%g
s%@@DEFS@@%$DEFS%g
s%@@LDFLAGS@@%$LDFLAGS%g
s%@@LIBS@@%$LIBS%g
s%@@exec_prefix@@%$exec_prefix%g
s%@@prefix@@%$prefix%g
s%@@program_transform_name@@%$program_transform_name%g
s%@@bindir@@%$bindir%g
s%@@sbindir@@%$sbindir%g
s%@@libexecdir@@%$libexecdir%g
s%@@datadir@@%$datadir%g
s%@@sysconfdir@@%$sysconfdir%g
s%@@sharedstatedir@@%$sharedstatedir%g
s%@@localstatedir@@%$localstatedir%g
s%@@libdir@@%$libdir%g
s%@@includedir@@%$includedir%g
s%@@oldincludedir@@%$oldincludedir%g
s%@@infodir@@%$infodir%g
s%@@mandir@@%$mandir%g
s%@@FCL@@%$FCL%g
s%@@WGET@@%$WGET%g
s%@@LYNX@@%$LYNX%g
s%@@TELNET@@%$TELNET%g
s%@@UUDECODE@@%$UUDECODE%g

CEOF
EOF

cat >> $CONFIG_STATUS <<\EOF

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

cat >> $CONFIG_STATUS <<EOF

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

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

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

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


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

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

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

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

  echo creating $ac_file

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

EOF

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

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

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

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

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

EOF
cat >> $CONFIG_STATUS <<EOF

EOF
cat >> $CONFIG_STATUS <<\EOF

exit 0
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1

@


1.35
log
@Changed CMK_HAS_MMAN_H to CMK_HAS_MMAP.  Added test for MAP_ANON,
which is required under DEC/Compaq Tru64 (OSF/1), where /dev/zero
can't be mmap'd.  MAP_ANON is probably a good idea whenever it's
available (Linux, Solaris); but it's not available on some machines
(IRIX), so it's tested for and enabled by CMK_HAS_MMAP_ANON.
@
text
@@


1.34
log
@Added a check for gzprintf to detect older versions of zlib that do not
contain a prototype for it in zlib.h.
@
text
@d4 1
a4 1
# Generated automatically using autoconf version 2.12 
d52 1
d336 1
a336 1
    echo "configure generated by autoconf version 2.12"
d506 1
a506 1
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
d509 2
d538 1
a538 1
VERSION=050406
d545 1
a545 1
echo "configure:543: checking machine name" >&5
d562 1
a562 1
echo "configure:560: checking "$1"" >&5
d666 1
d681 1
d786 2
a787 1
#test if has sys/mman.h
a788 1
#include <sys/types.h>
d790 19
a808 1
void foo(void) { 
d811 1
a811 1
test_cxx "whether it has sys/mman.h" "yes" "no" ""
d813 1
a813 1
#define CMK_HAS_MMAN_H $pass
d817 1
d847 1
a847 1
echo "configure:824: checking for $ac_word" >&5
d854 3
a856 2
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
d876 1
a876 1
echo "configure:852: checking subroutine name used by Fortran compiler" >&5
d947 1
a947 1
echo "configure:923: checking for $ac_word" >&5
d954 3
a956 2
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
d976 1
a976 1
echo "configure:951: checking for $ac_word" >&5
d983 3
a985 2
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
d1005 1
a1005 1
echo "configure:979: checking for $ac_word" >&5
d1012 3
a1014 2
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
d1034 1
a1034 1
echo "configure:1007: checking for $ac_word" >&5
d1041 3
a1043 2
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
d1141 1
a1141 1
  case `(ac_space=' '; set) 2>&1` in
d1208 1
a1208 1
    echo "$CONFIG_STATUS generated by autoconf version 2.12"
d1227 1
d1231 1
@


1.33
log
@Added +gz-trace option to projections. It writes compressed trace files.
It is based on zlib. Availabality of zlib is checked via charmconfig.
@
text
@d4 1
a4 1
# Generated automatically using autoconf version 2.13 
a51 1
SHELL=${CONFIG_SHELL-/bin/sh}
d335 1
a335 1
    echo "configure generated by autoconf version 2.13"
d505 1
a505 1
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
a507 2
ac_exeext=
ac_objext=o
d542 1
a542 1
echo "configure:546: checking machine name" >&5
d559 1
a559 1
echo "configure:563: checking "$1"" >&5
d798 3
a800 1
  gzclose(gzopen("/tmp/x","r"));
d823 1
a823 1
echo "configure:825: checking for $ac_word" >&5
d830 2
a831 3
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
d851 1
a851 1
echo "configure:854: checking subroutine name used by Fortran compiler" >&5
d922 1
a922 1
echo "configure:925: checking for $ac_word" >&5
d929 2
a930 3
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
d950 1
a950 1
echo "configure:954: checking for $ac_word" >&5
d957 2
a958 3
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
d978 1
a978 1
echo "configure:983: checking for $ac_word" >&5
d985 2
a986 3
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
d1006 1
a1006 1
echo "configure:1012: checking for $ac_word" >&5
d1013 2
a1014 3
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
d1112 1
a1112 1
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
d1179 1
a1179 1
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
a1197 1
s%@@SHELL@@%$SHELL%g
a1200 1
s%@@FFLAGS@@%$FFLAGS%g
@


1.32
log
@use a function to decide GLIBC version for downloading.
also fix a bug when using lynx method: cannot tell if a transfer succeed or not.
@
text
@d559 1
d562 2
a563 2
echo "configure:562: checking "$1"" >&5
	$CMK_CXX -I../include -c $t -o test.o > out 2>&1
d612 1
a612 1
test_cxx "whether C++ compiler works" "ok" "no"
d627 1
a627 1
test_cxx "whether C++ bool works" "ok" "no"
d645 1
a645 1
test_cxx "whether C++ class explicit keyword works" "ok" "no"
d660 1
a660 1
test_cxx "whether C++ signed char and char differ" "yes" "no"
d669 1
a669 1
test_cxx "whether C++ *_casts<> work" "ok" "no"
d698 1
a698 1
test_cxx "whether templated member functions work" "ok" "no"
d709 1
a709 1
test_cxx "whether including STL <foo> works" "ok" "no"
d724 1
a724 1
test_cxx "whether namespaces work" "ok" "no"
d738 1
a738 1
test_cxx "whether typeinfo/typeid works" "ok" "no"
d749 1
a749 1
test_cxx "whether namespaces work" "ok" "no"
d764 1
a764 1
test_cxx "whether operator delete can be overloaded in same class" "ok" "no"
d778 1
a778 1
test_cxx "whether it has poll" "yes" "no"
d791 1
a791 1
test_cxx "whether it has sys/mman.h" "yes" "no"
d797 21
d824 1
a824 1
echo "configure:803: checking for $ac_word" >&5
d853 1
a853 1
echo "configure:832: checking subroutine name used by Fortran compiler" >&5
d924 1
a924 1
echo "configure:903: checking for $ac_word" >&5
d953 1
a953 1
echo "configure:932: checking for $ac_word" >&5
d982 1
a982 1
echo "configure:961: checking for $ac_word" >&5
d1011 1
a1011 1
echo "configure:990: checking for $ac_word" >&5
@


1.31
log
@increase charm internal version number
@
text
@d591 13
d802 1
a802 1
echo "configure:790: checking for $ac_word" >&5
d831 1
a831 1
echo "configure:819: checking subroutine name used by Fortran compiler" >&5
d902 1
a902 1
echo "configure:890: checking for $ac_word" >&5
d931 1
a931 1
echo "configure:919: checking for $ac_word" >&5
d960 1
a960 1
echo "configure:948: checking for $ac_word" >&5
d989 1
a989 1
echo "configure:977: checking for $ac_word" >&5
d1016 1
a1016 1
    CHARMIP='128.174.241.211'
d1018 3
a1020 2
    VERSION=`nm /lib/libc.so.6 | grep "A GLIBC_" | tail -1 | sed -e "s/00000000 A GLIBC_//g"`
    L="libpthread-$VERSION.a"
d1032 5
a1036 1
      $LYNX -source $URL > $L 2>/dev/null && mv $L ../lib && finish=1
d1043 1
a1043 1
echo "GET /distrib/libpthread-$VERSION.uu 1.0"
d1061 1
a1061 1
      echo "Alternately, your version of GLIBC ($VERSION) is not yet supported--"
@


1.30
log
@use base version in .vdir to check the need for fetching pthread.a, this prevents net-linux-ia64 or net-linux-axp doing so.
@
text
@d2 1
d4 2
a5 1
# Generated by Autoconf 2.52.
a6 2
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
d10 2
a11 86
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# Sed expression to map a string onto a valid variable name.
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
fi

# Name of the executable.
as_me=`echo "$0" |sed 's,.*[\\/],,'`

if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
    as_ln_s='cp -p'
  else
    as_ln_s='ln -s'
  fi
elif ln conf$$.file conf$$ 2>/dev/null; then
  as_ln_s=ln
else
  as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.file

as_executable_p="test -f"

# Support unset when possible.
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi

# NLS nuisances.
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }

# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }

# Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`

exec 6>&1

#
# Initializations.
#
d13 1
a13 11
cross_compiling=no
subdirs=
MFLAGS= MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}

# Maximum number of lines to put in a shell here document.
# This variable seems obsolete.  It should probably be removed, and
# only ac_max_sed_lines should be used.
: ${ac_max_here_lines=38}

ac_unique_file="./Makefile"
a15 2
ac_init_help=
ac_init_version=false
d18 2
a19 1
cache_file=/dev/null
d21 1
d23 1
d32 1
a35 6

# Installation directory options.
# These are left unexpanded so users can "make install exec_prefix=/foo"
# and all the variables that are supposed to be based on exec_prefix
# by default will actually change.
# Use braces instead of parens because sh, perl, etc. also accept them.
d49 6
a54 6
# Identity of this package.
PACKAGE_NAME=
PACKAGE_TARNAME=
PACKAGE_VERSION=
PACKAGE_STRING=
PACKAGE_BUGREPORT=
d59 1
d67 4
a70 1
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
d74 1
a74 1
  case $ac_option in
d79 1
a79 1
    bindir=$ac_optarg ;;
d82 1
a82 1
    ac_prev=build_alias ;;
d84 1
a84 1
    build_alias=$ac_optarg ;;
d91 1
a91 4
    cache_file=$ac_optarg ;;

  --config-cache | -C)
    cache_file=config.cache ;;
d97 1
a97 1
    datadir=$ac_optarg ;;
d100 1
a100 1
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
d102 5
a106 5
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   { (exit 1); exit 1; }; }
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    eval "enable_$ac_feature=no" ;;
d109 1
a109 1
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
d111 6
a116 6
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   { (exit 1); exit 1; }; }
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
d119 1
a119 1
    eval "enable_$ac_feature='$ac_optarg'" ;;
d128 1
a128 1
    exec_prefix=$ac_optarg ;;
d134 54
a187 6
  -help | --help | --hel | --he | -h)
    ac_init_help=long ;;
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    ac_init_help=recursive ;;
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    ac_init_help=short ;;
d190 1
a190 1
    ac_prev=host_alias ;;
d192 1
a192 1
    host_alias=$ac_optarg ;;
d199 1
a199 1
    includedir=$ac_optarg ;;
d204 1
a204 1
    infodir=$ac_optarg ;;
d209 1
a209 1
    libdir=$ac_optarg ;;
d216 1
a216 1
    libexecdir=$ac_optarg ;;
d225 1
a225 1
    localstatedir=$ac_optarg ;;
d230 1
a230 1
    mandir=$ac_optarg ;;
d251 1
a251 1
    oldincludedir=$ac_optarg ;;
d256 1
a256 1
    prefix=$ac_optarg ;;
d263 1
a263 1
    program_prefix=$ac_optarg ;;
d270 1
a270 1
    program_suffix=$ac_optarg ;;
d287 1
a287 1
    program_transform_name=$ac_optarg ;;
d297 1
a297 1
    sbindir=$ac_optarg ;;
d308 1
a308 1
    sharedstatedir=$ac_optarg ;;
d313 1
a313 1
    site=$ac_optarg ;;
d318 1
a318 1
    srcdir=$ac_optarg ;;
d325 1
a325 1
    sysconfdir=$ac_optarg ;;
d328 1
a328 1
    ac_prev=target_alias ;;
d330 1
a330 1
    target_alias=$ac_optarg ;;
d335 3
a337 2
  -version | --version | --versio | --versi | --vers | -V)
    ac_init_version=: ;;
d340 1
a340 1
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
d342 3
a344 3
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid package name: $ac_package" >&2
   { (exit 1); exit 1; }; }
d346 2
a347 2
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
d350 1
a350 1
    eval "with_$ac_package='$ac_optarg'" ;;
d353 1
a353 1
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
d355 5
a359 5
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid package name: $ac_package" >&2
   { (exit 1); exit 1; }; }
    ac_package=`echo $ac_package | sed 's/-/_/g'`
    eval "with_$ac_package=no" ;;
d370 1
a370 1
    x_includes=$ac_optarg ;;
d377 1
a377 1
    x_libraries=$ac_optarg ;;
d379 1
a379 3
  -*) { echo "$as_me: error: unrecognized option: $ac_option
Try \`$0 --help' for more information." >&2
   { (exit 1); exit 1; }; }
a381 10
  *=*)
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    # Reject names that are not valid shell variable names.
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   { (exit 1); exit 1; }; }
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    eval "$ac_envvar='$ac_optarg'"
    export $ac_envvar ;;

d383 7
a389 5
    # FIXME: should be removed in autoconf 3.0.
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
d396 17
a412 3
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  { echo "$as_me: error: missing argument to $ac_option" >&2
   { (exit 1); exit 1; }; }
d414 1
d416 4
a419 10
# Be sure to have absolute paths.
for ac_var in exec_prefix prefix
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done
d421 4
a424 3
# Be sure to have absolute paths.
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
              localstatedir libdir includedir oldincludedir infodir mandir
d426 8
a433 5
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* ) ;;
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
d437 9
a445 16
# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
build=$build_alias
host=$host_alias
target=$target_alias

# FIXME: should be removed in autoconf 3.0.
if test "x$host_alias" != x; then
  if test "x$build_alias" = x; then
    cross_compiling=maybe
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used." >&2
  elif test "x$build_alias" != "x$host_alias"; then
    cross_compiling=yes
  fi
fi
d447 4
a450 2
ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-
d452 3
a454 1
test "$silent" = yes && exec 6>/dev/null
d461 1
a461 1
  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
d472 1
a472 2
    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
   { (exit 1); exit 1; }; }
d474 1
a474 2
    { echo "$as_me: error: cannot find sources in $srcdir" >&2
   { (exit 1); exit 1; }; }
d477 1
a477 163
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
ac_env_build_alias_set=${build_alias+set}
ac_env_build_alias_value=$build_alias
ac_cv_env_build_alias_set=${build_alias+set}
ac_cv_env_build_alias_value=$build_alias
ac_env_host_alias_set=${host_alias+set}
ac_env_host_alias_value=$host_alias
ac_cv_env_host_alias_set=${host_alias+set}
ac_cv_env_host_alias_value=$host_alias
ac_env_target_alias_set=${target_alias+set}
ac_env_target_alias_value=$target_alias
ac_cv_env_target_alias_set=${target_alias+set}
ac_cv_env_target_alias_value=$target_alias

#
# Report the --help message.
#
if test "$ac_init_help" = "long"; then
  # Omit some internal or obsolete options to make the list less imposing.
  # This message is too long to be a string in the A/UX 3.1 sh.
  cat <<EOF
\`configure' configures this package to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print \`checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for \`--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']

EOF

  cat <<EOF
Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, \`make install' will install all the files in
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
for instance \`--prefix=\$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]
EOF

  cat <<\EOF
EOF
fi

if test -n "$ac_init_help"; then

  cat <<\EOF

EOF
fi

if test "$ac_init_help" = "recursive"; then
  # If there are subdirs, report their specific --help.
  ac_popdir=`pwd`
  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
    cd $ac_subdir
    # A "../" for each directory in /$ac_subdir.
    ac_dots=`echo $ac_subdir |
             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`

    case $srcdir in
    .) # No --srcdir option.  We are building in place.
      ac_sub_srcdir=$srcdir ;;
    [\\/]* | ?:[\\/]* ) # Absolute path.
      ac_sub_srcdir=$srcdir/$ac_subdir ;;
    *) # Relative path.
      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
    esac

    # Check for guested configure; otherwise get Cygnus style configure.
    if test -f $ac_sub_srcdir/configure.gnu; then
      echo
      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
    elif test -f $ac_sub_srcdir/configure; then
      echo
      $SHELL $ac_sub_srcdir/configure  --help=recursive
    elif test -f $ac_sub_srcdir/configure.ac ||
           test -f $ac_sub_srcdir/configure.in; then
      echo
      $ac_configure --help
    else
      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
    fi
    cd $ac_popdir
  done
fi

test -n "$ac_init_help" && exit 0
if $ac_init_version; then
  cat <<\EOF

Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
EOF
  exit 0
fi
exec 5>config.log
cat >&5 <<EOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by $as_me, which was
generated by GNU Autoconf 2.52.  Invocation command line was

  $ $0 $@@

EOF
{
cat <<_ASUNAME
## ---------- ##
## Platform.  ##
## ---------- ##

hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`

/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`

/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
a478 86
PATH = $PATH

_ASUNAME
} >&5

cat >&5 <<EOF
## ------------ ##
## Core tests.  ##
## ------------ ##

EOF

# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
# Also quote any args containing shell meta-characters.
ac_configure_args=
ac_sep=
for ac_arg
do
  case $ac_arg in
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c) ;;
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    ac_sep=" " ;;
  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
     ac_sep=" " ;;
  esac
  # Get rid of the leading space.
done

# When interrupted or exit'd, cleanup temporary files, and complete
# config.log.  We remove comments because anyway the quotes in there
# would cause problems or look ugly.
trap 'exit_status=$?
  # Save into config.log some information that might help in debugging.
  echo >&5
  echo "## ----------------- ##" >&5
  echo "## Cache variables.  ##" >&5
  echo "## ----------------- ##" >&5
  echo >&5
  # The following way of writing the cache mishandles newlines in values,
{
  (set) 2>&1 |
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
      sed -n \
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
      ;;
    *)
      sed -n \
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
      ;;
    esac;
} >&5
  sed "/^$/d" confdefs.h >conftest.log
  if test -s conftest.log; then
    echo >&5
    echo "## ------------ ##" >&5
    echo "## confdefs.h.  ##" >&5
    echo "## ------------ ##" >&5
    echo >&5
    cat conftest.log >&5
  fi
  (echo; echo) >&5
  test "$ac_signal" != 0 &&
    echo "$as_me: caught signal $ac_signal" >&5
  echo "$as_me: exit $exit_status" >&5
  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
    exit $exit_status
     ' 0
for ac_signal in 1 2 13 15; do
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
done
ac_signal=0

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

# Let the site file select an alternate cache file if it wants to.
d489 1
a489 3
    { echo "$as_me:787: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;}
    cat "$ac_site_file" >&5
d495 2
a496 10
  # Some versions of bash will fail to source /dev/null (special
  # files actually), so we avoid doing that.
  if test -f "$cache_file"; then
    { echo "$as_me:798: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
    case $cache_file in
      [\\/]* | ?:[\\/]* ) . $cache_file;;
      *)                      . ./$cache_file;;
    esac
  fi
d498 2
a499 54
  { echo "$as_me:806: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
  >$cache_file
fi

# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
for ac_var in `(set) 2>&1 |
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  eval ac_new_set=\$ac_env_${ac_var}_set
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  eval ac_new_val="\$ac_env_${ac_var}_value"
  case $ac_old_set,$ac_new_set in
    set,)
      { echo "$as_me:822: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
      ac_cache_corrupted=: ;;
    ,set)
      { echo "$as_me:826: error: \`$ac_var' was not set in the previous run" >&5
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
      ac_cache_corrupted=: ;;
    ,);;
    *)
      if test "x$ac_old_val" != "x$ac_new_val"; then
        { echo "$as_me:832: error: \`$ac_var' has changed since the previous run:" >&5
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
        { echo "$as_me:834:   former value:  $ac_old_val" >&5
echo "$as_me:   former value:  $ac_old_val" >&2;}
        { echo "$as_me:836:   current value: $ac_new_val" >&5
echo "$as_me:   current value: $ac_new_val" >&2;}
        ac_cache_corrupted=:
      fi;;
  esac
  # Pass precious variables to config.status.  It doesn't matter if
  # we pass some twice (in addition to the command line arguments).
  if test "$ac_new_set" = set; then
    case $ac_new_val in
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
      ac_configure_args="$ac_configure_args '$ac_arg'"
      ;;
    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
       ;;
    esac
  fi
done
if $ac_cache_corrupted; then
  { echo "$as_me:855: error: changes in the environment can compromise the build" >&5
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  { { echo "$as_me:857: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   { (exit 1); exit 1; }; }
d503 1
d505 14
a518 19
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac
echo "#! $SHELL" >conftest.sh
echo  "exit 0"   >>conftest.sh
chmod +x conftest.sh
if { (echo "$as_me:877: PATH=\".;.\"; conftest.sh") >&5
  (PATH=".;."; conftest.sh) 2>&5
  ac_status=$?
  echo "$as_me:880: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  ac_path_separator=';'
d520 1
a520 1
  ac_path_separator=:
a521 2
PATH_SEPARATOR="$ac_path_separator"
rm -f conftest.sh
d523 3
a525 1
ac_config_headers="$ac_config_headers conv-autoconfig.h"
d529 1
a529 1
if test ! -r ./conv-mach.sh
d538 2
a539 2
VERSION=050405
cat >>confdefs.h <<EOF
d543 3
a545 2
echo "$as_me:907: checking machine name" >&5
echo $ECHO_N "checking machine name... $ECHO_C" >&6
d548 1
a548 1
cat >>confdefs.h <<EOF
d552 1
a552 2
echo "$as_me:915: result: $version" >&5
echo "${ECHO_T}$version" >&6
d560 2
a561 2
        echo "$as_me:924: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d565 1
a565 2
                echo "$as_me:929: result: \"$2\"" >&5
echo "${ECHO_T}\"$2\"" >&6
d569 1
a569 2
                echo "$as_me:934: result: \"$3\"" >&5
echo "${ECHO_T}\"$3\"" >&6
d576 1
a576 1
	then
d578 1
a578 1
	  then
d606 1
d614 1
a614 1
cat >>confdefs.h <<EOF
d618 1
a618 1
cat >>confdefs.h <<EOF
d622 1
d632 1
a632 1
cat >>confdefs.h <<EOF
d636 1
d647 1
a647 1
cat >>confdefs.h <<EOF
d651 1
d656 1
a656 1
cat >>confdefs.h <<EOF
d660 1
a660 1
cat >>confdefs.h <<EOF
d664 2
d685 1
a685 1
cat >>confdefs.h <<EOF
d689 2
d696 1
a696 1
cat >>confdefs.h <<EOF
d700 1
a700 1
cat >>confdefs.h <<EOF
d704 1
d711 1
a711 1
cat >>confdefs.h <<EOF
d715 2
d725 1
a725 1
cat >>confdefs.h <<EOF
d729 1
d736 1
a736 1
cat >>confdefs.h <<EOF
d740 2
d751 1
a751 1
cat >>confdefs.h <<EOF
d755 1
d759 1
a759 1
void foo(void) {
d765 1
a765 1
cat >>confdefs.h <<EOF
d769 1
d774 1
a774 1
void foo(void) {
d778 1
a778 1
cat >>confdefs.h <<EOF
d782 1
d788 4
a791 4
echo "$as_me:1137: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_FCL+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d796 10
a805 11
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_FCL=""$FCC" "
echo "$as_me:1152: found $ac_dir/$ac_word" >&5
break
done

d808 1
a808 1
FCL=$ac_cv_prog_FCL
d810 1
a810 2
  echo "$as_me:1160: result: $FCL" >&5
echo "${ECHO_T}$FCL" >&6
d812 1
a812 2
  echo "$as_me:1163: result: no" >&5
echo "${ECHO_T}no" >&6
d817 4
a820 4
  echo "$as_me:1169: checking subroutine name used by Fortran compiler" >&5
echo $ECHO_N "checking subroutine name used by Fortran compiler... $ECHO_C" >&6
  if test "${fortran_postfix+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d832 1
a832 1
    cat >>confdefs.h <<EOF
d841 1
a841 1
      cat >>confdefs.h <<EOF
d850 1
a850 1
        cat >>confdefs.h <<EOF
d859 1
a859 1
          cat >>confdefs.h <<EOF
d872 2
d875 1
a877 3
  echo "$as_me:1227: result: $fortran_postfix" >&5
echo "${ECHO_T}$fortran_postfix" >&6
fi
d888 4
a891 4
echo "$as_me:1240: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_WGET+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d896 10
a905 11
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_WGET="wget "
echo "$as_me:1255: found $ac_dir/$ac_word" >&5
break
done

d908 1
a908 1
WGET=$ac_cv_prog_WGET
d910 1
a910 2
  echo "$as_me:1263: result: $WGET" >&5
echo "${ECHO_T}$WGET" >&6
d912 1
a912 2
  echo "$as_me:1266: result: no" >&5
echo "${ECHO_T}no" >&6
d917 4
a920 4
echo "$as_me:1272: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_LYNX+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d925 10
a934 11
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_LYNX="lynx "
echo "$as_me:1287: found $ac_dir/$ac_word" >&5
break
done

d937 1
a937 1
LYNX=$ac_cv_prog_LYNX
d939 1
a939 2
  echo "$as_me:1295: result: $LYNX" >&5
echo "${ECHO_T}$LYNX" >&6
d941 1
a941 2
  echo "$as_me:1298: result: no" >&5
echo "${ECHO_T}no" >&6
d946 4
a949 4
echo "$as_me:1304: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_TELNET+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d954 10
a963 11
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_TELNET="telnet "
echo "$as_me:1319: found $ac_dir/$ac_word" >&5
break
done

d966 1
a966 1
TELNET=$ac_cv_prog_TELNET
d968 1
a968 2
  echo "$as_me:1327: result: $TELNET" >&5
echo "${ECHO_T}$TELNET" >&6
d970 1
a970 2
  echo "$as_me:1330: result: no" >&5
echo "${ECHO_T}no" >&6
d975 4
a978 4
echo "$as_me:1336: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_UUDECODE+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d983 10
a992 11
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_UUDECODE="uudecode "
echo "$as_me:1351: found $ac_dir/$ac_word" >&5
break
done

d995 1
a995 1
UUDECODE=$ac_cv_prog_UUDECODE
d997 1
a997 2
  echo "$as_me:1359: result: $UUDECODE" >&5
echo "${ECHO_T}$UUDECODE" >&6
d999 1
a999 2
  echo "$as_me:1362: result: no" >&5
echo "${ECHO_T}no" >&6
d1002 1
d1055 2
a1056 1
cat >confcache <<\_ACEOF
d1059 2
a1060 3
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems.  If it contains results you don't
# want to keep, you may remove or edit it.
d1062 8
a1069 2
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
d1071 1
a1071 6
# `ac_cv_env_foo' variables (set or unset) will be overriden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values.

_ACEOF

d1077 17
a1093 25
{
  (set) 2>&1 |
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
      # `set' does not quote correctly, so add quotes (double-quote
      # substitution turns \\\\ into \\, and sed turns \\ into \).
      sed -n \
        "s/'/'\\\\''/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
      ;;
    *)
      # `set' quotes correctly as required by POSIX, so do not add quotes.
      sed -n \
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
      ;;
    esac;
} |
  sed '
     t clear
     : clear
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     t end
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     : end' >>confcache
if cmp -s $cache_file confcache; then :; else
d1095 2
a1096 2
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    cat confcache >$cache_file
d1103 2
d1109 3
a1111 4
# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
d1113 1
a1113 8
  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@@srcdir@@:*/:/;
s/^\([^=]*=[ 	]*\):*/\1/;
s/:*$//;
s/^[^=]*=[ 	]*$//;
}'
d1116 2
d1120 1
d1122 5
a1126 6
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:1497: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
d1129 5
d1135 1
a1135 1
# configure, is in config.log if it exists.
d1137 15
a1151 3
debug=false
SHELL=\${CONFIG_SHELL-$SHELL}
ac_cs_invocation="\$0 \$@@"
d1153 1
a1153 1
_ACEOF
d1155 3
a1157 8
cat >>$CONFIG_STATUS <<\_ACEOF
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
fi
d1159 56
a1214 17
# Name of the executable.
as_me=`echo "$0" |sed 's,.*[\\/],,'`

if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
    as_ln_s='cp -p'
d1216 8
a1223 1
    as_ln_s='ln -s'
d1225 3
a1227 42
elif ln conf$$.file conf$$ 2>/dev/null; then
  as_ln_s=ln
else
  as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.file

as_executable_p="test -f"

# Support unset when possible.
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi

# NLS nuisances.
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }

# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }

exec 6>&1

_ACEOF

# Files that config.status was made for.
if test -n "$ac_config_files"; then
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
a1228 32

if test -n "$ac_config_headers"; then
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_links"; then
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_commands"; then
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
fi

cat >>$CONFIG_STATUS <<\EOF

ac_cs_usage="\
\`$as_me' instantiates files from templates according to the
current configuration.

Usage: $0 [OPTIONS] [FILE]...

  -h, --help       print this help, then exit
  -V, --version    print version number, then exit
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by reconfiguring in the same conditions
  --header=FILE[:TEMPLATE]
                   instantiate the configuration header FILE

Configuration headers:
$config_headers

Report bugs to <bug-autoconf@@gnu.org>."
d1231 1
a1231 5
cat >>$CONFIG_STATUS <<EOF
ac_cs_version="\\
config.status
configured by $0, generated by GNU Autoconf 2.52,
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
d1233 1
a1233 5
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
srcdir=$srcdir
d1235 7
a1241 19

cat >>$CONFIG_STATUS <<\EOF
# If no file are specified by the user, then we need to provide default
# value.  By we need to know if files were specified by the user.
ac_need_defaults=:
while test $# != 0
do
  case $1 in
  --*=*)
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    shift
    set dummy "$ac_option" "$ac_optarg" ${1+"$@@"}
    shift
    ;;
  -*);;
  *) # This is not an option, so the user has probably given explicit
     # arguments.
     ac_need_defaults=false;;
d1244 1
a1244 37
  case $1 in
  # Handling of the options.
EOF
cat >>$CONFIG_STATUS <<EOF
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
EOF
cat >>$CONFIG_STATUS <<\EOF
  --version | --vers* | -V )
    echo "$ac_cs_version"; exit 0 ;;
  --he | --h)
    # Conflict between --help and --header
    { { echo "$as_me:1664: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; };;
  --help | --hel | -h )
    echo "$ac_cs_usage"; exit 0 ;;
  --debug | --d* | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    shift
    CONFIG_FILES="$CONFIG_FILES $1"
    ac_need_defaults=false;;
  --header | --heade | --head | --hea )
    shift
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
    ac_need_defaults=false;;

  # This is an error.
  -*) { { echo "$as_me:1683: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; } ;;
d1246 11
a1256 1
  *) ac_config_targets="$ac_config_targets $1" ;;
d1258 8
a1266 2
  shift
done
a1267 2
exec 5>>config.log
cat >&5 << _ACEOF
d1269 7
a1275 24
## ----------------------- ##
## Running config.status.  ##
## ----------------------- ##

This file was extended by $as_me 2.52, executed with
  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  > $ac_cs_invocation
on `(hostname || uname -n) 2>/dev/null | sed 1q`

_ACEOF
EOF

cat >>$CONFIG_STATUS <<\EOF
for ac_config_target in $ac_config_targets
do
  case "$ac_config_target" in
  # Handling of arguments.
  "conv-autoconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS conv-autoconfig.h" ;;
  *) { { echo "$as_me:1719: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   { (exit 1); exit 1; }; };;
a1276 1
done
d1278 8
a1285 37
# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used.  Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
fi

# Create a temporary directory, and hook for its removal unless debugging.
$debug ||
{
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  trap '{ (exit 1); exit 1; }' 1 2 13 15
}

# Create a (secure) tmp directory for tmp files.
: ${TMPDIR=/tmp}
{
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"
}  ||
{
  tmp=$TMPDIR/cs$$-$RANDOM
  (umask 077 && mkdir $tmp)
} ||
{
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
   { (exit 1); exit 1; }
}

EOF

cat >>$CONFIG_STATUS <<\EOF

#
# CONFIG_HEADER section.
#
d1291 7
a1297 7
ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
ac_dB='[ 	].*$,\1#\2'
ac_dC=' '
ac_dD=',;t'
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_uB='$,\1#\2define\3'
d1299 6
a1304 1
ac_uD=',;t'
d1306 8
a1313 1
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
d1315 4
a1318 8
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
d1321 1
a1321 2
  test x"$ac_file" != x- && { echo "$as_me:1789: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
d1323 3
a1325 29
  # First look for the input files in the build tree, otherwise in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\\/$]*)
         # Absolute (can't be DOS-style, as IFS=:)
         test -f "$f" || { { echo "$as_me:1800: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
         echo $f;;
      *) # Relative
         if test -f "$f"; then
           # Build tree
           echo $f
         elif test -f "$srcdir/$f"; then
           # Source tree
           echo $srcdir/$f
         else
           # /dev/null tree
           { { echo "$as_me:1813: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
         fi;;
      esac
    done` || { (exit 1); exit 1; }
  # Remove the trailing spaces.
  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
d1329 14
a1342 30
# Transform confdefs.h into two sed scripts, `conftest.defines' and
# `conftest.undefs', that substitutes the proper values into
# config.h.in to produce config.h.  The first handles `#define'
# templates, and the second `#undef' templates.
# And first: Protect against being on the right side of a sed subst in
# config.status.  Protect against being in an unquoted here document
# in config.status.
rm -f conftest.defines conftest.undefs
# Using a here document instead of a string reduces the quoting nightmare.
# Putting comments in sed scripts is not portable.
#
# `end' is used to avoid that the second main sed command (meant for
# 0-ary CPP macros) applies to n-ary macro definitions.
# See the Autoconf documentation for `clear'.
cat >confdef2sed.sed <<\EOF
s/[\\&,]/\\&/g
s,[\\$`],\\&,g
t clear
: clear
s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
t end
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
: end
EOF
# If some macros were called several times there might be several times
# the same #defines, which is useless.  Nevertheless, we may not want to
# sort them, since we want the *last* AC-DEFINE to be honored.
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
rm -f confdef2sed.sed
d1347 2
a1348 2
cat >>conftest.undefs <<\EOF
s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
d1351 3
a1353 33
# Break up conftest.defines because some shells have a limit on the size
# of here documents, and old seds have small limits too (100 cmds).
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
echo '  :' >>$CONFIG_STATUS
rm -f conftest.tail
while grep . conftest.defines >/dev/null
do
  # Write a limited-size here document to $tmp/defines.sed.
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  # Speed up: don't consider the non `#define' lines.
  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
  # Work around the forget-to-reset-the-flag bug.
  echo 't clr' >>$CONFIG_STATUS
  echo ': clr' >>$CONFIG_STATUS
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  echo 'CEOF
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in
' >>$CONFIG_STATUS
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  rm -f conftest.defines
  mv conftest.tail conftest.defines
done
rm -f conftest.defines
echo '  fi # egrep' >>$CONFIG_STATUS
echo >>$CONFIG_STATUS

# Break up conftest.undefs because some shells have a limit on the size
# of here documents, and old seds have small limits too (100 cmds).
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
d1355 1
a1355 1
while grep . conftest.undefs >/dev/null
d1357 6
a1362 8
  # Write a limited-size here document to $tmp/undefs.sed.
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  # Speed up: don't consider the non `#undef'
  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
  # Work around the forget-to-reset-the-flag bug.
  echo 't clr' >>$CONFIG_STATUS
  echo ': clr' >>$CONFIG_STATUS
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
d1364 7
a1370 7
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in
' >>$CONFIG_STATUS
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  rm -f conftest.undefs
  mv conftest.tail conftest.undefs
d1372 1
a1372 1
rm -f conftest.undefs
d1374 8
a1381 6
cat >>$CONFIG_STATUS <<\EOF
  # Let's still pretend it is `configure' which instantiates (i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated automatically by config.status.  */
  if test x"$ac_file" = x-; then
    echo "/* Generated automatically by configure.  */" >$tmp/config.h
d1383 2
a1384 20
    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
  fi
  cat $tmp/in >>$tmp/config.h
  rm -f $tmp/in
  if test x"$ac_file" != x-; then
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
      { echo "$as_me:1930: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
    else
      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$ac_file" : 'X\(//\)[^/]' \| \
         X"$ac_file" : 'X\(//\)$' \| \
         X"$ac_file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d1386 2
a1387 19
        { case "$ac_dir" in
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
  *)                      as_incr_dir=.;;
esac
as_dummy="$ac_dir"
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do
  case $as_mkdir_dir in
    # Skip DOS drivespec
    ?:) as_incr_dir=$as_mkdir_dir ;;
    *)
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
    ;;
  esac
done; }

      fi
      rm -f $ac_file
      mv $tmp/config.h $ac_file
d1389 2
a1390 3
  else
    cat $tmp/config.h
    rm -f $tmp/config.h
d1392 2
a1393 1
done
d1395 1
d1397 2
a1398 1
cat >>$CONFIG_STATUS <<\EOF
d1400 1
a1400 1
{ (exit 0); exit 0; }
d1403 2
a1404 19
ac_clean_files=$ac_clean_files_save

# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
# by configure, so config.status won't be able to write to it; its
# output is simply discarded.  So we exec the FD to /dev/null,
# effectively closing config.log, so it can be properly (re)opened and
# appended to by config.status.  When coming back to configure, we
# need to make the FD available again.
if test "$no_create" != yes; then
  ac_cs_success=:
  exec 5>/dev/null
  $SHELL $CONFIG_STATUS || ac_cs_success=false
  exec 5>>config.log
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  # would make configure fail if this is the last instruction.
  $ac_cs_success || { (exit 1); exit 1; }
fi
@


1.29
log
@get pthread by check linux+(smp|vmi)
@
text
@d910 1
d915 1
a915 1
echo "$as_me:914: result: $version" >&5
d924 1
a924 1
        echo "$as_me:923: checking \"$1\"" >&5
d929 1
a929 1
                echo "$as_me:928: result: \"$2\"" >&5
d934 1
a934 1
                echo "$as_me:933: result: \"$3\"" >&5
d1137 1
a1137 1
echo "$as_me:1136: checking for $ac_word" >&5
d1152 1
a1152 1
echo "$as_me:1151: found $ac_dir/$ac_word" >&5
d1160 1
a1160 1
  echo "$as_me:1159: result: $FCL" >&5
d1163 1
a1163 1
  echo "$as_me:1162: result: no" >&5
d1169 1
a1169 1
  echo "$as_me:1168: checking subroutine name used by Fortran compiler" >&5
d1227 1
a1227 1
  echo "$as_me:1226: result: $fortran_postfix" >&5
d1232 2
d1240 1
a1240 1
echo "$as_me:1237: checking for $ac_word" >&5
d1255 1
a1255 1
echo "$as_me:1252: found $ac_dir/$ac_word" >&5
d1263 1
a1263 1
  echo "$as_me:1260: result: $WGET" >&5
d1266 1
a1266 1
  echo "$as_me:1263: result: no" >&5
d1272 1
a1272 1
echo "$as_me:1269: checking for $ac_word" >&5
d1287 1
a1287 1
echo "$as_me:1284: found $ac_dir/$ac_word" >&5
d1295 1
a1295 1
  echo "$as_me:1292: result: $LYNX" >&5
d1298 1
a1298 1
  echo "$as_me:1295: result: no" >&5
d1304 1
a1304 1
echo "$as_me:1301: checking for $ac_word" >&5
d1319 1
a1319 1
echo "$as_me:1316: found $ac_dir/$ac_word" >&5
d1327 1
a1327 1
  echo "$as_me:1324: result: $TELNET" >&5
d1330 1
a1330 1
  echo "$as_me:1327: result: no" >&5
d1336 1
a1336 1
echo "$as_me:1333: checking for $ac_word" >&5
d1351 1
a1351 1
echo "$as_me:1348: found $ac_dir/$ac_word" >&5
d1359 1
a1359 1
  echo "$as_me:1356: result: $UUDECODE" >&5
d1362 1
a1362 1
  echo "$as_me:1359: result: no" >&5
d1416 1
d1497 1
a1497 1
{ echo "$as_me:1493: creating $CONFIG_STATUS" >&5
d1664 1
a1664 1
    { { echo "$as_me:1660: error: ambiguous option: $1
d1683 1
a1683 1
  -*) { { echo "$as_me:1679: error: unrecognized option: $1
d1719 1
a1719 1
  *) { { echo "$as_me:1715: error: invalid argument: $ac_config_target" >&5
d1789 1
a1789 1
  test x"$ac_file" != x- && { echo "$as_me:1785: creating $ac_file" >&5
d1800 1
a1800 1
         test -f "$f" || { { echo "$as_me:1796: error: cannot find input file: $f" >&5
d1813 1
a1813 1
           { { echo "$as_me:1809: error: cannot find input file: $f" >&5
d1930 1
a1930 1
      { echo "$as_me:1926: $ac_file is unchanged" >&5
@


1.28
log
@charmconfig also read user defined conv-mach-pre.sh
@
text
@d1231 2
a1232 2
if test $version = net-linux-smp  || test $version = mpi-linux-vmi || test $version = mpi-linux-vmi-pgcc
then
d1411 2
a1412 1
fi
d1493 1
a1493 1
{ echo "$as_me:1492: creating $CONFIG_STATUS" >&5
d1660 1
a1660 1
    { { echo "$as_me:1659: error: ambiguous option: $1
d1679 1
a1679 1
  -*) { { echo "$as_me:1678: error: unrecognized option: $1
d1715 1
a1715 1
  *) { { echo "$as_me:1714: error: invalid argument: $ac_config_target" >&5
d1785 1
a1785 1
  test x"$ac_file" != x- && { echo "$as_me:1784: creating $ac_file" >&5
d1796 1
a1796 1
         test -f "$f" || { { echo "$as_me:1795: error: cannot find input file: $f" >&5
d1809 1
a1809 1
           { { echo "$as_me:1808: error: cannot find input file: $f" >&5
d1926 1
a1926 1
      { echo "$as_me:1925: $ac_file is unchanged" >&5
@


1.27
log
@update charmconfig.
@
text
@d891 2
d900 1
a900 4
if test -r ./conv-mach-opt.sh
then
        . ./conv-mach-opt.sh
fi
d907 1
a907 1
echo "$as_me:908: checking machine name" >&5
d914 1
a914 1
echo "$as_me:915: result: $version" >&5
d923 1
a923 1
        echo "$as_me:924: checking \"$1\"" >&5
d928 1
a928 1
                echo "$as_me:929: result: \"$2\"" >&5
d933 1
a933 1
                echo "$as_me:934: result: \"$3\"" >&5
d1136 1
a1136 1
echo "$as_me:1137: checking for $ac_word" >&5
d1151 1
a1151 1
echo "$as_me:1152: found $ac_dir/$ac_word" >&5
d1159 1
a1159 1
  echo "$as_me:1160: result: $FCL" >&5
d1162 1
a1162 1
  echo "$as_me:1163: result: no" >&5
d1168 1
a1168 1
  echo "$as_me:1169: checking subroutine name used by Fortran compiler" >&5
d1226 1
a1226 1
  echo "$as_me:1227: result: $fortran_postfix" >&5
d1237 1
a1237 1
echo "$as_me:1238: checking for $ac_word" >&5
d1252 1
a1252 1
echo "$as_me:1253: found $ac_dir/$ac_word" >&5
d1260 1
a1260 1
  echo "$as_me:1261: result: $WGET" >&5
d1263 1
a1263 1
  echo "$as_me:1264: result: no" >&5
d1269 1
a1269 1
echo "$as_me:1270: checking for $ac_word" >&5
d1284 1
a1284 1
echo "$as_me:1285: found $ac_dir/$ac_word" >&5
d1292 1
a1292 1
  echo "$as_me:1293: result: $LYNX" >&5
d1295 1
a1295 1
  echo "$as_me:1296: result: no" >&5
d1301 1
a1301 1
echo "$as_me:1302: checking for $ac_word" >&5
d1316 1
a1316 1
echo "$as_me:1317: found $ac_dir/$ac_word" >&5
d1324 1
a1324 1
  echo "$as_me:1325: result: $TELNET" >&5
d1327 1
a1327 1
  echo "$as_me:1328: result: no" >&5
d1333 1
a1333 1
echo "$as_me:1334: checking for $ac_word" >&5
d1348 1
a1348 1
echo "$as_me:1349: found $ac_dir/$ac_word" >&5
d1356 1
a1356 1
  echo "$as_me:1357: result: $UUDECODE" >&5
d1359 1
a1359 1
  echo "$as_me:1360: result: no" >&5
d1492 1
a1492 1
{ echo "$as_me:1493: creating $CONFIG_STATUS" >&5
d1659 1
a1659 1
    { { echo "$as_me:1660: error: ambiguous option: $1
d1678 1
a1678 1
  -*) { { echo "$as_me:1679: error: unrecognized option: $1
d1714 1
a1714 1
  *) { { echo "$as_me:1715: error: invalid argument: $ac_config_target" >&5
d1784 1
a1784 1
  test x"$ac_file" != x- && { echo "$as_me:1785: creating $ac_file" >&5
d1795 1
a1795 1
         test -f "$f" || { { echo "$as_me:1796: error: cannot find input file: $f" >&5
d1808 1
a1808 1
           { { echo "$as_me:1809: error: cannot find input file: $f" >&5
d1925 1
a1925 1
      { echo "$as_me:1926: $ac_file is unchanged" >&5
@


1.26
log
@add strict check for multiple delete(), trying to eliminate warinings on WinNT.
@
text
@d903 1
a903 1
VERSION=050404
d1120 12
d1137 1
a1137 1
echo "$as_me:1125: checking for $ac_word" >&5
d1152 1
a1152 1
echo "$as_me:1140: found $ac_dir/$ac_word" >&5
d1160 1
a1160 1
  echo "$as_me:1148: result: $FCL" >&5
d1163 1
a1163 1
  echo "$as_me:1151: result: no" >&5
d1169 1
a1169 1
  echo "$as_me:1157: checking subroutine name used by Fortran compiler" >&5
d1227 1
a1227 1
  echo "$as_me:1215: result: $fortran_postfix" >&5
d1238 1
a1238 1
echo "$as_me:1226: checking for $ac_word" >&5
d1253 1
a1253 1
echo "$as_me:1241: found $ac_dir/$ac_word" >&5
d1261 1
a1261 1
  echo "$as_me:1249: result: $WGET" >&5
d1264 1
a1264 1
  echo "$as_me:1252: result: no" >&5
d1270 1
a1270 1
echo "$as_me:1258: checking for $ac_word" >&5
d1285 1
a1285 1
echo "$as_me:1273: found $ac_dir/$ac_word" >&5
d1293 1
a1293 1
  echo "$as_me:1281: result: $LYNX" >&5
d1296 1
a1296 1
  echo "$as_me:1284: result: no" >&5
d1302 1
a1302 1
echo "$as_me:1290: checking for $ac_word" >&5
d1317 1
a1317 1
echo "$as_me:1305: found $ac_dir/$ac_word" >&5
d1325 1
a1325 1
  echo "$as_me:1313: result: $TELNET" >&5
d1328 1
a1328 1
  echo "$as_me:1316: result: no" >&5
d1334 1
a1334 1
echo "$as_me:1322: checking for $ac_word" >&5
d1349 1
a1349 1
echo "$as_me:1337: found $ac_dir/$ac_word" >&5
d1357 1
a1357 1
  echo "$as_me:1345: result: $UUDECODE" >&5
d1360 1
a1360 1
  echo "$as_me:1348: result: no" >&5
d1493 1
a1493 1
{ echo "$as_me:1481: creating $CONFIG_STATUS" >&5
d1660 1
a1660 1
    { { echo "$as_me:1648: error: ambiguous option: $1
d1679 1
a1679 1
  -*) { { echo "$as_me:1667: error: unrecognized option: $1
d1715 1
a1715 1
  *) { { echo "$as_me:1703: error: invalid argument: $ac_config_target" >&5
d1785 1
a1785 1
  test x"$ac_file" != x- && { echo "$as_me:1773: creating $ac_file" >&5
d1796 1
a1796 1
         test -f "$f" || { { echo "$as_me:1784: error: cannot find input file: $f" >&5
d1809 1
a1809 1
           { { echo "$as_me:1797: error: cannot find input file: $f" >&5
d1926 1
a1926 1
      { echo "$as_me:1914: $ac_file is unchanged" >&5
@


1.25
log
@advanced CHARMVERSION to 050403 because I need the number to check and disable some Namd2 compilation with old Charm++.
@
text
@a1 1

d3 1
a3 2
# Generated automatically using autoconf version 2.13 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
d5 2
d10 86
a95 2
# Defaults:
ac_help=
d97 11
a107 1
# Any additions from configure.in:
d110 2
d114 1
a114 2
build=NONE
cache_file=./config.cache
a115 1
host=NONE
a116 1
nonopt=NONE
a124 1
target=NONE
d128 6
d147 6
a152 6
# Initialize some other variables.
subdirs=
MFLAGS= MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Maximum number of lines to put in a shell here document.
ac_max_here_lines=12
a156 1

d164 1
a164 4
  case "$ac_option" in
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) ac_optarg= ;;
  esac
d168 1
a168 1
  case "$ac_option" in
d173 1
a173 1
    bindir="$ac_optarg" ;;
d176 1
a176 1
    ac_prev=build ;;
d178 1
a178 1
    build="$ac_optarg" ;;
d185 4
a188 1
    cache_file="$ac_optarg" ;;
d194 1
a194 1
    datadir="$ac_optarg" ;;
d197 1
a197 1
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
d199 5
a203 5
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    eval "enable_${ac_feature}=no" ;;
d206 1
a206 1
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
d208 6
a213 6
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    case "$ac_option" in
      *=*) ;;
d216 1
a216 1
    eval "enable_${ac_feature}='$ac_optarg'" ;;
d225 1
a225 1
    exec_prefix="$ac_optarg" ;;
d231 6
a236 54
  -help | --help | --hel | --he)
    # Omit some internal or obsolete options to make the list less imposing.
    # This message is too long to be a string in the A/UX 3.1 sh.
    cat << EOF
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print \`checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
EOF
    cat << EOF
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
EOF
    if test -n "$ac_help"; then
      echo "--enable and --with options recognized:$ac_help"
    fi
    exit 0 ;;
d239 1
a239 1
    ac_prev=host ;;
d241 1
a241 1
    host="$ac_optarg" ;;
d248 1
a248 1
    includedir="$ac_optarg" ;;
d253 1
a253 1
    infodir="$ac_optarg" ;;
d258 1
a258 1
    libdir="$ac_optarg" ;;
d265 1
a265 1
    libexecdir="$ac_optarg" ;;
d274 1
a274 1
    localstatedir="$ac_optarg" ;;
d279 1
a279 1
    mandir="$ac_optarg" ;;
d300 1
a300 1
    oldincludedir="$ac_optarg" ;;
d305 1
a305 1
    prefix="$ac_optarg" ;;
d312 1
a312 1
    program_prefix="$ac_optarg" ;;
d319 1
a319 1
    program_suffix="$ac_optarg" ;;
d336 1
a336 1
    program_transform_name="$ac_optarg" ;;
d346 1
a346 1
    sbindir="$ac_optarg" ;;
d357 1
a357 1
    sharedstatedir="$ac_optarg" ;;
d362 1
a362 1
    site="$ac_optarg" ;;
d367 1
a367 1
    srcdir="$ac_optarg" ;;
d374 1
a374 1
    sysconfdir="$ac_optarg" ;;
d377 1
a377 1
    ac_prev=target ;;
d379 1
a379 1
    target="$ac_optarg" ;;
d384 2
a385 3
  -version | --version | --versio | --versi | --vers)
    echo "configure generated by autoconf version 2.13"
    exit 0 ;;
d388 1
a388 1
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
d390 3
a392 3
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
d394 2
a395 2
    case "$ac_option" in
      *=*) ;;
d398 1
a398 1
    eval "with_${ac_package}='$ac_optarg'" ;;
d401 1
a401 1
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
d403 5
a407 5
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    eval "with_${ac_package}=no" ;;
d418 1
a418 1
    x_includes="$ac_optarg" ;;
d425 1
a425 1
    x_libraries="$ac_optarg" ;;
d427 3
a429 1
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
d432 10
d443 5
a447 7
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
      echo "configure: warning: $ac_option: invalid host type" 1>&2
    fi
    if test "x$nonopt" != xNONE; then
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    fi
    nonopt="$ac_option"
d454 3
a456 1
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
d459 10
a468 1
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
d470 3
a472 24
# File descriptor usage:
# 0 standard input
# 1 file creation
# 2 errors and warnings
# 3 some systems may open it to /dev/tty
# 4 used on the Kubota Titan
# 6 checking for... messages and results
# 5 compiler messages saved in config.log
if test "$silent" = yes; then
  exec 6>/dev/null
else
  exec 6>&1
fi
exec 5>./config.log

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

# Strip out --no-create and --no-recursion so they do not pile up.
# Also quote any args containing shell metacharacters.
ac_configure_args=
for ac_arg
d474 5
a478 8
  case "$ac_arg" in
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c) ;;
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
d482 16
a497 9
# NLS nuisances.
# Only set these to C if already set.  These must not be set unconditionally
# because not all systems understand e.g. LANG=C (notably SCO).
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
# Non-C LC_CTYPE values break the ctype check.
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
d499 2
a500 4
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo > confdefs.h
d502 1
a502 3
# A filename unique to this package, relative to the directory that
# configure is in, which we can look for to find out if srcdir is correct.
ac_unique_file=./Makefile
d509 1
a509 1
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
d520 2
a521 1
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
d523 2
a524 1
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
d527 13
a539 1
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
d541 236
d787 3
a789 1
    echo "loading site script $ac_site_file"
d795 10
a804 2
  echo "loading cache $cache_file"
  . $cache_file
d806 54
a859 2
  echo "creating cache $cache_file"
  > $cache_file
a862 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d864 19
a882 14
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

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



if test ! -r ./conv-mach.sh 
d898 1
a898 1
if test -r ./conv-mach-opt.sh 
d904 1
a904 1
cat >> confdefs.h <<EOF
d908 2
a909 3

echo $ac_n "checking machine name""... $ac_c" 1>&6
echo "configure:547: checking machine name" >&5
d911 1
a911 1
cat >> confdefs.h <<EOF
d915 2
a916 1
echo "$ac_t""$version" 1>&6
d924 3
a926 3
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:562: checking "$1"" >&5
	$CMK_CXX -I../include -c $t -o test.o > /dev/null 2>&1
d929 2
a930 1
                echo "$ac_t"""$2"" 1>&6
d934 2
a935 1
                echo "$ac_t"""$3"" 1>&6
d939 10
d953 1
a971 1

d979 1
a979 1
cat >> confdefs.h <<EOF
d983 1
a983 1
cat >> confdefs.h <<EOF
a986 1

d996 1
a996 1
cat >> confdefs.h <<EOF
a999 1

d1010 1
a1010 1
cat >> confdefs.h <<EOF
a1013 1

d1018 1
a1018 1
cat >> confdefs.h <<EOF
d1022 1
a1022 1
cat >> confdefs.h <<EOF
a1025 2


d1045 1
a1045 1
cat >> confdefs.h <<EOF
a1048 2


d1054 1
a1054 1
cat >> confdefs.h <<EOF
d1058 1
a1058 1
cat >> confdefs.h <<EOF
a1061 1

d1068 1
a1068 1
cat >> confdefs.h <<EOF
a1071 2


d1080 1
a1080 1
cat >> confdefs.h <<EOF
a1083 1

d1090 1
a1090 1
cat >> confdefs.h <<EOF
a1093 2


d1103 2
a1104 2
cat >> confdefs.h <<EOF
#define CMK_MULTIPLE_DELETE 0
a1106 1

d1110 1
a1110 1
void foo(void) { 
d1116 1
a1116 1
cat >> confdefs.h <<EOF
a1119 1

d1125 4
a1128 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:766: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_FCL'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1133 11
a1143 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_FCL=""$FCC" "
      break
    fi
  done
  IFS="$ac_save_ifs"
d1146 1
a1146 1
FCL="$ac_cv_prog_FCL"
d1148 2
a1149 1
  echo "$ac_t""$FCL" 1>&6
d1151 2
a1152 1
  echo "$ac_t""no" 1>&6
d1157 4
a1160 4
  echo $ac_n "checking subroutine name used by Fortran compiler""... $ac_c" 1>&6
echo "configure:795: checking subroutine name used by Fortran compiler" >&5
  if eval "test \"`echo '$''{'fortran_postfix'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1172 1
a1172 1
    cat >> confdefs.h <<EOF
d1181 1
a1181 1
      cat >> confdefs.h <<EOF
d1190 1
a1190 1
        cat >> confdefs.h <<EOF
d1199 1
a1199 1
          cat >> confdefs.h <<EOF
d1212 1
a1212 1
  
d1215 2
a1216 1
  echo "$ac_t""$fortran_postfix" 1>&6
a1218 1

d1226 4
a1229 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:864: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_WGET'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1234 11
a1244 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_WGET="wget "
      break
    fi
  done
  IFS="$ac_save_ifs"
d1247 1
a1247 1
WGET="$ac_cv_prog_WGET"
d1249 2
a1250 1
  echo "$ac_t""$WGET" 1>&6
d1252 2
a1253 1
  echo "$ac_t""no" 1>&6
d1258 4
a1261 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:893: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LYNX'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1266 11
a1276 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_LYNX="lynx "
      break
    fi
  done
  IFS="$ac_save_ifs"
d1279 1
a1279 1
LYNX="$ac_cv_prog_LYNX"
d1281 2
a1282 1
  echo "$ac_t""$LYNX" 1>&6
d1284 2
a1285 1
  echo "$ac_t""no" 1>&6
d1290 4
a1293 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:922: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_TELNET'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1298 11
a1308 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_TELNET="telnet "
      break
    fi
  done
  IFS="$ac_save_ifs"
d1311 1
a1311 1
TELNET="$ac_cv_prog_TELNET"
d1313 2
a1314 1
  echo "$ac_t""$TELNET" 1>&6
d1316 2
a1317 1
  echo "$ac_t""no" 1>&6
d1322 4
a1325 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:951: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1330 11
a1340 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_UUDECODE="uudecode "
      break
    fi
  done
  IFS="$ac_save_ifs"
d1343 1
a1343 1
UUDECODE="$ac_cv_prog_UUDECODE"
d1345 2
a1346 1
  echo "$ac_t""$UUDECODE" 1>&6
d1348 2
a1349 1
  echo "$ac_t""no" 1>&6
a1351 1
    
d1402 1
a1402 2
trap '' 1 2 15
cat > confcache <<\EOF
d1405 3
a1407 2
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
d1409 2
a1410 8
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
d1412 6
a1417 1
EOF
d1423 25
a1447 17
(set) 2>&1 |
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
  *ac_space=\ *)
    # `set' does not quote correctly, so add quotes (double-quote substitution
    # turns \\\\ into \\, and sed turns \\ into \).
    sed -n \
      -e "s/'/'\\\\''/g" \
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    ;;
  *)
    # `set' quotes correctly as required by POSIX, so do not add quotes.
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    ;;
  esac >> confcache
if cmp -s $cache_file confcache; then
  :
else
d1449 2
a1450 2
    echo "updating cache $cache_file"
    cat confcache > $cache_file
a1456 2
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

d1461 4
a1464 3
# Any assignment to VPATH causes Sun make to only execute
# the first set of double-colon rules, so remove it if not needed.
# If there is a colon in the path, we need to keep it.
d1466 8
a1473 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
a1475 2
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15

a1477 1
# Without the "./", some shells look in PATH for config.status.
d1479 6
a1484 5

echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
a1486 5
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
d1488 5
a1492 1
# configure, is in ./config.log if it exists.
d1494 10
a1503 15
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
for ac_option
do
  case "\$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "\$ac_cs_usage"; exit 0 ;;
  *) echo "\$ac_cs_usage"; exit 1 ;;
  esac
done
d1505 2
a1506 1
ac_given_srcdir=$srcdir
d1508 5
a1512 3
trap 'rm -fr `echo " conv-autoconfig.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
d1514 8
a1521 50
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@@/@@@@/; s/@@%/@@@@/; s/%g\$/@@g/; /@@g\$/s/[\\\\&%]/\\\\&/g;
 s/@@@@/%@@/; s/@@@@/@@%/; s/@@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
s%@@SHELL@@%$SHELL%g
s%@@CFLAGS@@%$CFLAGS%g
s%@@CPPFLAGS@@%$CPPFLAGS%g
s%@@CXXFLAGS@@%$CXXFLAGS%g
s%@@FFLAGS@@%$FFLAGS%g
s%@@DEFS@@%$DEFS%g
s%@@LDFLAGS@@%$LDFLAGS%g
s%@@LIBS@@%$LIBS%g
s%@@exec_prefix@@%$exec_prefix%g
s%@@prefix@@%$prefix%g
s%@@program_transform_name@@%$program_transform_name%g
s%@@bindir@@%$bindir%g
s%@@sbindir@@%$sbindir%g
s%@@libexecdir@@%$libexecdir%g
s%@@datadir@@%$datadir%g
s%@@sysconfdir@@%$sysconfdir%g
s%@@sharedstatedir@@%$sharedstatedir%g
s%@@localstatedir@@%$localstatedir%g
s%@@libdir@@%$libdir%g
s%@@includedir@@%$includedir%g
s%@@oldincludedir@@%$oldincludedir%g
s%@@infodir@@%$infodir%g
s%@@mandir@@%$mandir%g
s%@@FCL@@%$FCL%g
s%@@WGET@@%$WGET%g
s%@@LYNX@@%$LYNX%g
s%@@TELNET@@%$TELNET%g
s%@@UUDECODE@@%$UUDECODE%g

CEOF
EOF

cat >> $CONFIG_STATUS <<\EOF

# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
  if test $ac_beg -gt 1; then
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
d1523 1
a1523 1
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
d1525 54
a1578 16
  if test ! -s conftest.s$ac_file; then
    ac_more_lines=false
    rm -f conftest.s$ac_file
  else
    if test -z "$ac_sed_cmds"; then
      ac_sed_cmds="sed -f conftest.s$ac_file"
    else
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    fi
    ac_file=`expr $ac_file + 1`
    ac_beg=$ac_end
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
  fi
done
if test -z "$ac_sed_cmds"; then
  ac_sed_cmds=cat
d1580 20
d1602 5
a1606 1
cat >> $CONFIG_STATUS <<EOF
d1608 5
a1612 1
CONFIG_FILES=\${CONFIG_FILES-""}
d1614 19
a1632 7
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
d1635 37
a1671 1
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
d1673 1
a1673 11
  # Remove last slash and all that follows it.  Not all systems have dirname.
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test ! -d "$ac_dir" && mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  else
    ac_dir_suffix= ac_dots=
  fi
a1674 8
  case "$ac_given_srcdir" in
  .)  srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  *) # Relative path.
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
d1676 5
d1682 11
d1694 12
a1705 7
  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  case "$ac_file" in
  *Makefile*) ac_comsub="1i\\
# $configure_input" ;;
  *) ac_comsub= ;;
d1707 1
d1709 37
a1745 8
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  sed -e "$ac_comsub
s%@@configure_input@@%$configure_input%g
s%@@srcdir@@%$srcdir%g
s%@@top_srcdir@@%$top_srcdir%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
d1751 7
a1757 7
ac_dA='s%^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
ac_dB='\([ 	][ 	]*\)[^ 	]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_uB='\([ 	]\)%\1#\2define\3'
d1759 1
a1759 6
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'
d1761 1
a1761 8
if test "${CONFIG_HEADERS+set}" != set; then
EOF
cat >> $CONFIG_STATUS <<EOF
  CONFIG_HEADERS="conv-autoconfig.h"
EOF
cat >> $CONFIG_STATUS <<\EOF
fi
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
d1763 8
a1770 4
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
d1773 2
a1774 1
  echo creating $ac_file
d1776 29
a1804 3
  rm -f conftest.frag conftest.in conftest.out
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  cat $ac_file_inputs > conftest.in
d1808 30
a1837 14
# Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h.  And first:
# Protect against being on the right side of a sed subst in config.status.
# Protect against being in an unquoted here document in config.status.
rm -f conftest.vals
cat > conftest.hdr <<\EOF
s/[\\&%]/\\&/g
s%[\\$`]%\\&%g
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
s%ac_d%ac_u%gp
s%ac_u%ac_e%gp
EOF
sed -n -f conftest.hdr confdefs.h > conftest.vals
rm -f conftest.hdr
d1842 2
a1843 2
cat >> conftest.vals <<\EOF
s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
d1846 33
a1878 3
# Break up conftest.vals because some shells have a limit on
# the size of here documents, and old seds have small limits too.

d1880 1
a1880 1
while :
d1882 8
a1889 6
  ac_lines=`grep -c . conftest.vals`
  # grep -c gives empty output for an empty file on some AIX systems.
  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  # Write a limited-size here document to conftest.frag.
  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
d1891 7
a1897 7
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in
' >> $CONFIG_STATUS
  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
  rm -f conftest.vals
  mv conftest.tail conftest.vals
d1899 1
a1899 1
rm -f conftest.vals
d1901 6
a1906 8
cat >> $CONFIG_STATUS <<\EOF
  rm -f conftest.frag conftest.h
  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  cat conftest.in >> conftest.h
  rm -f conftest.in
  if cmp -s $ac_file conftest.h 2>/dev/null; then
    echo "$ac_file is unchanged"
    rm -f conftest.h
d1908 20
a1927 2
    # Remove last slash and all that follows it.  Not all systems have dirname.
      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
d1929 19
a1947 2
      # The file is in a subdirectory.
      test ! -d "$ac_dir" && mkdir "$ac_dir"
d1949 3
a1951 2
    rm -f $ac_file
    mv conftest.h $ac_file
d1953 1
a1953 2
fi; done

a1954 1
cat >> $CONFIG_STATUS <<EOF
d1956 1
a1956 2
EOF
cat >> $CONFIG_STATUS <<\EOF
d1958 1
a1958 1
exit 0
d1961 19
a1979 2
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
@


1.24
log
@charm version changed to integer
@
text
@d539 1
a539 1
VERSION=050403
@


1.23
log
@added charm version number
@
text
@d539 1
a539 1
VERSION=5.5
@


1.22
log
@Added CMK_HAS_TYPEINFO if compiler supports typeof().
Fetch appropriate version of linux-smp libpthread based on glibc version.
@
text
@d539 6
d546 1
a546 1
echo "configure:541: checking machine name" >&5
d561 1
a561 1
echo "configure:556: checking "$1"" >&5
d765 1
a765 1
echo "configure:760: checking for $ac_word" >&5
d794 1
a794 1
echo "configure:789: checking subroutine name used by Fortran compiler" >&5
d863 1
a863 1
echo "configure:858: checking for $ac_word" >&5
d892 1
a892 1
echo "configure:887: checking for $ac_word" >&5
d921 1
a921 1
echo "configure:916: checking for $ac_word" >&5
d950 1
a950 1
echo "configure:945: checking for $ac_word" >&5
@


1.21
log
@Do not accept a source file that causes warnings.
This eliminates the thousands of annoying "Multiple delete
not supported" warnings on Origin.
@
text
@d556 2
a557 3
	$CMK_CXX -I../include -c $t -o test.o > /dev/null 2>errs
	
	if test $? -eq 0 -a ! -s errs 
a566 1
	rm errs
d699 26
d735 1
a735 1
#define CMK_MULTIPLE_DELETE $pass
d759 1
a759 1
echo "configure:736: checking for $ac_word" >&5
d788 1
a788 1
echo "configure:765: checking subroutine name used by Fortran compiler" >&5
d852 1
a852 1
  if test ! -f ../lib/libpthread.a
d857 1
a857 1
echo "configure:834: checking for $ac_word" >&5
d886 1
a886 1
echo "configure:863: checking for $ac_word" >&5
d915 1
a915 1
echo "configure:892: checking for $ac_word" >&5
d944 1
a944 1
echo "configure:921: checking for $ac_word" >&5
d973 3
a975 1
    URL="http://${CHARMIP}/distrib/libpthread.a"
d977 1
a977 1
    printf "getting libpthread.a from $URL ..."
d981 1
a981 1
      $WGET $URL > /dev/null 2>&1  && mv libpthread.a ../lib && finish=1
d986 1
a986 1
      $LYNX -source $URL > libpthread.a 2>/dev/null && mv libpthread.a ../lib && finish=1
d993 1
a993 1
echo "GET /distrib/libpthread.uu 1.0"
d1002 1
a1002 1
      /bin/sh ./get_libpthread | ($TELNET $CHARMIP 80 > .uulib 2>/dev/null); $UUDECODE .uulib 2>/dev/null && rm -f .uulib && mv libpthread.a ../lib && finish=1
d1004 2
a1005 1
    if test $finish = 0 || test ! -f ../lib/libpthread.a
d1011 2
@


1.20
log
@Use bare f90 compiler name for checking generated subroutine name.
This is to circumvent an inconvenience of some f90 compilers accepting .f
and others accepting .f90 only. On IBM-SP, a compiler option makes it use
.f90 suffix only. This option we do not want to use for .f files. Hence
use the bareword compiler only.
@
text
@d556 3
a558 2
	$CMK_CXX -I../include -c $t -o test.o > /dev/null 2>&1
	if test $? -eq 0
d568 1
d735 1
a735 1
echo "configure:734: checking for $ac_word" >&5
d764 1
a764 1
echo "configure:763: checking subroutine name used by Fortran compiler" >&5
d833 1
a833 1
echo "configure:832: checking for $ac_word" >&5
d862 1
a862 1
echo "configure:861: checking for $ac_word" >&5
d891 1
a891 1
echo "configure:890: checking for $ac_word" >&5
d920 1
a920 1
echo "configure:919: checking for $ac_word" >&5
@


1.19
log
@charmconfig return error code when C++ compiler failed.
@
text
@d770 1
a770 1
  $CMK_CF90 -c conftest.f > /dev/null 2> /dev/null
@


1.18
log
@display the C++ compiler used.
@
text
@d571 1
a571 1
	return $1
@


1.17
log
@charmconfig will also read conv-mach-opt.sh
@
text
@d580 1
d733 1
a733 1
echo "configure:733: checking for $ac_word" >&5
d762 1
a762 1
echo "configure:762: checking subroutine name used by Fortran compiler" >&5
d831 1
a831 1
echo "configure:831: checking for $ac_word" >&5
d860 1
a860 1
echo "configure:860: checking for $ac_word" >&5
d889 1
a889 1
echo "configure:889: checking for $ac_word" >&5
d918 1
a918 1
echo "configure:918: checking for $ac_word" >&5
@


1.16
log
@add checking for poll.
@
text
@d534 5
d540 1
a540 1
echo "configure:536: checking machine name" >&5
d555 1
a555 1
echo "configure:551: checking "$1"" >&5
d732 1
a732 1
echo "configure:728: checking for $ac_word" >&5
d761 1
a761 1
echo "configure:757: checking subroutine name used by Fortran compiler" >&5
d830 1
a830 1
echo "configure:826: checking for $ac_word" >&5
d859 1
a859 1
echo "configure:855: checking for $ac_word" >&5
d888 1
a888 1
echo "configure:884: checking for $ac_word" >&5
d917 1
a917 1
echo "configure:913: checking for $ac_word" >&5
@


1.15
log
@added CMK_MULTIPLE_DELETE for aCC which doesn't allow multiple delete operator overloaded.
@
text
@d707 14
d727 1
a727 1
echo "configure:714: checking for $ac_word" >&5
d756 1
a756 1
echo "configure:743: checking subroutine name used by Fortran compiler" >&5
d825 1
a825 1
echo "configure:812: checking for $ac_word" >&5
d854 1
a854 1
echo "configure:841: checking for $ac_word" >&5
d883 1
a883 1
echo "configure:870: checking for $ac_word" >&5
d912 1
a912 1
echo "configure:899: checking for $ac_word" >&5
@


1.14
log
@fix a bug jim reported that charmconfig failed to get libpthread.a from his autobuild script.
@
text
@d693 14
d713 1
a713 1
echo "configure:700: checking for $ac_word" >&5
d742 1
a742 1
echo "configure:729: checking subroutine name used by Fortran compiler" >&5
d811 1
a811 1
echo "configure:798: checking for $ac_word" >&5
d840 1
a840 1
echo "configure:827: checking for $ac_word" >&5
d869 1
a869 1
echo "configure:856: checking for $ac_word" >&5
d898 1
a898 1
echo "configure:885: checking for $ac_word" >&5
@


1.13
log
@added two tests:
1) class explicit keyword (net-hp-cc doesn't pass)
2) signed char is same as char (multi operator declaration in pup.h otherwise)
@
text
@d929 1
a929 1
      ( cat > get_libpthread <<EOT
d940 1
a940 1
      /bin/sh ./get_libpthread | $TELNET charm.cs.uiuc.edu 80 > .uulib 2>/dev/null) && $UUDECODE .uulib && rm -f .uulib && mv libpthread.a ../lib && finish=1
@


1.12
log
@charmconfig will get libpthread for mpi-linux-vmi-pgcc too.
@
text
@d600 29
d699 1
a699 1
echo "configure:671: checking for $ac_word" >&5
d728 1
a728 1
echo "configure:700: checking subroutine name used by Fortran compiler" >&5
d797 1
a797 1
echo "configure:769: checking for $ac_word" >&5
d826 1
a826 1
echo "configure:798: checking for $ac_word" >&5
d855 1
a855 1
echo "configure:827: checking for $ac_word" >&5
d884 1
a884 1
echo "configure:856: checking for $ac_word" >&5
@


1.11
log
@fixed a bug when calling lynx failed to get libpthread.a
@
text
@d761 1
a761 1
if test $version = net-linux-smp  || test $version = mpi-linux-vmi
@


1.10
log
@fix the charmconfig bug on paragon-red: the failure testing of fortran won't stop the compilation.
@
text
@d882 4
a885 1
    URL='http://charm.cs.uiuc.edu/distrib/libpthread.a'
d889 4
a892 2
      (cd ../lib; $WGET $URL > /dev/null 2>&1)
    elif test -n "$LYNX"
d894 4
a897 2
      (cd ../lib; $LYNX -source $URL > libpthread.a)
    elif test -n "$TELNET" && test -n "$UUDECODE"
d899 1
d911 1
a911 1
      /bin/sh ./get_libpthread | $TELNET charm.cs.uiuc.edu 80 > .uulib ; $UUDECODE .uulib; rm -f .uulib; mv libpthread.a ../lib)
d913 1
a913 1
    if test ! -f ../lib/libpthread.a
d915 1
@


1.9
log
@remove get_libpthread, make it here file in configure.in.
add in Makefile the charmconfig:configure.in dependency.
add acconfig.h which autoheader will read and generate conv-autoconfig.h.in automaticlaly.
@
text
@d745 1
d747 1
a747 1
          exit 1
d768 1
a768 1
echo "configure:768: checking for $ac_word" >&5
d797 1
a797 1
echo "configure:797: checking for $ac_word" >&5
d826 1
a826 1
echo "configure:826: checking for $ac_word" >&5
d855 1
a855 1
echo "configure:855: checking for $ac_word" >&5
@


1.8
log
@changed SIGPIPE to the digital number in get_libpthread
add checking for uudecode program in charmconfig.
@
text
@d891 12
a902 1
      (chmod +x ./get_libpthread; ./get_libpthread | $TELNET charm.cs.uiuc.edu 80 > .uulib ; $UUDECODE .uulib; rm -f .uulib; mv libpthread.a ../lib)
d912 1
a912 1
     echo "done"
@


1.7
log
@Added telnet method of getting libpthread.a from charm webserver.
@
text
@d851 29
d889 1
a889 1
    elif test -n "$TELNET"
d891 1
a891 1
      (chmod +x ./get_libpthread; ./get_libpthread | $TELNET charm.cs.uiuc.edu 80 > .uulib ; uudecode .uulib; rm -f .uulib; mv libpthread.a ../lib)
d1006 1
a1006 1
trap 'rm -fr `echo " ./conv-autoconfig.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
d1042 1
d1160 1
a1160 1
  CONFIG_HEADERS="./conv-autoconfig.h"
@


1.6
log
@Unified naming scheme for fortran bindings.
@
text
@d822 29
d860 3
d868 1
a868 1
      echo "You must install wget or lynx to get libpthread.a from charm website."
d1012 1
@


1.5
log
@add testing for refering non-static variable in nesting class in configure.in
updated charmconfig also.
@
text
@d713 4
d722 4
d730 5
a734 1
        fortran_postfix=NONSCORE
d745 1
a745 1
          echo "FORTRAM compiler generated name not supported yet"
d767 1
a767 1
echo "configure:756: checking for $ac_word" >&5
d796 1
a796 1
echo "configure:785: checking for $ac_word" >&5
@


1.4
log
@charmconfig converted to autoconf style,
need to change configure.in and conv-autoconfig.h.in, and run autoconf to get co
nfigure and copy to charmconfig.
added fortran subroutine name test and get libpthread.a
@
text
@d616 5
a620 1
class foo {
d623 1
a623 1
	void memb(void) {f();}
d625 2
a626 2
inline void fn(void) {}
void myfunc(void)
d670 1
a670 1
echo "configure:667: checking for $ac_word" >&5
d699 1
a699 1
echo "configure:696: checking subroutine name used by Fortran compiler" >&5
d755 1
a755 1
echo "configure:752: checking for $ac_word" >&5
d784 1
a784 1
echo "configure:781: checking for $ac_word" >&5
@


1.3
log
@need to test inline template function in CMK_TEMPLATE_MEMBERS_BROKEN, fixed this to get charm compiled on o2k.
@
text
@d1 5
a5 4
#!/bin/sh
##############################################################################
# charmconfig: Generates Charm++ conv-mach-auto.h file, by compiling
# various small test programs with the current compiler.
d7 518
a524 3
# Orion Sky Lawlor, olawlor@@acm.org, 12/20/2000
#
##############################################################################
a525 1
echo "Building charm++ configuration file..."
d527 1
a527 1
if [ ! -r ./conv-mach.sh ]
d529 2
a530 2
	echo "Cannot find ./conv-mach.sh"
	exit 1
d534 6
a539 2
t="test.cpp"
o="conv-autoconfig.h"
d541 1
a541 5
# Write the conv-autoconfig.h header
echo "/* Automatically generated by charmconfig on" `date` > $o
echo " * The C++ compiler was $CMK_CXX */" >> $o
version=`pwd | awk -F/ '{print $(NF-1)}'`
echo '#define CMK_MACHINE_NAME     "'$version'"' >> $o
d543 1
d549 2
a550 1
	printf "$1... "
d552 1
a552 1
	if [ $? -eq 0 ]
d554 1
a554 1
		echo "$2"
d558 1
a558 1
		echo "$3"
d575 2
a576 2
test_cxx "Testing whether C++ compiler works" "ok" "no"
if [ $fail -eq 1 ]
d590 9
a598 3
test_cxx "Testing whether C++ bool works" "ok" "no"
echo "#define CMK_BOOL_DEFINED              $pass" >> $o
echo "#define CMK_BOOL_UNDEFINED            $fail" >> $o
d603 9
a611 3
test_cxx "Testing whether C++ *_casts<> work" "ok" "no"
echo "#define CMK_CPP_CAST_LEGAL            $pass" >> $o
echo "#define CMK_CPP_CAST_ILLEGAL          $fail" >> $o
d628 5
a632 2
test_cxx "Testing whether templated member functions work" "ok" "no"
echo "#define CMK_TEMPLATE_MEMBERS_BROKEN   $fail" >> $o
d639 9
a647 3
test_cxx "Testing whether including STL <foo> works" "ok" "no"
echo "#define CMK_STL_USE_DOT_H             $fail" >> $o
echo "#define CMK_STL_DONT_USE_DOT_H        $pass" >> $o
d654 517
a1170 2
test_cxx "Testing whether namespaces work" "ok" "no"
echo "#define CMK_NAMESPACES_BROKEN         $fail" >> $o
d1172 5
a1176 1
test_finish 0
@


1.2
log
@Changed template broken test to reflect its real use in ckarray.C
@
text
@d92 1
d96 1
a96 1
  x.template memb<myfunc>();
@


1.1
log
@Enables automatic determination of C++ compiler properties,
replacing the verbose and error-prone conv-mach.h entries for
CMK_BOOL, CMK_STL_USE_DOT_H, CMK_CPP_CAST_OK, ...
@
text
@d92 5
@

