configure.ac 3.48 KB
Newer Older
1
2
# Copyright (C) 2008, 2009, 2010 Laboratoire de Recherche et
# Dveloppement de l'Epita (LRDE).
Guillaume Sadegh's avatar
Guillaume Sadegh committed
3
4
5
# Copyright (C) 2003, 2004, 2005, 2006, 2007 Laboratoire d'Informatique de
# Paris 6 (LIP6), dpartement Systmes Rpartis Coopratifs (SRC), Universit
# Pierre et Marie Curie.
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# 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 2 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 Spot; see the file COPYING.  If not, write to the Free
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.

24
AC_PREREQ([2.61])
25
AC_INIT([spot], [0.4a], [spot@lrde.epita.fr])
26
AC_CONFIG_AUX_DIR([tools])
27
AC_CONFIG_MACRO_DIR([m4])
28
AM_INIT_AUTOMAKE([1.11 gnits nostdinc tar-ustar color-tests parallel-tests])
29

30
31
32
33
34
# If the user didn't supplied a CFLAGS value,
# set an empty one to prevent autoconf to stick -O2 -g here.
test -z "$CFLAGS" && CFLAGS=
test -z "$CXXFLAGS" && CXXFLAGS=

35
adl_ENABLE_DEVEL
36
37
adl_CHECK_PYTHON

38
39
AC_PROG_CC
AM_PROG_CC_C_O
40
41
42
43
44
45
46
AC_PROG_CXX

AM_PROG_LEX
AC_PROG_YACC

AC_LANG(C++)

47
AX_CHECK_BUDDY
48
AX_CHECK_LBTT
49
AX_CHECK_GSPNLIB
50
AX_CHECK_BOOST([1.34], [103400])
51

52
53
AC_CHECK_FUNCS([srand48 drand48])

54
LT_INIT([win32-dll])
55

56
spot_INTEL
57
CF_GXX_WARNINGS
58
59
60
adl_ENABLE_DEBUG
ad_GCC_OPTIM
adl_NDEBUG
61

62
AM_CONDITIONAL([NEVER], [false])
63
AC_CHECK_PROG([DOT], [dot], [dot])
64
65
66
67
AC_CHECK_PROG([LBT], [lbt], [lbt])
AC_CHECK_PROG([LTL2BA], [ltl2ba], [ltl2ba])
AC_CHECK_PROG([MODELLA], [modella], [modella])
AC_CHECK_PROG([LTL2NBA], [script4lbtt.py], [script4lbtt.py])
68
AC_CHECK_PROG([PERL], [perl], [perl])
69
AC_CHECK_PROG([SPIN], [spin], [spin])
70
AX_CHECK_VALGRIND
71
AC_CHECK_PROG([WRING2LBTT], [wring2lbtt], [wring2lbtt])
72
73
74

AC_CONFIG_FILES([
  Makefile
75
76
77
  bench/Makefile
  bench/emptchk/Makefile
  bench/emptchk/defs
78
79
  bench/gspn-ssp/Makefile
  bench/gspn-ssp/defs
80
81
  bench/ltlcounter/Makefile
  bench/ltlcounter/defs
82
83
  bench/ltl2tgba/Makefile
  bench/ltl2tgba/defs
Flix Abecassis's avatar
Flix Abecassis committed
84
85
  bench/scc-stats/Makefile
  bench/split-product/Makefile
86
  doc/Doxyfile
87
  doc/Makefile
88
  iface/gspn/defs
89
90
  iface/gspn/Makefile
  iface/Makefile
91
  iface/nips/Makefile
92
  iface/nips/nipstest/defs
93
94
  iface/nips/nipstest/Makefile
  iface/nips/nips_vm/Makefile
95
96
  src/eltlparse/Makefile
  src/eltltest/defs
97
  src/eltltest/Makefile
98
  src/evtgbaalgos/Makefile
99
  src/evtgba/Makefile
100
101
  src/evtgbaparse/Makefile
  src/evtgbatest/defs
102
103
  src/evtgbatest/Makefile
  src/kripke/Makefile
104
  src/ltlast/Makefile
105
  src/ltlenv/Makefile
106
107
  src/ltlparse/Makefile
  src/ltltest/defs
108
  src/ltltest/Makefile
109
  src/ltlvisit/Makefile
110
  src/Makefile
111
112
  src/misc/Makefile
  src/sanity/Makefile
113
114
115
116
  src/saba/Makefile
  src/sabaalgos/Makefile
  src/sabatest/defs
  src/sabatest/Makefile
117
  src/tgbaalgos/gtec/Makefile
118
119
  src/tgbaalgos/Makefile
  src/tgba/Makefile
120
  src/tgbaparse/Makefile
121
  src/tgbatest/defs
122
  src/tgbatest/Makefile
123
  wrap/Makefile
124
  wrap/python/Makefile
125
  wrap/python/cgi-bin/Makefile
126
  wrap/python/tests/Makefile
127
])
128
129
AC_CONFIG_FILES([bench/ltl2tgba/ltl2baw.pl:bench/ltl2tgba/ltl2baw.in],
	        [chmod +x bench/ltl2tgba/ltl2baw.pl])
130
AC_CONFIG_FILES([wrap/python/tests/run], [chmod +x wrap/python/tests/run])
131
AC_OUTPUT