configure.ac 3.02 KB
Newer Older
1
2
3
# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 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
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
AM_INIT_AUTOMAKE([1.10 gnits nostdinc tar-ustar])
26

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

32
adl_ENABLE_DEVEL
33
34
adl_CHECK_PYTHON

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

AM_PROG_LEX
AC_PROG_YACC

AC_LANG(C++)

44
AX_CHECK_BUDDY
45
AX_CHECK_LBTT
46
AX_CHECK_GSPNLIB
47

48
49
AC_CHECK_FUNCS([srand48 drand48])

50
AC_LIBTOOL_WIN32_DLL
51
52
AC_PROG_LIBTOOL

53
spot_INTEL
54
CF_GXX_WARNINGS
55
56
57
adl_ENABLE_DEBUG
ad_GCC_OPTIM
adl_NDEBUG
58

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

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