* 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

@ -8,7 +8,10 @@ libspotgspn_la_SOURCES = \
gspn.cc \
gspnlib.h
check_PROGRAMS = dottygspn
check_PROGRAMS = dottygspn-rg dottygspn-srg
dottygspn_SOURCES = dottygspn.cc
dottygspn_LDADD = libspotgspn.la $(LIBGSPN_LDFLAGS)
dottygspn_rg_SOURCES = dottygspn.cc
dottygspn_rg_LDADD = libspotgspn.la $(LIBGSPNRG_LDFLAGS)
dottygspn_srg_SOURCES = dottygspn.cc
dottygspn_srg_LDADD = libspotgspn.la $(LIBGSPNSRG_LDFLAGS)