# -*- mode: shell-script; coding: utf-8 -*- # Copyright (C) 2012 Laboratoire de Recherche et Développement # de l'Epita (LRDE). # Copyright (C) 2005 Laboratoire d'Informatique de Paris 6 (LIP6), # département Systèmes Répartis Coopératifs (SRC), Université Pierre # et Marie Curie. # # This file is part of Spot, a model checking library. # # Spot 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 3 of the License, or # (at your option) any later version. # # Spot 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, see . # Ensure we are running from the right directory. test -f ./defs || { echo "defs: not found in current directory" 1>&2 exit 1 } srcdir='@srcdir@' # Ensure $srcdir is set correctly. test -f "$srcdir/defs.in" || { echo "$srcdir/defs.in not found, check \$srcdir" 1>&2 exit 1 } top_builddir="@top_builddir@" LBT="@LBT@" LBTT="@LBTT@" LBTT_TRANSLATE="@LBTT_TRANSLATE@" LTL2BA="@LTL2BA@" LTL3BA="@LTL3BA@" LTL2NBA="@LTL2NBA@" LTL2TGBA="@top_builddir@/src/bin/ltl2tgba@EXEEXT@" MODELLA="@MODELLA@" SPIN="@SPIN@" WRING2LBTT="@WRING2LBTT@" ($LBTT --version) >/dev/null 2>&1 || { echo "$LBTT not available. Try configuring with --with-included-lbtt." exit 77 } for var in LBT LTL2BA LTL3BA LTL2NBA MODELLA SPIN WRING2LBTT do if eval 'test -z "$'$var'"'; then eval HAVE_$var=no else eval HAVE_$var=yes fi done