* m4/gspnlib.m4: Check for libgspnRG.a and libgspnSRG.a.

Define LIBGSPNRG_LDFLAGS and LIBGSPNSRG_LDFLAGS, not
LIBGSPN_LDFLAGS.
* iface/gspn/Makefile.am: Adjust, build dottygspn-rg and
dottygspn-srg instead of dottygspn.
* iface/gspn/gspn.cc (EVENT_TRUE): Undefine.
(tgba_gspn_private_::~tgba_gspn_private_): Free all_indexes.
* iface/gspn/dottygspn.cc (main): Destroy the automaton before
its dictionnary.
This commit is contained in:
Alexandre Duret-Lutz 2003-07-22 13:11:32 +00:00
parent 44993317ea
commit 94a9543f38
5 changed files with 41 additions and 21 deletions

View file

@ -12,9 +12,11 @@ main(int argc, char **argv)
spot::bdd_dict* dict = new spot::bdd_dict();
spot::tgba_gspn a(dict, env);
{
spot::tgba_gspn a(dict, env);
spot::dotty_reachable(std::cout, &a);
spot::dotty_reachable(std::cout, &a);
}
delete dict;
}