#!/bin/sh
# Copyright (C) 1999 Marek Rychlik <rychlik@u.arizona.edu>
#  
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

# Generated automatically from Iterator.in by configure.

#----------------------------------------------------------------
# Iterator working directory; Iterator allows to add new examples
# to it, by generating C-code at runtime, compiling it into a dll
# (dynamically linked library), also called a "shared object" under
# Unix. Unix dll's typically have extension .so, which is
# the Iterator default. Set this variable to a different value
# if this is unacceptable. This directory must be read/write.
#----------------------------------------------------------------
ITERATOR_LIBRARY=$HOME/IteratorLibrary

#================================================================
# THE REMAINDER OF THIS FILE SHOULD REQUIRE NO CHANGES!
#================================================================
prefix=/usr
exec_prefix=${prefix}


#!/bin/sh
# Generated automatically from paths.in by configure.
# Standard paths relative to prefix and exec_prefix
PACKAGE=Iterator
VERSION=2.10
prefix=/usr
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
sbindir=${exec_prefix}/sbin
libexecdir=${exec_prefix}/libexec
datadir=${prefix}/share
sysconfdir=${prefix}/etc
sharedstatedir=${prefix}/com
localstatedir=${prefix}/var
libdir=${exec_prefix}/lib
includedir=${prefix}/include
oldincludedir=/usr/include
infodir=${prefix}/info
mandir=${prefix}/man

pkgdatadir=${datadir}/$PACKAGE
pkglibdir=${libdir}/$PACKAGE
pkglibexecdir=${libexecdir}/$PACKAGE
pkgincludedir=${includedir}/$PACKAGE
pkghelpdir=${pkgdatadir}/help
#----------------------------------------------------------------
# Where the Open Windows is installed
#----------------------------------------------------------------
if test -z "$OPENWINHOME";  then
    OPENWINHOME=@OPENWINHOME@
    export OPENWINHOME
fi
#----------------------------------------------------------------
# Where the Open Windows .info files are installed
#----------------------------------------------------------------
if test -z "$HELPPATH";  then
    HELPPATH=$OPENWINHOME/lib/help
fi

#----------------------------------------------------------------
# Where the 'iterator' executable and 'itcc' files reside 
#----------------------------------------------------------------
ITERATOR_LIBEXECDIR=$pkglibexecdir

#----------------------------------------------------------------
# Where the 'iterator.info' file resides
#----------------------------------------------------------------
ITERATOR_PKGDATADIR=$pkghelpdir

#----------------------------------------------------------------
# Where the helpfiles (*.info) reside; the XView help system
# assumes that the variable HELPPATH points to the directory where
# all .info files reside. Iterator by default will look in the
# directory $ITERATOR_PREFIX/help, so that it is possible to
# install help without root access.
#----------------------------------------------------------------
ITERATOR_HELP=$ITERATOR_PKGDATADIR

#----------------------------------------------------------------
# Where Iterator build-in library libexample.so resides
#----------------------------------------------------------------
ITERATOR_LIB=$pkglibdir

#----------------------------------------------------------------
# Set LD_LIBRARY_PATH variable to include Iterator dll directories.
#----------------------------------------------------------------
LD_LIBRARY_PATH=$ITERATOR_LIBRARY:$ITERATOR_LIB:$LD_LIBRARY_PATH

#----------------------------------------------------------------
# Set PATH so that iterator scripts can be found
#----------------------------------------------------------------
PATH=$ITERATOR_LIBEXECDIR:$PATH

#----------------------------------------------------------------
# Make sure XView can find Iterator help files, by
# including the $ITERATOR_HELP path. You can comment this out
# if you installed help files under the default HELPPATH.
#----------------------------------------------------------------
HELPPATH=$HELPPATH:$ITERATOR_HELP

export ITERATOR_PREFIX ITERATOR_HELP ITERATOR_LIBEXECDIR \
    ITERATOR_LIB ITERATOR_LIBRARY LD_LIBRARY_PATH \
    PATH HELPPATH

#----------------------------------------------------------------
# Call iterator
#----------------------------------------------------------------
exec iterator $*
