rename SPOT_NB_ACC to SPOT_MAX_ACCSETS
* NEWS, bin/autcross.cc, bin/autfilt.cc, bin/ltlcross.cc, configure.ac, spot/parseaut/parseaut.yy, spot/twa/acc.cc, spot/twa/acc.hh, tests/core/acc.cc, .gitlab-ci.yml: Here.
This commit is contained in:
parent
cc2c4615d0
commit
2e165f188d
10 changed files with 33 additions and 30 deletions
18
configure.ac
18
configure.ac
|
|
@ -60,16 +60,18 @@ AC_ARG_ENABLE([doxygen],
|
|||
AM_CONDITIONAL([ENABLE_DOXYGEN], [test "x${enable_doxygen:-no}" = xyes])
|
||||
|
||||
# Option to indicate the maximal number of acceptance marks
|
||||
AC_COMPUTE_INT([default_nb_acc], [8*sizeof(unsigned)])
|
||||
AC_ARG_ENABLE([nb-acc],
|
||||
[AC_HELP_STRING([--enable-nb-acc=N],
|
||||
[Use up to N acceptance marks])],
|
||||
[enable_nb_acc=$enableval], [enable_nb_acc=$default_nb_acc])
|
||||
if test 0 = `expr $enable_nb_acc % $default_nb_acc`
|
||||
AC_COMPUTE_INT([default_max_accsets], [8*sizeof(unsigned)])
|
||||
AC_ARG_ENABLE([max-accsets],
|
||||
[AC_HELP_STRING([--enable-max-accsets=N],
|
||||
[Support up to N acceptance sets])],
|
||||
[enable_max_accsets=$enableval],
|
||||
[enable_max_accsets=$default_max_accsets])
|
||||
if test 0 -eq `expr $enable_max_accsets % $default_max_accsets`
|
||||
then
|
||||
AC_DEFINE_UNQUOTED([NB_ACC], [$enable_nb_acc], [The number of acceptance marks])
|
||||
AC_DEFINE_UNQUOTED([MAX_ACCSETS], [$enable_max_accsets],
|
||||
[The maximal number of acceptance sets supported (also known as acceptance marks)])
|
||||
else
|
||||
AC_ERROR([The argument of --enable-nb-acc must be a multiple of $default_nb_acc])
|
||||
AC_ERROR([The argument of --enable-max-accsets must be a multiple of $default_nb_acc])
|
||||
fi
|
||||
|
||||
# Activate C11 for gnulib tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue