Revision: 10403 http://pure-data.svn.sourceforge.net/pure-data/?rev=10403&view=rev Author: mukau Date: 2008-11-29 23:22:39 +0000 (Sat, 29 Nov 2008)
Log Message: -----------
+ added local copy of gfsm source tree in gfsm/ subdir (for pd-extended auto-builds) + external builds now use static local libgfsm by default (insulates vs. API change, etc.)
Modified Paths: -------------- trunk/externals/moocow/gfsm/Changes trunk/externals/moocow/gfsm/Makefile.am trunk/externals/moocow/gfsm/README.pod trunk/externals/moocow/gfsm/README.txt trunk/externals/moocow/gfsm/autogen.sh trunk/externals/moocow/gfsm/configure.in trunk/externals/moocow/gfsm/src/gfsm-help.pd trunk/externals/moocow/gfsm/src/noconfig.h trunk/externals/moocow/gfsm/src/pd_gfsm.c
Added Paths: ----------- trunk/externals/moocow/gfsm/gfsm/ trunk/externals/moocow/gfsm/gfsm/AUTHORS trunk/externals/moocow/gfsm/gfsm/COPYING trunk/externals/moocow/gfsm/gfsm/Changes trunk/externals/moocow/gfsm/gfsm/INSTALL trunk/externals/moocow/gfsm/gfsm/Makefile.am trunk/externals/moocow/gfsm/gfsm/README.cvs trunk/externals/moocow/gfsm/gfsm/README.html trunk/externals/moocow/gfsm/gfsm/README.pod trunk/externals/moocow/gfsm/gfsm/README.txt trunk/externals/moocow/gfsm/gfsm/autogen.sh trunk/externals/moocow/gfsm/gfsm/config/ trunk/externals/moocow/gfsm/gfsm/config/.cvsignore trunk/externals/moocow/gfsm/gfsm/config/Makefile.am trunk/externals/moocow/gfsm/gfsm/configure.ac trunk/externals/moocow/gfsm/gfsm/configure.gnu trunk/externals/moocow/gfsm/gfsm/doc/ trunk/externals/moocow/gfsm/gfsm/doc/.cvsignore trunk/externals/moocow/gfsm/gfsm/doc/Makefile.am trunk/externals/moocow/gfsm/gfsm/doc/libgfsm/ trunk/externals/moocow/gfsm/gfsm/doc/libgfsm/.cvsignore trunk/externals/moocow/gfsm/gfsm/doc/libgfsm/Makefile.am trunk/externals/moocow/gfsm/gfsm/doc/libgfsm/doxy-filter.perl trunk/externals/moocow/gfsm/gfsm/doc/libgfsm/libgfsm-header.html trunk/externals/moocow/gfsm/gfsm/doc/libgfsm/libgfsm.css trunk/externals/moocow/gfsm/gfsm/doc/libgfsm/libgfsm.doxy.dev trunk/externals/moocow/gfsm/gfsm/doc/libgfsm/libgfsm.doxy.in trunk/externals/moocow/gfsm/gfsm/doc/libgfsm/mainpage.dox.in trunk/externals/moocow/gfsm/gfsm/doc/programs/ trunk/externals/moocow/gfsm/gfsm/doc/programs/.cvsignore trunk/externals/moocow/gfsm/gfsm/doc/programs/Makefile.am trunk/externals/moocow/gfsm/gfsm/doc/programs/gfsmprogs.css trunk/externals/moocow/gfsm/gfsm/doc/programs/gfsmutils.skel trunk/externals/moocow/gfsm/gfsm/gfsm.magic trunk/externals/moocow/gfsm/gfsm/gfsm.pc.in trunk/externals/moocow/gfsm/gfsm/m4/ trunk/externals/moocow/gfsm/gfsm/m4/.cvsignore trunk/externals/moocow/gfsm/gfsm/m4/alloca.m4 trunk/externals/moocow/gfsm/gfsm/m4/eoverflow.m4 trunk/externals/moocow/gfsm/gfsm/m4/getdelim.m4 trunk/externals/moocow/gfsm/gfsm/m4/gnulib-cache.m4 trunk/externals/moocow/gfsm/gfsm/m4/gnulib-comp.m4 trunk/externals/moocow/gfsm/gfsm/m4/gnulib-tool.m4 trunk/externals/moocow/gfsm/gfsm/m4/intmax_t.m4 trunk/externals/moocow/gfsm/gfsm/m4/inttypes_h.m4 trunk/externals/moocow/gfsm/gfsm/m4/longdouble.m4 trunk/externals/moocow/gfsm/gfsm/m4/longlong.m4 trunk/externals/moocow/gfsm/gfsm/m4/onceonly_2_57.m4 trunk/externals/moocow/gfsm/gfsm/m4/signed.m4 trunk/externals/moocow/gfsm/gfsm/m4/size_max.m4 trunk/externals/moocow/gfsm/gfsm/m4/stdint_h.m4 trunk/externals/moocow/gfsm/gfsm/m4/vasnprintf.m4 trunk/externals/moocow/gfsm/gfsm/m4/vasprintf.m4 trunk/externals/moocow/gfsm/gfsm/m4/wchar_t.m4 trunk/externals/moocow/gfsm/gfsm/m4/wint_t.m4 trunk/externals/moocow/gfsm/gfsm/m4/xsize.m4 trunk/externals/moocow/gfsm/gfsm/src/ trunk/externals/moocow/gfsm/gfsm/src/.cvsignore trunk/externals/moocow/gfsm/gfsm/src/Makefile.am trunk/externals/moocow/gfsm/gfsm/src/libgfsm/ trunk/externals/moocow/gfsm/gfsm/src/libgfsm/.cvsignore trunk/externals/moocow/gfsm/gfsm/src/libgfsm/Makefile.am trunk/externals/moocow/gfsm/gfsm/src/libgfsm/config.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/dummy-bison.sh trunk/externals/moocow/gfsm/gfsm/src/libgfsm/dummy-flex.sh trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsm.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsm.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmAlgebra.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmAlgebra.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmAlphabet.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmAlphabet.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArc.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArc.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArc.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArcIndex.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArcIndex.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArcIndex.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArcIter.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArcIter.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArcIter.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArcList.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArcList.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArcList.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArith.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmArith.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmAssert.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmAutomaton.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmAutomaton.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmAutomaton.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmAutomatonIO.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmAutomatonIO.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmBitVector.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmBitVector.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmBitVector.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmCommon.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmCommon.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmCompound.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmCompound.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmCompound.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmConfig.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmConfigAuto.h.in trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmDebug.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmDebug.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmDraw.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmDraw.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmEnum.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmEnum.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmEnum.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmError.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmError.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmIO.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmIO.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmIndexed.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmIndexed.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmIndexed.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmIndexedIO.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmIndexedIO.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmLookup.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmLookup.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmMem.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmMem.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmMem.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmPaths.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmPaths.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmRegex.lex.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmRegex.lex.l trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmRegex.tab.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmRegex.tab.y trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmRegexCompiler.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmRegexCompiler.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmScanner.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmScanner.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmSemiring.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmSemiring.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmSemiring.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmSet.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmSet.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmSet.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmState.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmState.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmState.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmStateSet.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmStateSet.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmStateSet.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmTrie.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmTrie.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmUtils.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmUtils.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmVersion.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmVersion.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmWeightMap.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmWeightMap.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gfsmWeightMap.hi trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/ trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/.cvsignore trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/Makefile.am trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/Makefile.in trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/alloca_.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/asnprintf.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/asprintf.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/getdelim.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/getdelim.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/printf-args.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/printf-args.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/printf-parse.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/printf-parse.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/size_max.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/vasnprintf.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/vasnprintf.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/vasprintf.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/vasprintf.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/gnulib/xsize.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/graveyard.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/inc2dot.perl trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/ trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/.cvsignore trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/Makefile trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/NOTES.lookup trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/alphachurn.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/arctab-1test.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/arytest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/arytest2.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/asciigen.perl trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/bvtest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/calc2test.l trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/calc2test.y trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/calctest.l trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/calctest.y trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/commatest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/compre2test.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/comprelex.l trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/compretest.l trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/compretest.y trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/ctest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/dettest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/flex2test.l trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/flex3test.l trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/flextest.l trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/ftest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/gbtest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/gfsm-chop.perl trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/gfsm-out-degrees.perl trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/gfsmRegexCompiler-v1.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/gfsmRegexCompiler-v1.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/gfsmlabdump.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/gscantest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/intfloat.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/iotest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/lab2ary.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/labchurn.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/labcount.perl trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/labprobs.h trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/lkptest.tfst trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/macrotest.i trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/memtest-alphabet.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/memtest-automaton.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/memtest-general.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/memtest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/module/ trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/module/.cvsignore trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/module/Makefile trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/module/mod1a.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/module/mod1b.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/module/mod1test.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/nofinal.tfst trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/offsettest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/ortest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/pathtest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/pathtest.tfst trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/priotest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/prtest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/prtest.tfst trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/ptest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/rudtest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/rudtest.tfst trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/rudtest2.tfst trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/seek2test.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/seek3test.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/seektest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/seektest.dat trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/settest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/sizes.bc trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/sizetest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/sltest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/statetest.tfst trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/structtest.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/tagh-lo.testus trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/test-255.lab trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/test-stateset.c trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/test.lab trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/test.txt trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/test2.lab trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/test2.txt trunk/externals/moocow/gfsm/gfsm/src/libgfsm/tests/testme.lab trunk/externals/moocow/gfsm/gfsm/src/programs/ trunk/externals/moocow/gfsm/gfsm/src/programs/.cvsignore trunk/externals/moocow/gfsm/gfsm/src/programs/Makefile.am trunk/externals/moocow/gfsm/gfsm/src/programs/arith.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/c1.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/c2.lab trunk/externals/moocow/gfsm/gfsm/src/programs/c2.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/c2a.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/c2b.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/c3a.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/c3b.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/c3filt.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/cat1.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/cat2.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/comp1a.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/comp1b.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/comp2.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/comp2a.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/comp2b.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/complement-in.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/compose-mohri-1.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/compose-mohri-2.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/config.h trunk/externals/moocow/gfsm/gfsm/src/programs/connect-in.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/ctest.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/ctest2.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/det.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/determinize-in.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/elookup.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmarcsort.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmarcsort_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmarcsort_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmarcsort_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmarith.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmarith_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmarith_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmarith_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmclosure.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmclosure_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmclosure_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmclosure_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompile.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompile_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompile_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompile_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcomplement.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcomplement_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcomplement_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcomplement_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompose.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompose_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompose_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompose_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompre.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompre_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompre_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmcompre_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconcat.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconcat_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconcat_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconcat_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconnect.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconnect_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconnect_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconnect_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconvert.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconvert_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconvert_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmconvert_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdeterminize.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdeterminize_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdeterminize_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdeterminize_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdifference.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdifference_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdifference_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdifference_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdraw.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdraw_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdraw_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmdraw_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmheader.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmheader_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmheader_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmheader_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmindex.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmindex_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmindex_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmindex_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsminfo.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsminfo_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsminfo_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsminfo_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmintersect.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmintersect_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmintersect_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmintersect_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsminvert.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsminvert_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsminvert_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsminvert_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmlabels.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmlabels_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmlabels_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmlabels_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmlookup.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmlookup_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmlookup_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmlookup_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmoptional.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmoptional_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmoptional_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmoptional_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmprint.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmprint_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmprint_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmprint_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmproduct.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmproduct_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmproduct_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmproduct_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmproject.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmproject_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmproject_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmproject_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmrenumber.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmrenumber_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmrenumber_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmrenumber_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmreplace.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmreplace_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmreplace_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmreplace_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmreverse.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmreverse_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmreverse_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmreverse_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmrmepsilon.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmrmepsilon_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmrmepsilon_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmrmepsilon_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmsigma.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmsigma_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmsigma_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmsigma_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmstrings.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmstrings_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmstrings_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmstrings_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmunion.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmunion_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmunion_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmunion_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmview.sh trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmviterbi.gog trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmviterbi_cmdparser.c trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmviterbi_cmdparser.h trunk/externals/moocow/gfsm/gfsm/src/programs/gfsmviterbi_main.c trunk/externals/moocow/gfsm/gfsm/src/programs/isect1.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/isect2.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/lkptest.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/p1.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/p2.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/prunetest.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/r1.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/r2.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/renumber.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/renumber2.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/rev1.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/rme.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/rme2.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/rme2b.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/rme3.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/sort.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/sortme.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/symtest.lab trunk/externals/moocow/gfsm/gfsm/src/programs/symtest.sym trunk/externals/moocow/gfsm/gfsm/src/programs/test+lab.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/test-rn.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/test.lab trunk/externals/moocow/gfsm/gfsm/src/programs/test.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/test2.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/test3.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/test4.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/test4b.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/test5.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/test6.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/test7.lab trunk/externals/moocow/gfsm/gfsm/src/programs/test7.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/test8.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/test9.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/testa.tfsa trunk/externals/moocow/gfsm/gfsm/src/programs/testa.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/testrn.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/vit-in.lab trunk/externals/moocow/gfsm/gfsm/src/programs/vit-out.lab trunk/externals/moocow/gfsm/gfsm/src/programs/vit-q.lab trunk/externals/moocow/gfsm/gfsm/src/programs/vit.tfst trunk/externals/moocow/gfsm/gfsm/src/programs/vit2.tfst trunk/externals/moocow/gfsm/gfsm/tests/ trunk/externals/moocow/gfsm/gfsm/tests/.cvsignore trunk/externals/moocow/gfsm/gfsm/tests/01_basic.at trunk/externals/moocow/gfsm/gfsm/tests/02_arith.at trunk/externals/moocow/gfsm/gfsm/tests/03_algebra.at trunk/externals/moocow/gfsm/gfsm/tests/Makefile.am trunk/externals/moocow/gfsm/gfsm/tests/atlocal.in trunk/externals/moocow/gfsm/gfsm/tests/data/ trunk/externals/moocow/gfsm/gfsm/tests/data/.cvsignore trunk/externals/moocow/gfsm/gfsm/tests/data/basic1.inf trunk/externals/moocow/gfsm/gfsm/tests/data/basic1.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/basic2.labs.inf trunk/externals/moocow/gfsm/gfsm/tests/data/basic2.labs.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/closure-plus-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/closure-plus-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/closure-star-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/closure-star-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/complement-b-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/complement-b-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/complement-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/complement-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/compose-in-1.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/compose-in-2.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/compose-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/concat-in-1.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/concat-in-2.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/concat-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/connect-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/connect-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/determinize-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/determinize-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/difference-in-1.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/difference-in-2.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/difference-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/intersect-in-1.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/intersect-in-2.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/intersect-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/intersect2-in-1.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/intersect2-in-2.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/intersect2-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/invert-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/invert-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/lookup-123-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/lookup-223-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/lookup.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/n_closure-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/n_closure-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/null.inf trunk/externals/moocow/gfsm/gfsm/tests/data/null.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/optional-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/optional-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/project-hi-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/project-hi-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/project-lo-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/project-lo-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/renumber-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/renumber-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/rmepsilon-in.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/rmepsilon-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/t1.linf trunk/externals/moocow/gfsm/gfsm/tests/data/test.lab trunk/externals/moocow/gfsm/gfsm/tests/data/union-in-1.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/union-in-2.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/union-want.tfst trunk/externals/moocow/gfsm/gfsm/tests/data/zzz-compile-all.sh trunk/externals/moocow/gfsm/gfsm/tests/package.m4 trunk/externals/moocow/gfsm/gfsm/tests/testsuite trunk/externals/moocow/gfsm/gfsm/tests/testsuite.at trunk/externals/moocow/gfsm/gfsm/wishlist.txt
Property Changed: ---------------- trunk/externals/moocow/gfsm/config/ trunk/externals/moocow/gfsm/src/
Modified: trunk/externals/moocow/gfsm/Changes =================================================================== --- trunk/externals/moocow/gfsm/Changes 2008-11-28 21:02:02 UTC (rev 10402) +++ trunk/externals/moocow/gfsm/Changes 2008-11-29 23:22:39 UTC (rev 10403) @@ -1,5 +1,9 @@ Change log for PD external 'pd-gfsm'
+v0.05 Sun, 30 Nov 2008 00:08:06 +0100 + + added local copy of gfsm source tree in gfsm/ subdir (for pd-extended auto-builds) + + external builds now use static local libgfsm by default (insulates vs. API change, etc.) + v0.0403 Tue, 11 Dec 2007 22:33:18 +0100 + updated for gfsm-0.0.10-pre1 (noconfig.h, config.h preprocessor magic)
Modified: trunk/externals/moocow/gfsm/Makefile.am =================================================================== --- trunk/externals/moocow/gfsm/Makefile.am 2008-11-28 21:02:02 UTC (rev 10402) +++ trunk/externals/moocow/gfsm/Makefile.am 2008-11-29 23:22:39 UTC (rev 10403) @@ -15,7 +15,8 @@ AUTOMAKE_OPTIONS = foreign
## --- recursion subdirectories -SUBDIRS = config src +#SUBDIRS = config src +SUBDIRS = @PD_GFSM_SUBDIRS@ config src
## --- pseudo-deps for '.SUFFIXES' SUFFIXES = .pod .txt
Modified: trunk/externals/moocow/gfsm/README.pod =================================================================== --- trunk/externals/moocow/gfsm/README.pod 2008-11-28 21:02:02 UTC (rev 10402) +++ trunk/externals/moocow/gfsm/README.pod 2008-11-29 23:22:39 UTC (rev 10403) @@ -2,7 +2,7 @@
README for pd external package 'gfsm'
-Last updated for pd-gfsm v0.04 +Last updated for pd-gfsm v0.05
=head1 DESCRIPTION
@@ -16,10 +16,14 @@
Available from http://crca.ucsd.edu/~msp/software.html
-=item libgfsm >= v0.0.8-pre6 +=item libgfsm >= v0.0.8-pre6 (optional)
-Available from http://www.ling.uni-potsdam.de/~moocow/projects/gfsm +A local copy of the libgfsm source tree is included with this distribution, +and should be built and used by default.
+Newer versions should be +available from http://www.ling.uni-potsdam.de/~moocow/projects/gfsm + =back
=head1 INSTALLATION
Modified: trunk/externals/moocow/gfsm/README.txt =================================================================== --- trunk/externals/moocow/gfsm/README.txt 2008-11-28 21:02:02 UTC (rev 10402) +++ trunk/externals/moocow/gfsm/README.txt 2008-11-29 23:22:39 UTC (rev 10403) @@ -1,6 +1,6 @@ README for pd external package 'gfsm'
- Last updated for pd-gfsm v0.04 + Last updated for pd-gfsm v0.05
DESCRIPTION pd-gfsm provides Pd bindings for the GFSM finite-state machine library. @@ -8,9 +8,13 @@ PREREQUISITES Pd Available from http://crca.ucsd.edu/~msp/software.html
- libgfsm >= v0.0.8-pre6 - Available from http://www.ling.uni-potsdam.de/~moocow/projects/gfsm + libgfsm >= v0.0.8-pre6 (optional) + A local copy of the libgfsm source tree is included with this + distribution, and should be built and used by default.
+ Newer versions should be available from + http://www.ling.uni-potsdam.de/~moocow/projects/gfsm + INSTALLATION Issue the following commands to the shell:
Modified: trunk/externals/moocow/gfsm/autogen.sh =================================================================== --- trunk/externals/moocow/gfsm/autogen.sh 2008-11-28 21:02:02 UTC (rev 10402) +++ trunk/externals/moocow/gfsm/autogen.sh 2008-11-29 23:22:39 UTC (rev 10403) @@ -11,6 +11,8 @@ MY_AMDIRS="." MY_ACDIRS="."
+MY_AGDIRS="./gfsm" + test -z "$ACLOCAL" && ACLOCAL=aclocal test -z "$AUTOHEADER" && AUTOHEADER=autoheader test -z "$AUTOMAKE" && AUTOMAKE=automake @@ -44,5 +46,12 @@ done fi
+if test -n "$MY_AGDIRS"; then + for d in $MY_AGDIRS ; do + echo "(cd $d ; ./autogen.sh)" + (cd $d ; ./autogen.sh) + done +fi + #echo "(./configure)" #./configure $*
Property changes on: trunk/externals/moocow/gfsm/config ___________________________________________________________________ Added: svn:ignore + *~ .*~ *.o *.lo *.la .libs *.a *.so aclocal.m4 Makefile Makefile.in README.txt configure .deps
depcomp missing config.guess config.sub ltmain.sh install-sh ylwrap
Modified: trunk/externals/moocow/gfsm/configure.in =================================================================== --- trunk/externals/moocow/gfsm/configure.in 2008-11-28 21:02:02 UTC (rev 10402) +++ trunk/externals/moocow/gfsm/configure.in 2008-11-29 23:22:39 UTC (rev 10403) @@ -4,7 +4,7 @@
dnl Some handy macros define([THE_PACKAGE_NAME], [pd-gfsm]) -define([THE_PACKAGE_VERSION], [0.0403]) +define([THE_PACKAGE_VERSION], [0.05]) define([THE_PACKAGE_AUTHOR], [moocow@ling.uni-potsdam.de])
AC_INIT(THE_PACKAGE_NAME, THE_PACKAGE_VERSION, THE_PACKAGE_AUTHOR) @@ -39,6 +39,9 @@ AC_PROG_INSTALL AC_PREFIX_DEFAULT(/usr/local)
+dnl v--- needed if Makefile.am uses _LTLIBRARIES targets +AC_PROG_LIBTOOL + dnl dnl Substitutions dnl @@ -126,18 +129,48 @@ fi pkgconfigdir="$ac_cv_pkgconfigdir" AC_SUBST(pkgconfigdir) +AC_SUBST(PKG_CONFIG) dnl dnl pkg-config dnl ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## gfsm:local +AC_ARG_ENABLE([static-gfsm], + AC_HELP_STRING([--enable-static-gfsm], [Use local static libgfsm rather than system library (default=yes)]), + [ac_cv_enable_static_gfsm="$enableval"], + [ac_cv_enable_static_gfsm="yes"])
+AC_MSG_CHECKING([whether to build static local libgfsm]) +if test "$ac_cv_enable_static_gfsm" = "yes"; then + AC_MSG_RESULT(yes) + AC_CONFIG_SUBDIRS(gfsm) + PD_GFSM_SUBDIRS="gfsm" + + IFLAGS="$IFLAGS -I$(top_srcdir)/gfsm/src/libgfsm -I$(top_builddir)/gfsm/src/libgfsm `$(PKG_CONFIG) --cflags-only-I $(top_srcdir)/gfsm/gfsm.pc`" + LFLAGS="$LFLAGS -L$(top_builddir)/gfsm/src/libgfsm `$(PKG_CONFIG) --cflags-only-I $(top_srcdir)/gfsm/gfsm.pc`" + LIBS="$LIBS $(top_builddir)/gfsm/src/libgfsm/libgfsm.la `$(PKG_CONFIG) --libs-only-l $(top_srcdir)/gfsm/gfsm.pc | sed -e's/-lgfsm//g'`" + + AC_DEFINE(PD_GFSM_WHICH, ["static"], [Which version of gfsm are we using?]) +else + PD_GFSM_SUBDIRS="" + AC_MSG_RESULT(no) +fi +AC_SUBST(PD_GFSM_SUBDIRS) + +AC_DEFINE_UNQUOTED(PD_GFSM_DATE, "`date`", [Date this external was configured]) +AC_DEFINE_UNQUOTED(PD_GFSM_USER, "$USER", [User who configured this external]) +## /gfsm:local +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv -## gfsm (pkg-config) -PKG_CHECK_MODULES(GFSM, gfsm >= 0.0.8, +## gfsm:system (pkg-config) +if test "$ac_cv_enable_static_gfsm" = "no"; then + PKG_CHECK_MODULES(GFSM, gfsm >= 0.0.8, [PC_HAVE_GFSM="yes"], [PC_HAVE_GFSM=""])
-if test "$PC_HAVE_GFSM" != "yes" ; then + if test "$PC_HAVE_GFSM" != "yes" ; then AC_MSG_WARN([]) AC_MSG_WARN([----------------------------------------------------------------]) AC_MSG_WARN([ gfsm library not found!]) @@ -147,21 +180,23 @@ AC_MSG_WARN([----------------------------------------------------------------]) AC_MSG_WARN([]) ac_cv_have_gfsm="no" -else + else ac_cv_have_gfsm="yes" -fi + fi
-if test "$ac_cv_have_gfsm" != "no" ; then + if test "$ac_cv_have_gfsm" != "no" ; then ##-- gfsm: library IFLAGS="$IFLAGS `$PKG_CONFIG --cflags-only-I gfsm`" LFLAGS="$LFLAGS `$PKG_CONFIG --libs-only-L gfsm`" LIBS="$LIBS `$PKG_CONFIG --libs-only-l gfsm`" + AC_DEFINE(PD_GFSM_WHICH, ["system"], [Which version of gfsm are we using?]) + fi fi -## /gfsm +## /gfsm:system ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv -## gfsm (global) +## gfsm:any AC_ARG_ENABLE(gfsm, AC_HELP_STRING([--disable-gfsm], [Globally disable gfsm support (causes build to fail!)]), [ac_cv_enable_gfsm="$enableval"], @@ -170,11 +205,9 @@ if test "$ac_cv_enable_gfsm" != "yes" ; then AC_MSG_ERROR([gfsm support disabled by user],1) fi - -## /gfsm (global) +## /gfsm:any ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- dnl -------------------------------------------------------------------- dnl BEGIN import from pd configure.in dnl --------------------------------------------------------------------
Added: trunk/externals/moocow/gfsm/gfsm/AUTHORS =================================================================== --- trunk/externals/moocow/gfsm/gfsm/AUTHORS (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/AUTHORS 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,31 @@ +Bryan Jurish moocow@ling.uni-potsdam.de wrote and maintains the 'gfsm' +package. + +Code from the gnulib project is included. +See the files in src/libgfsm/gnulib for details. + +Some modified code from the GLib project is included: ++ Code from glib/gslist.c adapted in src/libgfsm/gfsmArcList.c: + /* GLIB - Library of useful routines for C programming + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + * Modified by the GLib Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GLib Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GLib at ftp://ftp.gtk.org/pub/gtk/. + */
Added: trunk/externals/moocow/gfsm/gfsm/COPYING =================================================================== --- trunk/externals/moocow/gfsm/gfsm/COPYING (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/COPYING 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,510 @@ + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations +below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. +^L + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it +becomes a de-facto standard. To achieve this, non-free programs must +be allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. +^L + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control +compilation and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. +^L + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. +^L + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at least + three years, to give the same user the materials specified in + Subsection 6a, above, for a charge no more than the cost of + performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. +^L + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. +^L + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply, and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License +may add an explicit geographical distribution limitation excluding those +countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. +^L + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS +^L + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms +of the ordinary General Public License). + + To apply these terms, attach the following notices to the library. +It is safest to attach them to the start of each source file to most +effectively convey the exclusion of warranty; and each file should +have at least the "copyright" line and a pointer to where the full +notice is found. + + + <one line to give the library's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or +your school, if any, to sign a "copyright disclaimer" for the library, +if necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James + Random Hacker. + + <signature of Ty Coon>, 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + +
Added: trunk/externals/moocow/gfsm/gfsm/Changes =================================================================== --- trunk/externals/moocow/gfsm/gfsm/Changes (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/Changes 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,112 @@ +Change log for gfsm + +v0.0.10 Mon, Fri, 31 Oct 2008 14:29:52 +0100 + + added configure flag --disable-programs for static builds + + gfsmio_getdelim (local implementation): changed handling of GString data buffers + - formerly, GString data was literally returned as (*lineptr) + - old behavior breaks perl wrappers (e.g. _compile()) on OpenSuSE 11.0 + - workaround: GString data is copied to a new (char*) locally allocated with malloc() + + automaton I/O: changed header struct; added hacks for v0.0.9 header detection & parsing + + fixed an overflow bug in default gfsmio_getdelim() func + + added at&t-style escaped-string paring function: gfsm_alphabet_att_string_to_labels() + - wrapper:gfsm_alphabet_generic_string_to_labels() + ~ choose character-wise or att-style parsing via 'att_mode' flag + - added '--att-mode', '--map-mode', '--quiet' options to gfsmlabels + + moved gfsmArcList to a native linked-list type, rather than GSList + - saves 1 pointer per arc + - adapted some code from glib/gslist.c (sort, remove_link, etc) + + moved autoheader config file to gfsmAutoConfig.h + - added header-safe gfsmConfig.h hack to "safely" read in autoheader config + - requires clobbering any existing autoheader type macros with gfsmNoConfig.h + ~ there are better ways of doing this (e.g. sed), but this should suffice for most purposes + + altered behavior of gfsm_automaton_copy_shallow(), gfsm_automaton_shadow() + - root state id is no longer copied: not considered 'shallow' data + + moved most simple accessor function code from macros to 'static inline' defined in *.hi + - added configure option '--disable-inline' to disable function inlining + +v0.0.9 Fri, 23 Nov 2007 22:43:52 +0100 + + added "source" field to gfsmArc: source gfsmStateId + - fixed gfsm_automaton_reverse() and gfsmReverseArcIndex to use new feature + - added additional argument to various methods in gfsmArc.h to deal with new datum + + added shell tool gfsmindex, source files gfsmIndexed.[ch], gfsmIndexedIO.[ch] + - the "right way" to do this would be to go for a truly abstract automaton API, + but the price (virtualization, extraneous flag & limit checking, etc.) is daunting + + changed static int<->pointer casts to GPOINTER_TO_(U)INT, G(U)INT_TO_POINTER + + fixed gfsmWeight-related segfault bugs on 64-bit linux + - gfsm_weight2ptr() and gfsm_ptr2weight() are now implemented as true functions + using a "hidden" union type gfsmWeightOrPointer to handle memory stuff + - this happily also allows gcc to compile without -fno-strict-aliasing + + fixed bug reported by Alexis Nasr in gfsm_pointer_alphabet_new() macro + + fixed nasty bug in gfsm_alphabet_load_handle() and gfsmio_getc() causing + char decimal 255 to return as EOF + + re-implemented gfsm_automaton_compose() using implicit Mohri-Pereira-Riley filter + + fixed output-filename parsing bug in gfsmlabels + + added check for fsm->states->len==0 in is_cyclic(), fixes bug in gfsminfo + for empty automata created with gfsm_automaton_copy_shallow() (aka 'shadow') + - the real problem here is probably that copy_shallow() also copies root_id, even + though the corresponding state doesn't exist + + added gfsmArcIter copy() and clone() methods + +v0.0.9-pre? Mon, 29 Oct 2007 12:54:19 +0100 + + exposed guts of gfsm_automaton_compose() + - compose_prepare() into compose_old_prepare_fsm1(), compose_old_prepare_fsm2() + - should make it easier to hack a cascade implementation + +v0.0.8 Thu, 15 Feb 2007 12:05:41 +0100 + + updated build system to build more cleanly on non-development systems + - e.g. missing optgen.perl, flex, bison, pod2x, perl, etc. + + added gfsm.magic snippet for /etc/magic + - added 'install-magic' and 'uninstall-magic' targets for + manual magic maintainance, since there seems to be no good and safe + way to do this automagically (ugh)... + + added support for final weights + + changed binary format (backwards-compatible with dispatch function) + + added final-weight operations final_weight_(plus|times)() + + added optional(), replace(), insert_automaton() + + added lookup_viterbi(), viterbi_trellis_paths(), viterbi_trellis_bestpath() + + fixed a bug in gfsm_automaton_renumber_states() + + fixed a really stupid bug in gfsm_arclist_insert_link() for sorted insertion + + fixed some bugs in gfsm_automaton_rmepsilon() + + fixed an epsilon-related bug in compose() and intersect() + + fixed another epsilon-related bug in compose() + - implemented algorithm from: + Mohri, Pereira, & Riley (1996), "Weighted Automata in Text and Speech + Processing", Proc. ECAI '96, John Wiley & Sons, Ltd. + - calling conventions changed for compose_full() + + added gfsmScanner.[ch], gfsmRegexCompiler.[ch] + + added gfsmTrie, (quasi-)deterministic input acceptor (i/o pairs) + - currently geared towards storing frequencies + + added gfsmIO.[ch] : abstract I/O layer + - includes basic zlib compression support + - currently used only for text & binary automaton I/O, also text alphabet I/O + - TODO: use I/O layer for alphabet draw methods? regex compiler? + + added gnulib code for vasprintf(), getdelim() + - removed old gfsmCompat.h hack + +v0.0.7 Sun, 20 Nov 2005 14:39:33 +0100 + + added lookup(), paths(), path<->string conversion functions + + added semiring type "plog" (positive logs), added stable gfsm_log_add() function + + added intersect(), compose(), difference(), product(), rmepsilon() operations + + gobble less memory on load_bin_file() -- load states & arcs incrementally + - doing this right would require a stored binary file incompatibility, currently hacked. + + fixed a number of small bugs + +v0.0.6 Mon, 12 Sep 2005 01:45:46 +0200 + + added mingw32 patch (getline) + +v0.0.5 Wed, 22 Sep 2004 00:23:49 +0200 + + removed references to file "LICENSE" in header comments + + fixed small size bug in clear() for gfsmUserAlphabet + + added key-stringification to gfsm_automaton_draw() methods + +v0.0.4 Tue, 14 Sep 2004 15:57:56 +0200 + + fixed bug in gfsm_alphabet_size() for user alphabets + +v0.0.3 Mon, 13 Sep 2004 10:25:23 +0200 + + added some algebraic operations, fixed some bugs + +v0.0.2 Thu, 2 Sep 2004 17:34:18 +0200 + + basic accessors and algebra + +v0.0.1 Tue, 24 Aug 2004 11:34:59 +0200 + + created
Added: trunk/externals/moocow/gfsm/gfsm/INSTALL =================================================================== --- trunk/externals/moocow/gfsm/gfsm/INSTALL (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/INSTALL 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,229 @@ +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software +Foundation, Inc. + + This file is free documentation; the Free Software Foundation gives +unlimited permission to copy, distribute and modify it. + +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. (Caching is +disabled by default to prevent problems with accidental use of stale +cache files.) + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You only need +`configure.ac' if you want to change it or regenerate `configure' using +a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes awhile. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. Run `./configure --help' +for details on some of the pertinent environment variables. + + You can give `configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here +is an example: + + ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not support the `VPATH' +variable, you have to compile the package for one architecture at a +time in the source code directory. After you have installed the +package for one architecture, use `make distclean' before reconfiguring +for another architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' cannot figure out +automatically, but needs to determine by the type of machine the package +will run on. Usually, assuming the package is built to be run on the +_same_ architectures, `configure' can figure that out, but if it prints +a message saying it cannot guess the machine type, give it the +`--build=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS KERNEL-OS + + See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the machine type. + + If you are _building_ compiler tools for cross-compiling, you should +use the `--target=TYPE' option to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the +"host" platform (i.e., that on which the generated programs will +eventually be run) with `--host=TYPE'. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Defining Variables +================== + + Variables not defined in a site shell script can be set in the +environment passed to `configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the `configure' command line, using `VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +will cause the specified gcc to be used as the C compiler (unless it is +overridden in the site shell script). + +`configure' Invocation +====================== + + `configure' recognizes the following options to control how it +operates. + +`--help' +`-h' + Print a summary of the options to `configure', and exit. + +`--version' +`-V' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally `config.cache'. FILE defaults to `/dev/null' to + disable caching. + +`--config-cache' +`-C' + Alias for `--cache-file=config.cache'. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`configure' also accepts some other, not widely useful, options. Run +`configure --help' for more details. +
Added: trunk/externals/moocow/gfsm/gfsm/Makefile.am =================================================================== --- trunk/externals/moocow/gfsm/gfsm/Makefile.am (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/Makefile.am 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,155 @@ +# File: ./Makefile.am +# Package: gfsm +# Description: +# + top-level automake file +# +# Process this file with Automake to create Makefile.in. +#----------------------------------------------------------------------- + +#----------------------------------------------------------------------- +# Options & Subdirectories +#----------------------------------------------------------------------- + +## --- automake options +#AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-zip +AUTOMAKE_OPTIONS = foreign + +## --- recursion subdirectories +#SUBDIRS = config src doc tests +SUBDIRS = config src $(GFSM_SUBDIRS) + +## --- pseudo-deps for '.SUFFIXES' +SUFFIXES = .pc .pod .txt .html + +## --- package config data +pkgconfig_DATA = @PACKAGE@.pc + +##-- for gnulib +ACLOCAL_AMFLAGS = -I m4 + +#----------------------------------------------------------------------- +# Variables: cleanup +#----------------------------------------------------------------------- +## --- mostlyclean: built by 'make' & commonly rebuilt +#MOSTLYCLEANFILES = + +## --- clean: built by 'make' +#CLEANFILES = + +## --- distclean: built by 'configure' +DISTCLEANFILES = \ + config.log \ + config.cache \ + config.status + +## -- maintainerclean: built by maintainer / by hand +MAINTAINERCLEANFILES = *~ \ + Makefile Makefile.in \ + aclocal.m4 \ + configure \ + install-sh \ + stamp-h.in \ + config.h.in \ + magic.local \ + magic \ + *.tmp + +# $(PODS:.pod=.txt) +# $(PODS:.pod=.html) + +maintainer-clean-local: + rm -rf autom4te.cache + +#CVSCLEAN_SUBDIRS = $(SUBDIRS) + +#CVSCLEANFILES = Makefile.in Makefile + + +#----------------------------------------------------------------------- +# Additional Variables & Rules: PODS +#----------------------------------------------------------------------- +PODS = README.pod + +if HAVE_POD2TEXT +.pod.txt: + pod2text $< $@ +endif + +if HAVE_POD2HTML +.pod.html: + pod2html --outfile $@ $< +endif + +pkgdoc_DATA = \ + $(PODS:.pod=.txt) \ + $(PODS:.pod=.html) + +#----------------------------------------------------------------------- +# Additional Variables & Rules: magic +#----------------------------------------------------------------------- + +pkgdoc_DATA += gfsm.magic + +##-- phony +.PHONY: install-magic unintall-magic + +MAGIC_ADDRS='/^##--BEGIN gfsm.magic$$/,/^##--END gfsm.magic/' +magic ?=/etc/magic + +install-magic: magic + $(INSTALL_DATA) $< $(magic) + +uninstall-magic: magic.local + $(INSTALL_DATA) $< $(magic) + +magic: gfsm.magic magic.local + cat magic.local > "$@" + sed -n -e$(MAGIC_ADDRS)p @srcdir@/gfsm.magic >> "$@" + +magic.local: $(ETC_MAGIC) + sed -e$(MAGIC_ADDRS)d $(magic) > $@ + + +#----------------------------------------------------------------------- +# Variables: distribution +#----------------------------------------------------------------------- + +## --- extra distribution files +EXTRA_DIST = \ + INSTALL \ + AUTHORS \ + Changes \ + $(PODS) \ + $(PODS:.pod=.txt) \ + $(PODS:.pod=.html) \ + autogen.sh \ + configure \ + README.cvs \ + gfsm.magic + +#COPYING + +## --- recursion subdirectories for 'make dist' +#DIST_SUBDIRS = $(SUBDIRS) + +## --- dist-hook: when another 'Makefile.am' is overkill +#DISTHOOK_DIRS = foo +#DISTHOOK_FILES = foo/bar.txt foo/baz.txt +#dist-hook: +# for d in $(DISTHOOK_DIRS); do\ +# mkdir -p $(distdir)/$$d ;\ +# done +# for f in $(DISTHOOK_FILES); do\ +# cp -p $(srcdir)/$$f $(distdir)/$$f ;\ +# done + +#dist-bz2: dist-bzip2 ; + + +#----------------------------------------------------------------------- +# Rules: cleanup +#----------------------------------------------------------------------- +.PHONY: cvsclean cvsclean-hook + +cvsclean: maintainer-clean ; +
Added: trunk/externals/moocow/gfsm/gfsm/README.cvs =================================================================== --- trunk/externals/moocow/gfsm/gfsm/README.cvs (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/README.cvs 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,19 @@ +To build from cvs, do the following: + + ./autogen.sh + ./configure + make + make install + +NOTE: The README.txt file in the distribution +is auto-generated from perl ".pod" format by +the "pod2text" included in most perl distributions. + +You might (i.e. if you see complaints about 'optgen.perl') +also need the 'Getopt::Gen' perl module, which should +be available from: + + http://www.ling.uni-potsdam.de/~moocow/projects/perl + +marmosets, + Bryan
Added: trunk/externals/moocow/gfsm/gfsm/README.html =================================================================== --- trunk/externals/moocow/gfsm/gfsm/README.html (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/README.html 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,220 @@ +<?xml version="1.0" ?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>DESCRIPTION</title> +<meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<link rev="made" href="mailto:root@localhost" /> +</head> + +<body style="background-color: white"> + +<p><a name="__index__"></a></p> +<!-- INDEX BEGIN --> + +<ul> + + <li><a href="#description">DESCRIPTION</a></li> + <li><a href="#dependencies">DEPENDENCIES</a></li> + <li><a href="#installation">INSTALLATION</a></li> + <ul> + + <li><a href="#additional_installation_targets">Additional installation targets</a></li> + </ul> + + <li><a href="#build_options">BUILD OPTIONS</a></li> + <li><a href="#acknowledgements">ACKNOWLEDGEMENTS</a></li> + <li><a href="#known_bugs">KNOWN BUGS</a></li> + <li><a href="#author">AUTHOR</a></li> +</ul> +<!-- INDEX END --> + +<hr /> +<p>README for package gfsm</p> +<p>Last updated for gfsm v0.0.8</p> +<p> +</p> +<hr /> +<h1><a name="description">DESCRIPTION</a></h1> +<p>The gfsm package consists of libgfsm, an abstract C library +of tools for manipulation of finite state machines, and the +gfsm utilities, a suite of command-line tools built on libgfsm. +gfsm currently supports AT&T style weighted transducer +text input and label definition files, as well as a number +of common algebraic operations on finite state machines.</p> +<p> +</p> +<hr /> +<h1><a name="dependencies">DEPENDENCIES</a></h1> +<dl> +<dt><strong><a name="item_0">glib-2.0 (REQUIRED)</a></strong> + +<dd> +<p>Available from: +<a href="http://www.gtk.org/">http://www.gtk.org/</a></p> +</dd> +<dd> +<p>C library for common data structures. +Tested versions 2.4.6, 2.8.3.</p> +</dd> +</li> +<dt><strong><a name="item_zlib">zlib (Optional)</a></strong> + +<dd> +<p>Compression library by Jean-loup Gailly and Mark Adler +which can be used for transparent (de)compression. +Available from: +<a href="http://www.gzip.org/zlib">http://www.gzip.org/zlib</a></p> +</dd> +<dd> +<p>Tested version 1.2.1.</p> +</dd> +</li> +<dt><strong><a name="item_pkg_2dconfig">pkg-config</a></strong> + +<dd> +<p>Available from: +<a href="http://www.freedesktop.org/software/pkgconfig/">http://www.freedesktop.org/software/pkgconfig/</a></p> +</dd> +<dd> +<p>To build from CVS, you will also need the pkg-config +autoconf macros which come with the source distribution +of pkg-config.</p> +</dd> +</li> +<dt><strong><a name="item_doxygen">doxygen (Optional)</a></strong> + +<dd> +<p>Required for building library documentation. +Available from: +<a href="http://www.doxygen.org">http://www.doxygen.org</a></p> +</dd> +<dd> +<p>Tested versions 1.2.15, 1.3.8, 1.4.4.</p> +</dd> +</li> +<dt><strong><a name="item_perl">Perl (Optional)</a></strong> + +<dd> +<p>Get it from <a href="http://www.cpan.org">http://www.cpan.org</a> or <a href="http://www.perl.com">http://www.perl.com</a></p> +</dd> +<dd> +<p>Required for re-building command-line parsers +and/or non-standard documentation formats.</p> +</dd> +</li> +<dt><strong><a name="item_gen">Getopt::Gen (Optional)</a></strong> + +<dd> +<p>A Perl module used to generate command-line option parsers. +Should be available from the author of this package at:</p> +</dd> +<dd> +<p><a href="http://www.ling.uni-potsdam.de/~moocow/projects/perl">http://www.ling.uni-potsdam.de/~moocow/projects/perl</a></p> +</dd> +<dd> +<p>Tested versions 0.09, 0.10.</p> +</dd> +<dd> +<p>Note that Getopt::Gen depends on several 3rd-party perl +modules, including Text::Template and Parse::Lex, +which are available from CPAN.</p> +</dd> +<dd> +<p>Note additionally that Parse::Lex v2.15 is broken: if +it gives you grief, use the hacked version available +at:</p> +</dd> +<dd> +<p><a href="http://www.ling.uni-potsdam.de/~moocow/projects/perl/ParseLex-2.15-hacked.tar.gz">http://www.ling.uni-potsdam.de/~moocow/projects/perl/ParseLex-2.15-hacked.tar.gz</a></p> +</dd> +</li> +<dt><strong><a name="item_pod2latex">pod2man, pod2text, pod2html, pod2latex (Optional)</a></strong> + +<dd> +<p>The Perl documentation converstion utilities, required +for building the correspdonding program documentation +formats, should have come with your Perl. These are +only required if you wish to build program documentation +formats other than the defaults which come with the +distribution.</p> +</dd> +</li> +</dl> +<p> +</p> +<hr /> +<h1><a name="installation">INSTALLATION</a></h1> +<p>Issue the following commands to the shell:</p> +<pre> + cd gfsm-X.Y.Z (or wherever you extracted the distribution) + sh ./configure + make + make install</pre> +<p> +</p> +<h2><a name="additional_installation_targets">Additional installation targets</a></h2> +<p>The build system supports the following optional installation targets; +call them with:</p> +<pre> + make SOME_TARGET</pre> +<p>from the distribution root directory.</p> +<dl> +<dt><strong><a name="item_install_2dmagic">install-magic</a></strong> + +<dd> +<p>Adds recognition support for stored binary gfsm files +to the database for the <code>file(1)</code> utility. If your <code>file(1)</code> +database lives somewhere other than /etc/magic (see <code>magic(5)</code> for details), +call this target as:</p> +</dd> +<dd> +<pre> + make magic=/full/path/to/my/file/magic install-magic</pre> +</dd> +</li> +<dt><strong><a name="item_uninstall_2dmagic">uninstall-magic</a></strong> + +<dd> +<p>Removes gfsm recognition support (if present) from your +/etc/magic database, or from whatever database you specified +with the 'magic' variable.</p> +</dd> +</li> +</dl> +<p> +</p> +<hr /> +<h1><a name="build_options">BUILD OPTIONS</a></h1> +<p>The 'configure' script supports the following options, among others:</p> +<dl> +<dt><strong><a name="item__2d_2denable_2ddebug__2c__2d_2ddisable_2ddebug">--enable-debug , --disable-debug</a></strong> + +<dd> +<p>Whether to enable verbose debugging messages. +Default=no.</p> +</dd> +</li> +</dl> +<p>See the output of `./configure --help` for details on additional +supported options.</p> +<p> +</p> +<hr /> +<h1><a name="acknowledgements">ACKNOWLEDGEMENTS</a></h1> +<p>Ideas and code adapted from the SFST package by Helmut Schmid.</p> +<p>Many thanks to Thomas Hanneforth for useful advice.</p> +<p> +</p> +<hr /> +<h1><a name="known_bugs">KNOWN BUGS</a></h1> +<p>Many.</p> +<p> +</p> +<hr /> +<h1><a name="author">AUTHOR</a></h1> +<p>Bryan Jurish <<a href="mailto:moocow@ling.uni-potsdam.de">moocow@ling.uni-potsdam.de</a>></p> + +</body> + +</html>
Added: trunk/externals/moocow/gfsm/gfsm/README.pod =================================================================== --- trunk/externals/moocow/gfsm/gfsm/README.pod (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/README.pod 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,166 @@ +=pod + +README for package gfsm + +Last updated for gfsm v0.0.8 + +=head1 DESCRIPTION + +The gfsm package consists of libgfsm, an abstract C library +of tools for manipulation of finite state machines, and the +gfsm utilities, a suite of command-line tools built on libgfsm. +gfsm currently supports AT&T style weighted transducer +text input and label definition files, as well as a number +of common algebraic operations on finite state machines. + +=head1 DEPENDENCIES + +=over 4 + +=item glib-2.0 (REQUIRED) + +Available from: +http://www.gtk.org/ + +C library for common data structures. +Tested versions 2.4.6, 2.8.3. + + +=item zlib (Optional) + +Compression library by Jean-loup Gailly and Mark Adler +which can be used for transparent (de)compression. +Available from: +http://www.gzip.org/zlib + +Tested version 1.2.1. + + +=item pkg-config + +Available from: +http://www.freedesktop.org/software/pkgconfig/ + +To build from CVS, you will also need the pkg-config +autoconf macros which come with the source distribution +of pkg-config. + +=item doxygen (Optional) + +Required for building library documentation. +Available from: +http://www.doxygen.org + +Tested versions 1.2.15, 1.3.8, 1.4.4. + +=item Perl (Optional) + +Get it from http://www.cpan.org or http://www.perl.com + +Required for re-building command-line parsers +and/or non-standard documentation formats. + + +=item Getopt::Gen (Optional) + +A Perl module used to generate command-line option parsers. +Should be available from the author of this package at: + +http://www.ling.uni-potsdam.de/~moocow/projects/perl + +Tested versions 0.09, 0.10. + +Note that Getopt::Gen depends on several 3rd-party perl +modules, including Text::Template and Parse::Lex, +which are available from CPAN. + +Note additionally that Parse::Lex v2.15 is broken: if +it gives you grief, use the hacked version available +at: + +http://www.ling.uni-potsdam.de/~moocow/projects/perl/ParseLex-2.15-hacked.ta... + + +=item pod2man, pod2text, pod2html, pod2latex (Optional) + +The Perl documentation converstion utilities, required +for building the correspdonding program documentation +formats, should have come with your Perl. These are +only required if you wish to build program documentation +formats other than the defaults which come with the +distribution. + +=back + + +=head1 INSTALLATION + +Issue the following commands to the shell: + + cd gfsm-X.Y.Z (or wherever you extracted the distribution) + sh ./configure + make + make install + +=head2 Additional installation targets + +The build system supports the following optional installation targets; +call them with: + + make SOME_TARGET + +from the distribution root directory. + + +=over 4 + +=item install-magic + +Adds recognition support for stored binary gfsm files +to the database for the file(1) utility. If your file(1) +database lives somewhere other than /etc/magic (see magic(5) for details), +call this target as: + + make magic=/full/path/to/my/file/magic install-magic + +=item uninstall-magic + +Removes gfsm recognition support (if present) from your +/etc/magic database, or from whatever database you specified +with the 'magic' variable. + +=back + +=head1 BUILD OPTIONS + +The 'configure' script supports the following options, among others: + +=over 4 + +=item --enable-debug , --disable-debug + +Whether to enable verbose debugging messages. +Default=no. + +=back + +See the output of `./configure --help` for details on additional +supported options. + + + +=head1 ACKNOWLEDGEMENTS + +Ideas and code adapted from the SFST package by Helmut Schmid. + +Many thanks to Thomas Hanneforth for useful advice. + + +=head1 KNOWN BUGS + +Many. + + +=head1 AUTHOR + +Bryan Jurish E<lt>moocow@ling.uni-potsdam.deE<gt>
Added: trunk/externals/moocow/gfsm/gfsm/README.txt =================================================================== --- trunk/externals/moocow/gfsm/gfsm/README.txt (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/README.txt 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,116 @@ + README for package gfsm + + Last updated for gfsm v0.0.8 + +DESCRIPTION + The gfsm package consists of libgfsm, an abstract C library of tools for + manipulation of finite state machines, and the gfsm utilities, a suite + of command-line tools built on libgfsm. gfsm currently supports AT&T + style weighted transducer text input and label definition files, as well + as a number of common algebraic operations on finite state machines. + +DEPENDENCIES + glib-2.0 (REQUIRED) + Available from: http://www.gtk.org/ + + C library for common data structures. Tested versions 2.4.6, 2.8.3. + + zlib (Optional) + Compression library by Jean-loup Gailly and Mark Adler which can be + used for transparent (de)compression. Available from: + http://www.gzip.org/zlib + + Tested version 1.2.1. + + pkg-config + Available from: http://www.freedesktop.org/software/pkgconfig/ + + To build from CVS, you will also need the pkg-config autoconf macros + which come with the source distribution of pkg-config. + + doxygen (Optional) + Required for building library documentation. Available from: + http://www.doxygen.org + + Tested versions 1.2.15, 1.3.8, 1.4.4. + + Perl (Optional) + Get it from http://www.cpan.org or http://www.perl.com + + Required for re-building command-line parsers and/or non-standard + documentation formats. + + Getopt::Gen (Optional) + A Perl module used to generate command-line option parsers. Should + be available from the author of this package at: + + http://www.ling.uni-potsdam.de/~moocow/projects/perl + + Tested versions 0.09, 0.10. + + Note that Getopt::Gen depends on several 3rd-party perl modules, + including Text::Template and Parse::Lex, which are available from + CPAN. + + Note additionally that Parse::Lex v2.15 is broken: if it gives you + grief, use the hacked version available at: + + http://www.ling.uni-potsdam.de/~moocow/projects/perl/ParseLex-2.15-h + acked.tar.gz + + pod2man, pod2text, pod2html, pod2latex (Optional) + The Perl documentation converstion utilities, required for building + the correspdonding program documentation formats, should have come + with your Perl. These are only required if you wish to build program + documentation formats other than the defaults which come with the + distribution. + +INSTALLATION + Issue the following commands to the shell: + + cd gfsm-X.Y.Z (or wherever you extracted the distribution) + sh ./configure + make + make install + + Additional installation targets + The build system supports the following optional installation targets; + call them with: + + make SOME_TARGET + + from the distribution root directory. + + install-magic + Adds recognition support for stored binary gfsm files to the + database for the file(1) utility. If your file(1) database lives + somewhere other than /etc/magic (see magic(5) for details), call + this target as: + + make magic=/full/path/to/my/file/magic install-magic + + uninstall-magic + Removes gfsm recognition support (if present) from your /etc/magic + database, or from whatever database you specified with the 'magic' + variable. + +BUILD OPTIONS + The 'configure' script supports the following options, among others: + + --enable-debug , --disable-debug + Whether to enable verbose debugging messages. Default=no. + + See the output of `./configure --help` for details on additional + supported options. + +ACKNOWLEDGEMENTS + Ideas and code adapted from the SFST package by Helmut Schmid. + + Many thanks to Thomas Hanneforth for useful advice. + +KNOWN BUGS + Many. + +AUTHOR + Bryan Jurish moocow@ling.uni-potsdam.de +
Added: trunk/externals/moocow/gfsm/gfsm/autogen.sh =================================================================== --- trunk/externals/moocow/gfsm/gfsm/autogen.sh (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/autogen.sh 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,57 @@ +#!/bin/sh + +#----------------------------------------------------------------------- +# File: autogen.sh +# Description: +# + wrapper for m4 black-magic +#----------------------------------------------------------------------- + +MY_ALDIRS="." +MY_AHDIRS="." +MY_LTDIRS="." +MY_AMDIRS="." +MY_ACDIRS="." + +test -z "$ACLOCAL" && ACLOCAL="aclocal -I m4" +test -z "$AUTOHEADER" && AUTOHEADER=autoheader +test -z "$LIBTOOLIZE" && LIBTOOLIZE="libtoolize --automake" +test -z "$AUTOMAKE" && AUTOMAKE=automake +test -z "$AUTOCONF" && AUTOCONF=autoconf + +if test -n "$MY_ALDIRS"; then + for d in $MY_ALDIRS ; do + echo "(cd $d ; $ACLOCAL)" + (cd $d ; $ACLOCAL) + done +fi + +if test -n "$MY_AHDIRS"; then + for d in $MY_AHDIRS ; do + echo "(cd $d ; $AUTOHEADER)" + (cd $d ; $AUTOHEADER) + done +fi + +if test -n "$MY_LTDIRS"; then + for d in $MY_LTDIRS ; do + echo "(cd $d ; $LIBTOOLIZE)" + (cd $d ; $LIBTOOLIZE) + done +fi + +if test -n "$MY_AMDIRS"; then + for d in $MY_AMDIRS ; do + echo "(cd $d ; $AUTOMAKE -a)" + (cd $d ; $AUTOMAKE -a) + done +fi + +if test -n "$MY_ACDIRS"; then + for d in $MY_ACDIRS ; do + echo "(cd $d ; $AUTOCONF)" + (cd $d ; $AUTOCONF) + done +fi + +#echo "(./configure)" +#./configure $*
Property changes on: trunk/externals/moocow/gfsm/gfsm/autogen.sh ___________________________________________________________________ Added: svn:executable + *
Added: trunk/externals/moocow/gfsm/gfsm/config/.cvsignore =================================================================== --- trunk/externals/moocow/gfsm/gfsm/config/.cvsignore (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/config/.cvsignore 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,23 @@ +*~ +.*~ +*.o +*.lo +*.la +.libs +*.a +*.so +aclocal.m4 +Makefile +Makefile.in +README.txt +configure +.deps + +depcomp +missing +config.guess +config.sub +ltmain.sh +install-sh +ylwrap +
Added: trunk/externals/moocow/gfsm/gfsm/config/Makefile.am =================================================================== --- trunk/externals/moocow/gfsm/gfsm/config/Makefile.am (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/config/Makefile.am 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,67 @@ +## File: config/Makefile.am +## Package: +## Description: +## + automake file for 'config' package-subdir +## +## Process this file with Automake to create Makefile.in. +##----------------------------------------------------------------------- + +##----------------------------------------------------------------------- +## Variables: options +##----------------------------------------------------------------------- + +##----------------------------------------------------------------------- +## Variables: cleanup +##----------------------------------------------------------------------- + +## --- mostlyclean: built by 'make' & commonly rebuilt +#MOSTLYCLEANFILES = + +## --- clean: built by 'make' +#CLEANFILES = + +## --- distclean: built by 'configure' +#DISTCLEANFILES = + +## -- maintainerclean: built by maintainer / by hand +MAINTAINERCLEANFILES = \ + *~ .*~ \ + compile Makefile Makefile.in \ + config.guess \ + config.sub \ + depcomp \ + install-sh \ + ltmain.sh \ + missing \ + texinfo.tex \ + mkinstalldirs \ + ylwrap + + + +##----------------------------------------------------------------------- +## Variables: distribution +##----------------------------------------------------------------------- + +## --- extra distribution files +EXTRA_DIST = \ + Makefile.in \ + depcomp \ + install-sh \ + missing + +# mkinstalldirs +# config.guess +# config.sub +# ltmain.sh +# texinfo.tex + +## --- recursion subdirectories for 'make dist' +#DIST_SUBDIRS = $(SUBDIRS) + +#----------------------------------------------------------------------- +# Rules: cleanup +#----------------------------------------------------------------------- +.PHONY: cvsclean cvsclean-hook + +cvsclean: maintainer-clean ;
Added: trunk/externals/moocow/gfsm/gfsm/configure.ac =================================================================== --- trunk/externals/moocow/gfsm/gfsm/configure.ac (rev 0) +++ trunk/externals/moocow/gfsm/gfsm/configure.ac 2008-11-29 23:22:39 UTC (rev 10403) @@ -0,0 +1,870 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.5) + +dnl Some handy macros +define([THE_PACKAGE_NAME], [gfsm]) +define([THE_PACKAGE_VERSION], [0.0.10-pre8]) +define([THE_PACKAGE_MAINTAINER], [moocow@ling.uni-potsdam.de]) + +AC_INIT(THE_PACKAGE_NAME, THE_PACKAGE_VERSION, THE_PACKAGE_MAINTAINER) +dnl AC_INIT(gfsm, 0.01, moocow@ling.uni-potsdam.de) + +dnl source && aux dir +AC_CONFIG_AUX_DIR(config) + +dnl canonical target (sets $target, $target_(cpu|vendor|os) : used for bindist) +AC_CANONICAL_TARGET + +dnl use automake +AM_INIT_AUTOMAKE(THE_PACKAGE_NAME, THE_PACKAGE_VERSION) + +dnl use autoheader +AM_CONFIG_HEADER([src/libgfsm/gfsmConfigAuto.h]) + +dnl default prefix +AC_PREFIX_DEFAULT(/usr/local) + +#------------------------------------------------------------- +# save user's *FLAGS +#USER_LIBS="$LIBS" +#USER_LDFLAGS="$LDFLAGS" +#USER_CPPFLAGS="$CPPFLAGS" +USER_CFLAGS="$CFLAGS" + +dnl +dnl check for programs +dnl +AC_PROG_CC +dnl AC_PROG_CXX +dnl AC_LANG(C++) + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## gnulib +gl_EARLY +gl_INIT +dnl /gnulib +dnl ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +##---------------------------------------------------------------------- +## DISTCHECK: simulate missing development-only packages +AC_ARG_VAR(DISTCHECK, + [(Maintainer): set to nonempty value to simulate missing development packages]) +if test -n "$DISTCHECK" ; then + test -z "$PERL" && PERL=no + test -z "$OPTGEN_PERL" && OPTGEN_PERL=no + test -z "$DOXYGEN" && DOXYGEN=no + test -z "$POD2X" && POD2TEXT=no + test -z "$POD2X" && POD2MAN=no + test -z "$POD2X" && POD2HTML=no + test -z "$POD2X" && POD2LATEX=no + test -z "$FLEX" && FLEX=no + test -z "$BISON" && BISON=no +fi +## /DISTCHECK +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## flex +## +AC_ARG_VAR(FLEX, [Path to GNU flex; "no" to disable]) +if test -z "$FLEX" ; then + AC_PATH_PROG(FLEX,flex,[no]) +fi + +AC_MSG_NOTICE([setting FLEX=$FLEX]) + +if test "$FLEX" = "no"; then + AC_MSG_WARN([GNU flex is missing, broken, or disabled]) + AC_MSG_WARN([- compilation from .l lexer source files disabled]) +fi + +AM_CONDITIONAL(HAVE_FLEX,[test "$FLEX" != "no"]) +## +## /flex +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## bison +## +AC_ARG_VAR(BISON, [Path to GNU bison; "no" to disable]) +if test -z "$BISON" ; then + AC_PATH_PROG(BISON,bison,[no]) +fi + +AC_MSG_NOTICE([setting BISON=$BISON]) + +if test "$BISON" = "no"; then + AC_MSG_WARN([GNU bison is missing, broken, or disabled]) + AC_MSG_WARN([- compilation from .y parser source files disabled]) +fi + +AM_CONDITIONAL(HAVE_BISON,[test "$BISON" != "no"]) +## +## /bison +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## flex+bison: automake woes + +###-- automake wants these, we want flex & bison +dnl ... and these wreak havoc +dnl AM_PROG_LEX +dnl AC_PROG_YACC +dnl +dnl ... these are goofy too +dnl LEX="$FLEX" +dnl YACC="$BISON" +dnl AC_SUBST(LEX) +dnl AC_SUBST(YACC) +dnl +dnl ... with some hacking in src/libgfsm/Makefile.am, we get: +dnl : AM_YFLAGS = --defines --fixed-output-files --name-prefix="$*_yy" +AM_PROG_LEX +AC_PROG_YACC +LEX="$FLEX" +YACC="$BISON" +## /flex+bison: automake woes +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## zlib +## +AC_ARG_ENABLE(zlib, + AC_HELP_STRING([--disable-zlib], + [Disable zlib compression support]), + [ac_cv_enable_zlib="$enableval"], + [ac_cv_enable_zlib="yes"]) + +if test "$ac_cv_enable_zlib" != "no" ; then + for h in zlib.h ; do + AC_CHECK_HEADER($h, + [gfsm_have_header="yes"], [gfsm_have_header="no"], [ ]) + if test "$gfsm_have_header" = "no" ; then + AC_MSG_WARN([zlib header '$h' not found!]) + AC_MSG_WARN([- Is the directory containing the zlib headers in your]) + AC_MSG_WARN([ 'CPPFLAGS' environment variable?]) + AC_MSG_NOTICE([zlib support disabled]) + ac_cv_enable_zlib="no" + fi + done +fi + +if test "$ac_cv_enable_zlib" != "no" ; then + ##-- zlib: library: compile + AC_CHECK_LIB(z,deflate,[ac_cv_have_libz="yes"]) + if test "$ac_cv_have_libz" != "yes" ; then + AC_MSG_WARN([could not link to zlib library!]) + AC_MSG_WARN([- Is the directory containing the zlib binary in your]) + AC_MSG_WARN([ 'LDFLAGS' environment variable?]) + AC_MSG_NOTICE([zlib support disabled]) + ac_cv_enable_zlib="no" + else + gfsm_LIBS="$gfsm_LIBS -lz" + fi +fi + +##-- zlib: config.h flag +if test "$ac_cv_enable_zlib" != "no" ; then + AC_DEFINE(GFSM_ZLIB_ENABLED,1, + [Define this to enable zlib compression support]) + DOXY_DEFINES="$DOXY_DEFINES GFSM_ZLIB_ENABLED=1" +fi +## +## /zlib +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## gnulib: funcs +## +dnl AC_CHECK_FUNCS(getline) + +gl_FUNC_GETDELIM +gl_FUNC_VASPRINTF + +AC_CHECK_FUNCS([vfprintf],[],[]) +## +## /gnulib: funcs +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + +dnl v--- needed if Makefile.am uses _LTLIBRARIES targets +AC_PROG_LIBTOOL + +dnl v--- for static-only libraries (non-libtool) +dnl AC_PROG_RANLIB + +dnl v--- needed if Makefile.am uses lex sources (see above) +dnl AM_PROG_LEX + + +### --- unmangle user *FLAGS +if test "$CFLAGS" != "$USER_CFLAGS" ; then + # autoconf likes to set this (to '-g -O2')... who knows why... + AC_MSG_NOTICE([Restoring user's original CFLAGS value]) + CFLAGS="$USER_CFLAGS" +fi + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## config options: init +CONFIG_OPTIONS="" +## /config options +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## inline ? +## +AC_MSG_CHECKING([whether to enable inline functions]) +AC_ARG_ENABLE(inline, + AC_HELP_STRING([--disable-inline], [disable function inlining (default=enabled)])) + +if test "$enable_inline" != "no" ; then + AC_MSG_RESULT(yes) + AC_DEFINE(GFSM_INLINE_ENABLED,1, + [Define this to enable inline functions]) + DOXY_DEFINES="$DOXY_DEFINES GFSM_INLINE_ENABLED=1 GFSM_INLINE:="static inline"" + CONFIG_INLINE_ENABLED="1" +else + AC_MSG_RESULT(no) + CONFIG_INLINE_ENABLED="0" +fi +CONFIG_OPTIONS="$CONFIG_OPTIONS INLINE=$CONFIG_INLINE_ENABLED" +## +## /inline ? +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## debug ? +## +AC_MSG_CHECKING([whether to build debug version]) +AC_ARG_ENABLE(debug, + AC_HELP_STRING([--enable-debug], [build debug version (default=no)])) + +if test "$enable_debug" == "yes" ; then + AC_MSG_RESULT(yes) + + dnl-- this breaks default shared-library building + dnl-- on debian/sid: + dnl + automake 1.9.6 + dnl + autoconf 2.59 + dnl + libtool 1.5.20 + dnl + dnl AC_DISABLE_SHARED + if test "$GCC" == "yes" ; then + AC_MSG_NOTICE([GNU C compiler detected: setting appropriate debug flags]) + gfsm_OFLAGS="-g" + else + AC_MSG_WARN([GNU C compiler not detected: you must use CFLAGS to set compiler debugging flags]) + gfsm_OFLAGS="" + fi + + AC_DEFINE(GFSM_DEBUG_ENABLED,1, + [Define this to enable debugging code]) + DOXY_DEFINES="$DOXY_DEFINES GFSM_DEBUG_ENABLED=1" + #CONFIG_OPTIONS="$CONFIG_OPTIONS DEBUG=1" + CONFIG_OPTIONS="DEBUG=1" +else + AC_MSG_RESULT(no) + if test "$GCC" == "yes"; then + case "$CFLAGS" in + *-O*) + AC_MSG_NOTICE([CFLAGS appears already to contain optimization flags - skipping]) + gfsm_OFLAGS="" + ;; + *) + AC_MSG_NOTICE([GNU C compiler detected: setting appropriate optimization flags]) + #gfsm_OFLAGS="-O3 -finline-limit-10000 --param inline-unit-growth=1000" + gfsm_OFLAGS="-O2" + ;; + esac + else + AC_MSG_WARN([GNU C compiler not detected: you must use CFLAGS to set compiler optimization flags]) + gfsm_OFLAGS="" + fi + #CONFIG_OPTIONS="$CONFIG_OPTIONS DEBUG=0" + CONFIG_OPTIONS="DEBUG=0" +fi + +AC_SUBST(gfsm_OFLAGS) +## +## /debug ? +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +#--------------------------------------------------------------- +# short package includes +spkgincludedir="${includedir}/AC_PACKAGE_NAME" +AC_SUBST(spkgincludedir) +# short package includes +#--------------------------------------------------------------- + +#--------------------------------------------------------------- +# get real prefix +AC_CACHE_CHECK([for installation prefix], [ac_cv_install_prefix], + [if test "$prefix" = "NONE" ; then + ac_cv_install_prefix="/usr/local" + else + ac_cv_install_prefix="$prefix" + fi + ]) +dnl # ... and add it to our flags +dnl CPPFLAGS="$CPPFLAGS -I${ac_cv_install_prefix}/include" +dnl LDFLAGS="$LDFLAGS -L${ac_cv_install_prefix}/lib" + + +dnl check for strdup +AC_CHECK_FUNC(strdup,[AC_DEFINE(HAVE_STRDUP,1,[Define this if you have the strdup() function])]) + + +dnl --------------------------------------------------------------- +dnl pkg-config : program +dnl +AC_ARG_VAR(PKG_CONFIG, [How to run the pkg-config program]) +AC_ARG_VAR(PKG_CONFIG_PATH, [Directories to search for pkg-config]) +if test -z "$PKG_CONFIG" ; then + AC_PATH_PROG(PKG_CONFIG,pkg-config,[]) +fi +dnl pkg-config: destination directory +AC_ARG_WITH(pkgconfig-dir, + AC_HELP_STRING([--with-pkgconfig-dir=DIR], + [install pkg-config metafile(s) in DIR (default=LIBDIR/pkgconfig)]), + [ac_cv_pkgconfigdir="$withval"]) +if test -z "$ac_cv_pkgconfigdir" ; then + ac_cv_pkgconfigdir="$(libdir)/pkgconfig" +fi +pkgconfigdir="$ac_cv_pkgconfigdir" +AC_SUBST(pkgconfigdir) +dnl +dnl pkg-config +dnl ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## glib (pkg-config) +PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0.0, + [PC_HAVE_GLIB="yes"], + [PC_HAVE_GLIB=""]) + +if test "$PC_HAVE_GLIB" != "yes" ; then + AC_MSG_WARN([glib-2.0 not found via pkg-config]) + AC_MSG_WARN([- Is the directory containing glib-2.0.pc in your]) + AC_MSG_WARN([ 'PKG_CONFIG_PATH' environment variable?]) + AC_MSG_WARN([- I'll assume that you have set the variables CFLAGS, LDFLAGS,]) + AC_MSG_WARN([ and LIBS for compling and linking with glib-2.0]) + ac_cv_enable_glib="no" +else + ac_cv_enable_glib="yes" +fi + +if test "$ac_cv_enable_glib" != "no" ; then + ##-- glib: library + CFLAGS="$CFLAGS $GLIB_CFLAGS" + LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs-only-L glib-2.0`" + gfsm_LIBS="$gfsm_LIBS `$PKG_CONFIG --libs-only-l glib-2.0`" +fi +## +## /glib +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## version-info +GFSM_VERSION_MAJOR=`[echo ${PACKAGE_VERSION} | sed -e's/^([0-9][0-9]*)..*/\1/']` +test -z "$GFSM_VERSION_MAJOR" -o "$GFSM_VERSION_MAJOR" = "$PACKAGE_VERSION" \ + && GFSM_VERSION_MAJOR=0 + +GFSM_VERSION_MINOR=`[echo ${PACKAGE_VERSION} | sed -e's/^[^.]*.0*([0-9][0-9]*).*/\1/']` +test -z "$GFSM_VERSION_MINOR" -o "$GFSM_VERSION_MINOR" = "$PACKAGE_VERSION" \ + && GFSM_VERSION_MINOR=0 + +GFSM_VERSION_MICRO=`[echo ${PACKAGE_VERSION} | sed -e's/^[^.]*.[^.]*.0*([0-9][0-9]*).*/\1/']` +test -z "$GFSM_VERSION_MICRO" -o "$GFSM_VERSION_MICRO" = "$PACKAGE_VERSION" \ + && GFSM_VERSION_MICRO=0 + +AC_DEFINE_UNQUOTED(GFSM_VERSION_MAJOR, $GFSM_VERSION_MAJOR, [Major gfsm version]) +AC_DEFINE_UNQUOTED(GFSM_VERSION_MINOR, $GFSM_VERSION_MINOR, [Minor gfsm version]) +AC_DEFINE_UNQUOTED(GFSM_VERSION_MICRO, $GFSM_VERSION_MICRO, [Micro gfsm version]) +AC_SUBST(GFSM_VERSION_MAJOR) +AC_SUBST(GFSM_VERSION_MINOR) +AC_SUBST(GFSM_VERSION_MICRO) +## /version-info +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## exp() +AC_CHECK_FUNC(exp,[gfsm_have_exp="yes"],[gfsm_have_exp=""]) +if test "$gfsm_have_exp" != "yes" ; then + AC_CHECK_LIB(m,exp,[gfsm_have_exp="yes"],[gfsm_have_exp=""]) + if test "$gfsm_have_exp" != "yes" ; then + AC_MSG_ERROR([C function exp() not found: oops!]) + else + gfsm_LIBS="$gfsm_LIBS -lm" + fi +fi +## /exp() +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## perl +AC_ARG_VAR(PERL, [Path to your perl interpreter, "no" to disable]) +if test -z "$PERL" ; then + AC_PATH_PROG(PERL,[perl],[no]) +fi +if test -z "$PERL" -o "$PERL" = "no"; then + AC_MSG_WARN([perl missing or disabled]) + AC_MSG_WARN([- generation of alternate documentation formats disabled.]) + PERL=no +fi +AC_SUBST(PERL) +## /perl +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## optgen.perl & Getopt::Gen +## +AC_ARG_VAR(OPTGEN_PERL, [Path to the 'optgen.perl' script; "no" to disable]) + +##-- test for working optgen.perl +AC_MSG_CHECKING([whether Getopt::Gen works]) + if test "$PERL" != "no" && $PERL -MGetopt::Gen -e'exit 0;' >>config.log 2>&1; then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) + AC_MSG_WARN([Getopt::Gen (or something it depends on) is broken!]) + AC_MSG_WARN([- you probably need to fix your Parse::Lex module]) + OPTGEN_PERL="no" +fi + +if test -z "$OPTGEN_PERL" ; then + AC_PATH_PROG(OPTGEN_PERL,[optgen.perl],[no]) +fi + +AC_MSG_NOTICE([setting OPTGEN_PERL=$OPTGEN_PERL]) +AC_SUBST(OPTGEN_PERL) + +if test "$OPTGEN_PERL" = "no" ; then + AC_MSG_WARN([optgen.perl script is missing, broken, or disabled.]) + AC_MSG_WARN([- regeneration of command-line parsers from .gog specifications disabled.]) + AC_MSG_WARN([- regeneration of POD documentation from .gog specifications disabled.]) +fi +AM_CONDITIONAL(HAVE_OPTGEN, [test "$OPTGEN_PERL" != "no"]) +## +## /optgen.perl +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## Documentation +## +AC_ARG_WITH(docdir, + AC_HELP_STRING([--with-docdir=DIR], + [install documentation in DIR/AC_PACKAGE_NAME (default=DATADIR/doc)]), + [docdir="$withval"], + [docdir="${datadir}/doc"]) +pkgdocdir="${docdir}/${PACKAGE}" +pkgdocprogdir="${docdir}/${PACKAGE}/programs" +pkgdoctutdir="${docdir}/${PACKAGE}/tutorial" +pkgdoclibdir="${docdir}/${PACKAGE}/lib${PACKAGE}" + +AC_SUBST(docdir) +AC_SUBST(pkgdocdir) +AC_SUBST(pkgdocprogdir) +AC_SUBST(pkgdoctutdir) +AC_SUBST(pkgdoclibdir) + +AC_ARG_WITH(doc-formats, + AC_HELP_STRING([--with-doc-formats=LIST], + [Build documentation formats in LIST. \ + Available formats: txt, man, html, dvi, ps, pdf, none. + Default='man html'. Requires Perl, pod2xxx.]), + [ac_cv_doc_formats="$withval"]) +AC_ARG_ENABLE(doc, + AC_HELP_STRING([--disable-doc],[Synonym for --with-doc-formats="none"]), + [enable_doc="$enableval"],[enable_doc="yes"]) + +AC_MSG_CHECKING([which documentation formats to build]) +## -- set default doc formats if unspecified +if test -z "$ac_cv_doc_formats" ; then + ac_cv_doc_formats="man html" +fi + +## -- un-comma-tize the doc-formats +gfsm_doc_formats=`echo "$ac_cv_doc_formats" | sed 's/,/ /g'` + +if test "$enable_doc" != "yes" ; then + ##-- disable all docs + gfsm_doc_formats="none" +fi +AC_MSG_RESULT($gfsm_doc_formats) +#echo ">> post RESULT" + +##-- doxygen: var +AC_ARG_VAR(DOXYGEN,[Path to doxygen documentation generator; "no" to disable]) + +if test "$gfsm_doc_formats" != "none" ; then + + ##-- doxygen: prog + ## + if test -z "$DOXYGEN" ; then + AC_PATH_PROG(DOXYGEN,doxygen,[no]) + fi + AC_MSG_NOTICE([setting DOXYGEN=$DOXYGEN]) + ## + if test -z "$DOXYGEN" -o "$DOXYGEN" = "no"; then + AC_MSG_WARN([doxygen missing or disabled]) + AC_MSG_WARN([- generation of library documentation disabled]) + DOXYGEN=no + fi + ## + ##--/doxygen:prog + + ##-- doxygen: filter: doc/lib*/'doxy-filter.perl' + ## + AC_ARG_VAR(DOXY_FILTER,[doxygen input filter; "no" to disable (default)]) + AC_MSG_CHECKING([for doxygen input filter]) + if test -z "$DOXY_FILTER"; then + DOXY_FILTER="no" + #DOXY_SRCDIR="`find ${srcdir}/doc/ -name 'lib*' -print | head -n1`" + #if test -d "$DOXY_SRCDIR" -a -f "$DOXY_SRCDIR/doxy-filter.perl" -a "$PERL" != "no" ; then + # DOXY_SRCDIR=`cd "$DOXY_SRCDIR"; pwd` + # DOXY_FILTER="$PERL $DOXY_SRCDIR/doxy-filter.perl" + #else + # DOXY_FILTER="no" + #fi + fi + AC_MSG_RESULT([$DOXY_FILTER]) + ## + if test "$DOXY_FILTER" != "no"; then + AC_MSG_CHECKING([whether doxygen input filter works]) + if test -n "$DOXY_FILTER" && $DOXY_FILTER </dev/null 2>&1 >>config.log ; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + DOXY_FILTER="no" + fi + fi + AC_MSG_NOTICE([setting DOXY_FILTER=$DOXY_FILTER]) + ## + if test "$DOXY_FILTER" != "no"; then + DOXY_INPUT_FILTER="$DOXY_FILTER" + else + DOXY_INPUT_FILTER="" + fi + AC_SUBST(DOXY_FILTER) + AC_SUBST(DOXY_INPUT_FILTER) + ## + ##--/doxygen:filter + + ##-- doxygen: sources + AC_SUBST(DOXYGEN_SOURCES) + + ##-- docs:pod2x + ## + AC_ARG_VAR(POD2TEXT, [Path to perl 'pod2text' script; "no" for none]) + AC_ARG_VAR(POD2MAN, [Path to perl 'pod2man' script; "no" for none]) + AC_ARG_VAR(POD2HTML, [Path to perl 'pod2html' script; "no" for none]) + AC_ARG_VAR(POD2LATEX,[Path to perl 'pod2latex' script; "no" for none]) + if test -z "$POD2TEXT" ; then + AC_PATH_PROG(POD2TEXT,pod2text,[no]) + fi + if test -z "$POD2MAN" ; then + AC_PATH_PROG(POD2MAN,pod2man,[no]) + fi + if test -z "$POD2HTML" ; then + AC_PATH_PROG(POD2HTML,pod2html,[no]) + fi + if test -z "$POD2LATEX"; then + AC_PATH_PROG(POD2LATEX,pod2latex,[no]) + fi + AC_SUBST(POD2TEXT) + AC_SUBST(POD2MAN) + AC_SUBST(POD2HTML) + AC_SUBST(POD2LATEX) + ## + ##--/docs:pod2x + + ##-- docs: .gog sources + ## + DOC_MAN1_GOGS="\ + gfsmarcsort.gog \ + gfsmarith.gog \ + gfsmclosure.gog \ + gfsmcompile.gog \ + gfsmcomplement.gog \ + gfsmcompose.gog \ + gfsmcompre.gog \ + gfsmconcat.gog \ + gfsmconnect.gog \ + gfsmconvert.gog \ + gfsmdeterminize.gog \ + gfsmdifference.gog \ + gfsmdraw.gog \ + gfsmheader.gog \ + gfsminfo.gog \ + gfsmintersect.gog \ + gfsminvert.gog \ + gfsmlabels.gog \ + gfsmlookup.gog \ + gfsmoptional.gog \ + gfsmprint.gog \ + gfsmproduct.gog \ + gfsmproject.gog \ + gfsmrenumber.gog \ + gfsmreplace.gog \ + gfsmreverse.gog \ + gfsmrmepsilon.gog \ + gfsmsigma.gog \ + gfsmstrings.gog \ + gfsmunion.gog \ + gfsmviterbi.gog \ + gfsmindex.gog \ + " + DOC_MAN1_GOGS="$DOC_MAN1_GOGS" + for g in $DOC_MAN1_GOGS ; do + AC_CONFIG_LINKS(doc/programs/${g}:src/programs/${g}) + done + DOC_GOGS="$DOC_MAN1_GOGS" + AC_SUBST(DOC_MAN1_GOGS) + AC_SUBST(DOC_GOGS) + dnl AC_CONFIG_LINKS(doc/programs/acknowledge.pod:src/programs/acknowledge.pod) + ## + ##--/docs: .gog sources + + ##-- docs: index-skeleton (section 1) + DOC_PROG_INDEX_SKEL="gfsmutils.skel" + AC_SUBST(DOC_PROG_INDEX_SKEL) + + ##-- docs: section 5 (static pods) + DOC_MAN5_PODS="" + AC_SUBST(DOC_MAN5_PODS) + + ##-- docs: pods (all) + DOC_PODS="gfsmutils.pod $DOC_MAN5_PODS `echo "$DOC_MAN1_GOGS" | sed 's/.gog/.pod/g'`" + AC_SUBST(DOC_PODS) + + ##-- set "CONFIG_DOC_WANT_*" variables + ## + test with automake conditionals "DOC_WANT_*" + CONFIG_DOC_WANT_TXT="no" + CONFIG_DOC_WANT_MAN="no" + CONFIG_DOC_WANT_HTML="no" + CONFIG_DOC_WANT_LATEX="no" + CONFIG_DOC_WANT_DVI="no" + CONFIG_DOC_WANT_PS="no" + CONFIG_DOC_WANT_PDF="no" + + ##-- docs: parse user request + ## + for fmt in $gfsm_doc_formats ; do + case "$fmt" in + txt) + CONFIG_DOC_WANT_TXT="yes" + ;; + man) + CONFIG_DOC_WANT_MAN="yes" + ;; + html) + CONFIG_DOC_WANT_HTML="yes" + ;; + dvi) + CONFIG_DOC_WANT_LATEX="yes" + CONFIG_DOC_WANT_DVI="yes" + ;; + ps) + CONFIG_DOC_WANT_LATEX="yes" + CONFIG_DOC_WANT_PS="yes" + ;; + pdf) + CONFIG_DOC_WANT_LATEX="yes" + CONFIG_DOC_WANT_PDF="yes" + ;; + *) + AC_MSG_WARN(ignoring unknown documentation format: $fmt) + ;; + esac; # case "$fmt" in ... + done; # for fmt in $gfsm_doc_formats ... + ## + ##--/docs: parse user request + + ##-- docs: requested: automake conditionals: indicator values + AC_SUBST(CONFIG_DOC_WANT_TXT) + AC_SUBST(CONFIG_DOC_WANT_MAN) + AC_SUBST(CONFIG_DOC_WANT_HTML) + AC_SUBST(CONFIG_DOC_WANT_LATEX) + AC_SUBST(CONFIG_DOC_WANT_DVI) + AC_SUBST(CONFIG_DOC_WANT_PS) + AC_SUBST(CONFIG_DOC_WANT_PDF) + + ##-- docs: doxygen vars (compatibility) + DOXY_WANT_MAN="$CONFIG_DOC_WANT_MAN" + DOXY_WANT_HTML="$CONFIG_DOC_WANT_HTML" + DOXY_WANT_LATEX="$CONFIG_DOC_WANT_LATEX" + DOXY_WANT_HTMLHELP="NO" + AC_SUBST(DOXY_WANT_HTML) + AC_SUBST(DOXY_WANT_MAN) + AC_SUBST(DOXY_WANT_LATEX) + + ##-- docs: doxygen: defines + AC_SUBST(DOXY_DEFINES) + + ##-- doxygen: external tag-files (this needs an overhaul!) + ## + #for ext in gfsmm ; do + # extdocdir="`$PKG_CONFIG --variable=pkgdocdir ${ext}`" + # if test -n "$extdocdir" -a "$extdocdir" != "no" ; then + # exttagfiles="`find $extdocdir -name '*.tag'`" + # for exttag in $exttagfiles ; do + # exttagdir="`dirname $exttag`/html" + # if test -d "$exttagdir" ; then + # DOXY_TAGFILES="$DOXY_TAGFILES $exttag=$exttagdir" + # fi + # done + # fi + #done + AC_SUBST(DOXY_TAGFILES) + ## + ##--/doxyxgen: tag-files + +fi; # if "$gfsm_doc_formats" != "none" ... + +##-- conditionals +AM_CONDITIONAL(HAVE_DOXYGEN, [test -n "$DOXYGEN" -a "$DOXYGEN" != "no"]) +AM_CONDITIONAL(HAVE_DOXY_FILTER, [test -n "$DOXY_FILTER" -a "$DOXY_FILTER" != "no"]) + +AM_CONDITIONAL(HAVE_POD2TEXT, [test -n "$POD2TEXT" -a "$POD2TEXT" != "no"]) +AM_CONDITIONAL(HAVE_POD2MAN, [test -n "$POD2MAN" -a "$POD2MAN" != "no"]) +AM_CONDITIONAL(HAVE_POD2HTML, [test -n "$POD2HTML" -a "$POD2HTML" != "no"]) +AM_CONDITIONAL(HAVE_POD2LATEX, [test -n "$POD2LATEX" -a "$POD2LATEX" != "no"]) + +AM_CONDITIONAL(DOC_WANT_TXT, [test -n "$CONFIG_DOC_WANT_TXT" -a "$CONFIG_DOC_WANT_TXT" != "no"]) +AM_CONDITIONAL(DOC_WANT_MAN, [test -n "$CONFIG_DOC_WANT_MAN" -a "$CONFIG_DOC_WANT_MAN" != "no"]) +AM_CONDITIONAL(DOC_WANT_HTML, [test -n "$CONFIG_DOC_WANT_HTML" -a "$CONFIG_DOC_WANT_HTML" != "no"]) +AM_CONDITIONAL(DOC_WANT_LATEX, [test -n "$CONFIG_DOC_WANT_LATEX" -a "$CONFIG_DOC_WANT_LATEX" != "no"]) +AM_CONDITIONAL(DOC_WANT_DVI, [test -n "$CONFIG_DOC_WANT_DVI" -a "$CONFIG_DOC_WANT_DVI" != "no"]) +AM_CONDITIONAL(DOC_WANT_PS, [test -n "$CONFIG_DOC_WANT_PS" -a "$CONFIG_DOC_WANT_PS" != "no"]) +AM_CONDITIONAL(DOC_WANT_PDF, [test -n "$CONFIG_DOC_WANT_PDF" -a "$CONFIG_DOC_WANT_PDF" != "no"]) + +## +## /Documentation +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## subdirs +AC_ARG_ENABLE(programs, + AC_HELP_STRING([--disable-programs],[Disable building of command-line utility suite]), + [enable_programs="$enableval"],[enable_programs="yes"]) + +GFSM_SUBDIRS="" +GFSM_SRC_SUBDIRS="" + +AC_MSG_CHECKING([whether to build any documentation]) +if test "$enable_doc" = "yes"; then + AC_MSG_RESULT(yes) + GFSM_SUBDIRS="doc" +else + AC_MSG_RESULT(no) +fi + +AC_MSG_CHECKING([whether to build command-line utility suite]) +if test "$enable_programs" = "yes"; then + AC_MSG_RESULT(yes) + GFSM_SUBDIRS="$GFSM_SUBDIRS tests" + GFSM_SRC_SUBDIRS="programs" +else + AC_MSG_RESULT(no) +fi + +AC_SUBST(GFSM_SUBDIRS) +AC_SUBST(GFSM_SRC_SUBDIRS) +## /subdirs +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + +#--------------------------------------------------------------- +# Binary distribution +BINDIST_RELEASE=0 + +## -- hack: canonicalize package-name to lower-case (for debian)
@@ Diff output truncated at 100000 characters. @@
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.