diff options
-rw-r--r-- | gfsm/Changes | 3 | ||||
-rw-r--r-- | gfsm/configure.in | 2 | ||||
-rw-r--r-- | gfsm/src/Makefile.am | 5 | ||||
-rw-r--r-- | gfsm/src/noconfig.h | 22 | ||||
-rw-r--r-- | gfsm/src/pd_gfsm.c | 9 | ||||
-rw-r--r-- | gfsm/src/test-automaton.pd | 24 |
6 files changed, 49 insertions, 16 deletions
diff --git a/gfsm/Changes b/gfsm/Changes index 082742a..fb46c02 100644 --- a/gfsm/Changes +++ b/gfsm/Changes @@ -1,5 +1,8 @@ Change log for PD external 'pd-gfsm' +v0.0403 Tue, 11 Dec 2007 22:33:18 +0100 + + updated for gfsm-0.0.10-pre1 (noconfig.h, config.h preprocessor magic) + v0.02 Tue, 21 Sep 2004 01:30:45 +0200 + added 'arc_seek' message to gfsm_state + added 'add_weight' message to gfsm_state diff --git a/gfsm/configure.in b/gfsm/configure.in index 4fb922a..e1c5ef9 100644 --- a/gfsm/configure.in +++ b/gfsm/configure.in @@ -4,7 +4,7 @@ AC_PREREQ(2.5) dnl Some handy macros define([THE_PACKAGE_NAME], [pd-gfsm]) -define([THE_PACKAGE_VERSION], [0.0402]) +define([THE_PACKAGE_VERSION], [0.0403]) define([THE_PACKAGE_AUTHOR], [moocow@ling.uni-potsdam.de]) AC_INIT(THE_PACKAGE_NAME, THE_PACKAGE_VERSION, THE_PACKAGE_AUTHOR) diff --git a/gfsm/src/Makefile.am b/gfsm/src/Makefile.am index 06b741c..3432641 100644 --- a/gfsm/src/Makefile.am +++ b/gfsm/src/Makefile.am @@ -47,6 +47,7 @@ pddoc_DATA = \ gfsm_SOURCES = \ config.h \ + noconfig.h \ atom_alphabet.h atom_alphabet.c \ pd_alphabet.h pd_alphabet.c \ \ @@ -60,6 +61,10 @@ gfsm_SOURCES = \ pd_gfsm.h pd_gfsm.c +noconfig.h: config.h.in + rm -f $@ + cp $< $@ + #---------------------------------------------------------------------- # external compilation : flags #----------------------------------------------------------------------- diff --git a/gfsm/src/noconfig.h b/gfsm/src/noconfig.h new file mode 100644 index 0000000..5fc7800 --- /dev/null +++ b/gfsm/src/noconfig.h @@ -0,0 +1,22 @@ +/* src/config.h.in. Generated from configure.in by autoheader. */ + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Version number of package */ +#undef VERSION diff --git a/gfsm/src/pd_gfsm.c b/gfsm/src/pd_gfsm.c index 9f8ad48..0659454 100644 --- a/gfsm/src/pd_gfsm.c +++ b/gfsm/src/pd_gfsm.c @@ -25,10 +25,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *=============================================================================*/ -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - #include <pd_gfsm.h> #include <pd_alphabet.h> @@ -39,6 +35,11 @@ # include <pd_state.h> #endif +#ifdef HAVE_CONFIG_H +# include <noconfig.h> +# include <config.h> +#endif + /*===================================================================== * Structures and Types *=====================================================================*/ diff --git a/gfsm/src/test-automaton.pd b/gfsm/src/test-automaton.pd index 6cdf837..45adf57 100644 --- a/gfsm/src/test-automaton.pd +++ b/gfsm/src/test-automaton.pd @@ -1,4 +1,4 @@ -#N canvas 31 7 974 447 10; +#N canvas 169 63 974 447 10; #X obj 13 7 gfsm; #X obj 22 324 gfsm_automaton; #X obj 22 359 print GFSM-1; @@ -30,15 +30,15 @@ #X obj 237 97 s \$0-fsm; #X obj 349 121 s \$0-fsm; #X obj 496 126 s \$0-fsm; -#X msg 104 148 load test.tfst; -#X msg 103 188 save tmp.tfst; -#X msg 229 148 load_bin test.gfst; +#X msg 102 176 load test.tfst; +#X msg 101 216 save tmp.tfst; +#X msg 253 148 load_bin test.gfst; #X msg 250 304 save_bin tmp.gfst; #X msg 26 202 print; #X msg 22 179 clear; #X msg 18 158 info; #X obj 17 226 s \$0-fsm; -#X obj 88 246 s \$0-fsm; +#X obj 86 274 s \$0-fsm; #X obj 236 338 s \$0-fsm; #X msg 437 170 complement; #X msg 450 211 closure \$1; @@ -66,9 +66,9 @@ #X msg 631 269 reverse; #X msg 631 296 rmepsilon; #X msg 634 320 union a2; -#X msg 103 168 load test2.tfst; -#X msg 233 169 load_bin test2.gfst; -#X msg 238 190 load_bin test3.gfst; +#X msg 101 196 load test2.tfst; +#X msg 257 169 load_bin test2.gfst; +#X msg 262 190 load_bin test3.gfst; #X obj 46 131 tgl 20 0 \$0-drawmode-s empty mode 0 -6 0 8 -225271 -1 -1 0 1; #X msg 246 74 root; @@ -128,7 +128,7 @@ #X obj 113 360 s \$0-fsm-out; #X obj 741 16 pool; #X msg 94 120 automaton fsm-help; -#X msg 105 220 load gfsm-help.tfst; +#X msg 103 248 load gfsm-help.tfst; #N canvas 22 7 466 454 draw 0; #X obj 361 16 zexy; #X obj 26 15 r \$0-draw-s; @@ -174,12 +174,13 @@ #X connect 19 0 20 0; #X connect 20 0 6 0; #X restore 16 251 pd draw; -#X msg 258 216 load_bin lkptest.gfst; -#X msg 261 238 load_bin lkpin.gfst; +#X msg 270 222 load_bin lkptest.gfst; +#X msg 273 244 load_bin lkpin.gfst; #X obj 21 385 gfsm_automaton a1; #X obj 22 404 gfsm_automaton a2; #X msg 626 245 connect; #X msg 739 352 clear; +#X msg 96 139 automaton lookup-help; #X connect 1 0 2 0; #X connect 1 0 81 0; #X connect 3 0 5 0; @@ -258,3 +259,4 @@ #X connect 87 0 38 0; #X connect 90 0 53 0; #X connect 91 0 53 0; +#X connect 92 0 5 0; |