* lib/Makefile.am, lib/alloca.c, lib/alloca.in.h, lib/argp-ba.c, lib/argp-eexst.c, lib/argp-fmtstream.c, lib/argp-fmtstream.h, lib/argp-fs-xinl.c, lib/argp-help.c, lib/argp-namefrob.h, lib/argp-parse.c, lib/argp-pin.c, lib/argp-pv.c, lib/argp-pvh.c, lib/argp-xinl.c, lib/argp.h, lib/asnprintf.c, lib/basename-lgpl.c, lib/dirname-lgpl.c, lib/dirname.h, lib/dosname.h, lib/errno.in.h, lib/float+.h, lib/float.c, lib/float.in.h, lib/getopt.c, lib/getopt.in.h, lib/getopt1.c, lib/getopt_int.h, lib/gettext.h, lib/intprops.h, lib/itold.c, lib/malloc.c, lib/memchr.c, lib/memchr.valgrind, lib/mempcpy.c, lib/printf-args.c, lib/printf-args.h, lib/printf-parse.c, lib/printf-parse.h, lib/rawmemchr.c, lib/rawmemchr.valgrind, lib/size_max.h, lib/sleep.c, lib/stdalign.in.h, lib/stdbool.in.h, lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/stdlib.in.h, lib/strcasecmp.c, lib/strchrnul.c, lib/strchrnul.valgrind, lib/strerror-override.c, lib/strerror-override.h, lib/strerror.c, lib/string.in.h, lib/strings.in.h, lib/stripslash.c, lib/strncasecmp.c, lib/strndup.c, lib/strnlen.c, lib/sys_types.in.h, lib/sysexits.in.h, lib/unistd.in.h, lib/vasnprintf.c, lib/vasnprintf.h, lib/verify.h, lib/vsnprintf.c, lib/wchar.in.h, lib/xsize.h, m4/00gnulib.m4, m4/alloca.m4, m4/argp.m4, m4/dirname.m4, m4/double-slash-root.m4, m4/errno_h.m4, m4/exponentd.m4, m4/extensions.m4, m4/float_h.m4, m4/getopt.m4, m4/gnulib-cache.m4, m4/gnulib-common.m4, m4/gnulib-comp.m4, m4/gnulib-tool.m4, m4/include_next.m4, m4/intmax_t.m4, m4/inttypes_h.m4, m4/longlong.m4, m4/malloc.m4, m4/math_h.m4, m4/memchr.m4, m4/mempcpy.m4, m4/mmap-anon.m4, m4/multiarch.m4, m4/nocrash.m4, m4/off_t.m4, m4/printf.m4, m4/rawmemchr.m4, m4/size_max.m4, m4/sleep.m4, m4/ssize_t.m4, m4/stdalign.m4, m4/stdbool.m4, m4/stddef_h.m4, m4/stdint.m4, m4/stdint_h.m4, m4/stdio_h.m4, m4/stdlib_h.m4, m4/strcase.m4, m4/strchrnul.m4, m4/strerror.m4, m4/string_h.m4, m4/strings_h.m4, m4/strndup.m4, m4/strnlen.m4, m4/sys_socket_h.m4, m4/sys_types_h.m4, m4/sysexits.m4, m4/unistd_h.m4, m4/vasnprintf.m4, m4/vsnprintf.m4, m4/warn-on-use.m4, m4/wchar_h.m4, m4/wchar_t.m4, m4/wint_t.m4, m4/xsize.m4, tools/snippet/_Noreturn.h, tools/snippet/arg-nonnull.h, tools/snippet/c++defs.h, tools/snippet/warn-on-use.h: New files from gnulib 1af55d85d9762a679b4302d5995f05ccd883e956. * configure.ac, Makefile.am: Adjust to compile gnulib. * src/bin/Makefile.am: Adjust to use gnulib. * README: Mention lib/.
177 lines
4.8 KiB
Text
177 lines
4.8 KiB
Text
# Copyright (C) 2008, 2009, 2010, 2011, 2012 Laboratoire de Recherche et
|
|
# Développement de l'Epita (LRDE).
|
|
# Copyright (C) 2003, 2004, 2005, 2006, 2007 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 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.
|
|
|
|
AC_PREREQ([2.61])
|
|
AC_INIT([spot], [0.9.2a], [spot@lrde.epita.fr])
|
|
AC_CONFIG_AUX_DIR([tools])
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
AM_INIT_AUTOMAKE([1.11 gnu tar-ustar color-tests parallel-tests])
|
|
AC_CONFIG_HEADERS([config.h])dnl Private config, not to be used in .hh files.
|
|
AX_PREFIX_CONFIG_H([src/misc/_config.h])dnl Public config, for .hh files.
|
|
|
|
# If the user didn't supply a CFLAGS value,
|
|
# set an empty one to prevent autoconf to stick -O2 -g here.
|
|
test -z "$CFLAGS" && CFLAGS=
|
|
test -z "$CXXFLAGS" && CXXFLAGS=
|
|
|
|
adl_ENABLE_DEVEL
|
|
|
|
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
|
|
gl_EARLY
|
|
|
|
AM_PROG_CC_C_O
|
|
AC_PROG_CXX
|
|
|
|
AM_PROG_LEX
|
|
AC_PROG_YACC
|
|
|
|
gl_INIT
|
|
|
|
AC_LANG(C++)
|
|
|
|
AC_HEADER_UNORDERED_MAP
|
|
AC_HEADER_TR1_UNORDERED_MAP
|
|
AC_HEADER_EXT_HASH_MAP
|
|
|
|
AX_CHECK_BUDDY
|
|
AX_CHECK_LBTT
|
|
AX_CHECK_GSPNLIB
|
|
AX_CHECK_BOOST([1.34], [103400])
|
|
|
|
AC_CHECK_HEADERS([sys/times.h])
|
|
AC_CHECK_FUNCS([times srand48 drand48])
|
|
|
|
LT_CONFIG_LTDL_DIR([ltdl])
|
|
LT_INIT([win32-dll])
|
|
LTDL_INIT([subproject convenience])
|
|
|
|
adl_ENABLE_DEBUG
|
|
ad_GCC_OPTIM
|
|
adl_NDEBUG
|
|
|
|
spot_INTEL
|
|
if test x$enable_warnings = xyes; then
|
|
CF_GXX_WARNINGS
|
|
fi
|
|
|
|
AM_CONDITIONAL([NEVER], [false])
|
|
# We need the absolute path for dot in the "doc/dot" script. Other place
|
|
# only require a relative path.
|
|
AC_PATH_PROG([DOT], [dot])
|
|
AC_CHECK_PROG([LBT], [lbt], [lbt])
|
|
AC_CHECK_PROG([LTL2BA], [ltl2ba], [ltl2ba])
|
|
AC_CHECK_PROG([LTL3BA], [ltl3ba], [ltl3ba])
|
|
AC_CHECK_PROG([MODELLA], [modella], [modella])
|
|
AC_CHECK_PROG([LTL2NBA], [script4lbtt.py], [script4lbtt.py])
|
|
AC_CHECK_PROG([PERL], [perl], [perl])
|
|
AC_CHECK_PROG([SPIN], [spin], [spin])
|
|
AX_CHECK_VALGRIND
|
|
AC_CHECK_PROG([WRING2LBTT], [wring2lbtt], [wring2lbtt])
|
|
# Debian has a binary for SWIG 2.0 named swig2.0 and they kept swig as
|
|
# an alias for swig-1.3. Let's use the former when available.
|
|
AC_CHECK_PROGS([SWIG], [swig2.0 swig], [swig])
|
|
|
|
AC_CONFIG_FILES([
|
|
Makefile
|
|
bench/Makefile
|
|
bench/emptchk/Makefile
|
|
bench/emptchk/defs
|
|
bench/gspn-ssp/Makefile
|
|
bench/gspn-ssp/defs
|
|
bench/ltlcounter/Makefile
|
|
bench/ltlcounter/defs
|
|
bench/ltlclasses/Makefile
|
|
bench/ltlclasses/defs
|
|
bench/ltl2tgba/Makefile
|
|
bench/ltl2tgba/defs
|
|
bench/scc-stats/Makefile
|
|
bench/split-product/Makefile
|
|
bench/wdba/Makefile
|
|
bench/wdba/defs
|
|
doc/Doxyfile
|
|
doc/Makefile
|
|
doc/tl/Makefile
|
|
iface/dve2/defs
|
|
iface/dve2/Makefile
|
|
iface/gspn/defs
|
|
iface/gspn/Makefile
|
|
iface/Makefile
|
|
lib/Makefile
|
|
src/bin/Makefile
|
|
src/eltlparse/Makefile
|
|
src/eltltest/defs
|
|
src/eltltest/Makefile
|
|
src/evtgbaalgos/Makefile
|
|
src/evtgba/Makefile
|
|
src/evtgbaparse/Makefile
|
|
src/evtgbatest/defs
|
|
src/evtgbatest/Makefile
|
|
src/kripke/Makefile
|
|
src/ltlast/Makefile
|
|
src/ltlenv/Makefile
|
|
src/ltlparse/Makefile
|
|
src/kripkeparse/Makefile
|
|
src/kripketest/Makefile
|
|
src/kripketest/defs
|
|
src/ltltest/defs
|
|
src/ltltest/Makefile
|
|
src/ltlvisit/Makefile
|
|
src/Makefile
|
|
src/misc/Makefile
|
|
src/neverparse/Makefile
|
|
src/sanity/Makefile
|
|
src/saba/Makefile
|
|
src/sabaalgos/Makefile
|
|
src/sabatest/defs
|
|
src/sabatest/Makefile
|
|
src/tgbaalgos/gtec/Makefile
|
|
src/tgbaalgos/Makefile
|
|
src/tgba/Makefile
|
|
src/taalgos/Makefile
|
|
src/ta/Makefile
|
|
src/tgbaparse/Makefile
|
|
src/tgbatest/defs
|
|
src/tgbatest/Makefile
|
|
wrap/Makefile
|
|
wrap/python/Makefile
|
|
wrap/python/ajax/Makefile
|
|
wrap/python/tests/Makefile
|
|
])
|
|
AC_CONFIG_FILES([bench/ltl2tgba/ltl2baw.pl:bench/ltl2tgba/ltl2baw.in],
|
|
[chmod +x bench/ltl2tgba/ltl2baw.pl])
|
|
AC_CONFIG_FILES([doc/dot], [chmod +x doc/dot])
|
|
AC_CONFIG_FILES([wrap/python/tests/run], [chmod +x wrap/python/tests/run])
|
|
AC_OUTPUT
|