configure.ac 3.28 KB
Newer Older
1
# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Laboratoire
2
3
# 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
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# 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.

22
AC_PREREQ([2.61])
23
AC_INIT([spot], [0.4a])
24
AC_CONFIG_AUX_DIR([tools])
25
AC_CONFIG_MACRO_DIR([m4])
26
AM_INIT_AUTOMAKE([1.11 gnits nostdinc tar-ustar color-tests parallel-tests])
27

28
29
30
31
32
# 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=

33
adl_ENABLE_DEVEL
34
35
adl_CHECK_PYTHON

36
37
AC_PROG_CC
AM_PROG_CC_C_O
38
39
40
41
42
43
44
AC_PROG_CXX

AM_PROG_LEX
AC_PROG_YACC

AC_LANG(C++)

45
AX_CHECK_BUDDY
46
AX_CHECK_LBTT
47
AX_CHECK_GSPNLIB
48
AX_BOOST_BASE([1.34])
49

50
51
AC_CHECK_FUNCS([srand48 drand48])

52
LT_INIT([win32-dll])
53

54
spot_INTEL
55
CF_GXX_WARNINGS
56
57
58
adl_ENABLE_DEBUG
ad_GCC_OPTIM
adl_NDEBUG
59

60
AM_CONDITIONAL([NEVER], [false])
61
AC_CHECK_PROG([DOT], [dot], [dot])
62
63
64
65
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])
66
AC_CHECK_PROG([PERL], [perl], [perl])
67
AC_CHECK_PROG([SPIN], [spin], [spin])
68
AX_CHECK_VALGRIND
69
AC_CHECK_PROG([WRING2LBTT], [wring2lbtt], [wring2lbtt])
70
71
72

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