File mttroot/mtt/bin/mtt_check_vars artifact 6f57f70578 part of check-in b93f24a29b


#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: mtt_check_vars

# P.J.Gawthrop July 1997
# Copyright (c) P.J.Gawthrop 1997


###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.3  1998/01/23 13:33:47  peterg
## Removed OCTAVE_PATH
## Removed RMATRIX
##
# Revision 1.2  1997/12/04  10:41:49  peterg
# Added -p argument to print environment variables
#
## Revision 1.1  1997/07/27 13:12:03  peterg
## Initial revision
##
###############################################################

#Look for a command line argument
while [ -n "`echo $1 | grep '-'`" ]; do
  case $1 in
	-p )
		print=print ;;
	*)
		echo "$1 is an invalid argument - ignoring" ;;
  esac
  shift
done

# Octave
#mtt_check_var "$OCTAVE_PATH" "OCTAVE_PATH" "$print" "Octave"

# LaTeX
#mtt_check_var "$TEXFORMATS" "TEXFORMATS" "$print" "LaTeX"
#mtt_check_var "$TEXINPUTS" "TEXINPUTS" "$print" "LaTeX"
#mtt_check_var "$TEXFONTS" "TEXFONTS" "$print" "LaTeX"

# MTT variables
mtt_check_var "$MAKE" "MAKE" "$print" "MTT"
mtt_check_var "$MTTPATH" "MTTPATH" "$print" "MTT"
mtt_check_var "$MTT_COMPONENTS" "MTT_CRS" "$print" "MTT"
mtt_check_var "$MTT_COMPONENTS" "MTT_COMPONENTS" "$print" "MTT"
mtt_check_var "$MTT_COMPONENTS" "MTT_EXAMPLES" "$print" "MTT"
mtt_check_var "$MTT_LIB" "MTT_LIB" "$print" "MTT"
mtt_check_var "$MATRIX" "MATRIX" "$print" "MTT"
mtt_check_var "$SYMBOLIC" "SYMBOLIC" "$print" "MTT"
mtt_check_var "$FIG" "FIG" "$print" "MTT"
mtt_check_var "$PSVIEW" "PSVIEW" "$print" "MTT"
mtt_check_var "$HTMLVIEW" "HTMLVIEW" "$print" "MTT"
mtt_check_var "$DVIVIEW" "DVIVIEW" "$print" "MTT"
mtt_check_var "$CC" "CC" "$print" "MTT"
mtt_check_var "$LATEX2HTML" "LATEX2HTML" "$print" "MTT"





MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]