head	1.134;
access;
symbols
	charm6_1:1.133
	charm_6_0_1:1.126
	charm6_0_1:1.125
	charm6_0:1.104
	ChaNGa_1-0:1.93
	charm5_9:1.69;
locks; strict;
comment	@# @;


1.134
date	2009.04.06.20.55.54;	author gzheng;	state Exp;
branches;
next	1.133;
commitid	WsqpuEkwuzIC00Jt;

1.133
date	2009.03.09.20.38.51;	author gioachin;	state Exp;
branches;
next	1.132;
commitid	zWXldpVbK6ACOoFt;

1.132
date	2009.03.06.02.04.42;	author gzheng;	state Exp;
branches;
next	1.131;
commitid	vtSN0I6S9iHiKUEt;

1.131
date	2009.03.05.17.16.02;	author gzheng;	state Exp;
branches;
next	1.130;
commitid	4bQ4ZDgNqn3WOREt;

1.130
date	2009.03.04.19.14.15;	author gzheng;	state Exp;
branches;
next	1.129;
commitid	RIHCnQuyhT9svKEt;

1.129
date	2009.03.04.19.04.59;	author gzheng;	state Exp;
branches;
next	1.128;
commitid	HFJzTUpoT3risKEt;

1.128
date	2009.02.28.01.45.49;	author gzheng;	state Exp;
branches;
next	1.127;
commitid	umkrxxj5TTuPP8Et;

1.127
date	2009.02.26.20.14.27;	author gzheng;	state Exp;
branches;
next	1.126;
commitid	d62dfT5zjUt72ZDt;

1.126
date	2009.02.19.02.32.02;	author gioachin;	state Exp;
branches;
next	1.125;
commitid	S4NkybITowPDnZCt;

1.125
date	2009.02.07.04.22.48;	author gzheng;	state Exp;
branches;
next	1.124;
commitid	qk2FVBXjyoVxnsBt;

1.124
date	2009.02.05.23.13.07;	author jetley;	state Exp;
branches;
next	1.123;
commitid	ZUMU9RKDDN4gHiBt;

1.123
date	2009.02.05.22.17.48;	author gzheng;	state Exp;
branches;
next	1.122;
commitid	Cjs1wrk6XH5hoiBt;

1.122
date	2009.02.05.18.29.03;	author gioachin;	state Exp;
branches;
next	1.121;
commitid	zTP9fN4yPVMR7hBt;

1.121
date	2009.01.23.17.43.51;	author gzheng;	state Exp;
branches;
next	1.120;
commitid	9MltZfuV2ye9iBzt;

1.120
date	2009.01.23.14.20.53;	author gzheng;	state Exp;
branches;
next	1.119;
commitid	COgset8DpwMzaAzt;

1.119
date	2009.01.23.14.09.28;	author gzheng;	state Exp;
branches;
next	1.118;
commitid	spbLQS1tV8iG6Azt;

1.118
date	2009.01.22.17.09.08;	author gzheng;	state Exp;
branches;
next	1.117;
commitid	d6hK85KsL63h8tzt;

1.117
date	2008.11.21.19.38.40;	author gzheng;	state Exp;
branches;
next	1.116;
commitid	EDlNfMQklLL9Xvrt;

1.116
date	2008.11.17.18.01.50;	author gzheng;	state Exp;
branches;
next	1.115;
commitid	d5Hbuqii1G5VxZqt;

1.115
date	2008.11.13.18.26.12;	author bhatele;	state Exp;
branches;
next	1.114;
commitid	Qjg0Ejb3GDSdOtqt;

1.114
date	2008.10.31.16.12.17;	author gzheng;	state Exp;
branches;
next	1.113;
commitid	n7j0lrgKWfS9uNot;

1.113
date	2008.08.13.23.24.20;	author olawlor;	state Exp;
branches;
next	1.112;
commitid	E1iWwcBuYPcFoGet;

1.112
date	2008.06.17.17.02.22;	author gzheng;	state Exp;
branches;
next	1.111;
commitid	FJCBT4JNDZRi8k7t;

1.111
date	2008.06.17.04.56.11;	author gzheng;	state Exp;
branches;
next	1.110;
commitid	qn4oIre9ox6k7g7t;

1.110
date	2008.05.23.22.08.51;	author gzheng;	state Exp;
branches;
next	1.109;
commitid	WIvZgObZTRkoD84t;

1.109
date	2008.05.15.21.37.17;	author gzheng;	state Exp;
branches;
next	1.108;
commitid	PztJ1ehShofuI63t;

1.108
date	2008.05.07.15.46.08;	author gzheng;	state Exp;
branches;
next	1.107;
commitid	mu797ffItykU132t;

1.107
date	2008.05.06.17.10.52;	author gzheng;	state Exp;
branches;
next	1.106;
commitid	nwooAllDLYwYwV1t;

1.106
date	2008.04.29.19.18.33;	author gzheng;	state Exp;
branches;
next	1.105;
commitid	pN6zk8F1J7ONs21t;

1.105
date	2008.03.26.03.33.20;	author gioachin;	state Exp;
branches;
next	1.104;
commitid	G7IcHKNtFuIkkAWs;

1.104
date	2007.12.07.22.35.22;	author gzheng;	state Exp;
branches;
next	1.103;
commitid	51cb4759ca9b4567;

1.103
date	2007.12.07.01.05.24;	author gzheng;	state Exp;
branches;
next	1.102;
commitid	17d947589c4f4567;

1.102
date	2007.12.06.23.07.21;	author gzheng;	state Exp;
branches;
next	1.101;
commitid	320b475880964567;

1.101
date	2007.10.29.19.27.11;	author gzheng;	state Exp;
branches;
next	1.100;
commitid	b75472631574567;

1.100
date	2007.10.23.15.04.27;	author gzheng;	state Exp;
branches;
next	1.99;
commitid	36da471e0d514567;

1.99
date	2007.10.04.18.19.32;	author gzheng;	state Exp;
branches;
next	1.98;
commitid	34ec47052eaf4567;

1.98
date	2007.09.13.15.11.27;	author gioachin;	state Exp;
branches;
next	1.97;
commitid	29dc46e9531c4567;

1.97
date	2007.09.13.15.00.07;	author gioachin;	state Exp;
branches;
next	1.96;
commitid	270446e950764567;

1.96
date	2007.09.13.14.47.03;	author gioachin;	state Exp;
branches;
next	1.95;
commitid	23e146e94d664567;

1.95
date	2007.06.07.06.20.43;	author gzheng;	state Exp;
branches;
next	1.94;
commitid	461f4667a3b64567;

1.94
date	2007.04.06.20.21.23;	author gzheng;	state Exp;
branches;
next	1.93;
commitid	66694616abbd4567;

1.93
date	2006.12.06.05.43.13;	author gzheng;	state Exp;
branches;
next	1.92;
commitid	37ff4576585a4567;

1.92
date	2006.12.05.19.11.51;	author gzheng;	state Exp;
branches;
next	1.91;
commitid	75664575c46d4567;

1.91
date	2006.10.10.18.50.28;	author gzheng;	state Exp;
branches;
next	1.90;
commitid	f24452beb604567;

1.90
date	2006.06.09.04.32.12;	author gzheng;	state Exp;
branches;
next	1.89;

1.89
date	2006.03.31.22.39.19;	author gzheng;	state Exp;
branches;
next	1.88;

1.88
date	2006.03.21.22.23.40;	author gzheng;	state Exp;
branches;
next	1.87;

1.87
date	2006.03.09.16.24.26;	author gzheng;	state Exp;
branches;
next	1.86;

1.86
date	2006.03.08.05.31.16;	author gzheng;	state Exp;
branches;
next	1.85;

1.85
date	2006.03.08.05.21.29;	author gzheng;	state Exp;
branches;
next	1.84;

1.84
date	2006.02.04.21.57.57;	author gzheng;	state Exp;
branches;
next	1.83;

1.83
date	2006.01.19.07.13.10;	author gzheng;	state Exp;
branches;
next	1.82;

1.82
date	2006.01.16.07.11.30;	author gzheng;	state Exp;
branches;
next	1.81;

1.81
date	2005.12.01.21.15.48;	author gioachin;	state Exp;
branches;
next	1.80;

1.80
date	2005.11.07.21.08.33;	author gzheng;	state Exp;
branches;
next	1.79;

1.79
date	2005.11.06.08.30.32;	author gzheng;	state Exp;
branches;
next	1.78;

1.78
date	2005.10.05.06.48.28;	author gzheng;	state Exp;
branches;
next	1.77;

1.77
date	2005.09.20.19.05.42;	author gzheng;	state Exp;
branches;
next	1.76;

1.76
date	2005.09.04.06.58.06;	author gzheng;	state Exp;
branches;
next	1.75;

1.75
date	2005.08.31.16.46.21;	author gzheng;	state Exp;
branches;
next	1.74;

1.74
date	2005.08.31.16.41.11;	author gzheng;	state Exp;
branches;
next	1.73;

1.73
date	2005.07.20.22.39.44;	author gzheng;	state Exp;
branches;
next	1.72;

1.72
date	2005.07.20.21.34.19;	author gzheng;	state Exp;
branches;
next	1.71;

1.71
date	2005.07.09.19.03.56;	author gzheng;	state Exp;
branches;
next	1.70;

1.70
date	2005.06.01.03.45.29;	author gzheng;	state Exp;
branches;
next	1.69;

1.69
date	2005.05.26.19.16.13;	author gzheng;	state Exp;
branches;
next	1.68;

1.68
date	2005.04.22.01.14.12;	author gzheng;	state Exp;
branches;
next	1.67;

1.67
date	2005.04.09.04.01.43;	author cheelee;	state Exp;
branches;
next	1.66;

1.66
date	2005.01.10.04.30.01;	author gzheng;	state Exp;
branches;
next	1.65;

1.65
date	2005.01.07.21.54.40;	author gzheng;	state Exp;
branches;
next	1.64;

1.64
date	2004.10.23.06.42.20;	author gzheng;	state Exp;
branches;
next	1.63;

1.63
date	2004.10.22.19.48.03;	author gzheng;	state Exp;
branches;
next	1.62;

1.62
date	2004.10.17.21.22.16;	author gzheng;	state Exp;
branches;
next	1.61;

1.61
date	2004.10.12.20.13.13;	author gzheng;	state Exp;
branches;
next	1.60;

1.60
date	2004.10.06.22.15.20;	author gioachin;	state Exp;
branches;
next	1.59;

1.59
date	2004.10.06.21.21.00;	author gzheng;	state Exp;
branches;
next	1.58;

1.58
date	2004.10.05.20.25.39;	author gioachin;	state Exp;
branches;
next	1.57;

1.57
date	2004.08.10.17.20.25;	author olawlor;	state Exp;
branches;
next	1.56;

1.56
date	2004.06.12.01.47.35;	author gzheng;	state Exp;
branches;
next	1.55;

1.55
date	2004.06.12.01.08.06;	author gzheng;	state Exp;
branches;
next	1.54;

1.54
date	2004.05.28.18.20.19;	author gzheng;	state Exp;
branches;
next	1.53;

1.53
date	2004.04.12.19.28.52;	author cheelee;	state Exp;
branches;
next	1.52;

1.52
date	2004.03.30.21.25.02;	author cheelee;	state Exp;
branches;
next	1.51;

1.51
date	2004.03.13.17.32.16;	author gzheng;	state Exp;
branches;
next	1.50;

1.50
date	2004.03.12.02.23.06;	author cheelee;	state Exp;
branches;
next	1.49;

1.49
date	2004.03.11.00.28.19;	author gzheng;	state Exp;
branches;
next	1.48;

1.48
date	2004.03.10.19.26.23;	author olawlor;	state Exp;
branches;
next	1.47;

1.47
date	2004.02.20.03.17.13;	author gzheng;	state Exp;
branches;
next	1.46;

1.46
date	2004.02.20.00.35.33;	author gzheng;	state Exp;
branches;
next	1.45;

1.45
date	2004.02.18.01.02.51;	author gzheng;	state Exp;
branches;
next	1.44;

1.44
date	2004.01.09.05.14.44;	author gzheng;	state Exp;
branches;
next	1.43;

1.43
date	2004.01.09.03.32.50;	author gzheng;	state Exp;
branches;
next	1.42;

1.42
date	2003.12.23.07.08.04;	author gzheng;	state Exp;
branches;
next	1.41;

1.41
date	2003.12.23.07.00.34;	author gzheng;	state Exp;
branches;
next	1.40;

1.40
date	2003.12.18.21.54.14;	author gzheng;	state Exp;
branches;
next	1.39;

1.39
date	2003.12.18.04.57.02;	author gzheng;	state Exp;
branches;
next	1.38;

1.38
date	2003.12.16.08.05.41;	author gzheng;	state Exp;
branches;
next	1.37;

1.37
date	2003.12.16.07.56.53;	author gzheng;	state Exp;
branches;
next	1.36;

1.36
date	2003.11.06.22.49.05;	author olawlor;	state Exp;
branches;
next	1.35;

1.35
date	2003.09.28.16.20.11;	author gzheng;	state Exp;
branches;
next	1.34;

1.34
date	2003.09.20.01.38.40;	author olawlor;	state Exp;
branches;
next	1.33;

1.33
date	2003.09.10.06.56.46;	author cheelee;	state Exp;
branches;
next	1.32;

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

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

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

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

1.28
date	2003.07.19.01.02.13;	author olawlor;	state Exp;
branches;
next	1.27;

1.27
date	2003.07.14.23.12.43;	author olawlor;	state Exp;
branches;
next	1.26;

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

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

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

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

1.22
date	2003.05.22.21.26.11;	author gzheng;	state Exp;
branches;
next	1.21;

1.21
date	2003.05.11.18.54.43;	author gzheng;	state Exp;
branches;
next	1.20;

1.20
date	2003.05.10.16.10.29;	author gzheng;	state Exp;
branches;
next	1.19;

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

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

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

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

1.15
date	2003.02.14.20.53.17;	author olawlor;	state Exp;
branches;
next	1.14;

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

1.13
date	2002.10.16.22.52.33;	author olawlor;	state Exp;
branches;
next	1.12;

1.12
date	2002.09.30.21.05.01;	author olawlor;	state Exp;
branches;
next	1.11;

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

1.10
date	2002.09.11.04.22.15;	author olawlor;	state Exp;
branches;
next	1.9;

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

1.8
date	2002.08.20.22.47.58;	author olawlor;	state Exp;
branches;
next	1.7;

1.7
date	2002.08.02.18.27.25;	author gzheng;	state Exp;
branches;
next	1.6;

1.6
date	2002.07.30.20.19.37;	author olawlor;	state Exp;
branches;
next	1.5;

1.5
date	2002.07.23.18.08.19;	author olawlor;	state Exp;
branches;
next	1.4;

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

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

1.2
date	2002.05.16.23.10.11;	author olawlor;	state Exp;
branches;
next	1.1;

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


desc
@@


1.134
log
@updated version number
@
text
@#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi




# PATH needs CR
# 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

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi

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


# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
case $0 in
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  { (exit 1); exit 1; }
fi

# Work around bugs in pre-3.0 UWIN ksh.
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
PS1='$ '
PS2='> '
PS4='+ '

# NLS nuisances.
for as_var in \
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  LC_TELEPHONE LC_TIME
do
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    eval $as_var=C; export $as_var
  else
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  fi
done

# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi


# Name of the executable.
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
echo X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`

# CDPATH.
$as_unset CDPATH


if test "x$CONFIG_SHELL" = x; then
  if (eval ":") 2>/dev/null; then
  as_have_required=yes
else
  as_have_required=no
fi

  if test $as_have_required = yes && 	 (eval ":
(as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0) || { (exit 1); exit 1; }

(
  as_lineno_1=\$LINENO
  as_lineno_2=\$LINENO
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
") 2> /dev/null; then
  :
else
  as_candidate_shells=
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  case $as_dir in
	 /*)
	   for as_base in sh bash ksh sh5; do
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
	   done;;
       esac
done
IFS=$as_save_IFS


      for as_shell in $as_candidate_shells $SHELL; do
	 # Try only shells that exist, to save several forks.
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi


:
_ASEOF
}; then
  CONFIG_SHELL=$as_shell
	       as_have_required=yes
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi


:
(as_func_return () {
  (exit $1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = "$1" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test $exitcode = 0) || { (exit 1); exit 1; }

(
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }

_ASEOF
}; then
  break
fi

fi

      done

      if test "x$CONFIG_SHELL" != x; then
  for as_var in BASH_ENV ENV
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
        done
        export CONFIG_SHELL
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@@"}
fi


    if test $as_have_required = no; then
  echo This script requires a shell more modern than all the
      echo shells that I found on your system.  Please install a
      echo modern shell, or manually run the script under such a
      echo shell if you do have one.
      { (exit 1); exit 1; }
fi


fi

fi



(eval "as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0") || {
  echo No shell found that supports shell functions.
  echo Please tell autoconf@@gnu.org about your system,
  echo including any error possibly output before this
  echo message
}



  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {

  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  # uniformly replaced by the line number.  The first 'sed' inserts a
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  # E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
    sed '
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
      N
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
      t loop
      s/-\n.*//
    ' >$as_me.lineno &&
  chmod +x "$as_me.lineno" ||
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   { (exit 1); exit 1; }; }

  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
  # Exit status is that of the last command.
  exit
}


if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
esac

if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir
fi
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  as_ln_s='ln -s'
  # ... but there are two gotchas:
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  # In both cases, we have to default to `cp -p'.
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    as_ln_s='cp -p'
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$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null

if mkdir -p . 2>/dev/null; then
  as_mkdir_p=:
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi

if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
        test -d "$1/.";
      else
	case $1 in
        -*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x

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

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



exec 7<&0 </dev/null 6>&1

# 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`

#
# Initializations.
#
ac_default_prefix=/usr/local
ac_clean_files=
ac_config_libobj_dir=.
LIBOBJS=
cross_compiling=no
subdirs=
MFLAGS=
MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}

# Identity of this package.
PACKAGE_NAME=
PACKAGE_TARNAME=
PACKAGE_VERSION=
PACKAGE_STRING=
PACKAGE_BUGREPORT=

ac_unique_file="./Makefile"
ac_subst_vars='SHELL
PATH_SEPARATOR
PACKAGE_NAME
PACKAGE_TARNAME
PACKAGE_VERSION
PACKAGE_STRING
PACKAGE_BUGREPORT
exec_prefix
prefix
program_transform_name
bindir
sbindir
libexecdir
datarootdir
datadir
sysconfdir
sharedstatedir
localstatedir
includedir
oldincludedir
docdir
infodir
htmldir
dvidir
pdfdir
psdir
libdir
localedir
mandir
DEFS
ECHO_C
ECHO_N
ECHO_T
LIBS
build_alias
host_alias
target_alias
base_version
SYNC
WGET
LYNX
TELNET
UUDECODE
LIBOBJS
LTLIBOBJS'
ac_subst_files=''
      ac_precious_vars='build_alias
host_alias
target_alias'


# Initialize some variables set by options.
ac_init_help=
ac_init_version=false
# The variables have the same names as the options, with
# dashes changed to underlines.
cache_file=/dev/null
exec_prefix=NONE
no_create=
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
verbose=
x_includes=NONE
x_libraries=NONE

# 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.
# (The list follows the same order as the GNU Coding Standards.)
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datarootdir='${prefix}/share'
datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'

ac_prev=
ac_dashdash=
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=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  *)	ac_optarg=yes ;;
  esac

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

  case $ac_dashdash$ac_option in
  --)
    ac_dashdash=yes ;;

  -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_alias ;;
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    build_alias=$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 ;;

  --config-cache | -C)
    cache_file=config.cache ;;

  -datadir | --datadir | --datadi | --datad)
    ac_prev=datadir ;;
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    datadir=$ac_optarg ;;

  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  | --dataroo | --dataro | --datar)
    ac_prev=datarootdir ;;
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    datarootdir=$ac_optarg ;;

  -disable-* | --disable-*)
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    # Reject names that are not valid shell variable names.
    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 ;;

  -docdir | --docdir | --docdi | --doc | --do)
    ac_prev=docdir ;;
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    docdir=$ac_optarg ;;

  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    ac_prev=dvidir ;;
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    dvidir=$ac_optarg ;;

  -enable-* | --enable-*)
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    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=\$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 | -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 ;;

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

  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    ac_prev=htmldir ;;
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  | --ht=*)
    htmldir=$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 ;;

  -localedir | --localedir | --localedi | --localed | --locale)
    ac_prev=localedir ;;
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    localedir=$ac_optarg ;;

  -localstatedir | --localstatedir | --localstatedi | --localstated \
  | --localstate | --localstat | --localsta | --localst | --locals)
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    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 | -n)
    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 ;;

  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    ac_prev=pdfdir ;;
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    pdfdir=$ac_optarg ;;

  -psdir | --psdir | --psdi | --psd | --ps)
    ac_prev=psdir ;;
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    psdir=$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_alias ;;
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    target_alias=$ac_optarg ;;

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

  -version | --version | --versio | --versi | --vers | -V)
    ac_init_version=: ;;

  -with-* | --with-*)
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    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=\$ac_optarg ;;

  -without-* | --without-*)
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    # Reject names that are not valid shell variable names.
    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 ;;

  --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 "$as_me: error: unrecognized option: $ac_option
Try \`$0 --help' for more information." >&2
   { (exit 1); exit 1; }; }
    ;;

  *=*)
    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; }; }
    eval $ac_envvar=\$ac_optarg
    export $ac_envvar ;;

  *)
    # 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}
    ;;

  esac
done

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

# Be sure to have absolute directory names.
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
		datadir sysconfdir sharedstatedir localstatedir includedir \
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
		libdir localedir mandir
do
  eval ac_val=\$$ac_var
  case $ac_val in
    [\\/$]* | ?:[\\/]* )  continue;;
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  esac
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; }
done

# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
# FIXME: To remove some day.
build=$build_alias
host=$host_alias
target=$target_alias

# FIXME: To remove some day.
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

ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-

test "$silent" = yes && exec 6>/dev/null


ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  { echo "$as_me: error: Working directory cannot be determined" >&2
   { (exit 1); exit 1; }; }
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  { echo "$as_me: error: pwd does not report name of working directory" >&2
   { (exit 1); exit 1; }; }


# 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 the parent directory.
  ac_confdir=`$as_dirname -- "$0" ||
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$0" : 'X\(//\)[^/]' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$0" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  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
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   { (exit 1); exit 1; }; }
fi
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   { (exit 1); exit 1; }; }
	pwd)`
# When building in place, set srcdir=.
if test "$ac_abs_confdir" = "$ac_pwd"; then
  srcdir=.
fi
# Remove unnecessary trailing slashes from srcdir.
# Double slashes in file names in object file debugging info
# mess up M-x gdb in Emacs.
case $srcdir in
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
esac
for ac_var in $ac_precious_vars; do
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_env_${ac_var}_value=\$${ac_var}
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
done

#
# 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 <<_ACEOF
\`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 \`..']

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]
  --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]
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR          info documentation [DATAROOTDIR/info]
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR           man documentation [DATAROOTDIR/man]
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  --htmldir=DIR          html documentation [DOCDIR]
  --dvidir=DIR           dvi documentation [DOCDIR]
  --pdfdir=DIR           pdf documentation [DOCDIR]
  --psdir=DIR            ps documentation [DOCDIR]
_ACEOF

  cat <<\_ACEOF
_ACEOF
fi

if test -n "$ac_init_help"; then

  cat <<\_ACEOF

_ACEOF
ac_status=$?
fi

if test "$ac_init_help" = "recursive"; then
  # If there are subdirs, report their specific --help.
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    test -d "$ac_dir" || continue
    ac_builddir=.

case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix

case $srcdir in
  .)  # We are building in place.
    ac_srcdir=.
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix

    cd "$ac_dir" || { ac_status=$?; continue; }
    # Check for guested configure.
    if test -f "$ac_srcdir/configure.gnu"; then
      echo &&
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    elif test -f "$ac_srcdir/configure"; then
      echo &&
      $SHELL "$ac_srcdir/configure" --help=recursive
    else
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    fi || ac_status=$?
    cd "$ac_pwd" || { ac_status=$?; break; }
  done
fi

test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
  cat <<\_ACEOF
configure
generated by GNU Autoconf 2.61

Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
  exit
fi
cat >config.log <<_ACEOF
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.61.  Invocation command line was

  $ $0 $@@

_ACEOF
exec 5>>config.log
{
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`
/usr/bin/hostinfo      = `(/usr/bin/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`

_ASUNAME

as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  echo "PATH: $as_dir"
done
IFS=$as_save_IFS

} >&5

cat >&5 <<_ACEOF


## ----------- ##
## Core tests. ##
## ----------- ##

_ACEOF


# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
# Strip out --silent because we don't want to record it for future runs.
# Also quote any args containing shell meta-characters.
# Make two passes to allow for proper duplicate-argument suppression.
ac_configure_args=
ac_configure_args0=
ac_configure_args1=
ac_must_keep_next=false
for ac_pass in 1 2
do
  for ac_arg
  do
    case $ac_arg in
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    | -silent | --silent | --silen | --sile | --sil)
      continue ;;
    *\'*)
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    case $ac_pass in
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    2)
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
      if test $ac_must_keep_next = true; then
	ac_must_keep_next=false # Got value, back to normal.
      else
	case $ac_arg in
	  *=* | --config-cache | -C | -disable-* | --disable-* \
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
	  | -with-* | --with-* | -without-* | --without-* | --x)
	    case "$ac_configure_args0 " in
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
	    esac
	    ;;
	  -* ) ac_must_keep_next=true ;;
	esac
      fi
      ac_configure_args="$ac_configure_args '$ac_arg'"
      ;;
    esac
  done
done
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }

# 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.
# WARNING: Use '\'' to represent an apostrophe within the trap.
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
trap 'exit_status=$?
  # Save into config.log some information that might help in debugging.
  {
    echo

    cat <<\_ASBOX
## ---------------- ##
## Cache variables. ##
## ---------------- ##
_ASBOX
    echo
    # The following way of writing the cache mishandles newlines in values,
(
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done
  (set) 2>&1 |
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
      sed -n \
	"s/'\''/'\''\\\\'\'''\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
      ;; #(
    *)
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
      ;;
    esac |
    sort
)
    echo

    cat <<\_ASBOX
## ----------------- ##
## Output variables. ##
## ----------------- ##
_ASBOX
    echo
    for ac_var in $ac_subst_vars
    do
      eval ac_val=\$$ac_var
      case $ac_val in
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
      esac
      echo "$ac_var='\''$ac_val'\''"
    done | sort
    echo

    if test -n "$ac_subst_files"; then
      cat <<\_ASBOX
## ------------------- ##
## File substitutions. ##
## ------------------- ##
_ASBOX
      echo
      for ac_var in $ac_subst_files
      do
	eval ac_val=\$$ac_var
	case $ac_val in
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
	esac
	echo "$ac_var='\''$ac_val'\''"
      done | sort
      echo
    fi

    if test -s confdefs.h; then
      cat <<\_ASBOX
## ----------- ##
## confdefs.h. ##
## ----------- ##
_ASBOX
      echo
      cat confdefs.h
      echo
    fi
    test "$ac_signal" != 0 &&
      echo "$as_me: caught signal $ac_signal"
    echo "$as_me: exit $exit_status"
  } >&5
  rm -f core *.core core.conftest.* &&
    rm -f -r conftest* confdefs* 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 -f -r conftest* confdefs.h

# Predefined preprocessor variables.

cat >>confdefs.h <<_ACEOF
#define PACKAGE_NAME "$PACKAGE_NAME"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_VERSION "$PACKAGE_VERSION"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_STRING "$PACKAGE_STRING"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
_ACEOF


# Let the site file select an alternate cache file if it wants to.
# Prefer explicitly selected file to automatically selected ones.
if test -n "$CONFIG_SITE"; then
  set x "$CONFIG_SITE"
elif test "x$prefix" != xNONE; then
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
else
  set x "$ac_default_prefix/share/config.site" \
	"$ac_default_prefix/etc/config.site"
fi
shift
for ac_site_file
do
  if test -r "$ac_site_file"; then
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;}
    sed 's/^/| /' "$ac_site_file" >&5
    . "$ac_site_file"
  fi
done

if test -r "$cache_file"; then
  # 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:$LINENO: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
    case $cache_file in
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
      *)                      . "./$cache_file";;
    esac
  fi
else
  { echo "$as_me:$LINENO: 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 $ac_precious_vars; 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO:   former value:  $ac_old_val" >&5
echo "$as_me:   former value:  $ac_old_val" >&2;}
	{ echo "$as_me:$LINENO:   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.
  if test "$ac_new_set" = set; then
    case $ac_new_val in
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    *) ac_arg=$ac_var=$ac_new_val ;;
    esac
    case " $ac_configure_args " in
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    esac
  fi
done
if $ac_cache_corrupted; then
  { echo "$as_me:$LINENO: 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:$LINENO: 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; }; }
fi

















ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
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



ac_config_headers="$ac_config_headers conv-autoconfig.h"


CHARMINC="."
test -r ./conv-config.sh && . ./conv-config.sh

#keep it a decimal
VERSION=60101
echo $VERSION > ../include/VERSION

cat >>confdefs.h <<_ACEOF
#define CHARM_VERSION $VERSION
_ACEOF


{ echo "$as_me:$LINENO: checking machine name" >&5
echo $ECHO_N "checking machine name... $ECHO_C" >&6; }
version=`pwd | awk -F/ '{print $(NF-1)}'`
base_version=`cat .vdir`

cat >>confdefs.h <<_ACEOF
#define CMK_MACHINE_NAME "$version"
_ACEOF

{ echo "$as_me:$LINENO: result: $version" >&5
echo "${ECHO_T}$version" >&6; }


t="test.cpp"
tc="test.c"

charmout="charmconfig.out"
/bin/rm -rf $charmout

# test result passed in $1
# If the test suceeded, print $3 and set "pass"/clear "fail"
# If the test failed, print $2 and clear "pass"/set "fail"
test_result() {
	if test $1 -eq 0
	then
                { echo "$as_me:$LINENO: result: \"$3\"" >&5
echo "${ECHO_T}\"$3\"" >&6; }
		pass="1"
		fail="0"
	else
                { echo "$as_me:$LINENO: result: \"$4\"" >&5
echo "${ECHO_T}\"$4\"" >&6; }
		pass="0"
		fail="1"
# For debugging the configure script, just "export autoconf_debug=1"
#  to get this verbose data on any failed tests:
		if test ! -z "$autoconf_debug"
		then
			echo "------- test script for $2 failed:"
			cat out
			echo "------- the test program was:"
			cat $t
			echo "-------"
		fi
	fi
}

# 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_cc() {
        { echo "$as_me:$LINENO: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6; }
	cat $tc >> $charmout
	echo $CMK_CC -I../include -I. $CMK_LIBDIR $CMK_INCDIR $OPTS_CC $OPTS_LD -c $tc -o test.o $4 >> $charmout
	$CMK_CC -I../include -I. $CMK_LIBDIR $CMK_INCDIR $OPTS_CC $OPTS_LD -c $tc -o test.o $4 > out 2>&1
	test_result $? "$1" "$2" "$3"
 	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
	cat out >> $charmout
	/bin/rm -f out
}

# 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 "$as_me:$LINENO: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6; }
	cat $t >> $charmout
	echo $CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $OPTS_CXX $OPTS_LD -c $t -o test.o $4 >> $charmout
	$CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $OPTS_CXX $OPTS_LD -c $t -o test.o $4 > out 2>&1
	test_result $? "$1" "$2" "$3"
 	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
	cat out >> $charmout
	/bin/rm -f out
}

# Testlink: tries to compile and link a 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_link() {
        { echo "$as_me:$LINENO: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6; }
	cat $t >> $charmout
	echo $CMK_CXX -I../include -I. $CMK_INCDIR $OPTS_CXX -c $t -o test.o $4 >> $charmout
	$CMK_CXX -I../include -I. $CMK_INCDIR $OPTS_CXX -c $t -o test.o $4 > out 2>&1
        if test $? -ne 0
        then
          test_result 1 "$1" "$2" "$3"
        else
          echo $CMK_LDXX -o testlink test.o $CMK_LIBDIR $OPTS_LD $CMK_SYSLIBS $4 >> $charmout
          $CMK_LDXX -o testlink test.o $CMK_LIBDIR $OPTS_LD $CMK_SYSLIBS $4 >> out 2>&1
          ret=$?
	  test ! -x testlink && ret=1
          test_result $ret "$1" "$2" "$3"
        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
	cat out >> $charmout
	/bin/rm -f out
}

# Testlinkc: tries to compile and link a 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_linkc() {
        { echo "$as_me:$LINENO: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6; }
	cat $tc >> $charmout
	echo $CMK_CC -I../include -I. $CMK_INCDIR $OPTS_CC -c $tc -o test.o $4 >> $charmout
	$CMK_CC -I../include -I. $CMK_INCDIR $OPTS_CC -c $tc -o test.o $4 > out 2>&1
        if test $? -ne 0
        then
          test_result 1 "$1" "$2" "$3"
        else
          echo $CMK_LD -o testlink test.o $CMK_LIBDIR $OPTS_LD $CMK_SYSLIBS $4 >> $charmout
          $CMK_LD -o testlink test.o $CMK_LIBDIR $OPTS_LD $CMK_SYSLIBS $4 >> out 2>&1
          test_result $? "$1" "$2" "$3"
        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
	cat out >> $charmout
	/bin/rm -f out
}

# test_linkso $1 $2 $3 $4, where
# $1: debug msg
# $2: yes msg
# $3: no msg
# $4: extra link option
test_linkso() {
        { echo "$as_me:$LINENO: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6; }
	cat $t >> $charmout
	echo $CMK_CXX -I../include -I. $CMK_INCDIR $OPTS_CXX -c $t -o test.o $4 >> $charmout
	$CMK_CXX -I../include -I. $CMK_INCDIR $OPTS_CXX -c $t -o test.o $4 > out 2>&1
        if test $? = 1
        then
          test_result 1 "$1" "$2" "$3"
        else
	  echo $CMK_LD -I../include -I. $CMK_LIBDIR $OPTS_LD $CMK_LD_SHARED test.o -o testlink.$CMK_SHARED_SUF $4 >> $charmout
	  $CMK_LD -I../include -I. $CMK_LIBDIR $OPTS_LD $CMK_LD_SHARED test.o -o testlink.$CMK_SHARED_SUF $4 > out 2>&1
	  test_result $? "$1" "$2" "$3"
	fi
	cat out >> $charmout
	/bin/rm -f out testlink.$CMK_SHARED_SUF
}

# add into conv-mach-opt.sh
# add_flag $1 $2
# $2 is description
add_flag() {
	if grep "$1" conv-mach-opt.sh  > /dev/null 2>&1
	then
	  true
	else
	  cat >> ../include/conv-mach-opt.sh << EOT

# Option added by configure script's $2 section
$1

EOT
	fi
}

test_finish() {
	rm -f $t $tc testlink 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 $OPTS_CXX $OPTS"
{ echo "$as_me:$LINENO: checking \"C++ compiler as\"" >&5
echo $ECHO_N "checking \"C++ compiler as\"... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: \"$CMK_CXX $OPTS_CXX $OPTS\"" >&5
echo "${ECHO_T}\"$CMK_CXX $OPTS_CXX $OPTS\"" >&6; }
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

cat > $t <<EOT
#include <stdio.h>
int main() {
	printf("Hello, world!\n");
	return 0;
}
EOT
#echo "set C++ linker as: $CMK_LDXX $OPTS_LDXX"
{ echo "$as_me:$LINENO: checking \"C++ linker as\"" >&5
echo $ECHO_N "checking \"C++ linker as\"... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: \"$CMK_LDXX $OPTS_LDXX\"" >&5
echo "${ECHO_T}\"$CMK_LDXX $OPTS_LDXX\"" >&6; }
test_link "whether linker works" "ok" "no" ""
if test $fail -eq 1
then
	echo "Cannot link C++ programs with $CMK_LDXX"
	echo " (check your charm++ version)"
	test_finish 1
fi

if test "$base_version" = "net-linux"
then
  test_link "whether linker accept --allow-multiple-definition" "ok" "no" "-Wl,--allow-multiple-definition"
  if test $pass -eq 1
  then
	add_flag CMK_LDXX='"$CMK_LDXX -Wl,--allow-multiple-definition"' "net-linux linker"
  fi
fi

# Perform the tests

#### Check if compiler if 64 bit ####
cat > $t <<EOT
#include <stdio.h>

int foo()
{
int x[sizeof(void *) - 7];
return x[0];
}
EOT
test_cxx "whether compiler is 64bit" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_SIZET_64BIT $strictpass
_ACEOF



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

cat >>confdefs.h <<_ACEOF
#define CMK_BOOL_DEFINED $pass
_ACEOF


#### Check long long ####
cat > $t <<EOT
#include <stdlib.h>
long long foo(void) { return 17; }
EOT
test_cxx "whether long long works" "ok" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_LONG_LONG_DEFINED $pass
_ACEOF


#### Check __int64 ####
cat > $t <<EOT
#include <stdlib.h>
__int64 foo(void) { return 17; }
EOT
test_cxx "whether __int64 works" "ok" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK___int64_DEFINED 1
_ACEOF


#### Check long double ####
cat > $t <<EOT
#include <stdlib.h>
long double foo(void) { return 17.0; }
EOT
test_cxx "whether long double works" "ok" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_LONG_DOUBLE_DEFINED $strictpass
_ACEOF


#### Check ucontext and FPU pointer ####
cat > $t <<EOT
#include <ucontext.h>
struct _libc_fpstate   fpstate;
fpregset_t *fp;
EOT
test_cxx "whether ucontext has FPU pointer" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_CONTEXT_FPU_POINTER $pass
_ACEOF


if test $pass -eq 1
then
cat > $t <<EOT
#include <ucontext.h>

int main()
{
  ucontext_t context;
  context.uc_mcontext.uc_regs = 0;
}
EOT
test_cxx "whether ucontext uses uc_regs" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_CONTEXT_FPU_POINTER_UCREGS $pass
_ACEOF

fi

cat > $t <<EOT
#include <ucontext.h>
vrregset_t *v_regs;
ucontext_t  uc;

void foo()
{
  vrregset_t *ptr = uc.uc_mcontext.v_regs;
}
EOT
test_cxx "whether ucontext has pointer (v_regs) of vector type" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_CONTEXT_V_REGS $pass
_ACEOF


###################### C++ Compiler Features #####################

#### check C inline ####
cat > $tc <<EOT
inline static int foo()
{
  return 1;
}
EOT
test_cc "whether inline works in C" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_C_INLINE $strictpass
_ACEOF


#### 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 <<_ACEOF
#define CMK_EXPLICIT $pass
_ACEOF


#### 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 <<_ACEOF
#define CMK_SIGNEDCHAR_DIFF_CHAR $pass
_ACEOF


#### 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 <<_ACEOF
#define CMK_CPP_CAST_LEGAL $pass
_ACEOF


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



#### 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 <<_ACEOF
#define CMK_TEMPLATE_MEMBERS_BROKEN $fail
_ACEOF


##### check if the stl headers use .h #####
cat > $t <<EOT
#include <iostream>
void foo(void) { std::cout<<"Hello, world"<<std::endl; }
EOT
test_cxx "whether including STL <foo> works" "ok" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_STL_USE_DOT_H $fail
_ACEOF


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


#### check if std::vector works ######
cat > $t <<EOT
#include <vector>

int foo(void) {
  std::vector<int> v;
  v.push_back(2); v.push_back(3);
  std::vector<int>::iterator it=v.begin();
  it++;
  return *it;
}
EOT
test_cxx "whether the std:: names for STL work" "ok" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_USE_STL $pass
_ACEOF


#### check if namespaces can be defined #####
cat > $t <<EOT
namespace foo {
	int x;
};
EOT
test_cxx "whether namespaces work" "ok" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_NAMESPACES_BROKEN $fail
_ACEOF



#### check if typeinfo exists and works #####
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 <<_ACEOF
#define CMK_HAS_TYPEINFO $pass
_ACEOF



#### 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 <<_ACEOF
#define CMK_MULTIPLE_DELETE $strictpass
_ACEOF



#### test if we can use gcc x86 assembly like this ####
cat > $t <<EOT
double foo(void)
{
  unsigned long long int v;
  int *lo=0+(int *)&v;
  int *hi=1+(int *)&v;
  __asm__ __volatile__(
      "rdtsc; movl %%edx,%0; movl %%eax,%1"
      : /* output  */ "=m" (*hi), "=m" (*lo)
      : /* input */
      : /* trashes */ "%edx", "%eax"
  );
  return v;
}
EOT
test_cxx "whether GCC x86 assembly works" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_GCC_X86_ASM $strictpass
_ACEOF


#### test if we can use gcc x86 assembly like this ####
if test $strictpass = 1
then
cat > $t <<EOT
int foo(void)
{
  int x;
  asm("lock incl %0" :: "m" (x));
  asm("lock decl %0" :: "m" (x));
  return x;
}
EOT
test_cxx "whether GCC x86 assembly for atomic increment works" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_GCC_X86_ASM_ATOMICINCREMENT $strictpass
_ACEOF

fi

#### test if we can use gcc IA64 assembly like this ####
cat > $t <<EOT
double foo(void)
{
        unsigned long long int x;
	__asm__ __volatile__("mov %0=ar.itc" : "=r"(x) :: "memory");
        return x;
}
EOT
test_cxx "whether GCC IA64 assembly works" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_GCC_IA64_ASM $strictpass
_ACEOF



#### test if we can use PPC assembly like this ####
cat > $t <<EOT
double foo(void)
{
        unsigned long long int x;
	asm volatile("eieio" ::: "memory");
        return x;
}
EOT
test_cxx "whether PPC assembly works" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_PPC_ASM $strictpass
_ACEOF




#### test if we can use __thread ####
cat > $t <<EOT
__thread unsigned long long int x;
static __thread  int y;
void foo(void)
{
	x = 1;
	y = 1;
}
EOT
test_cxx "whether __thread (Thread Local Storage) is supported" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_TLS_THREAD $strictpass
_ACEOF


#### test if we can build MPI ####
cat > $t <<EOT
#include "mpi.h"
int main(int argc, char **argv)
{
  MPI_Init(&argc, &argv);
}
EOT
mv -f ../include/mpi.h ../include/mpi.h.bak 2>/dev/null
test_cxx "whether build on MPI" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_BUILD_ON_MPI $strictpass
_ACEOF


if test $strictpass -eq 1
then
cat > $t <<EOT
#include "mpi.h"
int main(int argc, char **argv)
{
  int thread_level, provided;
  thread_level = MPI_THREAD_FUNNELED;
  MPI_Init_thread(&argc, &argv, thread_level, &provided);
}
EOT
test_cxx "whether MPI_Init_thread is supported" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_MPI_INIT_THREAD $strictpass
_ACEOF

fi
mv -f ../include/mpi.h.bak ../include/mpi.h 2>/dev/null


################### Syscalls and Libraries ###################

#### test for log2 ###
cat > $t <<EOT
#include <math.h>
int main() {
  int i = log2(10);
  return 0;
}
EOT
test_link "whether it has log2" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_LOG2 $pass
_ACEOF


#### test for sqrtf ###
cat > $t <<EOT
#include <math.h>
int main() {
  float i = sqrtf((float)10.0);
  return 0;
}
EOT
test_link "whether it has sqrtf" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_SQRTF $pass
_ACEOF


#### test for mkstemp ###
cat > $t <<EOT
#include <stdlib.h>
#include <string.h>
int main() {
  char fname[128];
  strcpy(fname, "/tmp/fdXXX.XXX");
  mkstemp(fname);
  return 0;
}
EOT
test_link "whether it has mkstemp" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_USE_MKSTEMP $pass
_ACEOF


#### test for system ###
cat > $t <<EOT
#include <stdlib.h>
int main() {
  system("/bin/ls");
  return 0;
}
EOT
test_link "whether it has system" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_SYSTEM $pass
_ACEOF


#### test for poll ###
cat > $t <<EOT
#include <poll.h>
void foo(void) {
  struct pollfd pos[3];
  poll(pos, 1, 1);
}
EOT
test_cxx "whether the poll() syscall exists" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_USE_POLL $pass
_ACEOF


#### check if getpid exists ####
cat > $t <<EOT
#include <sys/types.h>
#include <unistd.h>

void foo(void *a) {
    pid_t = getpid();
}
EOT
test_cc "whether getpid() exists" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_GETPID $pass
_ACEOF


#### test for setpriority ###
cat > $t <<EOT
#include <sys/time.h>
#include <sys/resource.h>
void foo(void) {
  setpriority(PRIO_PROCESS, 0, 0);
}
EOT
test_cxx "whether the setpriority() exists" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_SETPRIORITY $pass
_ACEOF


#### test for system ###
cat > $t <<EOT
#include "ckdll_system.C"
EOT
test_cxx "whether to use signal-safe system() " "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_SIGSAFE_SYSTEM $pass
_ACEOF


### test sched_setaffinity ####
cat > $tc <<EOT
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>

#define _GNU_SOURCE
#include <sched.h>
long sched_setaffinity(pid_t pid, unsigned int len, unsigned long *user_mask_ptr);
long sched_getaffinity(pid_t pid, unsigned int len, unsigned long *user_mask_ptr);

int main()
{
  unsigned long mask = 0xffffffff;
  unsigned int len = sizeof(mask);

  if (sched_setaffinity(0, len, &mask) < 0) {
    return -1;
  }
  return 0;
}
EOT
test_linkc "whether sched_setaffinity call exists" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_SETAFFINITY $pass
_ACEOF


### test pthread_setaffinity_np ####
cat > $tc <<EOT
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>

int main()
{
  unsigned long mask = 0xffffffff;
  unsigned int len = sizeof(mask);

  if (pthread_setaffinity_np(pthread_self(), len, &mask) < 0) {
    return -1;
  }
  return 0;
}
EOT
test_linkc "whether pthread_setaffinity_np call exists" "yes" "no" "-lpthread"

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_PTHREAD_SETAFFINITY $pass
_ACEOF


#### check if dlopen works ####
skip_dl=0
# for bproc, ignore -ldl
test -n "$CMK_BPROC" && skip_dl=1
test -n "$CMK_NO_DL" && skip_dl=1
dl_opt='-ldl'
#workaround for pgcc 4.0, -ldl crash linking, so use -Wl,-ldl to skip the prelinker.
case "$CMK_CXX" in
pgCC*) dl_opt='-Wl,-ldl' ;;
esac

if test $skip_dl -eq 0
then

cat > $t <<EOT
#include "ckdll_dlopen.C"
int main() {
	CkDll dll("foo.so");
	return 0;
}
EOT
test_link "whether dlopen links without $dl_opt" "yes" "no" ""
noldl=$pass
test_link "whether dlopen links with $dl_opt" "yes" "no" "$dl_opt"
if test $pass -eq 1
then
#dlopen requires -ldl: add it to our link line
	add_flag CMK_LIBS='"$CMK_LIBS '$dl_opt'"' "dlopen"
fi

if test $pass -eq 1 -o $noldl -eq 1
then
# One version or another of dlopen worked: compile it in

cat >>confdefs.h <<_ACEOF
#define CMK_DLL_USE_DLOPEN 1
_ACEOF

fi

### test gethostname ####
cat > $tc <<EOT
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>

int main()
{
  char hostname[1000];
  gethostname(hostname, 999);
  return 0;
}
EOT
test_linkc "whether gethostname call exists" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_GETHOSTNAME $pass
_ACEOF


#### check if getProcAddress works ####
cat > $t <<EOT
#include "ckdll_win32.C"
EOT
test_cxx "whether getProcAddress works" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_DLL_USE_WIN32 $pass
_ACEOF


fi    # end of skip_dl

#### check if socklen_t exists ####
cat > $t <<EOT
#include <sys/types.h>
#include <sys/socket.h>

void foo(void) {
	int i;
	socklen_t s=sizeof(i);
}
EOT
test_cxx "whether it has socklen_t" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_SOCKLEN $pass
_ACEOF


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

void *foo(void *a,int l,int fd) {
	return mmap((caddr_t)a,l,PROT_READ+PROT_WRITE,
                 MAP_FIXED+MAP_PRIVATE,fd,0);
}
EOT
test_cxx "whether the mmap() syscall exists" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_MMAP $pass
_ACEOF


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

void *foo(void *a,int l) {
	return mmap((caddr_t)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 <<_ACEOF
#define CMK_HAS_MMAP_ANON $pass
_ACEOF


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

void *foo(void *a,int l) {
	return mmap((caddr_t)a,l,PROT_READ+PROT_WRITE,
                MAP_FIXED+MAP_PRIVATE+MAP_NORESERVE,-1,0);
}
EOT
test_cxx "whether mmap() accepts MAP_NORESERVE" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_MMAP_NORESERVE $pass
_ACEOF


#### check if get_myaddress exists ####
cat > $t <<EOT
#include <rpc/rpc.h>

void foo(void *a) {
    get_myaddress((struct sockaddr_in*)a);
}
EOT
test_cxx "whether get_myaddress() exists" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_GET_MYADDRESS $pass
_ACEOF


#### check if glibc backtrace exists ####
cat > $t <<EOT
#include "cmibacktrace.c"

int main() {
	int nLevels=1;
	void *stack;
	CmiBacktraceRecord(&stack,0,&nLevels);
	return 0;
}
EOT
TRACE_LINK_FLAG="-rdynamic"
test_link "whether glibc backtrace works" "yes" "no" "-DCMK_USE_BACKTRACE=1 $TRACE_LINK_FLAG"

cat >>confdefs.h <<_ACEOF
#define CMK_USE_BACKTRACE $pass
_ACEOF


if test $strictpass -eq 1
then
	add_flag 'CMK_LD="$CMK_LD '$TRACE_LINK_FLAG'"' "backtrace"
	add_flag 'CMK_LDXX="$CMK_LDXX '$TRACE_LINK_FLAG'"' "backtrace"
fi


#### test if has zlib ####
# bproc doesnot like -lz in any case
if test -z "$CMK_BPROC"
then

cat > $t <<EOT
#include <zlib.h>
int main() {
  gzFile f = gzopen("/tmp/x","r");
  gzprintf(f, "test...\n");
  gzclose(f);
  return 0;
}
EOT
test_link "whether it has zlib" "yes" "no" "-lz"

cat >>confdefs.h <<_ACEOF
#define CMK_PROJECTIONS_USE_ZLIB $pass
_ACEOF

if test $pass -eq 1
then
	add_flag 'CMK_LIBZ="-lz"' "zlib"
fi

fi

#### test if has values.h ####
cat > $t <<EOT
#include <values.h>
int main() {
  double d = MAXDOUBLE;
  return 0;
}
EOT
test_cxx "whether has values.h " "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_VALUES_H $pass
_ACEOF


#### test if has alloca.h ####
cat > $t <<EOT
#include <alloca.h>
int main() {
  double *s=(double *)alloca(sizeof(double));
  *s=1.0;
  return 0;
}
EOT
test_cxx "whether has alloca.h " "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_ALLOCA_H $pass
_ACEOF


#### test if has malloc.h ####
cat > $t <<EOT
#include <malloc.h>
int main() {
  return 0;
}
EOT
test_cxx "whether has malloc.h " "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_MALLOC_H $pass
_ACEOF


#### test if has elf.h ####
cat > $t <<EOT
#include <elf.h>
typedef Elf32_Addr ELF_TYPE_Addr;
int main() {
}
EOT
test_cxx "whether has elf.h " "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_ELF_H $pass
_ACEOF


#### test if has stdint.h ####
cat > $t <<EOT
#include <stdint.h>
int main() {
  return 0;
}
EOT
test_cxx "whether has stdint.h " "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_STDINT_H $pass
_ACEOF


#### test if has Multiprocessing.h for apple ####
cat > $t <<EOT
#include <Carbon/Carbon.h>
#include <Multiprocessing.h>
int main() {
  int a = MPProcessorsScheduled();
}
EOT
test_cxx "whether has Multiprocessing.h for Apple " "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_MULTIPROCESSING_H $pass
_ACEOF


#### test if has stdint.h ####
cat > $t <<EOT
#include <stdint.h>
int main() {
  return 0;
}
EOT
test_cxx "whether has stdint.h " "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_STDINT_H $pass
_ACEOF


#### test if "ntohl" is available ####
cat > $t <<EOT
#if defined(_WIN32) && ! defined(__CYGWIN__) || defined(__MINGW_H)
#include <winsock.h>
#else
#include <netinet/in.h>
#include <arpa/inet.h>
#endif

int main() {
  int i = 100;
  i = ntohl(i);
  return 0;
}
EOT
test_link "whether ntohl is available" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_NTOHL $pass
_ACEOF


### test for libjpeg ####
cat > $t <<EOT
#include <stdio.h>
#include <stdlib.h>
#include "jpeglib.h"

int main()
{
  struct jpeg_compress_struct cinfo;
  jpeg_create_compress(&cinfo);
  return 0;
}
EOT
test_link "whether it has libjpeg" "yes" "no" "-ljpeg"

cat >>confdefs.h <<_ACEOF
#define CMK_USE_LIBJPEG $pass
_ACEOF

if test $pass -eq 1
then
        add_flag 'CMK_LIBJPEG="-ljpeg"' "libjpeg"
fi

#### check if PAPI exists ####
if test -n "$CMK_USE_PAPI"
then
cat > $t <<EOT
#include <stdio.h>
#include <papi.h>

int main() {
    int Events[1] = { PAPI_TOT_CYC };
    if (PAPI_start_counters(Events, 1) != PAPI_OK) return 1;
    return 0;
}
EOT
test_link "whether PAPI exists" "yes" "no" "-lpapi"

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_COUNTER_PAPI $pass
_ACEOF

if test $pass -eq 1
then
	add_flag 'CMK_LIBS="$CMK_LIBS -lpapi"' "papi"
fi
fi

#### test if Python headers are installed ####
PYTHON_VERSION=`python -V 2>&1 | awk {'print $2'} | awk -F. {'print $1"."$2'}`
cat > $t <<EOT
#include "python${PYTHON_VERSION}/Python.h"
#include "python${PYTHON_VERSION}/compile.h"
#include "python${PYTHON_VERSION}/eval.h"
#include "python${PYTHON_VERSION}/node.h"

int main() {
    Py_Initialize();
    PyEval_InitThreads();
    struct _node* programNode = PyParser_SimpleParseString("return 1\n",Py_file_input);
    PyCodeObject *program = PyNode_Compile(programNode, "");
}
EOT
test_link "whether Python is installed" "yes" "no" "-lpython$PYTHON_VERSION -lpthread -lutil -ldl"

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_PYTHON $pass
_ACEOF


cat >>confdefs.h <<_ACEOF
#define CMK_PYTHON_VERSION ${PYTHON_VERSION}
_ACEOF

if test $pass -eq 1
then
	add_flag "CMK_BUILD_PYTHON=$PYTHON_VERSION" "python"
fi

#### test if it can build shared library ####
cat > $t <<EOT
extern int foo();
int foo1() {
  foo();
  return 0;
}
EOT
test_linkso "whether it can build shared library" "yes" "no" ""
if test $pass -eq 0
then
	add_flag 'CMK_NO_BUILD_SHARED="true"' "build-shared"
fi

#### test the version number of bproc ####
if test -n "$CMK_BPROC"
then
cat > $t <<EOT
#include <stdio.h>
#include <sys/bproc.h>
int main()
{
  struct bproc_version_t vers;
  bproc_version(&vers);
  printf("%s\n", vers.version_string);
}
EOT
test_link "whether bproc compiles" "yes" "no" "-lbproc"
if test $pass -eq 1
then
{ echo "$as_me:$LINENO: checking \"bproc version\"" >&5
echo $ECHO_N "checking \"bproc version\"... $ECHO_C" >&6; }
bproc_ver=`./testlink`
if test x$bproc_ver = x
then
test_result 0 "bproc version" "ERROR" ""
test_finish 1
else
test_result 0 "bproc version" "$bproc_ver" ""
fi
bproc_ver=`echo $bproc_ver | cut -d'.' -f1`

cat >>confdefs.h <<_ACEOF
#define CMK_BPROC_VERSION $bproc_ver
_ACEOF

fi
fi

#### test the if command sync exists ####
# Extract the first word of "sync", so it can be a program name with args.
set dummy sync; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_SYNC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$SYNC"; then
  ac_cv_prog_SYNC="$SYNC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_SYNC="sync "
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
SYNC=$ac_cv_prog_SYNC
if test -n "$SYNC"; then
  { echo "$as_me:$LINENO: result: $SYNC" >&5
echo "${ECHO_T}$SYNC" >&6; }
else
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi


if test -n "$SYNC"
then

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_SYNC 1
_ACEOF

fi

################## Fortran #########################

#echo "set F77 compiler as: $CMK_CF77"
{ echo "$as_me:$LINENO: checking \"F77 compiler as\"" >&5
echo $ECHO_N "checking \"F77 compiler as\"... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: \"$CMK_CF77\"" >&5
echo "${ECHO_T}\"$CMK_CF77\"" >&6; }

{ echo "$as_me:$LINENO: checking \"whether Fortran 77 compiler works\"" >&5
echo $ECHO_N "checking \"whether Fortran 77 compiler works\"... $ECHO_C" >&6; }
### test fortran 77 compiler ###
cat > conftest.f <<EOF
      SUBROUTINE FOO_foo
      END
EOF
$CMK_CF77 -c conftest.f > /dev/null 2> /dev/null
if test ! -r conftest.o
then
  { echo "$as_me:$LINENO: result: \"no\"" >&5
echo "${ECHO_T}\"no\"" >&6; }
else
  { echo "$as_me:$LINENO: result: \"yes\"" >&5
echo "${ECHO_T}\"yes\"" >&6; }
fi

### test fortran 90 compiler ###
#echo "set F90 compiler as: $CMK_CF90"
{ echo "$as_me:$LINENO: checking \"F90 compiler as\"" >&5
echo $ECHO_N "checking \"F90 compiler as\"... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: \"$CMK_CF90\"" >&5
echo "${ECHO_T}\"$CMK_CF90\"" >&6; }

{ echo "$as_me:$LINENO: checking \"whether Fortran 90 compiler works\"" >&5
echo $ECHO_N "checking \"whether Fortran 90 compiler works\"... $ECHO_C" >&6; }
cat > conftest2.f90 <<EOF
      SUBROUTINE FOO_foo
      END
EOF
$CMK_CF90 -c conftest2.f90 > /dev/null 2> /dev/null
if test ! -r conftest2.o
then
  { echo "$as_me:$LINENO: result: \"no\"" >&5
echo "${ECHO_T}\"no\"" >&6; }
else
  { echo "$as_me:$LINENO: result: \"yes\"" >&5
echo "${ECHO_T}\"yes\"" >&6; }
  mv -f conftest2.o conftest.o
  USE_FORTRAN90=1
fi

### check fortran name mangling
{ echo "$as_me:$LINENO: checking subroutine name used by Fortran 90 compiler" >&5
echo $ECHO_N "checking subroutine name used by Fortran 90 compiler... $ECHO_C" >&6; }

if test -r conftest.o
then
  if test "${fortran_postfix+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  NAME=`$CMK_NM conftest.o | grep "foo_foo__"`
  if test "$NAME" != ""
  then
    fortran_postfix=TWOSCORE

cat >>confdefs.h <<_ACEOF
#define CMK_FORTRAN_USES_TWOSCORE 1
_ACEOF

  else
    NAME=`$CMK_NM conftest.o | grep "foo_foo_"`
    if test "$NAME" != ""
    then
      fortran_postfix=ONESCORE

cat >>confdefs.h <<_ACEOF
#define CMK_FORTRAN_USES_ONESCORE 1
_ACEOF

    else
      NAME=`$CMK_NM conftest.o | grep "foo_foo"`
      if test "$NAME" != ""
      then
        fortran_postfix=NOSCORE

cat >>confdefs.h <<_ACEOF
#define CMK_FORTRAN_USES_NOSCORE 1
_ACEOF

      else
        NAME=`$CMK_NM conftest.o | grep "FOO_FOO"`
        if test "$NAME" != ""
        then
          fortran_postfix=ALLCAPS

cat >>confdefs.h <<_ACEOF
#define CMK_FORTRAN_USES_ALLCAPS 1
_ACEOF

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

fi

  { echo "$as_me:$LINENO: result: $fortran_postfix" >&5
echo "${ECHO_T}$fortran_postfix" >&6; }
else
  { echo "$as_me:$LINENO: result: \"Fortran compiler not working\"" >&5
echo "${ECHO_T}\"Fortran compiler not working\"" >&6; }
fi

### check module name ###

if test "$USE_FORTRAN90" = 1
then
  cat > conftest.f90 <<EOF
      MODULE testmod
        interface
          function fpup_issizing(p)
          INTEGER :: p
          logical fpup_issizing
          end function
        end interface
      END MODULE
EOF
  { echo "$as_me:$LINENO: checking Fortran 90 mod name is capital" >&5
echo $ECHO_N "checking Fortran 90 mod name is capital... $ECHO_C" >&6; }
  $CMK_CF90 -c conftest.f90 > /dev/null 2> /dev/null
  name=`ls TESTMOD.* 2>/dev/null`
  if test -n "$name"
  then
        { echo "$as_me:$LINENO: result: \"yes\"" >&5
echo "${ECHO_T}\"yes\"" >&6; }
	add_flag 'CMK_MOD_NAME_ALLCAPS=1' "mod name capital"
  else
        { echo "$as_me:$LINENO: result: \"no\"" >&5
echo "${ECHO_T}\"no\"" >&6; }
	name=`ls testmod.* 2>/dev/null`
  fi
  if test -n "$name"
  then
  	{ echo "$as_me:$LINENO: checking Fortran 90 mod name extension" >&5
echo $ECHO_N "checking Fortran 90 mod name extension... $ECHO_C" >&6; }
    	ext=`echo $name | sed -e 's/^[^.]*\.//'`
	add_flag 'CMK_MOD_EXT="'$ext'"' "mod name extension"
        { echo "$as_me:$LINENO: result: \"$ext\"" >&5
echo "${ECHO_T}\"$ext\"" >&6; }
        /bin/rm -f $name
  fi
  /bin/rm -f conftest.f90
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 "$as_me:$LINENO: 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
else
  if test -n "$WGET"; then
  ac_cv_prog_WGET="$WGET" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_WGET="wget "
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
WGET=$ac_cv_prog_WGET
if test -n "$WGET"; then
  { echo "$as_me:$LINENO: result: $WGET" >&5
echo "${ECHO_T}$WGET" >&6; }
else
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi


    # Extract the first word of "lynx", so it can be a program name with args.
set dummy lynx; ac_word=$2
{ echo "$as_me:$LINENO: 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
else
  if test -n "$LYNX"; then
  ac_cv_prog_LYNX="$LYNX" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_LYNX="lynx "
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
LYNX=$ac_cv_prog_LYNX
if test -n "$LYNX"; then
  { echo "$as_me:$LINENO: result: $LYNX" >&5
echo "${ECHO_T}$LYNX" >&6; }
else
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi


    # Extract the first word of "telnet", so it can be a program name with args.
set dummy telnet; ac_word=$2
{ echo "$as_me:$LINENO: 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
else
  if test -n "$TELNET"; then
  ac_cv_prog_TELNET="$TELNET" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_TELNET="telnet "
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
TELNET=$ac_cv_prog_TELNET
if test -n "$TELNET"; then
  { echo "$as_me:$LINENO: result: $TELNET" >&5
echo "${ECHO_T}$TELNET" >&6; }
else
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi


    # Extract the first word of "uudecode", so it can be a program name with args.
set dummy uudecode; ac_word=$2
{ echo "$as_me:$LINENO: 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
else
  if test -n "$UUDECODE"; then
  ac_cv_prog_UUDECODE="$UUDECODE" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_UUDECODE="uudecode "
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
UUDECODE=$ac_cv_prog_UUDECODE
if test -n "$UUDECODE"; then
  { echo "$as_me:$LINENO: result: $UUDECODE" >&5
echo "${ECHO_T}$UUDECODE" >&6; }
else
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi



    CHARMIP='128.174.241.81'
#    CHARMIP='charm.cs.uiuc.edu'
#    VERSION=`nm /lib/libc.so.6 | grep "A GLIBC_" | tail -1 | sed -e "s/00000000 A GLIBC_//g"`
    { echo "$as_me:$LINENO: checking glibc version" >&5
echo $ECHO_N "checking glibc version... $ECHO_C" >&6; }
    get_glibc_version
    { echo "$as_me:$LINENO: result: $GLIBCVERSION" >&5
echo "${ECHO_T}$GLIBCVERSION" >&6; }
    if test 1 = `expr $GLIBCVERSION \> 2.2.92`
    then
      cat >> ./conv-mach-opt.h << EOT
#undef CMK_LINUX_PTHREAD_HACK
EOT
    else
      L="libpthread-$GLIBCVERSION.a"
      LSO="libpthread-$GLIBCVERSION.so"
      URL="http://${CHARMIP}/distrib/$L"
      URLSO="http://${CHARMIP}/distrib/$LSO"
      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
        $WGET $URLSO > /dev/null 2>&1  && mv $LSO ../lib_so
      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
        $LYNX -source $URLSO > $L 2>/dev/null
      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
      ln -s $LSO ../lib_so/libpthread.so
      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
  fi
  ;;
esac
fi

ac_config_files="$ac_config_files libs/ck-libs/ampi/ampirun"

ac_config_commands="$ac_config_commands default"

cat >confcache <<\_ACEOF
# 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, 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.
#
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
# `ac_cv_env_foo' variables (set or unset) will be overridden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values.

_ACEOF

# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, we kill variables containing newlines.
# 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.
(
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done

  (set) 2>&1 |
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    *${as_nl}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 "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
      ;;
    esac |
    sort
) |
  sed '
     /^ac_cv_env_/b end
     t clear
     :clear
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     t end
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     :end' >>confcache
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  if test -w "$cache_file"; then
    test "x$cache_file" != "x/dev/null" &&
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
echo "$as_me: updating cache $cache_file" >&6;}
    cat confcache >$cache_file
  else
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  fi
fi
rm -f confcache

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

DEFS=-DHAVE_CONFIG_H

ac_libobjs=
ac_ltlibobjs=
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  # 1. Remove the extension, and $U if already installed.
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  ac_i=`echo "$ac_i" | sed "$ac_script"`
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  #    will be set to the directory where LIBOBJS objects are built.
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
done
LIBOBJS=$ac_libobjs

LTLIBOBJS=$ac_ltlibobjs



: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
# Generated by $as_me.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
ac_cs_recheck=false
ac_cs_silent=false
SHELL=\${CONFIG_SHELL-$SHELL}
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi




# PATH needs CR
# 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

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi

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


# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
case $0 in
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  { (exit 1); exit 1; }
fi

# Work around bugs in pre-3.0 UWIN ksh.
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
PS1='$ '
PS2='> '
PS4='+ '

# NLS nuisances.
for as_var in \
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  LC_TELEPHONE LC_TIME
do
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    eval $as_var=C; export $as_var
  else
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  fi
done

# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi


# Name of the executable.
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
echo X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`

# CDPATH.
$as_unset CDPATH



  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {

  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  # uniformly replaced by the line number.  The first 'sed' inserts a
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  # E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
    sed '
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
      N
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
      t loop
      s/-\n.*//
    ' >$as_me.lineno &&
  chmod +x "$as_me.lineno" ||
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   { (exit 1); exit 1; }; }

  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
  # Exit status is that of the last command.
  exit
}


if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
esac

if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir
fi
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  as_ln_s='ln -s'
  # ... but there are two gotchas:
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  # In both cases, we have to default to `cp -p'.
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    as_ln_s='cp -p'
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$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null

if mkdir -p . 2>/dev/null; then
  as_mkdir_p=:
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi

if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
        test -d "$1/.";
      else
	case $1 in
        -*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x

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

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


exec 6>&1

# Save the log message, to keep $[0] and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by $as_me, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@@

on `(hostname || uname -n) 2>/dev/null | sed 1q`
"

_ACEOF

cat >>$CONFIG_STATUS <<_ACEOF
# Files that config.status was made for.
config_files="$ac_config_files"
config_headers="$ac_config_headers"
config_commands="$ac_config_commands"

_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF
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 and configuration settings, then exit
  -q, --quiet      do not print progress messages
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by reconfiguring in the same conditions
  --file=FILE[:TEMPLATE]
		   instantiate the configuration file FILE
  --header=FILE[:TEMPLATE]
		   instantiate the configuration header FILE

Configuration files:
$config_files

Configuration headers:
$config_headers

Configuration commands:
$config_commands

Report bugs to <bug-autoconf@@gnu.org>."

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
config.status
configured by $0, generated by GNU Autoconf 2.61,
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"

Copyright (C) 2006 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."

ac_pwd='$ac_pwd'
srcdir='$srcdir'
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF
# 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[^=]*=\(.*\)'`
    ac_shift=:
    ;;
  *)
    ac_option=$1
    ac_optarg=$2
    ac_shift=shift
    ;;
  esac

  case $ac_option in
  # Handling of the options.
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    ac_cs_recheck=: ;;
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    echo "$ac_cs_version"; exit ;;
  --debug | --debu | --deb | --de | --d | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    $ac_shift
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    ac_need_defaults=false;;
  --header | --heade | --head | --hea )
    $ac_shift
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    ac_need_defaults=false;;
  --he | --h)
    # Conflict between --help and --header
    { 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 ;;
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
    ac_cs_silent=: ;;

  # This is an error.
  -*) { echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2
   { (exit 1); exit 1; }; } ;;

  *) ac_config_targets="$ac_config_targets $1"
     ac_need_defaults=false ;;

  esac
  shift
done

ac_configure_extra_args=

if $ac_cs_silent; then
  exec 6>/dev/null
  ac_configure_extra_args="$ac_configure_extra_args --silent"
fi

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
if \$ac_cs_recheck; then
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  CONFIG_SHELL=$SHELL
  export CONFIG_SHELL
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
fi

_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
  echo "$ac_log"
} >&5

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF

# Handling of arguments.
for ac_config_target in $ac_config_targets
do
  case $ac_config_target in
    "conv-autoconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS conv-autoconfig.h" ;;
    "libs/ck-libs/ampi/ampirun") CONFIG_FILES="$CONFIG_FILES libs/ck-libs/ampi/ampirun" ;;
    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;

  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   { (exit 1); exit 1; }; };;
  esac
done


# 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_FILES+set}" = set || CONFIG_FILES=$config_files
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi

# Have a temporary directory for convenience.  Make it in the build tree
# simply because there is no reason against having it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
$debug ||
{
  tmp=
  trap 'exit_status=$?
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
' 0
  trap '{ (exit 1); exit 1; }' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.

{
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"
}  ||
{
  tmp=./conf$$-$RANDOM
  (umask 077 && mkdir "$tmp")
} ||
{
   echo "$me: cannot create a temporary directory in ." >&2
   { (exit 1); exit 1; }
}

#
# Set up the sed scripts for CONFIG_FILES section.
#

# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "$CONFIG_FILES"; then

_ACEOF



ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
  cat >conf$$subs.sed <<_ACEOF
SHELL!$SHELL$ac_delim
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
exec_prefix!$exec_prefix$ac_delim
prefix!$prefix$ac_delim
program_transform_name!$program_transform_name$ac_delim
bindir!$bindir$ac_delim
sbindir!$sbindir$ac_delim
libexecdir!$libexecdir$ac_delim
datarootdir!$datarootdir$ac_delim
datadir!$datadir$ac_delim
sysconfdir!$sysconfdir$ac_delim
sharedstatedir!$sharedstatedir$ac_delim
localstatedir!$localstatedir$ac_delim
includedir!$includedir$ac_delim
oldincludedir!$oldincludedir$ac_delim
docdir!$docdir$ac_delim
infodir!$infodir$ac_delim
htmldir!$htmldir$ac_delim
dvidir!$dvidir$ac_delim
pdfdir!$pdfdir$ac_delim
psdir!$psdir$ac_delim
libdir!$libdir$ac_delim
localedir!$localedir$ac_delim
mandir!$mandir$ac_delim
DEFS!$DEFS$ac_delim
ECHO_C!$ECHO_C$ac_delim
ECHO_N!$ECHO_N$ac_delim
ECHO_T!$ECHO_T$ac_delim
LIBS!$LIBS$ac_delim
build_alias!$build_alias$ac_delim
host_alias!$host_alias$ac_delim
target_alias!$target_alias$ac_delim
base_version!$base_version$ac_delim
SYNC!$SYNC$ac_delim
WGET!$WGET$ac_delim
LYNX!$LYNX$ac_delim
TELNET!$TELNET$ac_delim
UUDECODE!$UUDECODE$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF

  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
    break
  elif $ac_last_try; then
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  fi
done

ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
if test -n "$ac_eof"; then
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  ac_eof=`expr $ac_eof + 1`
fi

cat >>$CONFIG_STATUS <<_ACEOF
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b end
_ACEOF
sed '
s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g
s/^/s,@@/; s/!/@@,|#_!!_#|/
:n
t n
s/'"$ac_delim"'$/,g/; t
s/$/\\/; p
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g; b n
' >>$CONFIG_STATUS <conf$$subs.sed
rm -f conf$$subs.sed
cat >>$CONFIG_STATUS <<_ACEOF
:end
s/|#_!!_#|//g
CEOF$ac_eof
_ACEOF


# 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).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
s/:*\$(srcdir):*/:/
s/:*\${srcdir}:*/:/
s/:*@@srcdir@@:*/:/
s/^\([^=]*=[	 ]*\):*/\1/
s/:*$//
s/^[^=]*=[	 ]*$//
}'
fi

cat >>$CONFIG_STATUS <<\_ACEOF
fi # test -n "$CONFIG_FILES"


for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
do
  case $ac_tag in
  :[FHLC]) ac_mode=$ac_tag; continue;;
  esac
  case $ac_mode$ac_tag in
  :[FHL]*:*);;
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   { (exit 1); exit 1; }; };;
  :[FH]-) ac_tag=-:-;;
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  esac
  ac_save_IFS=$IFS
  IFS=:
  set x $ac_tag
  IFS=$ac_save_IFS
  shift
  ac_file=$1
  shift

  case $ac_mode in
  :L) ac_source=$1;;
  :[FH])
    ac_file_inputs=
    for ac_f
    do
      case $ac_f in
      -) ac_f="$tmp/stdin";;
      *) # Look for the file first in the build tree, then in the source tree
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
	 # because $ac_f cannot contain `:'.
	 test -f "$ac_f" ||
	   case $ac_f in
	   [\\/$]*) false;;
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
	   esac ||
	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   { (exit 1); exit 1; }; };;
      esac
      ac_file_inputs="$ac_file_inputs $ac_f"
    done

    # 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 by config.status.  */
    configure_input="Generated from "`IFS=:
	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
    if test x"$ac_file" != x-; then
      configure_input="$ac_file.  $configure_input"
      { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    fi

    case $ac_tag in
    *:-:* | *:-) cat >"$tmp/stdin";;
    esac
    ;;
  esac

  ac_dir=`$as_dirname -- "$ac_file" ||
$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'`
  { as_dir="$ac_dir"
  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    as_dirs=
    while :; do
      case $as_dir in #(
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
    done
    test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
echo "$as_me: error: cannot create directory $as_dir" >&2;}
   { (exit 1); exit 1; }; }; }
  ac_builddir=.

case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix

case $srcdir in
  .)  # We are building in place.
    ac_srcdir=.
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix


  case $ac_mode in
  :F)
  #
  # CONFIG_FILE
  #

_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=

case `sed -n '/datarootdir/ {
  p
  q
}
/@@datadir@@/p
/@@docdir@@/p
/@@infodir@@/p
/@@localedir@@/p
/@@mandir@@/p
' $ac_file_inputs` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@@datadir@@*|*@@docdir@@*|*@@infodir@@*|*@@localedir@@*|*@@mandir@@*)
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
  ac_datarootdir_hack='
  s&@@datadir@@&$datadir&g
  s&@@docdir@@&$docdir&g
  s&@@infodir@@&$infodir&g
  s&@@localedir@@&$localedir&g
  s&@@mandir@@&$mandir&g
    s&\\\${datarootdir}&$datarootdir&g' ;;
esac
_ACEOF

# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
cat >>$CONFIG_STATUS <<_ACEOF
  sed "$ac_vpsub
$extrasub
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
:t
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b
s&@@configure_input@@&$configure_input&;t t
s&@@top_builddir@@&$ac_top_builddir_sub&;t t
s&@@srcdir@@&$ac_srcdir&;t t
s&@@abs_srcdir@@&$ac_abs_srcdir&;t t
s&@@top_srcdir@@&$ac_top_srcdir&;t t
s&@@abs_top_srcdir@@&$ac_abs_top_srcdir&;t t
s&@@builddir@@&$ac_builddir&;t t
s&@@abs_builddir@@&$ac_abs_builddir&;t t
s&@@abs_top_builddir@@&$ac_abs_top_builddir&;t t
$ac_datarootdir_hack
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out

test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&5
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&2;}

  rm -f "$tmp/stdin"
  case $ac_file in
  -) cat "$tmp/out"; rm -f "$tmp/out";;
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  esac
 ;;
  :H)
  #
  # CONFIG_HEADER
  #
_ACEOF

# Transform confdefs.h into a sed script `conftest.defines', that
# substitutes the proper values into config.h.in to produce config.h.
rm -f conftest.defines conftest.tail
# First, append a space to every undef/define line, to ease matching.
echo 's/$/ /' >conftest.defines
# Then, protect against being on the right side of a sed subst, or in
# an unquoted here document, in config.status.  If some macros were
# called several times there might be several #defines for the same
# symbol, which is useless.  But do not sort them, since the last
# AC_DEFINE must be honored.
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
# NAME is the cpp macro being defined, VALUE is the value it is being given.
# PARAMS is the parameter list in the macro definition--in most cases, it's
# just an empty string.
ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
ac_dB='\\)[	 (].*,\\1define\\2'
ac_dC=' '
ac_dD=' ,'

uniq confdefs.h |
  sed -n '
	t rset
	:rset
	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
	t ok
	d
	:ok
	s/[\\&,]/\\&/g
	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  ' >>conftest.defines

# Remove the space that was appended to ease matching.
# Then replace #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.
# (The regexp can be short, since the line contains either #define or #undef.)
echo 's/ $//
s,^[	 #]*u.*,/* & */,' >>conftest.defines

# Break up conftest.defines:
ac_max_sed_lines=50

# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
# et cetera.
ac_in='$ac_file_inputs'
ac_out='"$tmp/out1"'
ac_nxt='"$tmp/out2"'

while :
do
  # Write a here document:
    cat >>$CONFIG_STATUS <<_ACEOF
    # First, check the format of the line:
    cat >"\$tmp/defines.sed" <<\\CEOF
/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
b
:def
_ACEOF
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  echo 'CEOF
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  grep . conftest.tail >/dev/null || break
  rm -f conftest.defines
  mv conftest.tail conftest.defines
done
rm -f conftest.defines conftest.tail

echo "ac_result=$ac_in" >>$CONFIG_STATUS
cat >>$CONFIG_STATUS <<\_ACEOF
  if test x"$ac_file" != x-; then
    echo "/* $configure_input  */" >"$tmp/config.h"
    cat "$ac_result" >>"$tmp/config.h"
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
    else
      rm -f $ac_file
      mv "$tmp/config.h" $ac_file
    fi
  else
    echo "/* $configure_input  */"
    cat "$ac_result"
  fi
  rm -f "$tmp/out12"
 ;;

  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
echo "$as_me: executing $ac_file commands" >&6;}
 ;;
  esac


  case $ac_file$ac_mode in
    "default":C) chmod +x libs/ck-libs/ampi/ampirun
 ;;

  esac
done # for ac_tag


{ (exit 0); exit 0; }
_ACEOF
chmod +x $CONFIG_STATUS
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=:
  ac_config_status_args=
  test "$silent" = yes &&
    ac_config_status_args="$ac_config_status_args --quiet"
  exec 5>/dev/null
  $SHELL $CONFIG_STATUS $ac_config_status_args || 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.133
log
@changed size_t to void* since we are testing pointer size
@
text
@d1621 1
a1621 1
VERSION=60100
@


1.132
log
@added test for getpid
@
text
@d1903 1
a1903 1
int x[sizeof(size_t) - 7];
@


1.131
log
@add a test to check if MMAP_NORESERVE is reserved
@
text
@d2396 16
@


1.130
log
@fixed a autoconf syntax error in previous checkin
@
text
@d2600 17
@


1.129
log
@test if compiler is 64 bit.
@
text
@d1897 18
a1962 17
#### Check if compiler if 64 bit ####
cat > $t <<EOT
#include <stdio.h>

int foo()
{
int x[sizeof(size_t) - 7];
return x0;
}
EOT
test_cxx "whether compiler is 64bit" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_SIZET_64BIT $strictpass
_ACEOF


@


1.128
log
@updated
@
text
@d1945 17
@


1.127
log
@added a test for sqrtf
@
text
@d2189 20
d2887 5
d2893 1
@


1.126
log
@adding definition of CmiMemory operations (ReadFence, WriteFence, AtomicIncrement, AtomicDecrement) for various architectures. Also changed pcqueue to make use of them in a more consistent way.
Made defaults for architectures where specific ASM isn't available.
The next step will be to delete the definition of CMK_PCQUEUE_LOCK from the specific machine files
@
text
@d2295 15
@


1.125
log
@regenerated
@
text
@d2205 19
@


1.124
log
@removed inclusion of converse.h
@
text
@d1738 2
a1739 2
          echo $CMK_LDXX -o testlink test.o $CMK_LIBDIR $OPTS_LD $4 >> $charmout
          $CMK_LDXX -o testlink test.o $CMK_LIBDIR $OPTS_LD $4 >> out 2>&1
d1771 2
a1772 2
          echo $CMK_LD -o testlink test.o $CMK_LIBDIR $OPTS_LD $4 >> $charmout
          $CMK_LD -o testlink test.o $CMK_LIBDIR $OPTS_LD $4 >> out 2>&1
d2700 1
a2700 1
#if defined(_WIN32) && ! defined(__CYGWIN__)
@


1.123
log
@ntohl for windows is defined in winsock.h
@
text
@a2699 1
#include "converse.h"
a2723 1
#include "converse.h"    /* cygwin does not like this */
@


1.122
log
@Added a new check to see if ntohl is implemented on the platform (on XT3 it is not). If it is not a replacement implementation is provided
@
text
@d2698 23
a2801 18
#### test if "ntohl" is available ####
cat > $t <<EOT
#include <netinet/in.h>
#include <arpa/inet.h>

int main() {
  int i = 100;
  i = ntohl(i);
  return 0;
}
EOT
test_link "whether ntohl is available" "yes" "no" ""

cat >>confdefs.h <<_ACEOF
#define CMK_HAS_NTOHL $pass
_ACEOF


@


1.121
log
@direct compiler output correctly into charmconfig.out in test_link()
@
text
@d2779 18
@


1.120
log
@fixed test_link for the non-0 status
@
text
@d1739 1
a1739 1
          $CMK_LDXX -o testlink test.o $CMK_LIBDIR $OPTS_LD $4 > out 2>&1
d1772 1
a1772 1
          $CMK_LD -o testlink test.o $CMK_LIBDIR $OPTS_LD $4 > out 2>&1
@


1.119
log
@test jpeg in c++ setting
@
text
@d1734 1
a1734 1
        if test $? = 1
d1767 1
a1767 1
        if test $? = 1
@


1.118
log
@added more strict test for libjpeg.h
@
text
@d2699 1
a2699 1
cat > $tc <<EOT
d2712 1
a2712 1
test_linkc "whether it has libjpeg" "yes" "no" "-ljpeg"
@


1.117
log
@fixed charm version
@
text
@a2595 24
### test for libjpeg ####
cat > $tc <<EOT
#include <stdio.h>
#include <stdlib.h>
#include "jpeglib.h"

int main()
{
  struct jpeg_compress_struct cinfo;
  jpeg_create_compress(&cinfo);
  return 0;
}
EOT
test_linkc "whether it has libjpeg" "yes" "no" "-ljpeg"

cat >>confdefs.h <<_ACEOF
#define CMK_USE_LIBJPEG $pass
_ACEOF

if test $pass -eq 1
then
        add_flag 'CMK_LIBJPEG="-ljpeg"' "libjpeg"
fi

d2698 25
@


1.116
log
@added test for log2()
@
text
@d1621 1
a1621 1
VERSION=060100
@


1.115
log
@changed the version for the NAMD release
@
text
@d2261 15
@


1.114
log
@test if apple multiprocessing.h exists
@
text
@d1621 1
a1621 1
VERSION=60000
@


1.113
log
@Added JPEG-compressed image transport to liveViz.

This means:
	- Look for libjpeg header and library via configure (CMK_USE_LIBJPEG)
	- Make #ifdef CMK_USE_LIBJPEG calls to libjpeg in liveViz0
	  (but only if the client requests it)
	- Link liveViz applications with -ljpeg via a module .dep file.

Both Filippo and I have written clients for this, and it seems to work
well over slow network links.
@
text
@d2678 29
@


1.112
log
@improved test for v_regs in ucontext.
@
text
@d2581 24
@


1.111
log
@check if ucontext has a field with the pointer (v_regs) of vector type.
@
text
@d1980 6
@


1.110
log
@version number to 6
@
text
@d1977 11
@


1.109
log
@rename ampi.h when doing mpi tests
@
text
@d1621 1
a1621 1
VERSION=50914
@


1.108
log
@rename mpi.h under charm/include when testing native MPI.
@
text
@a2214 1
mv -f ../include/mpi.h.bak ../include/mpi.h 2>/dev/null
d2239 1
@


1.107
log
@check if building charm on MPI, and check if MPI_Init_thread is supported.
@
text
@d2213 1
d2215 1
@


1.106
log
@added test for __thread
@
text
@d2205 34
@


1.105
log
@Added flag "-debug" to charmc for usage with charmdebug.
Some work done on CmiReduce to make it possible to have concurrent reductions.
Added memory tagging by chare ID in charmdebug.
Fixed breakpointing with charmdebug: now each entry point is defined by its sequential index in the EP table (before a string match was performed).
Added stepping: delivery of a single message in the queue. Also, all the system entry methods are currently always executed, and never get buffered by charmdebug (they can still breakpoint if the user so chooses).
Fixed race condition in python interface. To do that the interface itself has been modified, in particular with regard to high-level python. Python is now more flexible and it allows any chare collection to be "python" and receive requests. The replies are reduced to a PythonCCS mainchare which will handle the socket.
The python directory has now another module (charmdebug-python) for usage by charmdebug introspection code.
@
text
@d2188 17
@


1.104
log
@a minor fix.
@
text
@d2610 1
d2612 4
a2615 4
#include "python/Python.h"
#include "python/compile.h"
#include "python/eval.h"
#include "python/node.h"
a2623 1
PYTHON_VERSION=`python -V 2>&1 | awk {'print $2'} | awk -F. {'print $1"."$2'}`
d2630 5
@


1.103
log
@fixed a typo.
@
text
@d1741 1
a1741 1
	  test ! -f testlink && ret=1
@


1.102
log
@better test for test_link if check if binary actually linked successfully.
@
text
@d1741 1
a1741 1
	  test ! -d testlink && ret=1
@


1.101
log
@added test for gethostname
@
text
@d1740 3
a1742 1
          test_result $? "$1" "$2" "$3"
d2294 25
@


1.100
log
@merge cpu affinity into build.
use +setcpuaffinity runtime flag to activate the capability.
@
text
@d2332 20
@


1.99
log
@updated
@
text
@d1755 31
d2263 29
@


1.98
log
@*** empty log message ***
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.59.
d5 2
a6 1
# Copyright (C) 2003 Free Software Foundation, Inc.
d13 2
a14 1
# Be Bourne compatible
d21 30
a50 2
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
a51 1
DUALCASE=1; export DUALCASE # for MKS sh
d61 33
d95 3
a97 1
$as_unset ENV MAIL MAILPATH
d111 1
a111 1
    $as_unset $as_var
d116 2
a117 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d123 1
a123 1
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
d131 1
a131 1
as_me=`$as_basename "$0" ||
d134 1
a134 2
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
d136 41
a176 4
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d178 12
d191 6
a196 7
# PATH needs CR, and LINENO needs CR and PATH.
# 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
d198 3
a200 11
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
d203 6
d210 1
a210 16
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
d212 9
a220 13
       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
d226 1
a226 2
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
d228 195
a422 1
	   if ("$as_dir/$as_base" -c '
a424 1
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
d426 1
a426 12
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac
d430 5
a434 4
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
d436 6
a441 2
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
d443 4
d448 2
a449 3
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
d451 1
a451 2
      s,-$,,
      s,^['$as_cr_digits']*\n,,
d453 1
a453 1
  chmod +x $as_me.lineno ||
d459 2
a460 2
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
d466 15
a480 5
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= ;;
d483 2
a484 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d491 6
d499 6
a504 4
  # 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
a505 3
  else
    as_ln_s='ln -s'
  fi
d511 2
a512 1
rm -f conf$$ conf$$.exe conf$$.file
d521 22
a542 1
as_executable_p="test -f"
a550 8
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH
d552 1
a558 2
exec 6>&1

d563 1
d565 1
a571 5
# 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}

d580 45
a624 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS base_version SYNC WGET LYNX TELNET UUDECODE LIBOBJS LTLIBOBJS'
d626 4
d656 1
d660 2
a661 1
datadir='${prefix}/share'
a664 1
libdir='${exec_prefix}/lib'
d667 9
a675 2
infodir='${prefix}/info'
mandir='${prefix}/man'
d678 1
d683 1
a683 1
    eval "$ac_prev=\$ac_option"
d688 4
a691 1
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
d695 3
a697 1
  case $ac_option in
d719 1
a719 1
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
d721 1
a721 2
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
d724 7
d734 1
a734 1
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d737 12
a748 2
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    eval "enable_$ac_feature=no" ;;
d753 1
a753 1
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d756 2
a757 6
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_$ac_feature='$ac_optarg'" ;;
d784 6
d814 5
d820 1
a820 2
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
d823 1
a823 2
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
d888 10
d950 1
a950 1
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d953 2
a954 6
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "with_$ac_package='$ac_optarg'" ;;
d959 1
a959 1
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d962 2
a963 2
    ac_package=`echo $ac_package | sed 's/-/_/g'`
    eval "with_$ac_package=no" ;;
d994 1
a994 2
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    eval "$ac_envvar='$ac_optarg'"
d1014 5
a1018 2
# Be sure to have absolute paths.
for ac_var in exec_prefix prefix
d1020 1
a1020 1
  eval ac_val=$`echo $ac_var`
d1022 2
a1023 15
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done

# Be sure to have absolute paths.
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
	      localstatedir libdir includedir oldincludedir infodir mandir
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
d1025 2
d1053 10
d1066 2
a1067 2
  # Try the directory containing this script, then its parent.
  ac_confdir=`(dirname "$0") 2>/dev/null ||
d1071 1
a1071 2
	 X"$0" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d1073 17
a1089 5
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d1091 1
a1091 1
  if test ! -r $srcdir/$ac_unique_file; then
d1097 3
a1099 6
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
   { (exit 1); exit 1; }; }
  else
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
a1100 1
  fi
d1102 3
a1104 2
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
d1106 17
a1122 13
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
a1150 3
_ACEOF

  cat <<_ACEOF
a1167 1
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
d1174 10
a1183 2
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]
d1195 1
a1199 1
  ac_popdir=`pwd`
d1201 1
a1201 1
    test -d $ac_dir || continue
d1204 3
a1206 1
if test "$ac_dir" != .; then
d1208 11
a1218 5
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi
d1221 1
a1221 1
  .)  # No --srcdir option.  We are building in place.
d1223 3
a1225 6
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
d1227 6
a1232 4
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
d1234 16
d1251 1
a1251 59
# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac

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

test -n "$ac_init_help" && exit 0
d1254 2
d1257 2
a1258 1
Copyright (C) 2003 Free Software Foundation, Inc.
d1262 1
a1262 1
  exit 0
d1264 1
a1264 2
exec 5>config.log
cat >&5 <<_ACEOF
d1269 1
a1269 1
generated by GNU Autoconf 2.59.  Invocation command line was
d1274 1
d1293 1
a1293 1
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
d1307 1
a1328 1
ac_sep=
d1339 1
a1339 1
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
d1361 1
a1361 3
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
      # Get rid of the leading space.
      ac_sep=" "
d1372 2
a1373 2
# WARNING: Be sure not to use single quotes in there, as some shells,
# such as our DU 5.0 friend, will then `close' the trap.
d1386 15
a1400 1
{
d1402 2
a1403 2
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
d1405 3
a1407 3
	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
      ;;
d1409 1
a1409 2
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1411 3
a1413 2
    esac;
}
d1424 5
a1428 2
      eval ac_val=$`echo $ac_var`
      echo "$ac_var='"'"'$ac_val'"'"'"
d1434 3
a1436 3
## ------------- ##
## Output files. ##
## ------------- ##
d1441 5
a1445 2
	eval ac_val=$`echo $ac_var`
	echo "$ac_var='"'"'$ac_val'"'"'"
d1457 1
a1457 1
      sed "/^$/d" confdefs.h | sort
d1464 2
a1465 2
  rm -f core *.core &&
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
d1467 1
a1467 1
     ' 0
d1474 1
a1474 3
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo >confdefs.h
d1505 7
a1511 6
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
d1513 3
a1515 1
for ac_site_file in $CONFIG_SITE; do
d1531 2
a1532 2
      [\\/]* | ?:[\\/]* ) . $cache_file;;
      *)                      . ./$cache_file;;
d1544 1
a1544 2
for ac_var in `(set) 2>&1 |
	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1547 2
a1548 2
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  eval ac_new_val="\$ac_env_${ac_var}_value"
d1573 1
a1573 2
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
a1589 5
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
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
d1606 5
d1614 1
a1614 2

          ac_config_headers="$ac_config_headers conv-autoconfig.h"
d1629 2
a1630 2
echo "$as_me:$LINENO: checking machine name" >&5
echo $ECHO_N "checking machine name... $ECHO_C" >&6
d1638 2
a1639 2
echo "$as_me:$LINENO: result: $version" >&5
echo "${ECHO_T}$version" >&6
d1654 2
a1655 2
                echo "$as_me:$LINENO: result: \"$3\"" >&5
echo "${ECHO_T}\"$3\"" >&6
d1659 2
a1660 2
                echo "$as_me:$LINENO: result: \"$4\"" >&5
echo "${ECHO_T}\"$4\"" >&6
d1681 2
a1682 2
        echo "$as_me:$LINENO: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d1705 2
a1706 2
        echo "$as_me:$LINENO: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d1729 2
a1730 2
        echo "$as_me:$LINENO: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d1761 2
a1762 2
        echo "$as_me:$LINENO: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d1821 4
a1824 4
echo "$as_me:$LINENO: checking \"C++ compiler as\"" >&5
echo $ECHO_N "checking \"C++ compiler as\"... $ECHO_C" >&6
echo "$as_me:$LINENO: result: \"$CMK_CXX $OPTS_CXX $OPTS\"" >&5
echo "${ECHO_T}\"$CMK_CXX $OPTS_CXX $OPTS\"" >&6
d1841 4
a1844 4
echo "$as_me:$LINENO: checking \"C++ linker as\"" >&5
echo $ECHO_N "checking \"C++ linker as\"... $ECHO_C" >&6
echo "$as_me:$LINENO: result: \"$CMK_LDXX $OPTS_LDXX\"" >&5
echo "${ECHO_T}\"$CMK_LDXX $OPTS_LDXX\"" >&6
d1925 19
d2558 2
a2559 2
echo "$as_me:$LINENO: checking \"bproc version\"" >&5
echo $ECHO_N "checking \"bproc version\"... $ECHO_C" >&6
d2574 2
a2575 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2588 1
a2588 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2595 1
d2601 2
a2602 2
  echo "$as_me:$LINENO: result: $SYNC" >&5
echo "${ECHO_T}$SYNC" >&6
d2604 2
a2605 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2608 1
d2621 4
a2624 4
echo "$as_me:$LINENO: checking \"F77 compiler as\"" >&5
echo $ECHO_N "checking \"F77 compiler as\"... $ECHO_C" >&6
echo "$as_me:$LINENO: result: \"$CMK_CF77\"" >&5
echo "${ECHO_T}\"$CMK_CF77\"" >&6
d2626 2
a2627 2
echo "$as_me:$LINENO: checking \"whether Fortran 77 compiler works\"" >&5
echo $ECHO_N "checking \"whether Fortran 77 compiler works\"... $ECHO_C" >&6
d2636 2
a2637 2
  echo "$as_me:$LINENO: result: \"no\"" >&5
echo "${ECHO_T}\"no\"" >&6
d2639 2
a2640 2
  echo "$as_me:$LINENO: result: \"yes\"" >&5
echo "${ECHO_T}\"yes\"" >&6
d2645 4
a2648 4
echo "$as_me:$LINENO: checking \"F90 compiler as\"" >&5
echo $ECHO_N "checking \"F90 compiler as\"... $ECHO_C" >&6
echo "$as_me:$LINENO: result: \"$CMK_CF90\"" >&5
echo "${ECHO_T}\"$CMK_CF90\"" >&6
d2650 2
a2651 2
echo "$as_me:$LINENO: checking \"whether Fortran 90 compiler works\"" >&5
echo $ECHO_N "checking \"whether Fortran 90 compiler works\"... $ECHO_C" >&6
d2659 2
a2660 2
  echo "$as_me:$LINENO: result: \"no\"" >&5
echo "${ECHO_T}\"no\"" >&6
d2662 2
a2663 2
  echo "$as_me:$LINENO: result: \"yes\"" >&5
echo "${ECHO_T}\"yes\"" >&6
d2669 2
a2670 2
echo "$as_me:$LINENO: checking subroutine name used by Fortran 90 compiler" >&5
echo $ECHO_N "checking subroutine name used by Fortran 90 compiler... $ECHO_C" >&6
d2728 2
a2729 2
  echo "$as_me:$LINENO: result: $fortran_postfix" >&5
echo "${ECHO_T}$fortran_postfix" >&6
d2731 2
a2732 2
  echo "$as_me:$LINENO: result: \"Fortran compiler not working\"" >&5
echo "${ECHO_T}\"Fortran compiler not working\"" >&6
d2749 2
a2750 2
  echo "$as_me:$LINENO: checking Fortran 90 mod name is capital" >&5
echo $ECHO_N "checking Fortran 90 mod name is capital... $ECHO_C" >&6
d2755 2
a2756 2
        echo "$as_me:$LINENO: result: \"yes\"" >&5
echo "${ECHO_T}\"yes\"" >&6
d2759 2
a2760 2
        echo "$as_me:$LINENO: result: \"no\"" >&5
echo "${ECHO_T}\"no\"" >&6
d2765 2
a2766 2
  	echo "$as_me:$LINENO: checking Fortran 90 mod name extension" >&5
echo $ECHO_N "checking Fortran 90 mod name extension... $ECHO_C" >&6
d2769 2
a2770 2
        echo "$as_me:$LINENO: result: \"$ext\"" >&5
echo "${ECHO_T}\"$ext\"" >&6
d2785 2
a2786 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2799 1
a2799 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2806 1
d2812 2
a2813 2
  echo "$as_me:$LINENO: result: $WGET" >&5
echo "${ECHO_T}$WGET" >&6
d2815 2
a2816 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2819 1
d2822 2
a2823 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2836 1
a2836 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2843 1
d2849 2
a2850 2
  echo "$as_me:$LINENO: result: $LYNX" >&5
echo "${ECHO_T}$LYNX" >&6
d2852 2
a2853 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2856 1
d2859 2
a2860 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2873 1
a2873 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2880 1
d2886 2
a2887 2
  echo "$as_me:$LINENO: result: $TELNET" >&5
echo "${ECHO_T}$TELNET" >&6
d2889 2
a2890 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2893 1
d2896 2
a2897 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2910 1
a2910 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2917 1
d2923 2
a2924 2
  echo "$as_me:$LINENO: result: $UUDECODE" >&5
echo "${ECHO_T}$UUDECODE" >&6
d2926 2
a2927 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2931 1
d2935 2
a2936 2
    echo "$as_me:$LINENO: checking glibc version" >&5
echo $ECHO_N "checking glibc version... $ECHO_C" >&6
d2938 2
a2939 2
    echo "$as_me:$LINENO: result: $GLIBCVERSION" >&5
echo "${ECHO_T}$GLIBCVERSION" >&6
d3005 4
a3008 2
          ac_config_files="$ac_config_files libs/ck-libs/ampi/ampirun"
          ac_config_commands="$ac_config_commands default"
d3027 1
a3027 1
# So, don't put newlines in cache variables' values.
d3030 16
a3045 1
{
d3047 2
a3048 2
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
d3054 1
a3054 1
      ;;
d3057 1
a3057 2
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d3059 3
a3061 2
    esac;
} |
d3063 1
d3065 1
a3065 1
     : clear
d3068 7
a3074 5
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     : end' >>confcache
if diff $cache_file confcache >/dev/null 2>&1; then :; else
  if test -w $cache_file; then
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
d3077 2
a3078 1
    echo "not updating unwritable cache $cache_file"
a3086 15
# 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).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@@srcdir@@:*/:/;
s/^\([^=]*=[	 ]*\):*/\1/;
s/:*$//;
s/^[^=]*=[	 ]*$//;
}'
fi

d3093 6
a3098 5
  ac_i=`echo "$ac_i" |
	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  # 2. Add them.
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
d3129 2
a3130 1
# Be Bourne compatible
d3137 30
a3166 2
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
a3167 1
DUALCASE=1; export DUALCASE # for MKS sh
d3177 33
d3211 3
a3213 1
$as_unset ENV MAIL MAILPATH
d3227 1
a3227 1
    $as_unset $as_var
d3232 2
a3233 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d3239 1
a3239 1
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
d3247 1
a3247 1
as_me=`$as_basename "$0" ||
d3250 1
a3250 2
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
d3252 13
a3264 4
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d3266 2
a3268 20
# PATH needs CR, and LINENO needs CR and PATH.
# 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

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi
a3272 41
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done

       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
	 /*)
	   if ("$as_dir/$as_base" -c '
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
d3274 1
a3274 12
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac
d3278 5
a3282 4
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
d3284 6
a3289 2
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
d3291 4
d3296 2
a3297 3
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
d3299 1
a3299 2
      s,-$,,
      s,^['$as_cr_digits']*\n,,
d3301 2
a3302 3
  chmod +x $as_me.lineno ||
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
d3307 2
a3308 2
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
d3314 15
a3328 5
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= ;;
d3331 2
a3332 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d3339 6
d3347 6
a3352 4
  # 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
a3353 3
  else
    as_ln_s='ln -s'
  fi
d3359 2
a3360 1
rm -f conf$$ conf$$.exe conf$$.file
d3369 22
a3390 1
as_executable_p="test -f"
a3398 9
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH

d3401 1
a3401 1
# Open the log real soon, to keep \$[0] and so on meaningful, and to
d3403 2
a3404 10
# values after options handling.  Logging --version etc. is OK.
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
} >&5
cat >&5 <<_CSEOF

d3406 1
a3406 1
generated by GNU Autoconf 2.59.  Invocation command line was
d3414 3
a3416 3
_CSEOF
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
echo >&5
d3419 1
d3421 3
a3423 3
if test -n "$ac_config_files"; then
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
fi
d3425 1
a3425 11
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
a3427 1

d3435 1
a3435 1
  -V, --version    print version number, then exit
d3454 1
a3455 1

d3459 2
a3460 2
configured by $0, generated by GNU Autoconf 2.59,
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
d3462 1
a3462 1
Copyright (C) 2003 Free Software Foundation, Inc.
d3465 3
a3467 1
srcdir=$srcdir
d3478 2
a3479 2
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
d3482 1
a3482 1
  -*)
a3486 4
  *) # This is not an option, so the user has probably given explicit
     # arguments.
     ac_option=$1
     ac_need_defaults=false;;
a3490 2
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
d3493 3
a3495 12
  --version | --vers* | -V )
    echo "$ac_cs_version"; exit 0 ;;
  --he | --h)
    # Conflict between --help and --header
    { { echo "$as_me:$LINENO: 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 )
d3505 7
d3517 2
a3518 4
  -*) { { echo "$as_me:$LINENO: 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;}
d3521 2
a3522 1
  *) ac_config_targets="$ac_config_targets $1" ;;
d3538 4
a3541 2
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
d3545 9
d3555 3
d3559 1
d3561 1
a3561 3


cat >>$CONFIG_STATUS <<\_ACEOF
d3564 5
a3568 5
  case "$ac_config_target" in
  # Handling of arguments.
  "libs/ck-libs/ampi/ampirun" ) CONFIG_FILES="$CONFIG_FILES libs/ck-libs/ampi/ampirun" ;;
  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  "conv-autoconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS conv-autoconfig.h" ;;
d3575 1
d3587 1
a3587 1
# simply because there is no reason to put it here, and in addition,
d3589 3
a3591 1
# Create a temporary directory, and hook for its removal unless debugging.
d3594 4
a3597 1
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
a3599 1

d3603 1
a3603 1
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
d3607 2
a3608 2
  tmp=./confstat$$-$RANDOM
  (umask 077 && mkdir $tmp)
a3614 4
_ACEOF

cat >>$CONFIG_STATUS <<_ACEOF

d3616 1
a3616 1
# CONFIG_FILES section.
d3621 1
a3621 43
if test -n "\$CONFIG_FILES"; then
  # Protect against being on the right side of a sed subst in config.status.
  sed 's/,@@/@@@@/; s/@@,/@@@@/; s/,;t t\$/@@;t t/; /@@;t t\$/s/[\\\\&,]/\\\\&/g;
   s/@@@@/,@@/; s/@@@@/@@,/; s/@@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
s,@@SHELL@@,$SHELL,;t t
s,@@PATH_SEPARATOR@@,$PATH_SEPARATOR,;t t
s,@@PACKAGE_NAME@@,$PACKAGE_NAME,;t t
s,@@PACKAGE_TARNAME@@,$PACKAGE_TARNAME,;t t
s,@@PACKAGE_VERSION@@,$PACKAGE_VERSION,;t t
s,@@PACKAGE_STRING@@,$PACKAGE_STRING,;t t
s,@@PACKAGE_BUGREPORT@@,$PACKAGE_BUGREPORT,;t t
s,@@exec_prefix@@,$exec_prefix,;t t
s,@@prefix@@,$prefix,;t t
s,@@program_transform_name@@,$program_transform_name,;t t
s,@@bindir@@,$bindir,;t t
s,@@sbindir@@,$sbindir,;t t
s,@@libexecdir@@,$libexecdir,;t t
s,@@datadir@@,$datadir,;t t
s,@@sysconfdir@@,$sysconfdir,;t t
s,@@sharedstatedir@@,$sharedstatedir,;t t
s,@@localstatedir@@,$localstatedir,;t t
s,@@libdir@@,$libdir,;t t
s,@@includedir@@,$includedir,;t t
s,@@oldincludedir@@,$oldincludedir,;t t
s,@@infodir@@,$infodir,;t t
s,@@mandir@@,$mandir,;t t
s,@@build_alias@@,$build_alias,;t t
s,@@host_alias@@,$host_alias,;t t
s,@@target_alias@@,$target_alias,;t t
s,@@DEFS@@,$DEFS,;t t
s,@@ECHO_C@@,$ECHO_C,;t t
s,@@ECHO_N@@,$ECHO_N,;t t
s,@@ECHO_T@@,$ECHO_T,;t t
s,@@LIBS@@,$LIBS,;t t
s,@@base_version@@,$base_version,;t t
s,@@SYNC@@,$SYNC,;t t
s,@@WGET@@,$WGET,;t t
s,@@LYNX@@,$LYNX,;t t
s,@@TELNET@@,$TELNET,;t t
s,@@UUDECODE@@,$UUDECODE,;t t
s,@@LIBOBJS@@,$LIBOBJS,;t t
s,@@LTLIBOBJS@@,$LTLIBOBJS,;t t
CEOF
d3625 60
a3684 36
  cat >>$CONFIG_STATUS <<\_ACEOF
  # 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_lines=48
  ac_sed_frag=1 # Number of current file.
  ac_beg=1 # First line for current file.
  ac_end=$ac_max_sed_lines # 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" $tmp/subs.sed >$tmp/subs.frag
    else
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    fi
    if test ! -s $tmp/subs.frag; then
      ac_more_lines=false
    else
      # The purpose of the label and of the branching condition is to
      # speed up the sed processing (if there are no `@@' at all, there
      # is no need to browse any of the substitutions).
      # These are the two extra sed commands mentioned above.
      (echo ':t
  /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
      if test -z "$ac_sed_cmds"; then
	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
      else
	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
      fi
      ac_sed_frag=`expr $ac_sed_frag + 1`
      ac_beg=$ac_end
      ac_end=`expr $ac_end + $ac_max_sed_lines`
    fi
  done
  if test -z "$ac_sed_cmds"; then
    ac_sed_cmds=cat
d3686 7
a3692 1
fi # test -n "$CONFIG_FILES"
d3694 3
d3698 32
d3731 62
a3792 10
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  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 ;;
d3795 1
a3795 2
  # Compute @@srcdir@@, @@top_srcdir@@, and @@INSTALL@@ for subdirectories.
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
d3799 1
a3799 2
	 X"$ac_file" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d3801 22
a3822 9
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
d3824 7
a3830 3
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
d3834 1
a3834 2
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d3836 18
a3853 5
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d3855 3
a3857 3
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
a3858 1

d3861 3
a3863 1
if test "$ac_dir" != .; then
d3865 11
a3875 5
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi
d3878 1
a3878 1
  .)  # No --srcdir option.  We are building in place.
d3880 3
a3882 6
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
d3884 6
a3889 4
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
d3891 1
a3892 38
# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d3894 5
d3900 1
d3902 30
a3931 15
  if test x"$ac_file" != x-; then
    { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
  # 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 by config.status.  */
  if test x"$ac_file" = x-; then
    configure_input=
  else
    configure_input="$ac_file.  "
  fi
  configure_input=$configure_input"Generated from `echo $ac_file_in |
				     sed 's,.*/,,'` by configure."
d3933 3
a3935 28
  # 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:$LINENO: 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:$LINENO: 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; }
_ACEOF
d3943 19
a3961 25
s,@@configure_input@@,$configure_input,;t t
s,@@srcdir@@,$ac_srcdir,;t t
s,@@abs_srcdir@@,$ac_abs_srcdir,;t t
s,@@top_srcdir@@,$ac_top_srcdir,;t t
s,@@abs_top_srcdir@@,$ac_abs_top_srcdir,;t t
s,@@builddir@@,$ac_builddir,;t t
s,@@abs_builddir@@,$ac_abs_builddir,;t t
s,@@top_builddir@@,$ac_top_builddir,;t t
s,@@abs_top_builddir@@,$ac_abs_top_builddir,;t t
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  rm -f $tmp/stdin
  if test x"$ac_file" != x-; then
    mv $tmp/out $ac_file
  else
    cat $tmp/out
    rm -f $tmp/out
  fi

done
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF

#
# CONFIG_HEADER section.
#
d3963 1
a3963 16
# 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=' '
ac_dD=',;t'
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
ac_uB='$,\1#\2define\3'
ac_uC=' '
ac_uD=',;t'

for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
d3965 2
a3966 7
  - | *:- | *:-:* ) # 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 ;;
d3968 26
d3995 12
a4006 66
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}

  # 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:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 # Do quote $f, to prevent DOS paths from being IFS'd.
	 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:$LINENO: 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

_ACEOF

# 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 <<\_ACEOF
s/[\\&,]/\\&/g
s,[\\$`],\\&,g
t clear
: clear
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
t end
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
: end
_ACEOF
# 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
d4008 2
a4009 1
# This sed command replaces #undef with comments.  This is necessary, for
d4012 14
a4025 3
cat >>conftest.undefs <<\_ACEOF
s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
_ACEOF
d4027 1
a4027 8
# 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 grep "^[	 ]*#[	 ]*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
d4029 10
a4038 8
  # 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
d4040 4
a4043 5
  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
d4047 1
a4047 28
rm -f conftest.defines
echo '  fi # grep' >>$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
rm -f conftest.tail
while grep . conftest.undefs >/dev/null
do
  # 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
  echo 'CEOF
  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
done
rm -f conftest.undefs
d4049 1
a4050 10
  # 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 by config.status.  */
  if test x"$ac_file" = x-; then
    echo "/* Generated by configure.  */" >$tmp/config.h
  else
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
  fi
  cat $tmp/in >>$tmp/config.h
  rm -f $tmp/in
d4052 3
a4054 1
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
a4057 37
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
$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'`
      { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
    as_dirs=
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
    done
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }; }

d4059 1
a4059 1
      mv $tmp/config.h $ac_file
d4062 2
a4063 2
    cat $tmp/config.h
    rm -f $tmp/config.h
d4065 2
a4066 3
done
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
d4068 4
a4071 42
#
# CONFIG_COMMANDS section.
#
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_dest" : 'X\(//\)[^/]' \| \
	 X"$ac_dest" : 'X\(//\)$' \| \
	 X"$ac_dest" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$ac_dest" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
    as_dirs=
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
    done
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }; }
a4072 64
  ac_builddir=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d4074 3
a4077 5
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
echo "$as_me: executing $ac_dest commands" >&6;}
  case $ac_dest in
    default ) chmod +x libs/ck-libs/ampi/ampirun
 ;;
d4079 1
a4079 2
done
_ACEOF
a4080 1
cat >>$CONFIG_STATUS <<\_ACEOF
@


1.97
log
@*** empty log message ***
@
text
@d1930 1
a1930 1
test_cc "whether get_myaddress() exists" "yes" "no" ""
@


1.96
log
@Added check for get_myaddress() in configure, as many machines do not have this function. On those machines the debugger will not work.
@
text
@d1926 2
a1927 2
void *foo(void *a) {
    return get_myaddress((struct sockaddr_in*)a);
@


1.95
log
@updated
@
text
@d1922 15
@


1.94
log
@advanced charm version #
@
text
@d1762 15
a2141 1

@


1.93
log
@a fix for the previous checkin
@
text
@d1226 1
a1226 1
VERSION=50912
@


1.92
log
@adding -rdynamic with strictpass.
@
text
@d1347 2
@


1.91
log
@generate charmconfig.out which has the detailed log of cc/cxx/link tests.
@
text
@d1347 7
d1924 1
a1924 1
if test $pass -eq 1
@


1.90
log
@link -lz only when linking projections
@
text
@d1250 3
d1288 2
d1301 1
d1312 2
d1325 1
d1336 2
d1343 1
d1347 1
d1359 2
d1366 1
d1370 1
@


1.89
log
@updated
@
text
@d1929 1
a1929 1
	add_flag 'CMK_LIBS="$CMK_LIBS -lz"' "zlib"
@


1.88
log
@disable long double even when warning occurs.
@
text
@d2194 1
d2264 40
@


1.87
log
@improved configure for testing inline (using c instead c++ suffix)
@
text
@d1487 1
a1487 1
#define CMK_LONG_DOUBLE_DEFINED $pass
@


1.86
log
@minor change status "ok" => "yes"
@
text
@d1248 1
d1285 1
a1285 1
	$CMK_CC -I../include -I. $CMK_LIBDIR $CMK_INCDIR $OPTS_CC $OPTS_LD -c $t -o test.o $4 > out 2>&1
d1375 1
a1375 1
	rm -f $t testlink test.o	> /dev/null 2>&1
d1507 1
a1507 1
cat > $t <<EOT
d1516 1
a1516 1
#define CMK_C_INLINE $pass
@


1.85
log
@test if C program accept "inline"
@
text
@d1512 1
a1512 1
test_cc "whether inline works in C" "ok" "no" ""
@


1.84
log
@advanced sub version number to 12
@
text
@d1277 21
d1318 1
d1505 14
@


1.83
log
@strict test if fpregset_t and struct _libc_fpstate exist in ucontext.
@
text
@d1226 1
a1226 1
VERSION=50911
@


1.82
log
@auto check if ucontext has fpu register as pointer.
@
text
@d1471 1
@


1.81
log
@changed IP of web server
@
text
@d1468 12
@


1.80
log
@test c++ compiler with user provided "OPTS", as a side effect, it is logged in config.log at build time.
@
text
@d2362 1
a2362 1
    CHARMIP='128.174.241.207'
@


1.79
log
@updated.
@
text
@d1376 5
a1380 1
echo "set C++ compiler as: $CMK_CXX $OPTS_CXX"
d1396 5
a1400 1
echo "set C++ linker as: $CMK_LDXX $OPTS_LDXX"
d2099 6
a2104 1
echo "set F77 compiler as: $CMK_CF77"
d2123 6
a2128 1
echo "set F90 compiler as: $CMK_CF90"
@


1.78
log
@advanced charm version to 5.9.11
@
text
@d275 1
a275 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SYNC WGET LYNX TELNET UUDECODE LIBOBJS LTLIBOBJS'
d1246 1
d2417 2
d2825 2
d2830 3
d2836 3
d2946 2
d2960 1
d2962 1
d2992 283
d3498 119
@


1.77
log
@advaned charm version to 5.9.10
@
text
@d1226 1
a1226 1
VERSION=50910
@


1.76
log
@updated.
@
text
@d1226 1
a1226 1
VERSION=50900
@


1.75
log
@fixed to display the exact linking options.
@
text
@d1722 1
@


1.74
log
@udpated.
@
text
@d1391 1
a1391 1
echo "set C++ linker as: $CMK_LDXX $OPTS_LD"
@


1.73
log
@fixed a bug in previous checkin.
@
text
@d1375 1
a1375 1
echo "set C++ compiler as: $CMK_CXX"
d1391 1
a1391 1
echo "set C++ linker as: $CMK_LDXX"
@


1.72
log
@better testing for both f77 and f90 compiler.
@
text
@d2111 1
a2111 1
cat > conftest.f90 <<EOF
d2115 2
a2116 2
$CMK_CF90 -c conftest.f90 > /dev/null 2> /dev/null
if test ! -r conftest.o
d2123 1
d2126 1
@


1.71
log
@a minor change in detecting fortran name mangling, if f90 is not available, try f77 compiler.
@
text
@a1408 3
echo "set F90 compiler as: $CMK_CF90"
echo "set F77 compiler as: $CMK_CF77"

d2089 5
a2093 2
### test fortran subroutine name ###
cat > conftest.f90 <<EOF
d2097 1
a2097 6

echo "$as_me:$LINENO: checking subroutine name used by Fortran 90 compiler" >&5
echo $ECHO_N "checking subroutine name used by Fortran 90 compiler... $ECHO_C" >&6
$CMK_CF90 -c conftest.f90 > /dev/null 2> /dev/null

# if f90 not working, try f77
d2100 12
a2111 6
  echo "$as_me:$LINENO: result: \"Fortran 90 compiler not working\"" >&5
echo "${ECHO_T}\"Fortran 90 compiler not working\"" >&6
  echo "$as_me:$LINENO: checking subroutine name used by Fortran 77 compiler" >&5
echo $ECHO_N "checking subroutine name used by Fortran 77 compiler... $ECHO_C" >&6
### test fortran 77 subroutine name ###
  cat > conftest.f <<EOF
d2115 9
d2125 2
a2126 2
  $CMK_CF77 -c conftest.f > /dev/null 2> /dev/null
fi
@


1.70
log
@version number 5.9
@
text
@d1409 3
d2098 2
a2099 2
echo "$as_me:$LINENO: checking subroutine name used by Fortran compiler" >&5
echo $ECHO_N "checking subroutine name used by Fortran compiler... $ECHO_C" >&6
d2102 16
@


1.69
log
@advanced charm version a little.
@
text
@d1226 1
a1226 1
VERSION=50804
@


1.68
log
@check if linker command really works.
for net-linux, check if --allow-multiple-definition works or not.
@
text
@d1226 1
a1226 1
VERSION=50803
@


1.67
log
@Fixed bug introduced by change of CMK_INCDIR and CMK_LIBDIR with OPTS_CXX
and OPTS_LD respectively. They were originally omitted from the test scripts
in configure.in, preventing the detection of desired system libraries like
PAPI at build time. OPTS_CXX and OPTS_LD are now included alongside the
original CMK_INCDIR and CMK_LIBDIR in configure.in, although I suspect the
latter is not required because CMK_CXX and CMK_LD seem to usually include
CMK_INCDIR and CMK_LIBDIR in their respective machine layers.

The configure.in script has also been fixed to only test for PAPI_TOT_CYC
which applies to all machine architectures. The other test for PAPI_FP_INS
does not apply to the itanium 2 architecture.

Also updated the tracing module such that papiEventSet is initialized to
PAPI_NULL as mandated by the PAPI 3 specification.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.57.
d5 1
a5 2
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
d22 1
d25 1
a25 1
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
d44 1
a44 1
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
d221 1
d228 1
a228 1
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
d231 1
a231 1
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
d634 1
a634 1
              localstatedir libdir includedir oldincludedir infodir mandir
d674 4
a677 4
         X"$0" : 'X\(//\)[^/]' \| \
         X"$0" : 'X\(//\)$' \| \
         X"$0" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d749 1
a749 1
                          [$ac_default_prefix]
d751 1
a751 1
                          [PREFIX]
d816 39
a854 6
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
d865 1
a865 1
           test -f $ac_srcdir/configure.in; then
d879 1
a879 2
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
d891 1
a891 1
generated by GNU Autoconf 2.57.  Invocation command line was
d968 1
a968 1
        ac_must_keep_next=false # Got value, back to normal.
d970 11
a980 11
        case $ac_arg in
          *=* | --config-cache | -C | -disable-* | --disable-* \
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
          | -with-* | --with-* | -without-* | --without-* | --x)
            case "$ac_configure_args0 " in
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
            esac
            ;;
          -* ) ac_must_keep_next=true ;;
        esac
d1014 2
a1015 2
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
d1019 1
a1019 1
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1048 1
a1048 1
        echo "$ac_var='"'"'$ac_val'"'"'"
d1067 1
a1067 1
  rm -f core core.* *.core &&
d1147 1
a1147 1
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1164 1
a1164 1
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
d1166 1
a1166 1
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
d1168 1
a1168 1
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
d1170 1
a1170 1
        ac_cache_corrupted=:
d1283 1
a1283 1
	$CMK_CXX -I../include -I. $OPTS_CXX $OPTS_LD $CMK_LIBDIR $CMK_INCDIR -c $t -o test.o $4 > out 2>&1
d1303 1
a1303 1
	$CMK_CXX -I../include -I. $OPTS_CXX $CMK_INCDIR -c $t -o test.o $4 > out 2>&1
d1308 1
a1308 1
          $CMK_LDXX -o testlink test.o $OPTS_LD $CMK_LIBDIR $4 > out 2>&1
d1322 1
a1322 1
	$CMK_CXX -I../include -I. $OPTS_CXX $CMK_INCDIR -c $t -o test.o $4 > out 2>&1
d1327 1
a1327 1
	  $CMK_LD -I../include -I. $OPTS_LD $CMK_LIBDIR $CMK_LD_SHARED test.o -o testlink.$CMK_SHARED_SUF $4 > out 2>&1
d1384 24
d2412 2
a2413 2
        "s/'/'\\\\''/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
d2418 1
a2418 1
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d2448 1
a2448 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
d2452 1
a2452 1
s/^\([^=]*=[ 	]*\):*/\1/;
d2454 1
a2454 1
s/^[^=]*=[ 	]*$//;
d2465 1
a2465 1
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
d2509 1
d2512 1
a2512 1
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
d2531 1
a2531 1
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
d2710 1
d2717 1
a2717 1
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
d2720 1
a2720 1
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
d2747 1
a2747 1
generated by GNU Autoconf 2.57.  Invocation command line was
d2791 1
a2791 1
                   instantiate the configuration header FILE
d2802 1
a2802 1
configured by $0, generated by GNU Autoconf 2.57,
d2805 1
a2805 2
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
d2955 2
a2956 2
ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
ac_dB='[ 	].*$,\1#\2'
d2960 1
a2960 1
ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
d2969 3
a2971 3
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d2973 1
a2973 1
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d2987 2
a2988 2
         # Absolute (can't be DOS-style, as IFS=:)
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d2991 2
a2992 1
         echo $f;;
d2994 9
a3002 9
         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:$LINENO: error: cannot find input file: $f" >&5
d3005 1
a3005 1
         fi;;
d3009 1
a3009 1
  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
d3032 1
a3032 1
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
d3034 1
a3034 1
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
d3048 1
a3048 1
s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
d3054 1
a3054 1
echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
d3063 1
a3063 1
  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
d3090 1
a3090 1
  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
d3124 4
a3127 4
         X"$ac_file" : 'X\(//\)[^/]' \| \
         X"$ac_file" : 'X\(//\)$' \| \
         X"$ac_file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d3143 4
a3146 4
         X"$as_dir" : 'X\(//\)[^/]' \| \
         X"$as_dir" : 'X\(//\)$' \| \
         X"$as_dir" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
@


1.66
log
@increased version number.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.59.
d5 2
a6 1
# Copyright (C) 2003 Free Software Foundation, Inc.
a22 1
DUALCASE=1; export DUALCASE # for MKS sh
d25 1
a25 1
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
d44 1
a44 1
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
a220 1
  test -d ./-p && rmdir ./-p
d227 1
a227 1
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
d230 1
a230 1
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
d633 1
a633 1
	      localstatedir libdir includedir oldincludedir infodir mandir
d673 4
a676 4
	 X"$0" : 'X\(//\)[^/]' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d748 1
a748 1
			  [$ac_default_prefix]
d750 1
a750 1
			  [PREFIX]
d815 6
a820 39

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d831 1
a831 1
	   test -f $ac_srcdir/configure.in; then
d845 2
a846 1
Copyright (C) 2003 Free Software Foundation, Inc.
d858 1
a858 1
generated by GNU Autoconf 2.59.  Invocation command line was
d935 1
a935 1
	ac_must_keep_next=false # Got value, back to normal.
d937 11
a947 11
	case $ac_arg in
	  *=* | --config-cache | -C | -disable-* | --disable-* \
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
	  | -with-* | --with-* | -without-* | --without-* | --x)
	    case "$ac_configure_args0 " in
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
	    esac
	    ;;
	  -* ) ac_must_keep_next=true ;;
	esac
d981 2
a982 2
	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
d986 1
a986 1
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1015 1
a1015 1
	echo "$ac_var='"'"'$ac_val'"'"'"
d1034 1
a1034 1
  rm -f core *.core &&
d1114 1
a1114 1
	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1131 1
a1131 1
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
d1133 1
a1133 1
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
d1135 1
a1135 1
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
d1137 1
a1137 1
	ac_cache_corrupted=:
d1250 1
a1250 1
	$CMK_CXX -I../include -I. -c $CMK_LIBDIR $CMK_INCDIR $t -o test.o $4 > out 2>&1
d1270 1
a1270 1
	$CMK_CXX -I../include -I. -c $CMK_INCDIR $t -o test.o $4 > out 2>&1
d1275 1
a1275 1
          $CMK_LDXX -o testlink test.o $CMK_LIBDIR $4 > out 2>&1
d1289 1
a1289 1
	$CMK_CXX -I../include -I. -c $CMK_INCDIR $t -o test.o $4 > out 2>&1
d1294 1
a1294 1
	  $CMK_LD -I../include -I. $CMK_LIBDIR $CMK_LD_SHARED test.o -o testlink.$CMK_SHARED_SUF $4 > out 2>&1
d1898 2
a1899 2
    int Events[2] = { PAPI_TOT_CYC, PAPI_FP_INS };
    if (PAPI_start_counters(Events, 2) != PAPI_OK) return 1;
d2355 2
a2356 2
	"s/'/'\\\\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
d2361 1
a2361 1
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d2391 1
a2391 1
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
d2395 1
a2395 1
s/^\([^=]*=[	 ]*\):*/\1/;
d2397 1
a2397 1
s/^[^=]*=[	 ]*$//;
d2408 1
a2408 1
	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
a2451 1
DUALCASE=1; export DUALCASE # for MKS sh
d2454 1
a2454 1
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
d2473 1
a2473 1
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
a2651 1
  test -d ./-p && rmdir ./-p
d2658 1
a2658 1
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
d2661 1
a2661 1
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
d2688 1
a2688 1
generated by GNU Autoconf 2.59.  Invocation command line was
d2732 1
a2732 1
		   instantiate the configuration header FILE
d2743 1
a2743 1
configured by $0, generated by GNU Autoconf 2.59,
d2746 2
a2747 1
Copyright (C) 2003 Free Software Foundation, Inc.
d2897 2
a2898 2
ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
ac_dB='[	 ].*$,\1#\2'
d2902 1
a2902 1
ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
d2911 3
a2913 3
	cat >$tmp/stdin
	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d2915 1
a2915 1
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d2929 2
a2930 2
	 # Absolute (can't be DOS-style, as IFS=:)
	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d2933 1
a2933 2
	 # Do quote $f, to prevent DOS paths from being IFS'd.
	 echo "$f";;
d2935 9
a2943 9
	 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:$LINENO: error: cannot find input file: $f" >&5
d2946 1
a2946 1
	 fi;;
d2950 1
a2950 1
  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
d2973 1
a2973 1
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
d2975 1
a2975 1
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
d2989 1
a2989 1
s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
d2995 1
a2995 1
echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
d3004 1
a3004 1
  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
d3031 1
a3031 1
  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
d3065 4
a3068 4
	 X"$ac_file" : 'X\(//\)[^/]' \| \
	 X"$ac_file" : 'X\(//\)$' \| \
	 X"$ac_file" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d3084 4
a3087 4
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
@


1.65
log
@tested for setpriority call, and test if "sync" command exists
@
text
@d1226 1
a1226 1
VERSION=50802
@


1.64
log
@a better way for testing shared lib
@
text
@d275 1
a275 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WGET LYNX TELNET UUDECODE LIBOBJS LTLIBOBJS'
d1668 15
d2017 46
@


1.63
log
@increase charm version number
@
text
@d1322 8
a1329 2
	$CMK_LD -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_LD_SHARED $t -o testlink.$CMK_SHARED_SUF $4 > out 2>&1
	test_result $? "$1" "$2" "$3"
@


1.62
log
@fixed test for malloc.h, only test if it presents and not check if malloc is actually defined in it.
@
text
@d1226 1
a1226 1
VERSION=50801
@


1.61
log
@test if malloc.h presents
@
text
@a1863 1
  int * d = (int *)malloc(sizeof(int));
@


1.60
log
@new check for python, now it should detect the version of python installed
@
text
@d1860 15
@


1.59
log
@updated.
@
text
@a1313 12
# Testlink_one: tries to compile and link a C++ file $t (described by $1) in one step.
#  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_link_one() {
        echo "$as_me:$LINENO: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
        $CMK_CXX -I../include -I. $CMK_INCDIR $CMK_LIBDIR $t -o testlink $4 > out 2>&1
        test_result $? "$1" "$2" "$3"
        /bin/rm -f out
}

d1927 2
a1928 1
test_link_one "whether Python is installed" "yes" "no" "/usr/lib/python/config/libpython2.3.a -lpthread -lutil -ldl"
d1936 1
a1936 1
	add_flag 'CMK_BUILD_PYTHON=1' "python"
@


1.58
log
@added a test for python to decide whether python is installed in a standard directory
@
text
@a1302 1
	echo "$CMK_CXX -I../include -I. -c $CMK_INCDIR $t -o test.o $4 > out 2>&1"
a1307 1
	  echo "$CMK_LDXX -o testlink test.o $CMK_LIBDIR $4 > out 2>&1"
d1321 1
a1321 2
        echo "$CMK_CXX -I../include -I. $CMK_INCDIR $t -o testlink $4 > out 2>&1"
        $CMK_CXX -I../include -I. $CMK_INCDIR $t -o testlink $4 > out 2>&1
@


1.57
log
@Two bug fixes:
  1.) Use CMK_LD to test shared library creation.  This is what
      charmc does, and with icc on the SuSE machines, CMK_CXX
      doesn't work (missing link options) but CMK_LD does.

  2.) Remove garbage (chunk of Makefile!) at end of configure.in.
     It's not clear if Chao checked this in by accident, or if
     CVS or the filesystem somehow screwed it up.
@
text
@d1303 1
d1309 1
d1316 13
d1928 25
@


1.56
log
@minor changes.
@
text
@d1322 1
a1322 1
	$CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_LD_SHARED $t -o testlink.$CMK_SHARED_SUF $4 > out 2>&1
@


1.55
log
@updated.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.57.
d5 1
a5 2
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
d22 1
d25 1
a25 1
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
d44 1
a44 1
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
d221 1
d228 1
a228 1
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
d231 1
a231 1
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
d634 1
a634 1
              localstatedir libdir includedir oldincludedir infodir mandir
d674 4
a677 4
         X"$0" : 'X\(//\)[^/]' \| \
         X"$0" : 'X\(//\)$' \| \
         X"$0" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d749 1
a749 1
                          [$ac_default_prefix]
d751 1
a751 1
                          [PREFIX]
d816 39
a854 6
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
d865 1
a865 1
           test -f $ac_srcdir/configure.in; then
d879 1
a879 2
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
d891 1
a891 1
generated by GNU Autoconf 2.57.  Invocation command line was
d968 1
a968 1
        ac_must_keep_next=false # Got value, back to normal.
d970 11
a980 11
        case $ac_arg in
          *=* | --config-cache | -C | -disable-* | --disable-* \
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
          | -with-* | --with-* | -without-* | --without-* | --x)
            case "$ac_configure_args0 " in
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
            esac
            ;;
          -* ) ac_must_keep_next=true ;;
        esac
d1014 2
a1015 2
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
d1019 1
a1019 1
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1048 1
a1048 1
        echo "$ac_var='"'"'$ac_val'"'"'"
d1067 1
a1067 1
  rm -f core core.* *.core &&
d1147 1
a1147 1
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1164 1
a1164 1
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
d1166 1
a1166 1
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
d1168 1
a1168 1
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
d1170 1
a1170 1
        ac_cache_corrupted=:
d1308 1
a1308 1
          $CMK_LDXX -o testlink test.o $CMK_LIBDIR $4 >> out 2>&1
d1889 1
a1889 1
if [ -n "$CMK_USE_PAPI" ]
d2281 2
a2282 2
        "s/'/'\\\\''/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
d2287 1
a2287 1
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d2317 1
a2317 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
d2321 1
a2321 1
s/^\([^=]*=[ 	]*\):*/\1/;
d2323 1
a2323 1
s/^[^=]*=[ 	]*$//;
d2334 1
a2334 1
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
d2378 1
d2381 1
a2381 1
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
d2400 1
a2400 1
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
d2579 1
d2586 1
a2586 1
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
d2589 1
a2589 1
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
d2616 1
a2616 1
generated by GNU Autoconf 2.57.  Invocation command line was
d2660 1
a2660 1
                   instantiate the configuration header FILE
d2671 1
a2671 1
configured by $0, generated by GNU Autoconf 2.57,
d2674 1
a2674 2
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
d2824 2
a2825 2
ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
ac_dB='[ 	].*$,\1#\2'
d2829 1
a2829 1
ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
d2838 3
a2840 3
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d2842 1
a2842 1
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d2856 2
a2857 2
         # Absolute (can't be DOS-style, as IFS=:)
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d2860 2
a2861 1
         echo $f;;
d2863 9
a2871 9
         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:$LINENO: error: cannot find input file: $f" >&5
d2874 1
a2874 1
         fi;;
d2878 1
a2878 1
  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
d2901 1
a2901 1
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
d2903 1
a2903 1
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
d2917 1
a2917 1
s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
d2923 1
a2923 1
echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
d2932 1
a2932 1
  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
d2959 1
a2959 1
  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
d2993 4
a2996 4
         X"$ac_file" : 'X\(//\)[^/]' \| \
         X"$ac_file" : 'X\(//\)$' \| \
         X"$ac_file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d3012 4
a3015 4
         X"$as_dir" : 'X\(//\)[^/]' \| \
         X"$as_dir" : 'X\(//\)$' \| \
         X"$as_dir" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
@


1.54
log
@fixed for NAMD which still uses old commlib name and refuse to change Makefile. copying a libmodulecommlib.a from libmodulecomlib.a.
Increased Charm++ version number.
charmc -V should now print Charm version number (after running configure).
@
text
@d1270 8
a1277 2
	$CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $t -o testlink $4 > out 2>&1
	test_result $? "$1" "$2" "$3"
@


1.53
log
@Modified the way PAPI is handled (to compensate for my earlier stupidity).
#include papi.h is no longer placed in conv-mach-opt.h and is instead placed
in trace.h, trace-projections.h whenever the macro CMK_HAS_COUNTER_PAPI is
defined. This allows the simple use of --basedir=<location> as a one-step
way of getting non-standard installations of PAPI to work.

I feel so stupid 8(
@
text
@d1193 2
a1194 1
VERSION=50800
@


1.52
log
@Configure script updated to remove echo statement.
@
text
@d1249 1
a1249 1
	$CMK_CXX -I../include -I. -c $t -o test.o $4 > out 2>&1
d1269 1
a1269 1
	$CMK_CXX -I../include -I. $t -o testlink $4 > out 2>&1
d1282 1
a1282 1
	$CMK_CXX -I../include -I. $CMK_LD_SHARED $t -o testlink.$CMK_SHARED_SUF $4 > out 2>&1
a1868 4
        cat >> ../include/conv-mach-opt.h <<EOT
/* header added by configure script after detecting the presence of PAPI. */
#include <papi.h>
EOT
@


1.51
log
@clean up from last checkin.
@
text
@d1849 1
a1849 1
if test -n "$CMK_USE_PAPI"
@


1.50
log
@Updated configure scripts to test for a build-time flag CMK_USE_PAPI before
actually testing for the presence of papi. This allows charm++ to ignore
the papi library by default.

The user can explicitly build a new version of charm++ that uses papi by
the papi build option in the build script. This can be done orthogonal to
the simultaneous presence of a non-papi version of charm.
@
text
@d1849 1
a1849 2
echo "$CMK_USE_PAPI"
if [ -n "$CMK_USE_PAPI" ]
d1870 2
a1871 3
	// header added by configure script after detecting the presence
	// of PAPI.
        #include <papi.h>
@


1.49
log
@testing if mkstemp exists, turing new gcc3.3 starts to not accept tmpnam any more.
@
text
@d1849 3
d1870 5
d1876 1
@


1.48
log
@Added new CMK_HAS_ALLOCA_H #define, used by src/util/uJcontext.c
@
text
@d1589 18
@


1.47
log
@changed unfortunate octal CHARM_VERSION to be decimal. It should still work since 50800 > 051000.
@
text
@d1786 16
@


1.46
log
@silly mistake of the charm version number which happened to require an octal number.
@
text
@d1192 2
a1193 2
#turn out to be in octal number, don't use digit >= 8
VERSION=051000
@


1.45
log
@update the charm version macro CHARM_VERSION to 5.8
@
text
@d1193 1
a1193 1
VERSION=050800
@


1.44
log
@when papi exists, modify CMK_LIBS to include -lpapi.
@
text
@d1193 1
a1193 1
VERSION=050612
@


1.43
log
@test whether PAIP exists.
@
text
@d1831 4
@


1.42
log
@monor improve in the printout for the previous pgcc fix.
@
text
@d1814 18
@


1.41
log
@use a workaround suggested by portland group for pgcc, use -Wl,-ldl to bypass pgcc's buggy prelinker.
@
text
@d1635 1
a1635 1
test_link "whether dlopen links without -ldl" "yes" "no" ""
d1637 1
a1637 1
test_link "whether dlopen links with -ldl" "yes" "no" "$dl_opt"
@


1.40
log
@also disable -lz test when it is bproc since it is only caused trouble with dynamic lib loading.
updated configure and conv-autoconfig.h.in.
@
text
@d1617 4
a1620 1
#for pgcc 4.0, -ldl crash linking, so skip it here.
d1622 1
a1622 1
pgCC*) skip_dl=1 ;;
a1623 2
# for bproc, ignore -ldl
test -n "$CMK_BPROC" && skip_dl=1
d1637 1
a1637 1
test_link "whether dlopen links with -ldl" "yes" "no" "-ldl"
d1641 1
a1641 1
	add_flag 'CMK_LIBS="$CMK_LIBS -ldl"' "dlopen"
@


1.39
log
@-ldl crashes the linking of a charm app. for pgCC 4.0.
So -ldl is disabled for pgCC, although it iis mostly like a bug of the compiler.
@
text
@d1621 2
a1652 1

d1744 4
d1768 2
d1785 1
a1785 1
#### test if has alloca.h ####
d1787 2
a1788 1
#include <alloca.h>
a1789 1
//  char *osp=(char *)alloca(0);
d1792 1
a1792 1
test_cxx "whether has alloca.h " "yes" "no" ""
d1795 1
a1795 1
#define CMK_HAS_ALLOCA $pass
d1799 1
a1799 1
#### test if has elf.h ####
d1801 1
a1801 2
#include <elf.h>
typedef Elf32_Addr ELF_TYPE_Addr;
d1803 1
d1806 1
a1806 1
test_cxx "whether has elf.h " "yes" "no" ""
d1809 1
a1809 1
#define CMK_HAS_ELF_H $pass
@


1.38
log
@updated for bproc change
@
text
@d1616 9
d1663 1
@


1.37
log
@updated for bproc.
@
text
@d1811 2
a1820 1
  return 0;
d1823 1
a1823 1
test_link "whether it is bproc" "yes" "no" "-lbproc"
d1836 1
@


1.36
log
@Check which flavor of assembly the compiler supports.
This is much less error-prone than having a dozen
different flavors of "net-linux".
@
text
@d1810 27
@


1.35
log
@added test for elf.h
moved to new version of autoconf(on rh9), which require adding third argument to AC_DEFINE and AC_DEFINE_UNQUOTED. Using new autoconf, I can completely remove acconfig.h now.
@
text
@d1546 41
@


1.34
log
@Rearranged CmiBacktrace, allowing name lookup
to be separate from stack recording.

This is used by the memory leak tester, to record
the allocators of leaked blocks.
@
text
@d1194 1
d1204 1
d1347 1
d1359 1
d1371 1
d1373 1
a1373 1
#define CMK___int64_DEFINED $pass
d1383 1
d1400 1
d1416 1
d1427 1
d1432 1
d1459 1
d1471 1
d1476 1
d1495 1
d1508 1
d1524 1
d1540 1
d1557 1
d1568 1
d1594 2
a1595 1
	cat >>confdefs.h <<_ACEOF
d1607 1
d1625 1
d1642 1
d1659 1
d1678 1
d1702 1
d1721 1
d1735 1
d1741 14
d1790 2
a1791 1
    cat >>confdefs.h <<_ACEOF
d1800 2
a1801 1
      cat >>confdefs.h <<_ACEOF
d1810 2
a1811 1
        cat >>confdefs.h <<_ACEOF
d1820 2
a1821 1
          cat >>confdefs.h <<_ACEOF
@


1.33
log
@Modified the trace calls for CkSendMsgBranchMulti to reflect the destination
PEs in the log traces.
@
text
@d1646 3
a1648 2
	int nLevels;
	char **stack=CmiBacktrace(&nLevels);
@


1.32
log
@increased Charm vesion number to 050612 due to the change in load balancer, for NAMD backward compatability.
@
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
d9 233
d243 10
a252 2
# Defaults:
ac_help=
d254 22
a275 1
# Any additions from configure.in:
d278 2
d282 1
a282 2
build=NONE
cache_file=./config.cache
a283 1
host=NONE
a284 1
nonopt=NONE
a292 1
target=NONE
d296 6
a314 7
# 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

a317 1

d325 1
a325 4
  case "$ac_option" in
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) ac_optarg= ;;
  esac
d329 1
a329 1
  case "$ac_option" in
d334 1
a334 1
    bindir="$ac_optarg" ;;
d337 1
a337 1
    ac_prev=build ;;
d339 1
a339 1
    build="$ac_optarg" ;;
d346 4
a349 1
    cache_file="$ac_optarg" ;;
d355 1
a355 1
    datadir="$ac_optarg" ;;
d358 1
a358 1
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
d360 5
a364 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" ;;
d367 1
a367 1
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
d369 6
a374 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
      *=*) ;;
d377 1
a377 1
    eval "enable_${ac_feature}='$ac_optarg'" ;;
d386 1
a386 1
    exec_prefix="$ac_optarg" ;;
d392 6
a397 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 ;;
d400 1
a400 1
    ac_prev=host ;;
d402 1
a402 1
    host="$ac_optarg" ;;
d409 1
a409 1
    includedir="$ac_optarg" ;;
d414 1
a414 1
    infodir="$ac_optarg" ;;
d419 1
a419 1
    libdir="$ac_optarg" ;;
d426 1
a426 1
    libexecdir="$ac_optarg" ;;
d435 1
a435 1
    localstatedir="$ac_optarg" ;;
d440 1
a440 1
    mandir="$ac_optarg" ;;
d447 1
a447 1
  | --no-cr | --no-c)
d461 1
a461 1
    oldincludedir="$ac_optarg" ;;
d466 1
a466 1
    prefix="$ac_optarg" ;;
d473 1
a473 1
    program_prefix="$ac_optarg" ;;
d480 1
a480 1
    program_suffix="$ac_optarg" ;;
d497 1
a497 1
    program_transform_name="$ac_optarg" ;;
d507 1
a507 1
    sbindir="$ac_optarg" ;;
d518 1
a518 1
    sharedstatedir="$ac_optarg" ;;
d523 1
a523 1
    site="$ac_optarg" ;;
d528 1
a528 1
    srcdir="$ac_optarg" ;;
d535 1
a535 1
    sysconfdir="$ac_optarg" ;;
d538 1
a538 1
    ac_prev=target ;;
d540 1
a540 1
    target="$ac_optarg" ;;
d545 2
a546 3
  -version | --version | --versio | --versi | --vers)
    echo "configure generated by autoconf version 2.13"
    exit 0 ;;
d549 1
a549 1
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
d551 3
a553 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
d555 2
a556 2
    case "$ac_option" in
      *=*) ;;
d559 1
a559 1
    eval "with_${ac_package}='$ac_optarg'" ;;
d562 1
a562 1
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
d564 5
a568 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" ;;
d579 1
a579 1
    x_includes="$ac_optarg" ;;
d586 1
a586 1
    x_libraries="$ac_optarg" ;;
d588 3
a590 1
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
d593 10
d604 5
a608 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"
d615 3
a617 1
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
d620 10
a629 21
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
d631 3
a633 4
# 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
d635 5
a639 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" ;;
d643 20
a662 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
d664 1
a664 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
a665 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
d671 12
a682 3
  ac_prog=$0
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
d692 2
a693 1
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
d695 2
a696 1
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
d699 16
a714 1
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
d716 360
d1086 3
a1088 1
    echo "loading site script $ac_site_file"
d1094 10
a1103 2
  echo "loading cache $cache_file"
  . $cache_file
d1105 54
a1158 2
  echo "creating cache $cache_file"
  > $cache_file
a1161 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d1163 20
a1182 17
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
d1186 1
d1194 1
a1194 1
cat >> confdefs.h <<EOF
d1196 1
a1196 1
EOF
d1199 2
a1200 2
echo $ac_n "checking machine name""... $ac_c" 1>&6
echo "configure:539: checking machine name" >&5
d1203 1
a1203 1
cat >> confdefs.h <<EOF
d1205 1
a1205 1
EOF
d1207 2
a1208 1
echo "$ac_t""$version" 1>&6
d1218 2
a1219 1
                echo "$ac_t"""$3"" 1>&6
d1223 2
a1224 1
                echo "$ac_t"""$4"" 1>&6
d1245 2
a1246 2
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:582: checking "$1"" >&5
d1252 1
a1252 1
	then 
d1254 1
a1254 1
	  then 
d1265 2
a1266 2
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:602: checking "$1"" >&5
d1278 2
a1279 2
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:615: checking "$1"" >&5
d1345 1
a1345 1
cat >> confdefs.h <<EOF
d1347 1
a1347 1
EOF
d1356 1
a1356 1
cat >> confdefs.h <<EOF
d1358 1
a1358 1
EOF
d1367 1
a1367 1
cat >> confdefs.h <<EOF
d1369 1
a1369 1
EOF
d1378 1
a1378 1
cat >> confdefs.h <<EOF
d1380 1
a1380 1
EOF
d1394 1
a1394 1
cat >> confdefs.h <<EOF
d1396 1
a1396 1
EOF
d1409 1
a1409 1
cat >> confdefs.h <<EOF
d1411 1
a1411 1
EOF
d1419 1
a1419 1
cat >> confdefs.h <<EOF
d1421 1
a1421 1
EOF
d1423 1
a1423 1
cat >> confdefs.h <<EOF
d1425 1
a1425 1
EOF
d1449 1
a1449 1
cat >> confdefs.h <<EOF
d1451 1
a1451 1
EOF
d1460 1
a1460 1
cat >> confdefs.h <<EOF
d1462 1
a1462 1
EOF
d1464 1
a1464 1
cat >> confdefs.h <<EOF
d1466 1
a1466 1
EOF
d1474 1
a1474 1
  std::vector<int> v;      
d1482 1
a1482 1
cat >> confdefs.h <<EOF
d1484 1
a1484 1
EOF
d1494 1
a1494 1
cat >> confdefs.h <<EOF
d1496 1
a1496 1
EOF
d1509 1
a1509 1
cat >> confdefs.h <<EOF
d1511 1
a1511 1
EOF
d1524 1
a1524 1
cat >> confdefs.h <<EOF
d1526 1
a1526 1
EOF
d1534 1
a1534 1
void foo(void) { 
d1540 1
a1540 1
cat >> confdefs.h <<EOF
d1542 1
a1542 1
EOF
d1550 1
a1550 1
cat >> confdefs.h <<EOF
d1552 1
a1552 1
EOF
d1567 1
a1567 1
then 
d1575 1
a1575 1
	cat >> confdefs.h <<EOF
d1577 1
a1577 1
EOF
d1587 1
a1587 1
cat >> confdefs.h <<EOF
d1589 1
a1589 1
EOF
d1604 1
a1604 1
cat >> confdefs.h <<EOF
d1606 1
a1606 1
EOF
d1620 1
a1620 1
cat >> confdefs.h <<EOF
d1622 1
a1622 1
EOF
d1636 1
a1636 1
cat >> confdefs.h <<EOF
d1638 1
a1638 1
EOF
d1653 1
a1653 1
cat >> confdefs.h <<EOF
d1655 1
a1655 1
EOF
d1659 1
a1659 1
then 
d1668 1
a1668 1
int main() { 
d1676 1
a1676 1
cat >> confdefs.h <<EOF
d1678 1
a1678 1
EOF
d1681 1
a1681 1
then 
d1688 1
a1688 1
int main() { 
d1694 1
a1694 1
cat >> confdefs.h <<EOF
d1696 1
a1696 1
EOF
d1702 1
a1702 1
int main() { 
d1707 1
a1707 1
cat >> confdefs.h <<EOF
d1709 1
a1709 1
EOF
d1715 1
a1715 1
int foo1() { 
d1722 1
a1722 1
then 
d1734 2
a1735 2
echo $ac_n "checking subroutine name used by Fortran compiler""... $ac_c" 1>&6
echo "configure:1071: checking subroutine name used by Fortran compiler" >&5
d1740 2
a1741 2
  if eval "test \"`echo '$''{'fortran_postfix'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1747 1
a1747 1
    cat >> confdefs.h <<EOF
d1749 1
a1749 1
EOF
d1756 1
a1756 1
      cat >> confdefs.h <<EOF
d1758 1
a1758 1
EOF
d1765 1
a1765 1
        cat >> confdefs.h <<EOF
d1767 1
a1767 1
EOF
d1774 1
a1774 1
          cat >> confdefs.h <<EOF
d1776 1
a1776 1
EOF
d1787 1
a1787 1
  
d1790 2
a1791 1
  echo "$ac_t""$fortran_postfix" 1>&6
d1793 2
a1794 1
  echo "$ac_t"""Fortran compiler not working"" 1>&6
d1807 4
a1810 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1142: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_WGET'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1815 14
a1828 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"
d1831 1
a1831 1
WGET="$ac_cv_prog_WGET"
d1833 2
a1834 1
  echo "$ac_t""$WGET" 1>&6
d1836 2
a1837 1
  echo "$ac_t""no" 1>&6
d1842 4
a1845 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1171: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LYNX'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1850 14
a1863 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"
d1866 1
a1866 1
LYNX="$ac_cv_prog_LYNX"
d1868 2
a1869 1
  echo "$ac_t""$LYNX" 1>&6
d1871 2
a1872 1
  echo "$ac_t""no" 1>&6
d1877 4
a1880 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1200: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_TELNET'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1885 14
a1898 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"
d1901 1
a1901 1
TELNET="$ac_cv_prog_TELNET"
d1903 2
a1904 1
  echo "$ac_t""$TELNET" 1>&6
d1906 2
a1907 1
  echo "$ac_t""no" 1>&6
d1912 4
a1915 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1229: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1920 14
a1933 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"
d1936 1
a1936 1
UUDECODE="$ac_cv_prog_UUDECODE"
d1938 2
a1939 1
  echo "$ac_t""$UUDECODE" 1>&6
d1941 2
a1942 1
  echo "$ac_t""no" 1>&6
d1945 1
a1945 1
    
d1949 2
a1950 2
    echo $ac_n "checking glibc version""... $ac_c" 1>&6
echo "configure:1260: checking glibc version" >&5
d1952 3
a1954 2
    echo "$ac_t""$GLIBCVERSION" 1>&6
    if test 1 = `expr $GLIBCVERSION \> 2.2.92` 
d1975 1
a1975 1
        $LYNX -source $URL > $L 2>/dev/null 
d1980 1
a1980 1
        $LYNX -source $URLSO > $L 2>/dev/null 
d2019 1
a2019 2
trap '' 1 2 15
cat > confcache <<\EOF
d2022 3
a2024 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.
d2026 2
a2027 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.
d2029 6
a2034 1
EOF
d2040 25
a2064 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
d2066 2
a2067 2
    echo "updating cache $cache_file"
    cat confcache > $cache_file
a2073 2
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

d2078 4
a2081 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.
d2083 8
a2090 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
d2093 16
a2108 1
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
a2109 1
DEFS=-DHAVE_CONFIG_H
a2110 1
# Without the "./", some shells look in PATH for config.status.
d2112 7
a2118 6

echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
# Generated automatically by configure.
a2119 5
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
d2121 37
a2157 1
# configure, is in ./config.log if it exists.
d2159 5
a2163 2
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
for ac_option
d2165 5
a2169 11
  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
d2172 6
a2177 1
ac_given_srcdir=$srcdir
d2179 5
a2183 3
trap 'rm -fr `echo " conv-autoconfig.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
a2184 32
# 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%@@WGET@@%$WGET%g
s%@@LYNX@@%$LYNX%g
s%@@TELNET@@%$TELNET%g
s%@@UUDECODE@@%$UUDECODE%g
d2186 34
a2219 2
CEOF
EOF
d2221 16
a2236 1
cat >> $CONFIG_STATUS <<\EOF
d2238 11
a2248 13
# 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
d2250 81
a2330 3
  if test ! -s conftest.s$ac_file; then
    ac_more_lines=false
    rm -f conftest.s$ac_file
d2332 1
a2332 8
    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`
d2334 74
a2407 3
done
if test -z "$ac_sed_cmds"; then
  ac_sed_cmds=cat
a2408 1
EOF
d2410 34
a2443 1
cat >> $CONFIG_STATUS <<EOF
d2445 21
a2465 9
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" ;;
d2468 37
a2504 1
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
d2506 1
a2506 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
a2507 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" ;;
d2509 20
d2531 10
a2540 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= ;;
d2542 34
d2577 7
a2583 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*
d2589 7
a2595 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'
d2597 1
a2597 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'
d2599 1
a2599 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
d2601 8
a2608 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" ;;
d2611 2
a2612 1
  echo creating $ac_file
d2614 62
a2675 20
  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
d2680 37
a2716 7
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.

d2718 1
a2718 1
while :
d2720 8
a2727 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
d2729 16
a2744 18
  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
d2746 48
a2793 5
    # 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"
d2795 3
a2797 2
    rm -f $ac_file
    mv conftest.h $ac_file
d2799 4
a2802 1
fi; done
d2804 4
a2807 2
EOF
cat >> $CONFIG_STATUS <<EOF
a2808 2
EOF
cat >> $CONFIG_STATUS <<\EOF
d2810 20
a2829 5
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.31
log
@updated.
@
text
@d531 1
a531 1
VERSION=050611
@


1.30
log
@write to ../include/conv-mach-opt.sh include to tmp/conv-mach-opt.sh. This fixed problem in windows sicne they are not symbolic linked.
@
text
@d531 1
a531 1
VERSION=050610
@


1.29
log
@fixed shell syntac error on solaris.
@
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 1
a396 3
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  { echo "$as_me: error: missing argument to $ac_option" >&2
   { (exit 1); exit 1; }; }
d399 21
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 165
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`

PATH = $PATH
a478 84
_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"
d532 1
a532 1
cat >>confdefs.h <<EOF
d536 3
a538 2
echo "$as_me:900: checking machine name" >&5
echo $ECHO_N "checking machine name... $ECHO_C" >&6
d541 1
a541 1
cat >>confdefs.h <<EOF
d545 1
a545 2
echo "$as_me:908: result: $version" >&5
echo "${ECHO_T}$version" >&6
d555 1
a555 2
                echo "$as_me:919: result: \"$3\"" >&5
echo "${ECHO_T}\"$3\"" >&6
d559 1
a559 2
                echo "$as_me:924: result: \"$4\"" >&5
echo "${ECHO_T}\"$4\"" >&6
d580 2
a581 2
        echo "$as_me:946: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d587 1
a587 1
	then
d589 1
a589 1
	  then
d600 2
a601 2
        echo "$as_me:966: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d613 2
a614 2
        echo "$as_me:979: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d628 1
a628 1
	  cat >> ./conv-mach-opt.sh << EOT
d671 1
d680 1
a680 1
cat >>confdefs.h <<EOF
d684 1
d691 1
a691 1
cat >>confdefs.h <<EOF
d695 1
d702 1
a702 1
cat >>confdefs.h <<EOF
d706 1
d713 1
a713 1
cat >>confdefs.h <<EOF
d717 1
d729 1
a729 1
cat >>confdefs.h <<EOF
d733 1
d744 1
a744 1
cat >>confdefs.h <<EOF
d748 1
d754 1
a754 1
cat >>confdefs.h <<EOF
d758 1
a758 1
cat >>confdefs.h <<EOF
d762 2
d784 1
a784 1
cat >>confdefs.h <<EOF
d788 1
d795 1
a795 1
cat >>confdefs.h <<EOF
d799 1
a799 1
cat >>confdefs.h <<EOF
d803 1
d809 1
a809 1
  std::vector<int> v;
d817 1
a817 1
cat >>confdefs.h <<EOF
d821 1
d829 1
a829 1
cat >>confdefs.h <<EOF
d833 2
d844 1
a844 1
cat >>confdefs.h <<EOF
d848 2
d859 1
a859 1
cat >>confdefs.h <<EOF
d863 1
d869 1
a869 1
void foo(void) {
d875 1
a875 1
cat >>confdefs.h <<EOF
d879 1
d885 1
a885 1
cat >>confdefs.h <<EOF
d889 1
d902 1
a902 1
then
d910 1
a910 1
	cat >>confdefs.h <<EOF
d916 1
d922 1
a922 1
cat >>confdefs.h <<EOF
d926 2
d939 1
a939 1
cat >>confdefs.h <<EOF
d943 1
d955 1
a955 1
cat >>confdefs.h <<EOF
d959 1
d971 1
a971 1
cat >>confdefs.h <<EOF
d975 1
d988 1
a988 1
cat >>confdefs.h <<EOF
d992 1
d994 1
a994 1
then
d999 1
d1003 1
a1003 1
int main() {
d1011 1
a1011 1
cat >>confdefs.h <<EOF
d1016 1
a1016 1
then
d1023 1
a1023 1
int main() {
d1029 1
a1029 1
cat >>confdefs.h <<EOF
d1033 1
d1037 1
a1037 1
int main() {
d1042 1
a1042 1
cat >>confdefs.h <<EOF
d1046 1
d1050 1
a1050 1
int foo1() {
d1057 1
a1057 1
then
d1069 2
a1070 2
echo "$as_me:1406: checking subroutine name used by Fortran compiler" >&5
echo $ECHO_N "checking subroutine name used by Fortran compiler... $ECHO_C" >&6
d1075 2
a1076 2
  if test "${fortran_postfix+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d1082 1
a1082 1
    cat >>confdefs.h <<EOF
d1091 1
a1091 1
      cat >>confdefs.h <<EOF
d1100 1
a1100 1
        cat >>confdefs.h <<EOF
d1109 1
a1109 1
          cat >>confdefs.h <<EOF
d1122 1
a1122 1

d1125 1
a1125 2
  echo "$as_me:1462: result: $fortran_postfix" >&5
echo "${ECHO_T}$fortran_postfix" >&6
d1127 1
a1127 2
  echo "$as_me:1465: result: \"Fortran compiler not working\"" >&5
echo "${ECHO_T}\"Fortran compiler not working\"" >&6
d1130 1
d1140 4
a1143 4
echo "$as_me:1478: 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
d1148 10
a1157 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:1493: found $ac_dir/$ac_word" >&5
break
done

d1160 1
a1160 1
WGET=$ac_cv_prog_WGET
d1162 1
a1162 2
  echo "$as_me:1501: result: $WGET" >&5
echo "${ECHO_T}$WGET" >&6
d1164 1
a1164 2
  echo "$as_me:1504: result: no" >&5
echo "${ECHO_T}no" >&6
d1169 4
a1172 4
echo "$as_me:1510: 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
d1177 10
a1186 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:1525: found $ac_dir/$ac_word" >&5
break
done

d1189 1
a1189 1
LYNX=$ac_cv_prog_LYNX
d1191 1
a1191 2
  echo "$as_me:1533: result: $LYNX" >&5
echo "${ECHO_T}$LYNX" >&6
d1193 1
a1193 2
  echo "$as_me:1536: result: no" >&5
echo "${ECHO_T}no" >&6
d1198 4
a1201 4
echo "$as_me:1542: 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
d1206 10
a1215 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:1557: found $ac_dir/$ac_word" >&5
break
done

d1218 1
a1218 1
TELNET=$ac_cv_prog_TELNET
d1220 1
a1220 2
  echo "$as_me:1565: result: $TELNET" >&5
echo "${ECHO_T}$TELNET" >&6
d1222 1
a1222 2
  echo "$as_me:1568: result: no" >&5
echo "${ECHO_T}no" >&6
d1227 4
a1230 4
echo "$as_me:1574: 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
d1235 10
a1244 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:1589: found $ac_dir/$ac_word" >&5
break
done

d1247 1
a1247 1
UUDECODE=$ac_cv_prog_UUDECODE
d1249 1
a1249 2
  echo "$as_me:1597: result: $UUDECODE" >&5
echo "${ECHO_T}$UUDECODE" >&6
d1251 1
a1251 2
  echo "$as_me:1600: result: no" >&5
echo "${ECHO_T}no" >&6
d1254 1
d1258 2
a1259 2
    echo "$as_me:1607: checking glibc version" >&5
echo $ECHO_N "checking glibc version... $ECHO_C" >&6
d1261 2
a1262 3
    echo "$as_me:1610: result: $GLIBCVERSION" >&5
echo "${ECHO_T}$GLIBCVERSION" >&6
    if test 1 = `expr $GLIBCVERSION \> 2.2.92`
d1283 1
a1283 1
        $LYNX -source $URL > $L 2>/dev/null
d1288 1
a1288 1
        $LYNX -source $URLSO > $L 2>/dev/null
d1327 2
a1328 1
cat >confcache <<\_ACEOF
d1331 2
a1332 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.
d1334 8
a1341 2
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
d1343 1
a1343 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

d1349 17
a1365 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
d1367 2
a1368 2
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    cat confcache >$cache_file
d1375 2
d1381 3
a1383 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).
d1385 1
a1385 8
  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@@srcdir@@:*/:/;
s/^\([^=]*=[ 	]*\):*/\1/;
s/:*$//;
s/^[^=]*=[ 	]*$//;
}'
d1388 2
d1392 1
d1394 5
a1398 6
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:1756: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
d1401 5
d1407 1
a1407 1
# configure, is in config.log if it exists.
d1409 15
a1423 3
debug=false
SHELL=\${CONFIG_SHELL-$SHELL}
ac_cs_invocation="\$0 \$@@"
d1425 1
a1425 1
_ACEOF
d1427 3
a1429 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
d1431 55
a1485 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'
d1487 8
a1494 1
    as_ln_s='ln -s'
d1496 3
a1498 54
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
fi

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
a1499 20

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>."
d1502 1
a1502 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'`\\"
d1504 1
a1504 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
d1506 7
a1512 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;;
d1515 1
a1515 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:1923: 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:1942: 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; }; } ;;
d1517 11
a1527 1
  *) ac_config_targets="$ac_config_targets $1" ;;
d1529 8
a1537 5
  shift
done

exec 5>>config.log
cat >&5 << _ACEOF
a1538 14
## ----------------------- ##
## 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
d1540 7
a1546 9
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:1978: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   { (exit 1); exit 1; }; };;
a1547 35
done

# 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
d1549 8
a1556 3
#
# CONFIG_HEADER section.
#
d1562 7
a1568 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'
d1570 6
a1575 1
ac_uD=',;t'
d1577 8
a1584 1
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
d1586 4
a1589 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 ;;
d1592 1
a1592 2
  test x"$ac_file" != x- && { echo "$as_me:2048: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
d1594 3
a1596 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:2059: 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:2072: 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
d1600 14
a1613 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
d1618 2
a1619 2
cat >>conftest.undefs <<\EOF
s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
d1622 3
a1624 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
d1626 1
a1626 1
while grep . conftest.undefs >/dev/null
d1628 6
a1633 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
d1635 7
a1641 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
d1643 1
a1643 1
rm -f conftest.undefs
d1645 8
a1652 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
d1654 2
a1655 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:2189: $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'`
d1657 2
a1658 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
d1660 2
a1661 3
  else
    cat $tmp/config.h
    rm -f $tmp/config.h
d1663 2
a1664 1
done
d1666 1
d1668 2
a1669 1
cat >>$CONFIG_STATUS <<\EOF
d1671 1
a1671 1
{ (exit 0); exit 0; }
d1674 2
a1675 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.28
log
@Check for the silly "socklen_t" typedef.
Some machines (gcc) demand it; some machines
(lemieux) have never heard of it.
@
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 16
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
d470 3
a472 9
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 24
a550 1
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
d552 225
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
a889 3



d896 1
a896 1
cat >> confdefs.h <<EOF
d900 2
a901 3

echo $ac_n "checking machine name""... $ac_c" 1>&6
echo "configure:539: checking machine name" >&5
d904 1
a904 1
cat >> confdefs.h <<EOF
d908 2
a909 1
echo "$ac_t""$version" 1>&6
d919 2
a920 1
                echo "$ac_t"""$3"" 1>&6
d924 2
a925 1
                echo "$ac_t"""$4"" 1>&6
d946 2
a947 2
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:582: checking "$1"" >&5
d953 1
a953 1
	then 
d955 1
a955 1
	  then 
d966 2
a967 2
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:602: checking "$1"" >&5
d979 2
a980 2
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:615: checking "$1"" >&5
d990 1
a990 1
	if ! grep "$1" conv-mach-opt.sh  > /dev/null 2>&1
d992 3
a994 1
	cat >> ./conv-mach-opt.sh << EOT
a1036 1

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

d1055 1
a1055 1
cat >> confdefs.h <<EOF
a1058 1

d1065 1
a1065 1
cat >> confdefs.h <<EOF
a1068 1

d1075 1
a1075 1
cat >> confdefs.h <<EOF
a1078 1

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

d1104 1
a1104 1
cat >> confdefs.h <<EOF
a1107 1

d1113 1
a1113 1
cat >> confdefs.h <<EOF
d1117 1
a1117 1
cat >> confdefs.h <<EOF
a1120 2


d1141 1
a1141 1
cat >> confdefs.h <<EOF
a1144 1

d1151 1
a1151 1
cat >> confdefs.h <<EOF
d1155 1
a1155 1
cat >> confdefs.h <<EOF
a1158 1

d1164 1
a1164 1
  std::vector<int> v;      
d1172 1
a1172 1
cat >> confdefs.h <<EOF
a1175 1

d1183 1
a1183 1
cat >> confdefs.h <<EOF
a1186 2


d1196 1
a1196 1
cat >> confdefs.h <<EOF
a1199 2


d1209 1
a1209 1
cat >> confdefs.h <<EOF
a1212 1

d1218 1
a1218 1
void foo(void) { 
d1224 1
a1224 1
cat >> confdefs.h <<EOF
a1227 1

d1233 1
a1233 1
cat >> confdefs.h <<EOF
a1236 1

d1249 1
a1249 1
then 
d1257 1
a1257 1
	cat >> confdefs.h <<EOF
a1262 1

d1268 1
a1268 1
cat >> confdefs.h <<EOF
a1271 2


d1283 1
a1283 1
cat >> confdefs.h <<EOF
a1286 1

d1298 1
a1298 1
cat >> confdefs.h <<EOF
a1301 1

d1313 1
a1313 1
cat >> confdefs.h <<EOF
a1316 1

d1329 1
a1329 1
cat >> confdefs.h <<EOF
a1332 1

d1334 1
a1334 1
then 
a1338 1

d1342 1
a1342 1
int main() { 
d1350 1
a1350 1
cat >> confdefs.h <<EOF
d1355 1
a1355 1
then 
d1362 1
a1362 1
int main() { 
d1368 1
a1368 1
cat >> confdefs.h <<EOF
a1371 1

d1375 1
a1375 1
int main() { 
d1380 1
a1380 1
cat >> confdefs.h <<EOF
a1383 1

d1387 1
a1387 1
int foo1() { 
d1394 1
a1394 1
then 
d1406 2
a1407 2
echo $ac_n "checking subroutine name used by Fortran compiler""... $ac_c" 1>&6
echo "configure:1069: checking subroutine name used by Fortran compiler" >&5
d1412 2
a1413 2
  if eval "test \"`echo '$''{'fortran_postfix'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1419 1
a1419 1
    cat >> confdefs.h <<EOF
d1428 1
a1428 1
      cat >> confdefs.h <<EOF
d1437 1
a1437 1
        cat >> confdefs.h <<EOF
d1446 1
a1446 1
          cat >> confdefs.h <<EOF
d1459 1
a1459 1
  
d1462 2
a1463 1
  echo "$ac_t""$fortran_postfix" 1>&6
d1465 2
a1466 1
  echo "$ac_t"""Fortran compiler not working"" 1>&6
a1468 1

d1478 4
a1481 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1140: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_WGET'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1486 11
a1496 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"
d1499 1
a1499 1
WGET="$ac_cv_prog_WGET"
d1501 2
a1502 1
  echo "$ac_t""$WGET" 1>&6
d1504 2
a1505 1
  echo "$ac_t""no" 1>&6
d1510 4
a1513 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1169: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LYNX'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1518 11
a1528 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"
d1531 1
a1531 1
LYNX="$ac_cv_prog_LYNX"
d1533 2
a1534 1
  echo "$ac_t""$LYNX" 1>&6
d1536 2
a1537 1
  echo "$ac_t""no" 1>&6
d1542 4
a1545 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1198: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_TELNET'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1550 11
a1560 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"
d1563 1
a1563 1
TELNET="$ac_cv_prog_TELNET"
d1565 2
a1566 1
  echo "$ac_t""$TELNET" 1>&6
d1568 2
a1569 1
  echo "$ac_t""no" 1>&6
d1574 4
a1577 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1227: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1582 11
a1592 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"
d1595 1
a1595 1
UUDECODE="$ac_cv_prog_UUDECODE"
d1597 2
a1598 1
  echo "$ac_t""$UUDECODE" 1>&6
d1600 2
a1601 1
  echo "$ac_t""no" 1>&6
a1603 1
    
d1607 2
a1608 2
    echo $ac_n "checking glibc version""... $ac_c" 1>&6
echo "configure:1258: checking glibc version" >&5
d1610 3
a1612 2
    echo "$ac_t""$GLIBCVERSION" 1>&6
    if test 1 = `expr $GLIBCVERSION \> 2.2.92` 
d1633 1
a1633 1
        $LYNX -source $URL > $L 2>/dev/null 
d1638 1
a1638 1
        $LYNX -source $URLSO > $L 2>/dev/null 
d1677 1
a1677 2
trap '' 1 2 15
cat > confcache <<\EOF
d1680 3
a1682 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.
d1684 2
a1685 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.
d1687 6
a1692 1
EOF
d1698 25
a1722 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
d1724 2
a1725 2
    echo "updating cache $cache_file"
    cat confcache > $cache_file
a1731 2
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

d1736 4
a1739 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.
d1741 8
a1748 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
a1750 2
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15

a1752 1
# Without the "./", some shells look in PATH for config.status.
d1754 6
a1759 5

echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
a1761 5
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
d1763 7
a1769 1
# configure, is in ./config.log if it exists.
d1771 8
a1778 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
d1780 2
a1781 1
ac_given_srcdir=$srcdir
d1783 5
a1787 3
trap 'rm -fr `echo " conv-autoconfig.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
d1789 8
a1796 49
# 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%@@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
d1798 1
a1798 1
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
d1800 54
a1853 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
d1855 20
d1877 5
a1881 1
cat >> $CONFIG_STATUS <<EOF
d1883 5
a1887 1
CONFIG_FILES=\${CONFIG_FILES-""}
d1889 19
a1907 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" ;;
d1910 37
a1946 1
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
d1948 1
a1948 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
a1949 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" ;;
d1951 5
d1957 14
d1972 9
a1980 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= ;;
d1982 35
d2018 3
a2020 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*
d2026 7
a2032 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'
d2034 1
a2034 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'
d2036 1
a2036 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
d2038 8
a2045 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" ;;
d2048 2
a2049 1
  echo creating $ac_file
d2051 29
a2079 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
d2083 30
a2112 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
d2117 2
a2118 2
cat >> conftest.vals <<\EOF
s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
d2121 33
a2153 3
# Break up conftest.vals because some shells have a limit on
# the size of here documents, and old seds have small limits too.

d2155 1
a2155 1
while :
d2157 8
a2164 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
d2166 7
a2172 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
d2174 1
a2174 1
rm -f conftest.vals
d2176 6
a2181 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
d2183 20
a2202 2
    # Remove last slash and all that follows it.  Not all systems have dirname.
      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
d2204 19
a2222 2
      # The file is in a subdirectory.
      test ! -d "$ac_dir" && mkdir "$ac_dir"
d2224 3
a2226 2
    rm -f $ac_file
    mv conftest.h $ac_file
d2228 1
a2228 2
fi; done

a2229 1
cat >> $CONFIG_STATUS <<EOF
d2231 1
a2231 2
EOF
cat >> $CONFIG_STATUS <<\EOF
d2233 1
a2233 1
exit 0
d2236 19
a2254 2
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
@


1.27
log
@Use a slightly more stringent test of <iostream> header.
@
text
@d926 16
d1068 1
a1068 1
echo "configure:1053: checking subroutine name used by Fortran compiler" >&5
d1139 1
a1139 1
echo "configure:1124: checking for $ac_word" >&5
d1168 1
a1168 1
echo "configure:1153: checking for $ac_word" >&5
d1197 1
a1197 1
echo "configure:1182: checking for $ac_word" >&5
d1226 1
a1226 1
echo "configure:1211: checking for $ac_word" >&5
d1257 1
a1257 1
echo "configure:1242: checking glibc version" >&5
@


1.26
log
@check if shared library can be built. also fixed annoying duplicated varaible defitions in conv-mach-opt.sh generated by configure script.
@
text
@d790 1
a790 1
void foo(void) {}
@


1.25
log
@print out glibc version.
@
text
@d607 28
d902 1
a902 6
	cat >> ./conv-mach-opt.sh << EOT

# Option added by configure script's dlopen section
CMK_LIBS="\$CMK_LIBS -ldl"

EOT
d977 2
a978 7
cat >> ./conv-mach-opt.sh << EOT

# Option added by configure script's backtrace section
CMK_LD="\$CMK_LD $TRACE_LINK_FLAG"
CMK_LDXX="\$CMK_LDXX $TRACE_LINK_FLAG"

EOT
d999 1
a999 6
cat >> ./conv-mach-opt.sh << EOT

# Option added by configure script's zlib section
CMK_LIBS="\$CMK_LIBS -lz"

EOT
d1029 14
d1052 1
a1052 1
echo "configure:1026: checking subroutine name used by Fortran compiler" >&5
d1123 1
a1123 1
echo "configure:1097: checking for $ac_word" >&5
d1152 1
a1152 1
echo "configure:1126: checking for $ac_word" >&5
d1181 1
a1181 1
echo "configure:1155: checking for $ac_word" >&5
d1210 1
a1210 1
echo "configure:1184: checking for $ac_word" >&5
d1241 1
a1241 1
echo "configure:1215: checking glibc version" >&5
@


1.24
log
@modified to get libpthread.so also from charm website.
@
text
@d1213 2
d1216 1
@


1.23
log
@configure switched to call conv-config.sh to setup all configs.
@
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 1
a396 3
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  { echo "$as_me: error: missing argument to $ac_option" >&2
   { (exit 1); exit 1; }; }
d399 21
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 40
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 \`..']
a478 209
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`

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"
d532 1
a532 1
cat >>confdefs.h <<EOF
d536 3
a538 2
echo "$as_me:900: checking machine name" >&5
echo $ECHO_N "checking machine name... $ECHO_C" >&6
d541 1
a541 1
cat >>confdefs.h <<EOF
d545 1
a545 2
echo "$as_me:908: result: $version" >&5
echo "${ECHO_T}$version" >&6
d555 1
a555 2
                echo "$as_me:919: result: \"$3\"" >&5
echo "${ECHO_T}\"$3\"" >&6
d559 1
a559 2
                echo "$as_me:924: result: \"$4\"" >&5
echo "${ECHO_T}\"$4\"" >&6
d580 2
a581 2
        echo "$as_me:946: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d587 1
a587 1
	then
d589 1
a589 1
	  then
d600 2
a601 2
        echo "$as_me:966: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d641 1
d650 1
a650 1
cat >>confdefs.h <<EOF
d654 1
d661 1
a661 1
cat >>confdefs.h <<EOF
d665 1
d672 1
a672 1
cat >>confdefs.h <<EOF
d676 1
d683 1
a683 1
cat >>confdefs.h <<EOF
d687 1
d699 1
a699 1
cat >>confdefs.h <<EOF
d703 1
d714 1
a714 1
cat >>confdefs.h <<EOF
d718 1
d724 1
a724 1
cat >>confdefs.h <<EOF
d728 1
a728 1
cat >>confdefs.h <<EOF
d732 2
d754 1
a754 1
cat >>confdefs.h <<EOF
d758 1
d765 1
a765 1
cat >>confdefs.h <<EOF
d769 1
a769 1
cat >>confdefs.h <<EOF
d773 1
d779 1
a779 1
  std::vector<int> v;
d787 1
a787 1
cat >>confdefs.h <<EOF
d791 1
d799 1
a799 1
cat >>confdefs.h <<EOF
d803 2
d814 1
a814 1
cat >>confdefs.h <<EOF
d818 2
d829 1
a829 1
cat >>confdefs.h <<EOF
d833 1
d839 1
a839 1
void foo(void) {
d845 1
a845 1
cat >>confdefs.h <<EOF
d849 1
d855 1
a855 1
cat >>confdefs.h <<EOF
d859 1
d872 1
a872 1
then
d885 1
a885 1
	cat >>confdefs.h <<EOF
d891 1
d897 1
a897 1
cat >>confdefs.h <<EOF
d901 2
d914 1
a914 1
cat >>confdefs.h <<EOF
d918 1
d930 1
a930 1
cat >>confdefs.h <<EOF
d934 1
d947 1
a947 1
cat >>confdefs.h <<EOF
d951 1
d953 1
a953 1
then
d963 1
d967 1
a967 1
int main() {
d975 1
a975 1
cat >>confdefs.h <<EOF
d980 1
a980 1
then
d992 1
a992 1
int main() {
d998 1
a998 1
cat >>confdefs.h <<EOF
d1002 1
d1006 1
a1006 1
int main() {
d1011 1
a1011 1
cat >>confdefs.h <<EOF
d1015 1
d1024 2
a1025 2
echo "$as_me:1362: checking subroutine name used by Fortran compiler" >&5
echo $ECHO_N "checking subroutine name used by Fortran compiler... $ECHO_C" >&6
d1030 2
a1031 2
  if test "${fortran_postfix+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d1037 1
a1037 1
    cat >>confdefs.h <<EOF
d1046 1
a1046 1
      cat >>confdefs.h <<EOF
d1055 1
a1055 1
        cat >>confdefs.h <<EOF
d1064 1
a1064 1
          cat >>confdefs.h <<EOF
d1077 1
a1077 1

d1080 1
a1080 2
  echo "$as_me:1418: result: $fortran_postfix" >&5
echo "${ECHO_T}$fortran_postfix" >&6
d1082 1
a1082 2
  echo "$as_me:1421: result: \"Fortran compiler not working\"" >&5
echo "${ECHO_T}\"Fortran compiler not working\"" >&6
d1085 1
d1095 4
a1098 4
echo "$as_me:1434: 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
d1103 10
a1112 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:1449: found $ac_dir/$ac_word" >&5
break
done

d1115 1
a1115 1
WGET=$ac_cv_prog_WGET
d1117 1
a1117 2
  echo "$as_me:1457: result: $WGET" >&5
echo "${ECHO_T}$WGET" >&6
d1119 1
a1119 2
  echo "$as_me:1460: result: no" >&5
echo "${ECHO_T}no" >&6
d1124 4
a1127 4
echo "$as_me:1466: 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
d1132 10
a1141 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:1481: found $ac_dir/$ac_word" >&5
break
done

d1144 1
a1144 1
LYNX=$ac_cv_prog_LYNX
d1146 1
a1146 2
  echo "$as_me:1489: result: $LYNX" >&5
echo "${ECHO_T}$LYNX" >&6
d1148 1
a1148 2
  echo "$as_me:1492: result: no" >&5
echo "${ECHO_T}no" >&6
d1153 4
a1156 4
echo "$as_me:1498: 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
d1161 10
a1170 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:1513: found $ac_dir/$ac_word" >&5
break
done

d1173 1
a1173 1
TELNET=$ac_cv_prog_TELNET
d1175 1
a1175 2
  echo "$as_me:1521: result: $TELNET" >&5
echo "${ECHO_T}$TELNET" >&6
d1177 1
a1177 2
  echo "$as_me:1524: result: no" >&5
echo "${ECHO_T}no" >&6
d1182 4
a1185 4
echo "$as_me:1530: 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
d1190 10
a1199 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:1545: found $ac_dir/$ac_word" >&5
break
done

d1202 1
a1202 1
UUDECODE=$ac_cv_prog_UUDECODE
d1204 1
a1204 2
  echo "$as_me:1553: result: $UUDECODE" >&5
echo "${ECHO_T}$UUDECODE" >&6
d1206 1
a1206 2
  echo "$as_me:1556: result: no" >&5
echo "${ECHO_T}no" >&6
d1209 1
d1214 1
a1214 1
    if test 1 = `expr $GLIBCVERSION \> 2.2.92`
d1221 1
d1223 1
d1230 1
d1235 1
a1235 1
        $LYNX -source $URL > $L 2>/dev/null
d1240 1
d1259 1
d1279 2
a1280 1
cat >confcache <<\_ACEOF
d1283 2
a1284 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.
d1286 8
a1293 2
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
d1295 1
a1295 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

d1301 17
a1317 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
d1319 2
a1320 2
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    cat confcache >$cache_file
d1327 2
d1333 3
a1335 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).
d1337 1
a1337 8
  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@@srcdir@@:*/:/;
s/^\([^=]*=[ 	]*\):*/\1/;
s/:*$//;
s/^[^=]*=[ 	]*$//;
}'
d1340 2
d1344 1
d1346 5
a1350 6
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:1703: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
d1353 5
d1359 1
a1359 1
# configure, is in config.log if it exists.
d1361 15
a1375 3
debug=false
SHELL=\${CONFIG_SHELL-$SHELL}
ac_cs_invocation="\$0 \$@@"
d1377 1
a1377 1
_ACEOF
d1379 3
a1381 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
d1383 55
a1437 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'
d1439 8
a1446 1
    as_ln_s='ln -s'
d1448 3
a1450 54
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
fi

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
a1451 20

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>."
d1454 1
a1454 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'`\\"
d1456 1
a1456 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
d1458 7
a1464 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;;
d1467 1
a1467 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:1870: 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:1889: 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; }; } ;;
d1469 11
a1479 1
  *) ac_config_targets="$ac_config_targets $1" ;;
d1481 8
a1489 5
  shift
done

exec 5>>config.log
cat >&5 << _ACEOF
a1490 11
## ----------------------- ##
## 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`
d1492 7
a1498 12
_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:1925: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   { (exit 1); exit 1; }; };;
a1499 33
done

# 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
d1501 8
a1508 5
cat >>$CONFIG_STATUS <<\EOF

#
# CONFIG_HEADER section.
#
d1514 7
a1520 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'
d1522 6
a1527 1
ac_uD=',;t'
d1529 8
a1536 1
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
d1538 4
a1541 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 ;;
d1544 1
a1544 2
  test x"$ac_file" != x- && { echo "$as_me:1995: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
d1546 3
a1548 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:2006: 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:2019: 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
d1552 14
a1565 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
d1570 2
a1571 2
cat >>conftest.undefs <<\EOF
s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
d1574 3
a1576 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
d1578 1
a1578 1
while grep . conftest.undefs >/dev/null
d1580 6
a1585 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
d1587 7
a1593 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
d1595 1
a1595 1
rm -f conftest.undefs
d1597 8
a1604 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
d1606 2
a1607 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:2136: $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'`
d1609 2
a1610 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
d1612 2
a1613 3
  else
    cat $tmp/config.h
    rm -f $tmp/config.h
d1615 2
a1616 1
done
d1618 1
d1620 2
a1621 1
cat >>$CONFIG_STATUS <<\EOF
d1623 1
a1623 1
{ (exit 0); exit 0; }
d1626 2
a1627 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.22
log
@configure uses CMK_NM to check Fortran postfix. Set default to "nm" in conv-config.sh
@
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 16
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
d470 3
a472 9
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 173
a699 1
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
d701 76
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
a889 3



d892 1
a892 10
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
d896 1
a896 1
cat >> confdefs.h <<EOF
d900 2
a901 3

echo $ac_n "checking machine name""... $ac_c" 1>&6
echo "configure:548: checking machine name" >&5
d904 1
a904 1
cat >> confdefs.h <<EOF
d908 2
a909 1
echo "$ac_t""$version" 1>&6
d919 2
a920 1
                echo "$ac_t"""$3"" 1>&6
d924 2
a925 1
                echo "$ac_t"""$4"" 1>&6
d946 2
a947 2
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:591: checking "$1"" >&5
d953 1
a953 1
	then 
d955 1
a955 1
	  then 
d966 2
a967 2
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:611: checking "$1"" >&5
a1006 1

d1015 1
a1015 1
cat >> confdefs.h <<EOF
a1018 1

d1025 1
a1025 1
cat >> confdefs.h <<EOF
a1028 1

d1035 1
a1035 1
cat >> confdefs.h <<EOF
a1038 1

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

d1060 1
a1060 1
cat >> confdefs.h <<EOF
a1063 1

d1074 1
a1074 1
cat >> confdefs.h <<EOF
a1077 1

d1083 1
a1083 1
cat >> confdefs.h <<EOF
d1087 1
a1087 1
cat >> confdefs.h <<EOF
a1090 2


d1111 1
a1111 1
cat >> confdefs.h <<EOF
a1114 1

d1121 1
a1121 1
cat >> confdefs.h <<EOF
d1125 1
a1125 1
cat >> confdefs.h <<EOF
a1128 1

d1134 1
a1134 1
  std::vector<int> v;      
d1142 1
a1142 1
cat >> confdefs.h <<EOF
a1145 1

d1153 1
a1153 1
cat >> confdefs.h <<EOF
a1156 2


d1166 1
a1166 1
cat >> confdefs.h <<EOF
a1169 2


d1179 1
a1179 1
cat >> confdefs.h <<EOF
a1182 1

d1188 1
a1188 1
void foo(void) { 
d1194 1
a1194 1
cat >> confdefs.h <<EOF
a1197 1

d1203 1
a1203 1
cat >> confdefs.h <<EOF
a1206 1

d1219 1
a1219 1
then 
d1232 1
a1232 1
	cat >> confdefs.h <<EOF
a1237 1

d1243 1
a1243 1
cat >> confdefs.h <<EOF
a1246 2


d1258 1
a1258 1
cat >> confdefs.h <<EOF
a1261 1

d1273 1
a1273 1
cat >> confdefs.h <<EOF
a1276 1

d1289 1
a1289 1
cat >> confdefs.h <<EOF
a1292 1

d1294 1
a1294 1
then 
a1303 1

d1307 1
a1307 1
int main() { 
d1315 1
a1315 1
cat >> confdefs.h <<EOF
d1320 1
a1320 1
then 
d1332 1
a1332 1
int main() { 
d1338 1
a1338 1
cat >> confdefs.h <<EOF
a1341 1

d1345 1
a1345 1
int main() { 
d1350 1
a1350 1
cat >> confdefs.h <<EOF
a1353 1

d1362 2
a1363 2
echo $ac_n "checking subroutine name used by Fortran compiler""... $ac_c" 1>&6
echo "configure:1035: checking subroutine name used by Fortran compiler" >&5
d1368 2
a1369 2
  if eval "test \"`echo '$''{'fortran_postfix'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1375 1
a1375 1
    cat >> confdefs.h <<EOF
d1384 1
a1384 1
      cat >> confdefs.h <<EOF
d1393 1
a1393 1
        cat >> confdefs.h <<EOF
d1402 1
a1402 1
          cat >> confdefs.h <<EOF
d1415 1
a1415 1
  
d1418 2
a1419 1
  echo "$ac_t""$fortran_postfix" 1>&6
d1421 2
a1422 1
  echo "$ac_t"""Fortran compiler not working"" 1>&6
a1424 1

d1434 4
a1437 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1106: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_WGET'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1442 11
a1452 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"
d1455 1
a1455 1
WGET="$ac_cv_prog_WGET"
d1457 2
a1458 1
  echo "$ac_t""$WGET" 1>&6
d1460 2
a1461 1
  echo "$ac_t""no" 1>&6
d1466 4
a1469 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1135: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LYNX'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1474 11
a1484 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"
d1487 1
a1487 1
LYNX="$ac_cv_prog_LYNX"
d1489 2
a1490 1
  echo "$ac_t""$LYNX" 1>&6
d1492 2
a1493 1
  echo "$ac_t""no" 1>&6
d1498 4
a1501 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1164: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_TELNET'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1506 11
a1516 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"
d1519 1
a1519 1
TELNET="$ac_cv_prog_TELNET"
d1521 2
a1522 1
  echo "$ac_t""$TELNET" 1>&6
d1524 2
a1525 1
  echo "$ac_t""no" 1>&6
d1530 4
a1533 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1193: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1538 11
a1548 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"
d1551 1
a1551 1
UUDECODE="$ac_cv_prog_UUDECODE"
d1553 2
a1554 1
  echo "$ac_t""$UUDECODE" 1>&6
d1556 2
a1557 1
  echo "$ac_t""no" 1>&6
a1559 1
    
d1564 1
a1564 1
    if test 1 = `expr $GLIBCVERSION \> 2.2.92` 
d1582 1
a1582 1
        $LYNX -source $URL > $L 2>/dev/null 
d1624 1
a1624 2
trap '' 1 2 15
cat > confcache <<\EOF
d1627 3
a1629 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.
d1631 2
a1632 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.
d1634 6
a1639 1
EOF
d1645 25
a1669 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
d1671 2
a1672 2
    echo "updating cache $cache_file"
    cat confcache > $cache_file
a1678 2
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

d1683 4
a1686 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.
d1688 8
a1695 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
a1697 2
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15

a1699 1
# Without the "./", some shells look in PATH for config.status.
d1701 6
a1706 5

echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
a1708 5
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
d1710 7
a1716 1
# configure, is in ./config.log if it exists.
d1718 8
a1725 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
d1727 2
a1728 1
ac_given_srcdir=$srcdir
d1730 5
a1734 3
trap 'rm -fr `echo " conv-autoconfig.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
d1736 8
a1743 49
# 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%@@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
d1745 1
a1745 1
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
d1747 54
a1800 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
d1802 20
d1824 5
a1828 1
cat >> $CONFIG_STATUS <<EOF
d1830 5
a1834 1
CONFIG_FILES=\${CONFIG_FILES-""}
d1836 19
a1854 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" ;;
d1857 37
a1893 1
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
d1895 1
a1895 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
a1896 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" ;;
d1898 5
d1904 14
d1919 9
a1927 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= ;;
d1929 35
d1965 3
a1967 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*
d1973 7
a1979 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'
d1981 1
a1981 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'
d1983 1
a1983 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
d1985 8
a1992 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" ;;
d1995 2
a1996 1
  echo creating $ac_file
d1998 29
a2026 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
d2030 30
a2059 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
d2064 2
a2065 2
cat >> conftest.vals <<\EOF
s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
d2068 33
a2100 3
# Break up conftest.vals because some shells have a limit on
# the size of here documents, and old seds have small limits too.

d2102 1
a2102 1
while :
d2104 8
a2111 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
d2113 7
a2119 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
d2121 1
a2121 1
rm -f conftest.vals
d2123 6
a2128 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
d2130 20
a2149 2
    # Remove last slash and all that follows it.  Not all systems have dirname.
      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
d2151 19
a2169 2
      # The file is in a subdirectory.
      test ! -d "$ac_dir" && mkdir "$ac_dir"
d2171 3
a2173 2
    rm -f $ac_file
    mv conftest.h $ac_file
d2175 1
a2175 2
fi; done

a2176 1
cat >> $CONFIG_STATUS <<EOF
d2178 1
a2178 2
EOF
cat >> $CONFIG_STATUS <<\EOF
d2180 1
a2180 1
exit 0
d2183 19
a2201 2
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
@


1.21
log
@avoid downloading special patched libpthread for glibc ver >= 2.2.93 (for now, not sure the case for little earlier versions) because new linuxpthread seems to work.
also undef CMK_LINUX_PTHREAD_HACK in conv-mach-opt.h
@
text
@d1042 1
a1042 1
  NAME=`nm conftest.o | grep "foo_foo__"`
d1051 1
a1051 1
    NAME=`nm conftest.o | grep "foo_foo_"`
d1060 1
a1060 1
      NAME=`nm conftest.o | grep "foo_foo"`
d1069 1
a1069 1
        NAME=`nm conftest.o | grep "FOO_FOO"`
d1090 2
d1105 1
a1105 1
echo "configure:1104: checking for $ac_word" >&5
d1134 1
a1134 1
echo "configure:1133: checking for $ac_word" >&5
d1163 1
a1163 1
echo "configure:1162: checking for $ac_word" >&5
d1192 1
a1192 1
echo "configure:1191: checking for $ac_word" >&5
@


1.20
log
@changed alloca from test_link to test_cxx because there is a problem on ibm sp using alloca in C++ test program. just check if the header file presents.
@
text
@d1221 1
a1221 5
    L="libpthread-$GLIBCVERSION.a"
    URL="http://${CHARMIP}/distrib/$L"
    finish=0
    printf "getting $L from $URL ..."
    if test -n "$WGET"
d1223 14
a1236 8
      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
d1238 6
a1243 1
        mv $L ../lib && finish=1
d1245 4
a1248 5
    fi
    if test $finish = 0 && test -n "$TELNET" && test -n "$UUDECODE"
    then
      printf "(telnet) ..."
      cat > get_libpthread <<EOT
d1259 16
a1274 15
      /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"
@


1.19
log
@check for alloca.h
@
text
@d1016 1
a1016 1
  char *osp=(char *)alloca(0);
d1019 1
a1019 1
test_link "whether alloca works" "yes" "no" ""
@


1.18
log
@check values.h and define CMK_HAS_VALUES_H
@
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 24
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]...
a478 225
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`

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"
d530 1
a530 1
if test ! -r ./conv-mach.sh
d541 1
a541 1
cat >>confdefs.h <<EOF
d545 3
a547 2
echo "$as_me:909: checking machine name" >&5
echo $ECHO_N "checking machine name... $ECHO_C" >&6
d550 1
a550 1
cat >>confdefs.h <<EOF
d554 1
a554 2
echo "$as_me:917: result: $version" >&5
echo "${ECHO_T}$version" >&6
d564 1
a564 2
                echo "$as_me:928: result: \"$3\"" >&5
echo "${ECHO_T}\"$3\"" >&6
d568 1
a568 2
                echo "$as_me:933: result: \"$4\"" >&5
echo "${ECHO_T}\"$4\"" >&6
d589 2
a590 2
        echo "$as_me:955: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d596 1
a596 1
	then
d598 1
a598 1
	  then
d609 2
a610 2
        echo "$as_me:975: checking \"$1\"" >&5
echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6
d650 1
d659 1
a659 1
cat >>confdefs.h <<EOF
d663 1
d670 1
a670 1
cat >>confdefs.h <<EOF
d674 1
d681 1
a681 1
cat >>confdefs.h <<EOF
d685 1
d692 1
a692 1
cat >>confdefs.h <<EOF
d696 1
d708 1
a708 1
cat >>confdefs.h <<EOF
d712 1
d723 1
a723 1
cat >>confdefs.h <<EOF
d727 1
d733 1
a733 1
cat >>confdefs.h <<EOF
d737 1
a737 1
cat >>confdefs.h <<EOF
d741 2
d763 1
a763 1
cat >>confdefs.h <<EOF
d767 1
d774 1
a774 1
cat >>confdefs.h <<EOF
d778 1
a778 1
cat >>confdefs.h <<EOF
d782 1
d788 1
a788 1
  std::vector<int> v;
d796 1
a796 1
cat >>confdefs.h <<EOF
d800 1
d808 1
a808 1
cat >>confdefs.h <<EOF
d812 2
d823 1
a823 1
cat >>confdefs.h <<EOF
d827 2
d838 1
a838 1
cat >>confdefs.h <<EOF
d842 1
d848 1
a848 1
void foo(void) {
d854 1
a854 1
cat >>confdefs.h <<EOF
d858 1
d864 1
a864 1
cat >>confdefs.h <<EOF
d868 1
d881 1
a881 1
then
d894 1
a894 1
	cat >>confdefs.h <<EOF
d900 1
d906 1
a906 1
cat >>confdefs.h <<EOF
d910 2
d923 1
a923 1
cat >>confdefs.h <<EOF
d927 1
d939 1
a939 1
cat >>confdefs.h <<EOF
d943 1
d956 1
a956 1
cat >>confdefs.h <<EOF
d960 1
d962 1
a962 1
then
d972 1
d976 1
a976 1
int main() {
d984 1
a984 1
cat >>confdefs.h <<EOF
d989 1
a989 1
then
d1001 1
a1001 1
int main() {
d1007 1
a1007 1
cat >>confdefs.h <<EOF
d1011 14
d1033 2
a1034 2
echo "$as_me:1359: checking subroutine name used by Fortran compiler" >&5
echo $ECHO_N "checking subroutine name used by Fortran compiler... $ECHO_C" >&6
d1039 2
a1040 2
  if test "${fortran_postfix+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d1046 1
a1046 1
    cat >>confdefs.h <<EOF
d1055 1
a1055 1
      cat >>confdefs.h <<EOF
d1064 1
a1064 1
        cat >>confdefs.h <<EOF
d1073 1
a1073 1
          cat >>confdefs.h <<EOF
d1086 2
d1089 1
a1091 3
  echo "$as_me:1415: result: $fortran_postfix" >&5
echo "${ECHO_T}$fortran_postfix" >&6
fi
d1102 4
a1105 4
echo "$as_me:1428: 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
d1110 10
a1119 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:1443: found $ac_dir/$ac_word" >&5
break
done

d1122 1
a1122 1
WGET=$ac_cv_prog_WGET
d1124 1
a1124 2
  echo "$as_me:1451: result: $WGET" >&5
echo "${ECHO_T}$WGET" >&6
d1126 1
a1126 2
  echo "$as_me:1454: result: no" >&5
echo "${ECHO_T}no" >&6
d1131 4
a1134 4
echo "$as_me:1460: 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
d1139 10
a1148 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:1475: found $ac_dir/$ac_word" >&5
break
done

d1151 1
a1151 1
LYNX=$ac_cv_prog_LYNX
d1153 1
a1153 2
  echo "$as_me:1483: result: $LYNX" >&5
echo "${ECHO_T}$LYNX" >&6
d1155 1
a1155 2
  echo "$as_me:1486: result: no" >&5
echo "${ECHO_T}no" >&6
d1160 4
a1163 4
echo "$as_me:1492: 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
d1168 10
a1177 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:1507: found $ac_dir/$ac_word" >&5
break
done

d1180 1
a1180 1
TELNET=$ac_cv_prog_TELNET
d1182 1
a1182 2
  echo "$as_me:1515: result: $TELNET" >&5
echo "${ECHO_T}$TELNET" >&6
d1184 1
a1184 2
  echo "$as_me:1518: result: no" >&5
echo "${ECHO_T}no" >&6
d1189 4
a1192 4
echo "$as_me:1524: 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
d1197 10
a1206 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:1539: found $ac_dir/$ac_word" >&5
break
done

d1209 1
a1209 1
UUDECODE=$ac_cv_prog_UUDECODE
d1211 1
a1211 2
  echo "$as_me:1547: result: $UUDECODE" >&5
echo "${ECHO_T}$UUDECODE" >&6
d1213 1
a1213 2
  echo "$as_me:1550: result: no" >&5
echo "${ECHO_T}no" >&6
d1216 1
d1233 1
a1233 1
      $LYNX -source $URL > $L 2>/dev/null
d1274 2
a1275 1
cat >confcache <<\_ACEOF
d1278 2
a1279 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.
d1281 8
a1288 2
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
d1290 1
a1290 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

d1296 17
a1312 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
d1314 2
a1315 2
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    cat confcache >$cache_file
d1322 2
d1328 3
a1330 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).
d1332 1
a1332 8
  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@@srcdir@@:*/:/;
s/^\([^=]*=[ 	]*\):*/\1/;
s/:*$//;
s/^[^=]*=[ 	]*$//;
}'
d1335 2
d1339 1
d1341 5
a1345 6
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:1690: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
d1348 5
d1354 1
a1354 1
# configure, is in config.log if it exists.
d1356 15
a1370 3
debug=false
SHELL=\${CONFIG_SHELL-$SHELL}
ac_cs_invocation="\$0 \$@@"
d1372 1
a1372 1
_ACEOF
d1374 3
a1376 17
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

# 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
d1378 49
a1426 8
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'
d1428 1
a1428 1
    as_ln_s='ln -s'
d1430 16
a1445 54
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
fi

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
a1446 20

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>."
d1449 1
a1449 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'`\\"
d1451 1
a1451 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
d1453 7
a1459 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;;
d1462 1
a1462 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:1857: 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:1876: 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; }; } ;;
d1464 11
a1474 1
  *) ac_config_targets="$ac_config_targets $1" ;;
d1476 8
a1484 5
  shift
done

exec 5>>config.log
cat >&5 << _ACEOF
a1485 14
## ----------------------- ##
## 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
d1487 7
a1493 9
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:1912: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   { (exit 1); exit 1; }; };;
a1494 35
done

# 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
d1496 8
a1503 3
#
# CONFIG_HEADER section.
#
d1509 7
a1515 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'
d1517 6
a1522 1
ac_uD=',;t'
d1524 8
a1531 1
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
d1533 4
a1536 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 ;;
d1539 1
a1539 2
  test x"$ac_file" != x- && { echo "$as_me:1982: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
d1541 3
a1543 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:1993: 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:2006: 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
d1547 14
a1560 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
d1565 2
a1566 2
cat >>conftest.undefs <<\EOF
s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
d1569 3
a1571 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
d1573 1
a1573 1
while grep . conftest.undefs >/dev/null
d1575 6
a1580 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
d1582 7
a1588 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
d1590 1
a1590 1
rm -f conftest.undefs
d1592 8
a1599 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
d1601 2
a1602 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:2123: $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'`
d1604 2
a1605 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
d1607 2
a1608 3
  else
    cat $tmp/config.h
    rm -f $tmp/config.h
d1610 2
a1611 1
done
d1613 1
d1615 2
a1616 1
cat >>$CONFIG_STATUS <<\EOF
d1618 1
a1618 1
{ (exit 0); exit 0; }
d1621 2
a1622 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.17
log
@oops, 050608 turn out to be an octal number and is invalid, fixed it.
@
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 16
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
d470 3
a472 9
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 24
a550 1
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
d552 225
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
a889 3



d894 1
a894 1
if test ! -r ./conv-mach.sh 
d905 1
a905 1
cat >> confdefs.h <<EOF
d909 2
a910 3

echo $ac_n "checking machine name""... $ac_c" 1>&6
echo "configure:548: checking machine name" >&5
d913 1
a913 1
cat >> confdefs.h <<EOF
d917 2
a918 1
echo "$ac_t""$version" 1>&6
d928 2
a929 1
                echo "$ac_t"""$3"" 1>&6
d933 2
a934 1
                echo "$ac_t"""$4"" 1>&6
d955 2
a956 2
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:591: checking "$1"" >&5
d962 1
a962 1
	then 
d964 1
a964 1
	  then 
d975 2
a976 2
        echo $ac_n "checking "$1"""... $ac_c" 1>&6
echo "configure:611: checking "$1"" >&5
a1015 1

d1024 1
a1024 1
cat >> confdefs.h <<EOF
a1027 1

d1034 1
a1034 1
cat >> confdefs.h <<EOF
a1037 1

d1044 1
a1044 1
cat >> confdefs.h <<EOF
a1047 1

d1054 1
a1054 1
cat >> confdefs.h <<EOF
a1057 1

d1069 1
a1069 1
cat >> confdefs.h <<EOF
a1072 1

d1083 1
a1083 1
cat >> confdefs.h <<EOF
a1086 1

d1092 1
a1092 1
cat >> confdefs.h <<EOF
d1096 1
a1096 1
cat >> confdefs.h <<EOF
a1099 2


d1120 1
a1120 1
cat >> confdefs.h <<EOF
a1123 1

d1130 1
a1130 1
cat >> confdefs.h <<EOF
d1134 1
a1134 1
cat >> confdefs.h <<EOF
a1137 1

d1143 1
a1143 1
  std::vector<int> v;      
d1151 1
a1151 1
cat >> confdefs.h <<EOF
a1154 1

d1162 1
a1162 1
cat >> confdefs.h <<EOF
a1165 2


d1175 1
a1175 1
cat >> confdefs.h <<EOF
a1178 2


d1188 1
a1188 1
cat >> confdefs.h <<EOF
a1191 1

d1197 1
a1197 1
void foo(void) { 
d1203 1
a1203 1
cat >> confdefs.h <<EOF
a1206 1

d1212 1
a1212 1
cat >> confdefs.h <<EOF
a1215 1

d1228 1
a1228 1
then 
d1241 1
a1241 1
	cat >> confdefs.h <<EOF
a1246 1

d1252 1
a1252 1
cat >> confdefs.h <<EOF
a1255 2


d1267 1
a1267 1
cat >> confdefs.h <<EOF
a1270 1

d1282 1
a1282 1
cat >> confdefs.h <<EOF
a1285 1

d1298 1
a1298 1
cat >> confdefs.h <<EOF
a1301 1

d1303 1
a1303 1
then 
a1312 1

d1316 1
a1316 1
int main() { 
d1324 1
a1324 1
cat >> confdefs.h <<EOF
d1329 1
a1329 1
then 
d1338 13
d1359 2
a1360 2
echo $ac_n "checking subroutine name used by Fortran compiler""... $ac_c" 1>&6
echo "configure:1008: checking subroutine name used by Fortran compiler" >&5
d1365 2
a1366 2
  if eval "test \"`echo '$''{'fortran_postfix'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1372 1
a1372 1
    cat >> confdefs.h <<EOF
d1381 1
a1381 1
      cat >> confdefs.h <<EOF
d1390 1
a1390 1
        cat >> confdefs.h <<EOF
d1399 1
a1399 1
          cat >> confdefs.h <<EOF
d1412 1
a1412 1
  
d1415 2
a1416 1
  echo "$ac_t""$fortran_postfix" 1>&6
a1418 1

d1428 4
a1431 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1077: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_WGET'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1436 11
a1446 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"
d1449 1
a1449 1
WGET="$ac_cv_prog_WGET"
d1451 2
a1452 1
  echo "$ac_t""$WGET" 1>&6
d1454 2
a1455 1
  echo "$ac_t""no" 1>&6
d1460 4
a1463 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1106: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LYNX'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1468 11
a1478 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"
d1481 1
a1481 1
LYNX="$ac_cv_prog_LYNX"
d1483 2
a1484 1
  echo "$ac_t""$LYNX" 1>&6
d1486 2
a1487 1
  echo "$ac_t""no" 1>&6
d1492 4
a1495 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1135: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_TELNET'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1500 11
a1510 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"
d1513 1
a1513 1
TELNET="$ac_cv_prog_TELNET"
d1515 2
a1516 1
  echo "$ac_t""$TELNET" 1>&6
d1518 2
a1519 1
  echo "$ac_t""no" 1>&6
d1524 4
a1527 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1164: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1532 11
a1542 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"
d1545 1
a1545 1
UUDECODE="$ac_cv_prog_UUDECODE"
d1547 2
a1548 1
  echo "$ac_t""$UUDECODE" 1>&6
d1550 2
a1551 1
  echo "$ac_t""no" 1>&6
a1553 1
    
d1570 1
a1570 1
      $LYNX -source $URL > $L 2>/dev/null 
d1611 1
a1611 2
trap '' 1 2 15
cat > confcache <<\EOF
d1614 3
a1616 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.
d1618 2
a1619 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.
d1621 6
a1626 1
EOF
d1632 25
a1656 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
d1658 2
a1659 2
    echo "updating cache $cache_file"
    cat confcache > $cache_file
a1665 2
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

d1670 4
a1673 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.
d1675 8
a1682 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
a1684 2
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15

a1686 1
# Without the "./", some shells look in PATH for config.status.
d1688 6
a1693 5

echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
a1695 5
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
d1697 7
a1703 1
# configure, is in ./config.log if it exists.
d1705 8
a1712 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
d1714 2
a1715 1
ac_given_srcdir=$srcdir
d1717 5
a1721 3
trap 'rm -fr `echo " conv-autoconfig.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
d1723 8
a1730 49
# 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%@@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
d1732 1
a1732 1
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
d1734 54
a1787 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
d1789 20
d1811 5
a1815 1
cat >> $CONFIG_STATUS <<EOF
d1817 5
a1821 1
CONFIG_FILES=\${CONFIG_FILES-""}
d1823 19
a1841 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" ;;
d1844 37
a1880 1
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
d1882 1
a1882 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
a1883 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" ;;
d1885 5
d1891 14
d1906 9
a1914 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= ;;
d1916 35
d1952 3
a1954 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*
d1960 7
a1966 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'
d1968 1
a1968 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'
d1970 1
a1970 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
d1972 8
a1979 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" ;;
d1982 2
a1983 1
  echo creating $ac_file
d1985 29
a2013 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
d2017 30
a2046 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
d2051 2
a2052 2
cat >> conftest.vals <<\EOF
s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
d2055 33
a2087 3
# Break up conftest.vals because some shells have a limit on
# the size of here documents, and old seds have small limits too.

d2089 1
a2089 1
while :
d2091 8
a2098 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
d2100 7
a2106 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
d2108 1
a2108 1
rm -f conftest.vals
d2110 6
a2115 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
d2117 20
a2136 2
    # Remove last slash and all that follows it.  Not all systems have dirname.
      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
d2138 19
a2156 2
      # The file is in a subdirectory.
      test ! -d "$ac_dir" && mkdir "$ac_dir"
d2158 3
a2160 2
    rm -f $ac_file
    mv conftest.h $ac_file
d2162 1
a2162 2
fi; done

a2163 1
cat >> $CONFIG_STATUS <<EOF
d2165 1
a2165 2
EOF
cat >> $CONFIG_STATUS <<\EOF
d2167 1
a2167 1
exit 0
d2170 19
a2188 2
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
@


1.16
log
@increase charm version.
@
text
@d539 2
a540 1
VERSION=050608
d547 1
a547 1
echo "configure:547: checking machine name" >&5
d590 1
a590 1
echo "configure:590: checking "$1"" >&5
d610 1
a610 1
echo "configure:610: checking "$1"" >&5
d1007 1
a1007 1
echo "configure:1007: checking subroutine name used by Fortran compiler" >&5
d1076 1
a1076 1
echo "configure:1076: checking for $ac_word" >&5
d1105 1
a1105 1
echo "configure:1105: checking for $ac_word" >&5
d1134 1
a1134 1
echo "configure:1134: checking for $ac_word" >&5
d1163 1
a1163 1
echo "configure:1163: checking for $ac_word" >&5
@


1.15
log
@Added "caddr_t" cast to mmap call, for Solaris 8.
@
text
@d539 1
a539 1
VERSION=050607
@


1.14
log
@increased version number(some incompatibilty issue with the change in LB data structers)
@
text
@d913 1
d917 1
a917 1
	return mmap(a,l,PROT_READ+PROT_WRITE,
d929 1
d933 1
a933 1
	return mmap(a,l,PROT_READ+PROT_WRITE,
d1006 1
a1006 1
echo "configure:1005: checking subroutine name used by Fortran compiler" >&5
d1075 1
a1075 1
echo "configure:1074: checking for $ac_word" >&5
d1104 1
a1104 1
echo "configure:1103: checking for $ac_word" >&5
d1133 1
a1133 1
echo "configure:1132: checking for $ac_word" >&5
d1162 1
a1162 1
echo "configure:1161: checking for $ac_word" >&5
@


1.13
log
@Use .f90 for test f90 program.
Needed for MPI-SP.
@
text
@d539 1
a539 1
VERSION=050606
@


1.12
log
@Added test for signal-safe system() routine.
@
text
@d998 4
a1001 1
FCC=`echo $CMK_CF90 | cut -d' ' -f1`
d1003 3
a1005 28
# 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:1004: 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
d1007 1
a1007 1
if test -n "$FCL"
a1008 2
  echo $ac_n "checking subroutine name used by Fortran compiler""... $ac_c" 1>&6
echo "configure:1033: checking subroutine name used by Fortran compiler" >&5
a1011 6
  cat > conftest.f <<EOF
      SUBROUTINE FOO_FOO
      END
EOF
  $CMK_CF90 -c conftest.f > /dev/null 2> /dev/null

d1073 1
a1073 1
echo "configure:1104: checking for $ac_word" >&5
d1102 1
a1102 1
echo "configure:1133: checking for $ac_word" >&5
d1131 1
a1131 1
echo "configure:1162: checking for $ac_word" >&5
d1160 1
a1160 1
echo "configure:1191: checking for $ac_word" >&5
a1375 1
s%@@FCL@@%$FCL%g
@


1.11
log
@configure broken in net-win32. somehow $? of tests is lost when enters test_result. I have to make $? an argument of test_result().
@
text
@d858 10
d1003 1
a1003 1
echo "configure:994: checking for $ac_word" >&5
d1032 1
a1032 1
echo "configure:1023: checking subroutine name used by Fortran compiler" >&5
d1103 1
a1103 1
echo "configure:1094: checking for $ac_word" >&5
d1132 1
a1132 1
echo "configure:1123: checking for $ac_word" >&5
d1161 1
a1161 1
echo "configure:1152: checking for $ac_word" >&5
d1190 1
a1190 1
echo "configure:1181: checking for $ac_word" >&5
@


1.10
log
@Added check for dlopen and win32 LoadLibrary/GetProcAddress.
@
text
@d557 3
a559 2
# If the test suceeded, print $2 and set "pass"/clear "fail"
# If the test failed, print $3 and clear "pass"/set "fail"
d561 1
a561 1
	if test $? -eq 0
d563 1
a563 1
                echo "$ac_t"""$2"" 1>&6
d567 1
a567 1
                echo "$ac_t"""$3"" 1>&6
d574 1
a574 1
			echo "------- test script for $1 failed:"
d589 1
a589 1
echo "configure:589: checking "$1"" >&5
d591 1
a591 1
	test_result "$1" "$2" "$3"
d609 1
a609 1
echo "configure:609: checking "$1"" >&5
d611 1
a611 1
	test_result "$1" "$2" "$3"
d993 1
a993 1
echo "configure:993: checking for $ac_word" >&5
d1022 1
a1022 1
echo "configure:1022: checking subroutine name used by Fortran compiler" >&5
d1093 1
a1093 1
echo "configure:1093: checking for $ac_word" >&5
d1122 1
a1122 1
echo "configure:1122: checking for $ac_word" >&5
d1151 1
a1151 1
echo "configure:1151: checking for $ac_word" >&5
d1180 1
a1180 1
echo "configure:1180: checking for $ac_word" >&5
@


1.9
log
@advanced charm version for namd2.
@
text
@d857 42
d992 1
a992 1
echo "configure:951: checking for $ac_word" >&5
d1021 1
a1021 1
echo "configure:980: checking subroutine name used by Fortran compiler" >&5
d1092 1
a1092 1
echo "configure:1051: checking for $ac_word" >&5
d1121 1
a1121 1
echo "configure:1080: checking for $ac_word" >&5
d1150 1
a1150 1
echo "configure:1109: checking for $ac_word" >&5
d1179 1
a1179 1
echo "configure:1138: checking for $ac_word" >&5
@


1.8
log
@Added CMK_USE_BACKTRACE test for glibc backtrace support.
Also added more sensible comments to configure.in, and
check of environment variable "$autoconf_debug" to give verbose
errors.
@
text
@d539 1
a539 1
VERSION=050604
@


1.7
log
@updated Charm version number, update conv-autoconfig.h.in which should be done last time for long double type.
@
text
@d557 3
a559 8
# 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:564: checking "$1"" >&5
	$CMK_CXX -I../include -c $t -o test.o $4 > out 2>&1
d569 10
d580 11
d602 11
d615 1
a615 1
	rm -f $t test.o	> /dev/null 2>&1
d695 2
d766 1
a766 1

d781 1
d799 1
d812 1
a825 11
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


d827 1
a827 1
#test if we can have multiple delete like this
d841 3
a843 1
#test if has poll
d851 1
a851 1
test_cxx "whether it has poll" "yes" "no" ""
d867 1
a867 1
test_cxx "whether mmap() exists" "yes" "no" ""
d888 24
d913 5
a917 1
#test if has zlib
d920 1
a920 1
void foo(void) { 
d924 1
d927 1
a927 1
test_cxx "whether it has zlib" "yes" "no" "-lz"
d936 1
d942 3
a944 1
#test fortran subroutine name
d950 1
a950 1
echo "configure:896: checking for $ac_word" >&5
d979 1
a979 1
echo "configure:925: checking subroutine name used by Fortran compiler" >&5
d1040 1
a1040 1
#go get libpthread.a from charm website
d1050 1
a1050 1
echo "configure:996: checking for $ac_word" >&5
d1079 1
a1079 1
echo "configure:1025: checking for $ac_word" >&5
d1108 1
a1108 1
echo "configure:1054: checking for $ac_word" >&5
d1137 1
a1137 1
echo "configure:1083: checking for $ac_word" >&5
@


1.6
log
@Added CMK_LONG_LONG_DEFINED, CMK___int64_DEFINED, and CMK_LONG_DOUBLE_DEFINED.
@
text
@d539 1
a539 1
VERSION=050602
@


1.5
log
@Check for a working, namespaced STL.
@
text
@d624 1
d634 29
d664 1
a664 1
#define CMK_BOOL_UNDEFINED $fail
d895 1
a895 1
echo "configure:866: checking for $ac_word" >&5
d924 1
a924 1
echo "configure:895: checking subroutine name used by Fortran compiler" >&5
d995 1
a995 1
echo "configure:966: checking for $ac_word" >&5
d1024 1
a1024 1
echo "configure:995: checking for $ac_word" >&5
d1053 1
a1053 1
echo "configure:1024: checking for $ac_word" >&5
d1082 1
a1082 1
echo "configure:1053: checking for $ac_word" >&5
@


1.4
log
@set charm version number to 050602
@
text
@d723 17
d865 1
a865 1
echo "configure:849: checking for $ac_word" >&5
d894 1
a894 1
echo "configure:878: checking subroutine name used by Fortran compiler" >&5
d965 1
a965 1
echo "configure:949: checking for $ac_word" >&5
d994 1
a994 1
echo "configure:978: checking for $ac_word" >&5
d1023 1
a1023 1
echo "configure:1007: checking for $ac_word" >&5
d1052 1
a1052 1
echo "configure:1036: checking for $ac_word" >&5
@


1.3
log
@-lz for zlib redefine CMK_LIBS using $CMK_LIBS instead of real value.
@
text
@d539 1
a539 1
VERSION=050600
@


1.2
log
@Tiny change-- set the path needed by conv-mach-opt.sh.
@
text
@d837 1
a837 1
CMK_LIBS="$CMK_LIBS -lz"
@


1.1
log
@Renamed charmconfig configure.
@
text
@d527 1
d546 1
a546 1
echo "configure:546: checking machine name" >&5
d563 1
a563 1
echo "configure:563: checking "$1"" >&5
d848 1
a848 1
echo "configure:848: checking for $ac_word" >&5
d877 1
a877 1
echo "configure:877: checking subroutine name used by Fortran compiler" >&5
d948 1
a948 1
echo "configure:948: checking for $ac_word" >&5
d977 1
a977 1
echo "configure:977: checking for $ac_word" >&5
d1006 1
a1006 1
echo "configure:1006: checking for $ac_word" >&5
d1035 1
a1035 1
echo "configure:1035: checking for $ac_word" >&5
@

