dnl Process this file with autoconf 2.13 to produce a configure script
dnl for the CCA tutorial software installation.

# This script uses the macros in acsite.m4.

#-----------------------------------------------------------------------------
#       Disable caching since it seems to get in the way
#       more times than it helps us.
#-----------------------------------------------------------------------------
define([AC_CACHE_LOAD], )dnl
define([AC_CACHE_SAVE], )dnl
AC_PREREQ(2.13)
AC_REVISION($Id: configure.in.html,v 1.1 2002/06/19 21:19:06 norris Exp $)dnl

# Make sure we're us.
AC_INIT(LinearFunction_CCA.h)

# Check prefix
if test "${prefix}" = "NONE"; then
    prefix=/usr/local
fi
if test "${exec_prefix}" = "NONE"; then
    exec_prefix=$prefix
fi

#------------------------------------------------------------------------------
# Directory where we keep the autoconf stuff and some HPC environment folklore.
#------------------------------------------------------------------------------
AC_CONFIG_AUX_DIR(config)

#------------------------------------------------------------------------------
# Include macros from acsite.m4
#------------------------------------------------------------------------------

CCATUT_COMPILER
CCATUT_UNIX_PROGRAMS
CCATUT_SPEC_CCA
CCATUT_LIB_CCAFE

# End of included macros 

#------------------------------------------------------------------------------
# Settings specific to the Integrator component
#------------------------------------------------------------------------------
INTEGRATOR_VERSION="0.1.0"
INTEGRATOR_MAJOR_VERSION=0
INTEGRATOR_MINOR_VERSION=1
INTEGRATOR_PATCH_LEVEL=0

# source tree vars
INTEGRATOR_ROOT=`pwd`
INTEGRATOR_INSTALL_ROOT=$prefix/integrator

AC_SUBST(INTEGRATOR_ROOT)
AC_SUBST(INTEGRATOR_INSTALL_ROOT)
AC_SUBST(INTEGRATOR_MAJOR_VERSION)
AC_SUBST(INTEGRATOR_MINOR_VERSION)
AC_SUBST(INTEGRATOR_PATCH_LEVEL)
AC_SUBST(INTEGRATOR_VERSION)

INTEGRATOR_GENFILES="Makefile CCAFERC_COMPLETE"

AC_SUBST(INTEGRATOR_GENFILES)
AC_OUTPUT($INTEGRATOR_GENFILES)