Make it possible not to build Python bindings.
* configure.ac: Add a --disable-python option tied to a USE_PYTHON conditional. * README: Document the option. * wrap/Makefile.am: Use the conditional.
This commit is contained in:
parent
ebc92d4688
commit
4b0a3a7a37
5 changed files with 42 additions and 3 deletions
|
|
@ -1,3 +1,12 @@
|
||||||
|
2012-01-17 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
|
Make it possible not to build Python bindings.
|
||||||
|
|
||||||
|
* configure.ac: Add a --disable-python option tied to
|
||||||
|
a USE_PYTHON conditional.
|
||||||
|
* README: Document the option.
|
||||||
|
* wrap/Makefile.am: Use the conditional.
|
||||||
|
|
||||||
2012-01-17 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
2012-01-17 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
Fix position of the Send button with WebKit.
|
Fix position of the Send button with WebKit.
|
||||||
|
|
|
||||||
2
NEWS
2
NEWS
|
|
@ -1,5 +1,7 @@
|
||||||
New in spot 0.8.1a:
|
New in spot 0.8.1a:
|
||||||
|
|
||||||
|
* configure now has a --disable-python option to disable
|
||||||
|
the compilation of Python bindings.
|
||||||
* Bug fixes:
|
* Bug fixes:
|
||||||
- spot::ltl::length() forgot to count the '&' and '|' operators
|
- spot::ltl::length() forgot to count the '&' and '|' operators
|
||||||
in an LTL formula.
|
in an LTL formula.
|
||||||
|
|
|
||||||
14
README
14
README
|
|
@ -18,7 +18,9 @@ Requirements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Spot requires a complete installation of Python (version 2.0 or
|
Spot requires a complete installation of Python (version 2.0 or
|
||||||
later). Especially, Python's headers files should be installed.
|
later). Especially, Python's headers files should be installed. If
|
||||||
|
you don't have Python installed, you should run configure with
|
||||||
|
the --disable-python option (see below).
|
||||||
|
|
||||||
Spot also uses modified versions of BuDDy (a binary decision diagram),
|
Spot also uses modified versions of BuDDy (a binary decision diagram),
|
||||||
and LBTT (an LTL to Büchi test bench). You do not need to install
|
and LBTT (an LTL to Büchi test bench). You do not need to install
|
||||||
|
|
@ -57,6 +59,13 @@ flags specific to Spot:
|
||||||
build, and installation of the included versions of these package,
|
build, and installation of the included versions of these package,
|
||||||
even when compatible versions are already installed.
|
even when compatible versions are already installed.
|
||||||
|
|
||||||
|
--disable-python
|
||||||
|
Turn off the compilation of Python bindings. These bindings are
|
||||||
|
currently used to run a couple of tests, and to build the CGI
|
||||||
|
script that translates LTL formulae on-line. You may safely
|
||||||
|
disable these, especially if you do not have a working Python
|
||||||
|
installation or if you are attempting some cross-compilation.
|
||||||
|
|
||||||
--enable-devel
|
--enable-devel
|
||||||
Enable debugging symbols, turn off aggressive optimizations, and
|
Enable debugging symbols, turn off aggressive optimizations, and
|
||||||
turn on assertions. This option is effective by default in
|
turn on assertions. This option is effective by default in
|
||||||
|
|
@ -172,3 +181,6 @@ End:
|
||||||
LocalWords: gtec Tarjan tgbaparse tgbatest doc html PDF spotref pdf cgi ELTL
|
LocalWords: gtec Tarjan tgbaparse tgbatest doc html PDF spotref pdf cgi ELTL
|
||||||
LocalWords: CGI ltl iface BDD Couvreur's evtgba emptchk kripke Kripke saba vm
|
LocalWords: CGI ltl iface BDD Couvreur's evtgba emptchk kripke Kripke saba vm
|
||||||
LocalWords: eltlparse eltltest SABA sabaalgos sabatest ssp ltlcouter scc SCC
|
LocalWords: eltlparse eltltest SABA sabaalgos sabatest ssp ltlcouter scc SCC
|
||||||
|
LocalWords: formulae optimizations kripkeparse kripketest Automata
|
||||||
|
LocalWords: neverparse ltlcounter ltlclasses parallelizing automata
|
||||||
|
LocalWords: wdba WDBA ajax dve DiVinE ltdl Libtool's dlopen
|
||||||
|
|
|
||||||
16
configure.ac
16
configure.ac
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (C) 2008, 2009, 2010, 2011 Laboratoire de Recherche et
|
# Copyright (C) 2008, 2009, 2010, 2011, 2012 Laboratoire de Recherche et
|
||||||
# Développement de l'Epita (LRDE).
|
# Développement de l'Epita (LRDE).
|
||||||
# Copyright (C) 2003, 2004, 2005, 2006, 2007 Laboratoire d'Informatique de
|
# Copyright (C) 2003, 2004, 2005, 2006, 2007 Laboratoire d'Informatique de
|
||||||
# Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC), Université
|
# Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC), Université
|
||||||
|
|
@ -35,7 +35,19 @@ test -z "$CFLAGS" && CFLAGS=
|
||||||
test -z "$CXXFLAGS" && CXXFLAGS=
|
test -z "$CXXFLAGS" && CXXFLAGS=
|
||||||
|
|
||||||
adl_ENABLE_DEVEL
|
adl_ENABLE_DEVEL
|
||||||
adl_CHECK_PYTHON
|
|
||||||
|
AC_ARG_ENABLE([python],
|
||||||
|
[AC_HELP_STRING([--disable-python],
|
||||||
|
[do not compile Python bindings])],
|
||||||
|
[], [enable_python=yes])
|
||||||
|
|
||||||
|
AM_CONDITIONAL([USE_PYTHON], [test "x${enable_python:-yes}" = xyes])
|
||||||
|
|
||||||
|
if test "x${enable_python:-yes}" = xyes; then
|
||||||
|
AC_MSG_NOTICE([You may configure with --disable-python ]dnl
|
||||||
|
[if you do not need Python bindings.])
|
||||||
|
adl_CHECK_PYTHON
|
||||||
|
fi
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AM_PROG_CC_C_O
|
AM_PROG_CC_C_O
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
## Copyright (C) 2012 Laboratoire de Recherche et Developpement de
|
||||||
|
## l'Epita (LRDE).
|
||||||
## Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
|
## Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||||
## département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
## département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||||
## et Marie Curie.
|
## et Marie Curie.
|
||||||
|
|
@ -19,4 +21,6 @@
|
||||||
## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
## 02111-1307, USA.
|
## 02111-1307, USA.
|
||||||
|
|
||||||
|
if USE_PYTHON
|
||||||
SUBDIRS = python
|
SUBDIRS = python
|
||||||
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue