From db4391f3756708767ffd424add5ed89d24218f4e Mon Sep 17 00:00:00 2001 From: jdh8d <jdh8d@git.zephyr-software.com> Date: Thu, 6 Dec 2012 19:36:57 +0000 Subject: [PATCH] moving tests Former-commit-id: 362e3af022a5878c18da58c872616acf24dd8787 --- .gitattributes | 410 -- arid_examples/Makefile | 101 - arid_examples/count.stock | Bin 78759 -> 0 bytes .../html-xml-utils-3.0/.deps/addid.Po | 136 - .../html-xml-utils-3.0/.deps/asc2xml.Po | 97 - .../html-xml-utils-3.0/.deps/cexport.Po | 97 - .../html-xml-utils-3.0/.deps/cite.Po | 123 - .../html-xml-utils-3.0/.deps/class.Po | 57 - .../html-xml-utils-3.0/.deps/connectsock.Po | 132 - .../html-xml-utils-3.0/.deps/count.Po | 122 - arid_examples/html-xml-utils-3.0/.deps/dtd.Po | 79 - .../html-xml-utils-3.0/.deps/errexit.Po | 97 - .../html-xml-utils-3.0/.deps/extract.Po | 115 - .../html-xml-utils-3.0/.deps/genid.Po | 127 - .../html-xml-utils-3.0/.deps/hash.Po | 67 - .../html-xml-utils-3.0/.deps/heap.Po | 96 - .../html-xml-utils-3.0/.deps/html.Po | 103 - .../html-xml-utils-3.0/.deps/htmlclean.Po | 93 - .../html-xml-utils-3.0/.deps/htmlprune.Po | 115 - .../html-xml-utils-3.0/.deps/incl.Po | 126 - .../html-xml-utils-3.0/.deps/index.Po | 138 - .../html-xml-utils-3.0/.deps/malloc.Po | 1 - .../html-xml-utils-3.0/.deps/mkbib.Po | 122 - .../html-xml-utils-3.0/.deps/multitoc.Po | 113 - .../html-xml-utils-3.0/.deps/normalize.Po | 126 - arid_examples/html-xml-utils-3.0/.deps/num.Po | 122 - .../html-xml-utils-3.0/.deps/openurl.Po | 169 - .../html-xml-utils-3.0/.deps/pipe.Po | 122 - .../html-xml-utils-3.0/.deps/scan.Po | 110 - .../html-xml-utils-3.0/.deps/selector.Po | 107 - .../html-xml-utils-3.0/.deps/strdup.Po | 1 - .../html-xml-utils-3.0/.deps/strerror.Po | 1 - .../html-xml-utils-3.0/.deps/strstr.Po | 1 - .../html-xml-utils-3.0/.deps/textwrap.Po | 81 - .../html-xml-utils-3.0/.deps/tfind.Po | 1 - arid_examples/html-xml-utils-3.0/.deps/toc.Po | 138 - .../html-xml-utils-3.0/.deps/tree.Po | 108 - .../html-xml-utils-3.0/.deps/tsearch.Po | 1 - .../html-xml-utils-3.0/.deps/twalk.Po | 1 - .../html-xml-utils-3.0/.deps/types.Po | 79 - .../html-xml-utils-3.0/.deps/uncdata.Po | 71 - .../html-xml-utils-3.0/.deps/unpipe.Po | 122 - arid_examples/html-xml-utils-3.0/.deps/url.Po | 110 - arid_examples/html-xml-utils-3.0/.deps/wls.Po | 112 - .../html-xml-utils-3.0/.deps/xml2asc.Po | 97 - .../html-xml-utils-3.0/.deps/xmlns.Po | 124 - .../html-xml-utils-3.0/.deps/xref.Po | 133 - .../html-xml-utils-3.0/.deps/xselect.Po | 128 - arid_examples/html-xml-utils-3.0/AUTHORS | 1 - arid_examples/html-xml-utils-3.0/COPYING | 340 - arid_examples/html-xml-utils-3.0/ChangeLog | 309 - arid_examples/html-xml-utils-3.0/INSTALL | 229 - arid_examples/html-xml-utils-3.0/Makefile | 1139 --- arid_examples/html-xml-utils-3.0/Makefile.am | 119 - arid_examples/html-xml-utils-3.0/Makefile.in | 1139 --- arid_examples/html-xml-utils-3.0/NEWS | 0 arid_examples/html-xml-utils-3.0/README | 53 - arid_examples/html-xml-utils-3.0/TODO | 16 - arid_examples/html-xml-utils-3.0/acinclude.m4 | 14 - arid_examples/html-xml-utils-3.0/aclocal.m4 | 985 --- arid_examples/html-xml-utils-3.0/addid.c | 223 - arid_examples/html-xml-utils-3.0/asc2xml.1 | 26 - arid_examples/html-xml-utils-3.0/asc2xml.c | 116 - .../autom4te.cache/output.0 | 6390 ----------------- .../autom4te.cache/output.1 | 6390 ----------------- .../autom4te.cache/requests | 143 - .../autom4te.cache/traces.0 | 792 -- .../autom4te.cache/traces.1 | 541 -- arid_examples/html-xml-utils-3.0/cexport.1 | 24 - arid_examples/html-xml-utils-3.0/cexport.c | 449 -- arid_examples/html-xml-utils-3.0/cite-mkbib | 42 - arid_examples/html-xml-utils-3.0/cite-mkbib.1 | 311 - arid_examples/html-xml-utils-3.0/cite.1 | 138 - arid_examples/html-xml-utils-3.0/cite.c | 282 - arid_examples/html-xml-utils-3.0/class.c | 53 - arid_examples/html-xml-utils-3.0/class.e | 2 - arid_examples/html-xml-utils-3.0/config.h | 179 - arid_examples/html-xml-utils-3.0/config.h.in | 178 - arid_examples/html-xml-utils-3.0/config.log | 2912 -------- .../html-xml-utils-3.0/config.status | 1222 ---- arid_examples/html-xml-utils-3.0/configure | 6390 ----------------- arid_examples/html-xml-utils-3.0/configure.in | 46 - .../html-xml-utils-3.0/connectsock.c | 136 - .../html-xml-utils-3.0/connectsock.e | 7 - arid_examples/html-xml-utils-3.0/count.1 | 31 - arid_examples/html-xml-utils-3.0/count.c | 163 - arid_examples/html-xml-utils-3.0/depcomp | 520 -- arid_examples/html-xml-utils-3.0/dtd.c | 246 - arid_examples/html-xml-utils-3.0/dtd.e | 8 - arid_examples/html-xml-utils-3.0/dtd.hash | 130 - .../html-xml-utils-3.0/dynamic_ps.sh | 16 - arid_examples/html-xml-utils-3.0/errexit.c | 32 - arid_examples/html-xml-utils-3.0/errexit.e | 1 - arid_examples/html-xml-utils-3.0/export.h | 31 - arid_examples/html-xml-utils-3.0/extract.c | 262 - arid_examples/html-xml-utils-3.0/genid.c | 126 - arid_examples/html-xml-utils-3.0/genid.e | 2 - arid_examples/html-xml-utils-3.0/hash.c | 114 - arid_examples/html-xml-utils-3.0/hash.e | 5 - arid_examples/html-xml-utils-3.0/heap.c | 79 - arid_examples/html-xml-utils-3.0/heap.e | 12 - arid_examples/html-xml-utils-3.0/html.c | 1359 ---- arid_examples/html-xml-utils-3.0/html.e | 34 - arid_examples/html-xml-utils-3.0/html.h | 76 - arid_examples/html-xml-utils-3.0/html.y | 153 - arid_examples/html-xml-utils-3.0/htmlclean.1 | 18 - arid_examples/html-xml-utils-3.0/htmlclean.c | 120 - arid_examples/html-xml-utils-3.0/htmlprune.1 | 35 - arid_examples/html-xml-utils-3.0/htmlprune.c | 203 - arid_examples/html-xml-utils-3.0/incl.1 | 90 - arid_examples/html-xml-utils-3.0/incl.c | 329 - arid_examples/html-xml-utils-3.0/index.1 | 162 - arid_examples/html-xml-utils-3.0/index.c | 605 -- arid_examples/html-xml-utils-3.0/install-sh | 316 - arid_examples/html-xml-utils-3.0/malloc.c | 19 - arid_examples/html-xml-utils-3.0/missing | 360 - arid_examples/html-xml-utils-3.0/mkbib.1 | 309 - arid_examples/html-xml-utils-3.0/mkbib.c | 550 -- arid_examples/html-xml-utils-3.0/multitoc.1 | 31 - arid_examples/html-xml-utils-3.0/multitoc.c | 287 - .../native_build.dynamic.sh | 9 - .../html-xml-utils-3.0/native_build.static.sh | 9 - arid_examples/html-xml-utils-3.0/normalize.1 | 77 - arid_examples/html-xml-utils-3.0/normalize.c | 282 - arid_examples/html-xml-utils-3.0/num.1 | 15 - arid_examples/html-xml-utils-3.0/num.c | 347 - arid_examples/html-xml-utils-3.0/openurl.c | 171 - arid_examples/html-xml-utils-3.0/openurl.e | 1 - arid_examples/html-xml-utils-3.0/pipe.1 | 20 - arid_examples/html-xml-utils-3.0/pipe.c | 281 - arid_examples/html-xml-utils-3.0/printlinks | 142 - arid_examples/html-xml-utils-3.0/scan.c | 2359 ------ arid_examples/html-xml-utils-3.0/scan.c.bk | 2725 ------- arid_examples/html-xml-utils-3.0/scan.c.good | 2359 ------ arid_examples/html-xml-utils-3.0/scan.e | 3 - arid_examples/html-xml-utils-3.0/scan.l | 182 - arid_examples/html-xml-utils-3.0/selector.c | 691 -- arid_examples/html-xml-utils-3.0/selector.e | 31 - .../ss_test_data/cobertura-html/css/help.css | 22 - .../ss_test_data/cobertura-html/css/main.css | 131 - .../cobertura-html/css/sortabletable.css | 50 - .../cobertura-html/css/source-viewer.css | 74 - .../cobertura-html/css/tooltip.css | 49 - .../cobertura-html/frame-packages.html | 23 - .../frame-sourcefiles-test.first.html | 23 - .../frame-sourcefiles-test.second.html | 23 - .../cobertura-html/frame-sourcefiles.html | 26 - .../frame-summary-test.first.html | 42 - .../frame-summary-test.second.html | 42 - .../cobertura-html/frame-summary.html | 31 - .../ss_test_data/cobertura-html/help.html | 31 - .../cobertura-html/images/blank.png | Bin 144 -> 0 bytes .../cobertura-html/images/downsimple.png | Bin 201 -> 0 bytes .../cobertura-html/images/upsimple.png | Bin 201 -> 0 bytes .../ss_test_data/cobertura-html/index.html | 25 - .../cobertura-html/js/customsorttypes.js | 65 - .../ss_test_data/cobertura-html/js/popup.js | 8 - .../cobertura-html/js/sortabletable.js | 455 -- .../cobertura-html/js/stringbuilder.js | 79 - .../cobertura-html/test.first.A.html | 124 - .../cobertura-html/test.second.A.html | 124 - arid_examples/html-xml-utils-3.0/stamp-h1 | 1 - arid_examples/html-xml-utils-3.0/static_ps.sh | 15 - arid_examples/html-xml-utils-3.0/strdup.c | 22 - arid_examples/html-xml-utils-3.0/strerror.c | 21 - arid_examples/html-xml-utils-3.0/strstr.c | 24 - .../html-xml-utils-3.0/testruns/2938y.e | 0 .../html-xml-utils-3.0/testruns/325.e | 0 .../html-xml-utils-3.0/testruns/325809y.e | 0 .../html-xml-utils-3.0/testruns/4398hf.e | 0 .../html-xml-utils-3.0/testruns/abcde.e | 0 .../html-xml-utils-3.0/testruns/addid.c | 223 - .../html-xml-utils-3.0/testruns/addid.e | 11 - .../html-xml-utils-3.0/testruns/agi43.e | 0 .../html-xml-utils-3.0/testruns/ah.e | 0 .../html-xml-utils-3.0/testruns/aidhf.e | 0 .../html-xml-utils-3.0/testruns/aioh.e | 0 .../html-xml-utils-3.0/testruns/aisd.e | 0 .../html-xml-utils-3.0/testruns/aishgdf.e | 0 .../html-xml-utils-3.0/testruns/aisif.e | 0 .../html-xml-utils-3.0/testruns/aisudfa.e | 0 .../html-xml-utils-3.0/testruns/aodsfah.e | 0 .../html-xml-utils-3.0/testruns/aohasfg.e | 0 .../html-xml-utils-3.0/testruns/aohs.e | 0 .../html-xml-utils-3.0/testruns/aohsdf.e | 0 .../html-xml-utils-3.0/testruns/aohsf.e | 0 .../html-xml-utils-3.0/testruns/aoht.e | 0 .../html-xml-utils-3.0/testruns/aoih.e | 0 .../html-xml-utils-3.0/testruns/aoih4.e | 0 .../html-xml-utils-3.0/testruns/aoihd.e | 0 .../html-xml-utils-3.0/testruns/aoihdsf.e | 0 .../html-xml-utils-3.0/testruns/aoihs.e | 0 .../html-xml-utils-3.0/testruns/aoijh.e | 0 .../html-xml-utils-3.0/testruns/aois.e | 0 .../html-xml-utils-3.0/testruns/aoisdfh.e | 0 .../html-xml-utils-3.0/testruns/aoisdfja.e | 0 .../html-xml-utils-3.0/testruns/aoish.e | 0 .../html-xml-utils-3.0/testruns/aoishdf.e | 0 .../html-xml-utils-3.0/testruns/aoishf.e | 0 .../html-xml-utils-3.0/testruns/aos85ry.e | 0 .../html-xml-utils-3.0/testruns/aosdfh.e | 0 .../html-xml-utils-3.0/testruns/aoshdf.e | 0 .../html-xml-utils-3.0/testruns/aoshdfa.e | 0 .../html-xml-utils-3.0/testruns/aosid.e | 0 ...iuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiu.e | 0 .../html-xml-utils-3.0/testruns/aosidhf.e | 0 .../html-xml-utils-3.0/testruns/aosih.e | 0 .../html-xml-utils-3.0/testruns/aosihdf.e | 0 .../html-xml-utils-3.0/testruns/aosiohfa.e | 0 .../html-xml-utils-3.0/testruns/asc2xml.c | 116 - .../html-xml-utils-3.0/testruns/asc2xml.e | 0 .../html-xml-utils-3.0/testruns/asidfu.e | 0 .../html-xml-utils-3.0/testruns/asifh.e | 0 .../html-xml-utils-3.0/testruns/asifhu.e | 0 .../html-xml-utils-3.0/testruns/asih.e | 0 .../html-xml-utils-3.0/testruns/asoh.e | 0 .../html-xml-utils-3.0/testruns/b*.e | 0 .../html-xml-utils-3.0/testruns/cexport.c | 449 -- .../html-xml-utils-3.0/testruns/cexport.e | 0 .../html-xml-utils-3.0/testruns/cite.c | 282 - .../html-xml-utils-3.0/testruns/cite.e | 1 - .../html-xml-utils-3.0/testruns/class.c | 53 - .../html-xml-utils-3.0/testruns/class.e | 2 - .../html-xml-utils-3.0/testruns/config.h | 176 - .../html-xml-utils-3.0/testruns/connectsock.c | 136 - .../html-xml-utils-3.0/testruns/connectsock.e | 7 - .../html-xml-utils-3.0/testruns/count.c | 163 - .../html-xml-utils-3.0/testruns/count.e | 0 .../html-xml-utils-3.0/testruns/doiah.e | 0 .../html-xml-utils-3.0/testruns/dtd.c | 246 - .../html-xml-utils-3.0/testruns/dtd.e | 8 - .../html-xml-utils-3.0/testruns/e4t5.e | 0 .../html-xml-utils-3.0/testruns/ei5.e | 0 .../html-xml-utils-3.0/testruns/errexit.c | 32 - .../html-xml-utils-3.0/testruns/errexit.e | 1 - .../html-xml-utils-3.0/testruns/export.h | 31 - .../html-xml-utils-3.0/testruns/extract.c | 262 - .../html-xml-utils-3.0/testruns/extract.e | 12 - .../html-xml-utils-3.0/testruns/f*.e | 0 .../html-xml-utils-3.0/testruns/genid.c | 126 - .../html-xml-utils-3.0/testruns/genid.e | 2 - .../html-xml-utils-3.0/testruns/hash.c | 114 - .../html-xml-utils-3.0/testruns/hash.e | 5 - .../html-xml-utils-3.0/testruns/heap.c | 79 - .../html-xml-utils-3.0/testruns/heap.e | 12 - .../html-xml-utils-3.0/testruns/html.c | 1359 ---- .../html-xml-utils-3.0/testruns/html.e | 34 - .../html-xml-utils-3.0/testruns/html.h | 76 - .../html-xml-utils-3.0/testruns/htmlclean.c | 120 - .../html-xml-utils-3.0/testruns/htmlclean.e | 0 .../html-xml-utils-3.0/testruns/htmlprune.c | 203 - .../html-xml-utils-3.0/testruns/htmlprune.e | 11 - .../html-xml-utils-3.0/testruns/iashfa.e | 0 .../html-xml-utils-3.0/testruns/ihosd.e | 0 .../html-xml-utils-3.0/testruns/incl.c | 329 - .../html-xml-utils-3.0/testruns/incl.e | 0 .../html-xml-utils-3.0/testruns/index.c | 605 -- .../html-xml-utils-3.0/testruns/index.e | 4 - .../html-xml-utils-3.0/testruns/ish.e | 0 .../html-xml-utils-3.0/testruns/j*.e | 0 .../html-xml-utils-3.0/testruns/junk.c | 4 - .../html-xml-utils-3.0/testruns/junk.e | 0 .../html-xml-utils-3.0/testruns/k*.e | 0 .../html-xml-utils-3.0/testruns/l*.e | 0 .../html-xml-utils-3.0/testruns/malloc.c | 19 - .../html-xml-utils-3.0/testruns/malloc.e | 0 .../html-xml-utils-3.0/testruns/mkbib.c | 550 -- .../html-xml-utils-3.0/testruns/mkbib.e | 0 .../html-xml-utils-3.0/testruns/multitoc.c | 287 - .../html-xml-utils-3.0/testruns/multitoc.e | 13 - .../html-xml-utils-3.0/testruns/normalize.c | 282 - .../html-xml-utils-3.0/testruns/normalize.e | 0 .../html-xml-utils-3.0/testruns/num.c | 347 - .../html-xml-utils-3.0/testruns/num.e | 0 .../html-xml-utils-3.0/testruns/o4t.e | 0 .../html-xml-utils-3.0/testruns/oahisd.e | 0 .../html-xml-utils-3.0/testruns/oaieth.e | 0 .../html-xml-utils-3.0/testruns/oaisdohfa.e | 0 .../html-xml-utils-3.0/testruns/oaisfd.e | 0 .../html-xml-utils-3.0/testruns/oaishdf.e | 0 .../html-xml-utils-3.0/testruns/oashdf.e | 0 .../html-xml-utils-3.0/testruns/oasidf.e | 0 .../html-xml-utils-3.0/testruns/oasihd.e | 0 .../html-xml-utils-3.0/testruns/oasihf.e | 0 .../html-xml-utils-3.0/testruns/ohosfd.e | 0 .../html-xml-utils-3.0/testruns/oi5h.e | 0 .../html-xml-utils-3.0/testruns/oiahs.e | 0 .../html-xml-utils-3.0/testruns/oih.e | 0 .../html-xml-utils-3.0/testruns/oihas.e | 0 .../html-xml-utils-3.0/testruns/oihst.e | 0 .../html-xml-utils-3.0/testruns/oiht.e | 0 .../html-xml-utils-3.0/testruns/ois.e | 0 .../html-xml-utils-3.0/testruns/oisdfh.e | 0 .../html-xml-utils-3.0/testruns/oish.e | 0 .../html-xml-utils-3.0/testruns/oishdf.e | 0 .../html-xml-utils-3.0/testruns/oishfd.e | 0 .../html-xml-utils-3.0/testruns/oisjdf.e | 0 .../html-xml-utils-3.0/testruns/oiuser.e | 0 .../html-xml-utils-3.0/testruns/openurl.c | 171 - .../html-xml-utils-3.0/testruns/openurl.e | 1 - .../html-xml-utils-3.0/testruns/osidhf.e | 0 .../html-xml-utils-3.0/testruns/pipe.c | 281 - .../html-xml-utils-3.0/testruns/pipe.e | 0 .../html-xml-utils-3.0/testruns/q*.e | 0 .../html-xml-utils-3.0/testruns/r*.e | 0 .../html-xml-utils-3.0/testruns/scan.c | 2359 ------ .../html-xml-utils-3.0/testruns/scan.e | 3 - .../html-xml-utils-3.0/testruns/selector.c | 691 -- .../html-xml-utils-3.0/testruns/selector.e | 31 - .../html-xml-utils-3.0/testruns/sihf.e | 0 .../html-xml-utils-3.0/testruns/soidhf.e | 0 .../html-xml-utils-3.0/testruns/soih.e | 0 .../html-xml-utils-3.0/testruns/soihfs.e | 0 .../html-xml-utils-3.0/testruns/strdup.c | 22 - .../html-xml-utils-3.0/testruns/strdup.e | 1 - .../html-xml-utils-3.0/testruns/strerror.c | 21 - .../html-xml-utils-3.0/testruns/strerror.e | 1 - .../html-xml-utils-3.0/testruns/strstr.c | 24 - .../html-xml-utils-3.0/testruns/strstr.e | 1 - .../html-xml-utils-3.0/testruns/test.html | 32 - .../html-xml-utils-3.0/testruns/textwrap.c | 150 - .../html-xml-utils-3.0/testruns/textwrap.e | 10 - .../html-xml-utils-3.0/testruns/tfind.c | 52 - .../html-xml-utils-3.0/testruns/tfind.e | 0 .../html-xml-utils-3.0/testruns/toc.c | 381 - .../html-xml-utils-3.0/testruns/toc.e | 11 - .../html-xml-utils-3.0/testruns/toih.e | 0 .../html-xml-utils-3.0/testruns/tree.c | 509 -- .../html-xml-utils-3.0/testruns/tree.e | 35 - .../html-xml-utils-3.0/testruns/tsearch.c | 62 - .../html-xml-utils-3.0/testruns/tsearch.e | 0 .../html-xml-utils-3.0/testruns/twalk.c | 62 - .../html-xml-utils-3.0/testruns/twalk.e | 0 .../html-xml-utils-3.0/testruns/types.c | 101 - .../html-xml-utils-3.0/testruns/types.e | 26 - .../html-xml-utils-3.0/testruns/uncdata.c | 141 - .../html-xml-utils-3.0/testruns/uncdata.e | 0 .../html-xml-utils-3.0/testruns/unent.c | 587 -- .../html-xml-utils-3.0/testruns/unent.e | 0 .../html-xml-utils-3.0/testruns/unpipe.c | 150 - .../html-xml-utils-3.0/testruns/unpipe.e | 0 .../html-xml-utils-3.0/testruns/url.c | 256 - .../html-xml-utils-3.0/testruns/url.e | 14 - .../html-xml-utils-3.0/testruns/wls.c | 279 - .../html-xml-utils-3.0/testruns/wls.e | 0 .../html-xml-utils-3.0/testruns/xml2asc.c | 115 - .../html-xml-utils-3.0/testruns/xml2asc.e | 0 .../html-xml-utils-3.0/testruns/xmlns.c | 285 - .../html-xml-utils-3.0/testruns/xmlns.e | 0 .../html-xml-utils-3.0/testruns/xref.c | 455 -- .../html-xml-utils-3.0/testruns/xref.e | 0 .../html-xml-utils-3.0/testruns/xselect.c | 465 -- .../html-xml-utils-3.0/testruns/xselect.e | 0 .../html-xml-utils-3.0/testruns/y*.e | 0 .../html-xml-utils-3.0/testruns/z*.e | 0 arid_examples/html-xml-utils-3.0/textwrap.c | 150 - arid_examples/html-xml-utils-3.0/textwrap.e | 10 - arid_examples/html-xml-utils-3.0/tfind.c | 52 - .../html-xml-utils-3.0/timing_runs.sh | 44 - arid_examples/html-xml-utils-3.0/toc.1 | 92 - arid_examples/html-xml-utils-3.0/toc.c | 381 - arid_examples/html-xml-utils-3.0/tree.c | 509 -- arid_examples/html-xml-utils-3.0/tree.e | 35 - arid_examples/html-xml-utils-3.0/tsearch.c | 62 - arid_examples/html-xml-utils-3.0/twalk.c | 62 - arid_examples/html-xml-utils-3.0/types.c | 101 - arid_examples/html-xml-utils-3.0/types.e | 26 - arid_examples/html-xml-utils-3.0/uncdata.c | 141 - arid_examples/html-xml-utils-3.0/unent.1 | 18 - arid_examples/html-xml-utils-3.0/unent.c | 0 arid_examples/html-xml-utils-3.0/unent.hash | 399 - arid_examples/html-xml-utils-3.0/unpipe.1 | 19 - arid_examples/html-xml-utils-3.0/unpipe.c | 150 - arid_examples/html-xml-utils-3.0/url.c | 256 - arid_examples/html-xml-utils-3.0/url.e | 14 - arid_examples/html-xml-utils-3.0/wls.1 | 71 - arid_examples/html-xml-utils-3.0/wls.c | 279 - arid_examples/html-xml-utils-3.0/xml2asc.1 | 36 - arid_examples/html-xml-utils-3.0/xml2asc.c | 115 - arid_examples/html-xml-utils-3.0/xmlns.1 | 31 - arid_examples/html-xml-utils-3.0/xmlns.c | 285 - arid_examples/html-xml-utils-3.0/xref.1 | 105 - arid_examples/html-xml-utils-3.0/xref.c | 455 -- arid_examples/html-xml-utils-3.0/xselect.c | 465 -- arid_examples/html-xml-utils-3.0/ylwrap | 222 - .../ss_test_data/cobertura-html/css/help.css | 22 - .../ss_test_data/cobertura-html/css/main.css | 131 - .../cobertura-html/css/sortabletable.css | 50 - .../cobertura-html/css/source-viewer.css | 74 - .../cobertura-html/css/tooltip.css | 49 - .../cobertura-html/frame-packages.html | 23 - .../frame-sourcefiles-test.first.html | 23 - .../frame-sourcefiles-test.second.html | 23 - .../cobertura-html/frame-sourcefiles.html | 26 - .../frame-summary-test.first.html | 42 - .../frame-summary-test.second.html | 42 - .../cobertura-html/frame-summary.html | 31 - .../ss_test_data/cobertura-html/help.html | 31 - .../cobertura-html/images/blank.png | Bin 144 -> 0 bytes .../cobertura-html/images/downsimple.png | Bin 201 -> 0 bytes .../cobertura-html/images/upsimple.png | Bin 201 -> 0 bytes .../ss_test_data/cobertura-html/index.html | 25 - .../cobertura-html/js/customsorttypes.js | 65 - .../ss_test_data/cobertura-html/js/popup.js | 8 - .../cobertura-html/js/sortabletable.js | 455 -- .../cobertura-html/js/stringbuilder.js | 79 - .../cobertura-html/test.first.A.html | 124 - .../cobertura-html/test.second.A.html | 124 - arid_examples/wls.out | 4 - arid_examples/wls.stock | Bin 82760 -> 0 bytes arid_examples/xref.stock | Bin 168618 -> 0 bytes 411 files changed, 74749 deletions(-) delete mode 100644 arid_examples/Makefile delete mode 100755 arid_examples/count.stock delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/addid.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/asc2xml.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/cexport.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/cite.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/class.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/connectsock.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/count.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/dtd.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/errexit.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/extract.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/genid.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/hash.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/heap.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/html.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/htmlclean.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/htmlprune.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/incl.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/index.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/malloc.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/mkbib.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/multitoc.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/normalize.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/num.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/openurl.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/pipe.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/scan.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/selector.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/strdup.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/strerror.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/strstr.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/textwrap.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/tfind.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/toc.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/tree.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/tsearch.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/twalk.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/types.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/uncdata.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/unpipe.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/url.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/wls.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/xml2asc.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/xmlns.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/xref.Po delete mode 100644 arid_examples/html-xml-utils-3.0/.deps/xselect.Po delete mode 100644 arid_examples/html-xml-utils-3.0/AUTHORS delete mode 100644 arid_examples/html-xml-utils-3.0/COPYING delete mode 100644 arid_examples/html-xml-utils-3.0/ChangeLog delete mode 100644 arid_examples/html-xml-utils-3.0/INSTALL delete mode 100644 arid_examples/html-xml-utils-3.0/Makefile delete mode 100644 arid_examples/html-xml-utils-3.0/Makefile.am delete mode 100644 arid_examples/html-xml-utils-3.0/Makefile.in delete mode 100644 arid_examples/html-xml-utils-3.0/NEWS delete mode 100644 arid_examples/html-xml-utils-3.0/README delete mode 100644 arid_examples/html-xml-utils-3.0/TODO delete mode 100644 arid_examples/html-xml-utils-3.0/acinclude.m4 delete mode 100644 arid_examples/html-xml-utils-3.0/aclocal.m4 delete mode 100644 arid_examples/html-xml-utils-3.0/addid.c delete mode 100644 arid_examples/html-xml-utils-3.0/asc2xml.1 delete mode 100644 arid_examples/html-xml-utils-3.0/asc2xml.c delete mode 100644 arid_examples/html-xml-utils-3.0/autom4te.cache/output.0 delete mode 100644 arid_examples/html-xml-utils-3.0/autom4te.cache/output.1 delete mode 100644 arid_examples/html-xml-utils-3.0/autom4te.cache/requests delete mode 100644 arid_examples/html-xml-utils-3.0/autom4te.cache/traces.0 delete mode 100644 arid_examples/html-xml-utils-3.0/autom4te.cache/traces.1 delete mode 100644 arid_examples/html-xml-utils-3.0/cexport.1 delete mode 100644 arid_examples/html-xml-utils-3.0/cexport.c delete mode 100755 arid_examples/html-xml-utils-3.0/cite-mkbib delete mode 100644 arid_examples/html-xml-utils-3.0/cite-mkbib.1 delete mode 100644 arid_examples/html-xml-utils-3.0/cite.1 delete mode 100644 arid_examples/html-xml-utils-3.0/cite.c delete mode 100644 arid_examples/html-xml-utils-3.0/class.c delete mode 100644 arid_examples/html-xml-utils-3.0/class.e delete mode 100644 arid_examples/html-xml-utils-3.0/config.h delete mode 100644 arid_examples/html-xml-utils-3.0/config.h.in delete mode 100644 arid_examples/html-xml-utils-3.0/config.log delete mode 100755 arid_examples/html-xml-utils-3.0/config.status delete mode 100755 arid_examples/html-xml-utils-3.0/configure delete mode 100644 arid_examples/html-xml-utils-3.0/configure.in delete mode 100644 arid_examples/html-xml-utils-3.0/connectsock.c delete mode 100644 arid_examples/html-xml-utils-3.0/connectsock.e delete mode 100644 arid_examples/html-xml-utils-3.0/count.1 delete mode 100644 arid_examples/html-xml-utils-3.0/count.c delete mode 100755 arid_examples/html-xml-utils-3.0/depcomp delete mode 100644 arid_examples/html-xml-utils-3.0/dtd.c delete mode 100644 arid_examples/html-xml-utils-3.0/dtd.e delete mode 100644 arid_examples/html-xml-utils-3.0/dtd.hash delete mode 100755 arid_examples/html-xml-utils-3.0/dynamic_ps.sh delete mode 100644 arid_examples/html-xml-utils-3.0/errexit.c delete mode 100644 arid_examples/html-xml-utils-3.0/errexit.e delete mode 100644 arid_examples/html-xml-utils-3.0/export.h delete mode 100644 arid_examples/html-xml-utils-3.0/extract.c delete mode 100644 arid_examples/html-xml-utils-3.0/genid.c delete mode 100644 arid_examples/html-xml-utils-3.0/genid.e delete mode 100644 arid_examples/html-xml-utils-3.0/hash.c delete mode 100644 arid_examples/html-xml-utils-3.0/hash.e delete mode 100644 arid_examples/html-xml-utils-3.0/heap.c delete mode 100644 arid_examples/html-xml-utils-3.0/heap.e delete mode 100644 arid_examples/html-xml-utils-3.0/html.c delete mode 100644 arid_examples/html-xml-utils-3.0/html.e delete mode 100644 arid_examples/html-xml-utils-3.0/html.h delete mode 100644 arid_examples/html-xml-utils-3.0/html.y delete mode 100644 arid_examples/html-xml-utils-3.0/htmlclean.1 delete mode 100644 arid_examples/html-xml-utils-3.0/htmlclean.c delete mode 100644 arid_examples/html-xml-utils-3.0/htmlprune.1 delete mode 100644 arid_examples/html-xml-utils-3.0/htmlprune.c delete mode 100644 arid_examples/html-xml-utils-3.0/incl.1 delete mode 100644 arid_examples/html-xml-utils-3.0/incl.c delete mode 100644 arid_examples/html-xml-utils-3.0/index.1 delete mode 100644 arid_examples/html-xml-utils-3.0/index.c delete mode 100755 arid_examples/html-xml-utils-3.0/install-sh delete mode 100644 arid_examples/html-xml-utils-3.0/malloc.c delete mode 100755 arid_examples/html-xml-utils-3.0/missing delete mode 100644 arid_examples/html-xml-utils-3.0/mkbib.1 delete mode 100644 arid_examples/html-xml-utils-3.0/mkbib.c delete mode 100644 arid_examples/html-xml-utils-3.0/multitoc.1 delete mode 100644 arid_examples/html-xml-utils-3.0/multitoc.c delete mode 100755 arid_examples/html-xml-utils-3.0/native_build.dynamic.sh delete mode 100755 arid_examples/html-xml-utils-3.0/native_build.static.sh delete mode 100644 arid_examples/html-xml-utils-3.0/normalize.1 delete mode 100644 arid_examples/html-xml-utils-3.0/normalize.c delete mode 100644 arid_examples/html-xml-utils-3.0/num.1 delete mode 100644 arid_examples/html-xml-utils-3.0/num.c delete mode 100644 arid_examples/html-xml-utils-3.0/openurl.c delete mode 100644 arid_examples/html-xml-utils-3.0/openurl.e delete mode 100644 arid_examples/html-xml-utils-3.0/pipe.1 delete mode 100644 arid_examples/html-xml-utils-3.0/pipe.c delete mode 100755 arid_examples/html-xml-utils-3.0/printlinks delete mode 100644 arid_examples/html-xml-utils-3.0/scan.c delete mode 100644 arid_examples/html-xml-utils-3.0/scan.c.bk delete mode 100644 arid_examples/html-xml-utils-3.0/scan.c.good delete mode 100644 arid_examples/html-xml-utils-3.0/scan.e delete mode 100644 arid_examples/html-xml-utils-3.0/scan.l delete mode 100644 arid_examples/html-xml-utils-3.0/selector.c delete mode 100644 arid_examples/html-xml-utils-3.0/selector.e delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/help.css delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/main.css delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/sortabletable.css delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/source-viewer.css delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/tooltip.css delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-packages.html delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles-test.first.html delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles-test.second.html delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles.html delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary-test.first.html delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary-test.second.html delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary.html delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/help.html delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/blank.png delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/downsimple.png delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/upsimple.png delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/index.html delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/customsorttypes.js delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/popup.js delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/sortabletable.js delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/stringbuilder.js delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/test.first.A.html delete mode 100644 arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/test.second.A.html delete mode 100644 arid_examples/html-xml-utils-3.0/stamp-h1 delete mode 100755 arid_examples/html-xml-utils-3.0/static_ps.sh delete mode 100644 arid_examples/html-xml-utils-3.0/strdup.c delete mode 100644 arid_examples/html-xml-utils-3.0/strerror.c delete mode 100644 arid_examples/html-xml-utils-3.0/strstr.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/2938y.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/325.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/325809y.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/4398hf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/abcde.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/addid.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/addid.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/agi43.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/ah.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aidhf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aioh.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aisd.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aishgdf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aisif.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aisudfa.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aodsfah.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aohasfg.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aohs.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aohsdf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aohsf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoht.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoih.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoih4.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoihd.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoihdsf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoihs.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoijh.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aois.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoisdfh.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoisdfja.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoish.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoishdf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoishf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aos85ry.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aosdfh.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoshdf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aoshdfa.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aosid.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aosidffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9898989898989898989898989898989898989898989898989898989898989898989898nweorororororiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiu.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aosidhf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aosih.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aosihdf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/aosiohfa.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/asc2xml.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/asc2xml.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/asidfu.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/asifh.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/asifhu.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/asih.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/asoh.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/b*.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/cexport.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/cexport.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/cite.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/cite.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/class.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/class.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/config.h delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/connectsock.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/connectsock.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/count.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/count.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/doiah.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/dtd.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/dtd.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/e4t5.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/ei5.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/errexit.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/errexit.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/export.h delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/extract.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/extract.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/f*.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/genid.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/genid.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/hash.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/hash.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/heap.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/heap.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/html.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/html.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/html.h delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/htmlclean.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/htmlclean.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/htmlprune.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/htmlprune.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/iashfa.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/ihosd.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/incl.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/incl.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/index.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/index.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/ish.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/j*.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/junk.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/junk.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/k*.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/l*.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/malloc.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/malloc.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/mkbib.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/mkbib.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/multitoc.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/multitoc.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/normalize.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/normalize.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/num.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/num.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/o4t.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oahisd.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oaieth.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oaisdohfa.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oaisfd.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oaishdf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oashdf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oasidf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oasihd.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oasihf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/ohosfd.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oi5h.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oiahs.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oih.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oihas.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oihst.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oiht.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/ois.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oisdfh.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oish.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oishdf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oishfd.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oisjdf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/oiuser.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/openurl.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/openurl.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/osidhf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/pipe.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/pipe.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/q*.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/r*.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/scan.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/scan.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/selector.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/selector.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/sihf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/soidhf.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/soih.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/soihfs.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/strdup.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/strdup.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/strerror.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/strerror.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/strstr.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/strstr.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/test.html delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/textwrap.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/textwrap.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/tfind.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/tfind.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/toc.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/toc.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/toih.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/tree.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/tree.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/tsearch.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/tsearch.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/twalk.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/twalk.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/types.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/types.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/uncdata.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/uncdata.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/unent.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/unent.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/unpipe.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/unpipe.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/url.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/url.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/wls.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/wls.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/xml2asc.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/xml2asc.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/xmlns.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/xmlns.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/xref.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/xref.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/xselect.c delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/xselect.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/y*.e delete mode 100644 arid_examples/html-xml-utils-3.0/testruns/z*.e delete mode 100644 arid_examples/html-xml-utils-3.0/textwrap.c delete mode 100644 arid_examples/html-xml-utils-3.0/textwrap.e delete mode 100644 arid_examples/html-xml-utils-3.0/tfind.c delete mode 100755 arid_examples/html-xml-utils-3.0/timing_runs.sh delete mode 100644 arid_examples/html-xml-utils-3.0/toc.1 delete mode 100644 arid_examples/html-xml-utils-3.0/toc.c delete mode 100644 arid_examples/html-xml-utils-3.0/tree.c delete mode 100644 arid_examples/html-xml-utils-3.0/tree.e delete mode 100644 arid_examples/html-xml-utils-3.0/tsearch.c delete mode 100644 arid_examples/html-xml-utils-3.0/twalk.c delete mode 100644 arid_examples/html-xml-utils-3.0/types.c delete mode 100644 arid_examples/html-xml-utils-3.0/types.e delete mode 100644 arid_examples/html-xml-utils-3.0/uncdata.c delete mode 100644 arid_examples/html-xml-utils-3.0/unent.1 delete mode 100644 arid_examples/html-xml-utils-3.0/unent.c delete mode 100644 arid_examples/html-xml-utils-3.0/unent.hash delete mode 100644 arid_examples/html-xml-utils-3.0/unpipe.1 delete mode 100644 arid_examples/html-xml-utils-3.0/unpipe.c delete mode 100644 arid_examples/html-xml-utils-3.0/url.c delete mode 100644 arid_examples/html-xml-utils-3.0/url.e delete mode 100644 arid_examples/html-xml-utils-3.0/wls.1 delete mode 100644 arid_examples/html-xml-utils-3.0/wls.c delete mode 100644 arid_examples/html-xml-utils-3.0/xml2asc.1 delete mode 100644 arid_examples/html-xml-utils-3.0/xml2asc.c delete mode 100644 arid_examples/html-xml-utils-3.0/xmlns.1 delete mode 100644 arid_examples/html-xml-utils-3.0/xmlns.c delete mode 100644 arid_examples/html-xml-utils-3.0/xref.1 delete mode 100644 arid_examples/html-xml-utils-3.0/xref.c delete mode 100644 arid_examples/html-xml-utils-3.0/xselect.c delete mode 100755 arid_examples/html-xml-utils-3.0/ylwrap delete mode 100644 arid_examples/ss_test_data/cobertura-html/css/help.css delete mode 100644 arid_examples/ss_test_data/cobertura-html/css/main.css delete mode 100644 arid_examples/ss_test_data/cobertura-html/css/sortabletable.css delete mode 100644 arid_examples/ss_test_data/cobertura-html/css/source-viewer.css delete mode 100644 arid_examples/ss_test_data/cobertura-html/css/tooltip.css delete mode 100644 arid_examples/ss_test_data/cobertura-html/frame-packages.html delete mode 100644 arid_examples/ss_test_data/cobertura-html/frame-sourcefiles-test.first.html delete mode 100644 arid_examples/ss_test_data/cobertura-html/frame-sourcefiles-test.second.html delete mode 100644 arid_examples/ss_test_data/cobertura-html/frame-sourcefiles.html delete mode 100644 arid_examples/ss_test_data/cobertura-html/frame-summary-test.first.html delete mode 100644 arid_examples/ss_test_data/cobertura-html/frame-summary-test.second.html delete mode 100644 arid_examples/ss_test_data/cobertura-html/frame-summary.html delete mode 100644 arid_examples/ss_test_data/cobertura-html/help.html delete mode 100644 arid_examples/ss_test_data/cobertura-html/images/blank.png delete mode 100644 arid_examples/ss_test_data/cobertura-html/images/downsimple.png delete mode 100644 arid_examples/ss_test_data/cobertura-html/images/upsimple.png delete mode 100644 arid_examples/ss_test_data/cobertura-html/index.html delete mode 100644 arid_examples/ss_test_data/cobertura-html/js/customsorttypes.js delete mode 100644 arid_examples/ss_test_data/cobertura-html/js/popup.js delete mode 100644 arid_examples/ss_test_data/cobertura-html/js/sortabletable.js delete mode 100644 arid_examples/ss_test_data/cobertura-html/js/stringbuilder.js delete mode 100644 arid_examples/ss_test_data/cobertura-html/test.first.A.html delete mode 100644 arid_examples/ss_test_data/cobertura-html/test.second.A.html delete mode 100644 arid_examples/wls.out delete mode 100755 arid_examples/wls.stock delete mode 100755 arid_examples/xref.stock diff --git a/.gitattributes b/.gitattributes index 6219a579c..c7a97b713 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,415 +1,5 @@ * text=auto !eol /Makefile -text -arid_examples/Makefile -text -arid_examples/count.stock -text -arid_examples/html-xml-utils-3.0/.deps/addid.Po -text -arid_examples/html-xml-utils-3.0/.deps/asc2xml.Po -text -arid_examples/html-xml-utils-3.0/.deps/cexport.Po -text -arid_examples/html-xml-utils-3.0/.deps/cite.Po -text -arid_examples/html-xml-utils-3.0/.deps/class.Po -text -arid_examples/html-xml-utils-3.0/.deps/connectsock.Po -text -arid_examples/html-xml-utils-3.0/.deps/count.Po -text -arid_examples/html-xml-utils-3.0/.deps/dtd.Po -text -arid_examples/html-xml-utils-3.0/.deps/errexit.Po -text -arid_examples/html-xml-utils-3.0/.deps/extract.Po -text -arid_examples/html-xml-utils-3.0/.deps/genid.Po -text -arid_examples/html-xml-utils-3.0/.deps/hash.Po -text -arid_examples/html-xml-utils-3.0/.deps/heap.Po -text -arid_examples/html-xml-utils-3.0/.deps/html.Po -text -arid_examples/html-xml-utils-3.0/.deps/htmlclean.Po -text -arid_examples/html-xml-utils-3.0/.deps/htmlprune.Po -text -arid_examples/html-xml-utils-3.0/.deps/incl.Po -text -arid_examples/html-xml-utils-3.0/.deps/index.Po -text -arid_examples/html-xml-utils-3.0/.deps/malloc.Po -text -arid_examples/html-xml-utils-3.0/.deps/mkbib.Po -text -arid_examples/html-xml-utils-3.0/.deps/multitoc.Po -text -arid_examples/html-xml-utils-3.0/.deps/normalize.Po -text -arid_examples/html-xml-utils-3.0/.deps/num.Po -text -arid_examples/html-xml-utils-3.0/.deps/openurl.Po -text -arid_examples/html-xml-utils-3.0/.deps/pipe.Po -text -arid_examples/html-xml-utils-3.0/.deps/scan.Po -text -arid_examples/html-xml-utils-3.0/.deps/selector.Po -text -arid_examples/html-xml-utils-3.0/.deps/strdup.Po -text -arid_examples/html-xml-utils-3.0/.deps/strerror.Po -text -arid_examples/html-xml-utils-3.0/.deps/strstr.Po -text -arid_examples/html-xml-utils-3.0/.deps/textwrap.Po -text -arid_examples/html-xml-utils-3.0/.deps/tfind.Po -text -arid_examples/html-xml-utils-3.0/.deps/toc.Po -text -arid_examples/html-xml-utils-3.0/.deps/tree.Po -text -arid_examples/html-xml-utils-3.0/.deps/tsearch.Po -text -arid_examples/html-xml-utils-3.0/.deps/twalk.Po -text -arid_examples/html-xml-utils-3.0/.deps/types.Po -text -arid_examples/html-xml-utils-3.0/.deps/uncdata.Po -text -arid_examples/html-xml-utils-3.0/.deps/unpipe.Po -text -arid_examples/html-xml-utils-3.0/.deps/url.Po -text -arid_examples/html-xml-utils-3.0/.deps/wls.Po -text -arid_examples/html-xml-utils-3.0/.deps/xml2asc.Po -text -arid_examples/html-xml-utils-3.0/.deps/xmlns.Po -text -arid_examples/html-xml-utils-3.0/.deps/xref.Po -text -arid_examples/html-xml-utils-3.0/.deps/xselect.Po -text -arid_examples/html-xml-utils-3.0/AUTHORS -text -arid_examples/html-xml-utils-3.0/COPYING -text -arid_examples/html-xml-utils-3.0/ChangeLog -text -arid_examples/html-xml-utils-3.0/INSTALL -text -arid_examples/html-xml-utils-3.0/Makefile -text -arid_examples/html-xml-utils-3.0/Makefile.am -text -arid_examples/html-xml-utils-3.0/Makefile.in -text -arid_examples/html-xml-utils-3.0/NEWS -text -arid_examples/html-xml-utils-3.0/README -text -arid_examples/html-xml-utils-3.0/TODO -text -arid_examples/html-xml-utils-3.0/acinclude.m4 -text -arid_examples/html-xml-utils-3.0/aclocal.m4 -text -arid_examples/html-xml-utils-3.0/addid.c -text -arid_examples/html-xml-utils-3.0/asc2xml.1 -text -arid_examples/html-xml-utils-3.0/asc2xml.c -text -arid_examples/html-xml-utils-3.0/autom4te.cache/output.0 -text -arid_examples/html-xml-utils-3.0/autom4te.cache/output.1 -text -arid_examples/html-xml-utils-3.0/autom4te.cache/requests -text -arid_examples/html-xml-utils-3.0/autom4te.cache/traces.0 -text -arid_examples/html-xml-utils-3.0/autom4te.cache/traces.1 -text -arid_examples/html-xml-utils-3.0/cexport.1 -text -arid_examples/html-xml-utils-3.0/cexport.c -text -arid_examples/html-xml-utils-3.0/cite-mkbib -text -arid_examples/html-xml-utils-3.0/cite-mkbib.1 -text -arid_examples/html-xml-utils-3.0/cite.1 -text -arid_examples/html-xml-utils-3.0/cite.c -text -arid_examples/html-xml-utils-3.0/class.c -text -arid_examples/html-xml-utils-3.0/class.e -text -arid_examples/html-xml-utils-3.0/config.h -text -arid_examples/html-xml-utils-3.0/config.h.in -text -arid_examples/html-xml-utils-3.0/config.log -text -arid_examples/html-xml-utils-3.0/config.status -text -arid_examples/html-xml-utils-3.0/configure -text -arid_examples/html-xml-utils-3.0/configure.in -text -arid_examples/html-xml-utils-3.0/connectsock.c -text -arid_examples/html-xml-utils-3.0/connectsock.e -text -arid_examples/html-xml-utils-3.0/count.1 -text -arid_examples/html-xml-utils-3.0/count.c -text -arid_examples/html-xml-utils-3.0/depcomp -text -arid_examples/html-xml-utils-3.0/dtd.c -text -arid_examples/html-xml-utils-3.0/dtd.e -text -arid_examples/html-xml-utils-3.0/dtd.hash -text -arid_examples/html-xml-utils-3.0/dynamic_ps.sh -text -arid_examples/html-xml-utils-3.0/errexit.c -text -arid_examples/html-xml-utils-3.0/errexit.e -text -arid_examples/html-xml-utils-3.0/export.h -text -arid_examples/html-xml-utils-3.0/extract.c -text -arid_examples/html-xml-utils-3.0/genid.c -text -arid_examples/html-xml-utils-3.0/genid.e -text -arid_examples/html-xml-utils-3.0/hash.c -text -arid_examples/html-xml-utils-3.0/hash.e -text -arid_examples/html-xml-utils-3.0/heap.c -text -arid_examples/html-xml-utils-3.0/heap.e -text -arid_examples/html-xml-utils-3.0/html.c -text -arid_examples/html-xml-utils-3.0/html.e -text -arid_examples/html-xml-utils-3.0/html.h -text -arid_examples/html-xml-utils-3.0/html.y -text -arid_examples/html-xml-utils-3.0/htmlclean.1 -text -arid_examples/html-xml-utils-3.0/htmlclean.c -text -arid_examples/html-xml-utils-3.0/htmlprune.1 -text -arid_examples/html-xml-utils-3.0/htmlprune.c -text -arid_examples/html-xml-utils-3.0/incl.1 -text -arid_examples/html-xml-utils-3.0/incl.c -text -arid_examples/html-xml-utils-3.0/index.1 -text -arid_examples/html-xml-utils-3.0/index.c -text -arid_examples/html-xml-utils-3.0/install-sh -text -arid_examples/html-xml-utils-3.0/malloc.c -text -arid_examples/html-xml-utils-3.0/missing -text -arid_examples/html-xml-utils-3.0/mkbib.1 -text -arid_examples/html-xml-utils-3.0/mkbib.c -text -arid_examples/html-xml-utils-3.0/multitoc.1 -text -arid_examples/html-xml-utils-3.0/multitoc.c -text -arid_examples/html-xml-utils-3.0/native_build.dynamic.sh -text -arid_examples/html-xml-utils-3.0/native_build.static.sh -text -arid_examples/html-xml-utils-3.0/normalize.1 -text -arid_examples/html-xml-utils-3.0/normalize.c -text -arid_examples/html-xml-utils-3.0/num.1 -text -arid_examples/html-xml-utils-3.0/num.c -text -arid_examples/html-xml-utils-3.0/openurl.c -text -arid_examples/html-xml-utils-3.0/openurl.e -text -arid_examples/html-xml-utils-3.0/pipe.1 -text -arid_examples/html-xml-utils-3.0/pipe.c -text -arid_examples/html-xml-utils-3.0/printlinks -text -arid_examples/html-xml-utils-3.0/scan.c -text -arid_examples/html-xml-utils-3.0/scan.c.bk -text -arid_examples/html-xml-utils-3.0/scan.c.good -text -arid_examples/html-xml-utils-3.0/scan.e -text -arid_examples/html-xml-utils-3.0/scan.l -text -arid_examples/html-xml-utils-3.0/selector.c -text -arid_examples/html-xml-utils-3.0/selector.e -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/help.css -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/main.css -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/sortabletable.css -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/source-viewer.css -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/tooltip.css -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-packages.html -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles-test.first.html -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles-test.second.html -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles.html -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary-test.first.html -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary-test.second.html -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary.html -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/help.html -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/blank.png -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/downsimple.png -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/upsimple.png -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/index.html -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/customsorttypes.js -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/popup.js -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/sortabletable.js -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/stringbuilder.js -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/test.first.A.html -text -arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/test.second.A.html -text -arid_examples/html-xml-utils-3.0/stamp-h1 -text -arid_examples/html-xml-utils-3.0/static_ps.sh -text -arid_examples/html-xml-utils-3.0/strdup.c -text -arid_examples/html-xml-utils-3.0/strerror.c -text -arid_examples/html-xml-utils-3.0/strstr.c -text -arid_examples/html-xml-utils-3.0/testruns/2938y.e -text -arid_examples/html-xml-utils-3.0/testruns/325.e -text -arid_examples/html-xml-utils-3.0/testruns/325809y.e -text -arid_examples/html-xml-utils-3.0/testruns/4398hf.e -text -arid_examples/html-xml-utils-3.0/testruns/abcde.e -text -arid_examples/html-xml-utils-3.0/testruns/addid.c -text -arid_examples/html-xml-utils-3.0/testruns/addid.e -text -arid_examples/html-xml-utils-3.0/testruns/agi43.e -text -arid_examples/html-xml-utils-3.0/testruns/ah.e -text -arid_examples/html-xml-utils-3.0/testruns/aidhf.e -text -arid_examples/html-xml-utils-3.0/testruns/aioh.e -text -arid_examples/html-xml-utils-3.0/testruns/aisd.e -text -arid_examples/html-xml-utils-3.0/testruns/aishgdf.e -text -arid_examples/html-xml-utils-3.0/testruns/aisif.e -text -arid_examples/html-xml-utils-3.0/testruns/aisudfa.e -text -arid_examples/html-xml-utils-3.0/testruns/aodsfah.e -text -arid_examples/html-xml-utils-3.0/testruns/aohasfg.e -text -arid_examples/html-xml-utils-3.0/testruns/aohs.e -text -arid_examples/html-xml-utils-3.0/testruns/aohsdf.e -text -arid_examples/html-xml-utils-3.0/testruns/aohsf.e -text -arid_examples/html-xml-utils-3.0/testruns/aoht.e -text -arid_examples/html-xml-utils-3.0/testruns/aoih.e -text -arid_examples/html-xml-utils-3.0/testruns/aoih4.e -text -arid_examples/html-xml-utils-3.0/testruns/aoihd.e -text -arid_examples/html-xml-utils-3.0/testruns/aoihdsf.e -text -arid_examples/html-xml-utils-3.0/testruns/aoihs.e -text -arid_examples/html-xml-utils-3.0/testruns/aoijh.e -text -arid_examples/html-xml-utils-3.0/testruns/aois.e -text -arid_examples/html-xml-utils-3.0/testruns/aoisdfh.e -text -arid_examples/html-xml-utils-3.0/testruns/aoisdfja.e -text -arid_examples/html-xml-utils-3.0/testruns/aoish.e -text -arid_examples/html-xml-utils-3.0/testruns/aoishdf.e -text -arid_examples/html-xml-utils-3.0/testruns/aoishf.e -text -arid_examples/html-xml-utils-3.0/testruns/aos85ry.e -text -arid_examples/html-xml-utils-3.0/testruns/aosdfh.e -text -arid_examples/html-xml-utils-3.0/testruns/aoshdf.e -text -arid_examples/html-xml-utils-3.0/testruns/aoshdfa.e -text -arid_examples/html-xml-utils-3.0/testruns/aosid.e -text -arid_examples/html-xml-utils-3.0/testruns/aosidffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9898989898989898989898989898989898989898989898989898989898989898989898nweorororororiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiu.e -text -arid_examples/html-xml-utils-3.0/testruns/aosidhf.e -text -arid_examples/html-xml-utils-3.0/testruns/aosih.e -text -arid_examples/html-xml-utils-3.0/testruns/aosihdf.e -text -arid_examples/html-xml-utils-3.0/testruns/aosiohfa.e -text -arid_examples/html-xml-utils-3.0/testruns/asc2xml.c -text -arid_examples/html-xml-utils-3.0/testruns/asc2xml.e -text -arid_examples/html-xml-utils-3.0/testruns/asidfu.e -text -arid_examples/html-xml-utils-3.0/testruns/asifh.e -text -arid_examples/html-xml-utils-3.0/testruns/asifhu.e -text -arid_examples/html-xml-utils-3.0/testruns/asih.e -text -arid_examples/html-xml-utils-3.0/testruns/asoh.e -text -arid_examples/html-xml-utils-3.0/testruns/b\*.e -text -arid_examples/html-xml-utils-3.0/testruns/cexport.c -text -arid_examples/html-xml-utils-3.0/testruns/cexport.e -text -arid_examples/html-xml-utils-3.0/testruns/cite.c -text -arid_examples/html-xml-utils-3.0/testruns/cite.e -text -arid_examples/html-xml-utils-3.0/testruns/class.c -text -arid_examples/html-xml-utils-3.0/testruns/class.e -text -arid_examples/html-xml-utils-3.0/testruns/config.h -text -arid_examples/html-xml-utils-3.0/testruns/connectsock.c -text -arid_examples/html-xml-utils-3.0/testruns/connectsock.e -text -arid_examples/html-xml-utils-3.0/testruns/count.c -text -arid_examples/html-xml-utils-3.0/testruns/count.e -text -arid_examples/html-xml-utils-3.0/testruns/doiah.e -text -arid_examples/html-xml-utils-3.0/testruns/dtd.c -text -arid_examples/html-xml-utils-3.0/testruns/dtd.e -text -arid_examples/html-xml-utils-3.0/testruns/e4t5.e -text -arid_examples/html-xml-utils-3.0/testruns/ei5.e -text -arid_examples/html-xml-utils-3.0/testruns/errexit.c -text -arid_examples/html-xml-utils-3.0/testruns/errexit.e -text -arid_examples/html-xml-utils-3.0/testruns/export.h -text -arid_examples/html-xml-utils-3.0/testruns/extract.c -text -arid_examples/html-xml-utils-3.0/testruns/extract.e -text -arid_examples/html-xml-utils-3.0/testruns/f\*.e -text -arid_examples/html-xml-utils-3.0/testruns/genid.c -text -arid_examples/html-xml-utils-3.0/testruns/genid.e -text -arid_examples/html-xml-utils-3.0/testruns/hash.c -text -arid_examples/html-xml-utils-3.0/testruns/hash.e -text -arid_examples/html-xml-utils-3.0/testruns/heap.c -text -arid_examples/html-xml-utils-3.0/testruns/heap.e -text -arid_examples/html-xml-utils-3.0/testruns/html.c -text -arid_examples/html-xml-utils-3.0/testruns/html.e -text -arid_examples/html-xml-utils-3.0/testruns/html.h -text -arid_examples/html-xml-utils-3.0/testruns/htmlclean.c -text -arid_examples/html-xml-utils-3.0/testruns/htmlclean.e -text -arid_examples/html-xml-utils-3.0/testruns/htmlprune.c -text -arid_examples/html-xml-utils-3.0/testruns/htmlprune.e -text -arid_examples/html-xml-utils-3.0/testruns/iashfa.e -text -arid_examples/html-xml-utils-3.0/testruns/ihosd.e -text -arid_examples/html-xml-utils-3.0/testruns/incl.c -text -arid_examples/html-xml-utils-3.0/testruns/incl.e -text -arid_examples/html-xml-utils-3.0/testruns/index.c -text -arid_examples/html-xml-utils-3.0/testruns/index.e -text -arid_examples/html-xml-utils-3.0/testruns/ish.e -text -arid_examples/html-xml-utils-3.0/testruns/j\*.e -text -arid_examples/html-xml-utils-3.0/testruns/junk.c -text -arid_examples/html-xml-utils-3.0/testruns/junk.e -text -arid_examples/html-xml-utils-3.0/testruns/k\*.e -text -arid_examples/html-xml-utils-3.0/testruns/l\*.e -text -arid_examples/html-xml-utils-3.0/testruns/malloc.c -text -arid_examples/html-xml-utils-3.0/testruns/malloc.e -text -arid_examples/html-xml-utils-3.0/testruns/mkbib.c -text -arid_examples/html-xml-utils-3.0/testruns/mkbib.e -text -arid_examples/html-xml-utils-3.0/testruns/multitoc.c -text -arid_examples/html-xml-utils-3.0/testruns/multitoc.e -text -arid_examples/html-xml-utils-3.0/testruns/normalize.c -text -arid_examples/html-xml-utils-3.0/testruns/normalize.e -text -arid_examples/html-xml-utils-3.0/testruns/num.c -text -arid_examples/html-xml-utils-3.0/testruns/num.e -text -arid_examples/html-xml-utils-3.0/testruns/o4t.e -text -arid_examples/html-xml-utils-3.0/testruns/oahisd.e -text -arid_examples/html-xml-utils-3.0/testruns/oaieth.e -text -arid_examples/html-xml-utils-3.0/testruns/oaisdohfa.e -text -arid_examples/html-xml-utils-3.0/testruns/oaisfd.e -text -arid_examples/html-xml-utils-3.0/testruns/oaishdf.e -text -arid_examples/html-xml-utils-3.0/testruns/oashdf.e -text -arid_examples/html-xml-utils-3.0/testruns/oasidf.e -text -arid_examples/html-xml-utils-3.0/testruns/oasihd.e -text -arid_examples/html-xml-utils-3.0/testruns/oasihf.e -text -arid_examples/html-xml-utils-3.0/testruns/ohosfd.e -text -arid_examples/html-xml-utils-3.0/testruns/oi5h.e -text -arid_examples/html-xml-utils-3.0/testruns/oiahs.e -text -arid_examples/html-xml-utils-3.0/testruns/oih.e -text -arid_examples/html-xml-utils-3.0/testruns/oihas.e -text -arid_examples/html-xml-utils-3.0/testruns/oihst.e -text -arid_examples/html-xml-utils-3.0/testruns/oiht.e -text -arid_examples/html-xml-utils-3.0/testruns/ois.e -text -arid_examples/html-xml-utils-3.0/testruns/oisdfh.e -text -arid_examples/html-xml-utils-3.0/testruns/oish.e -text -arid_examples/html-xml-utils-3.0/testruns/oishdf.e -text -arid_examples/html-xml-utils-3.0/testruns/oishfd.e -text -arid_examples/html-xml-utils-3.0/testruns/oisjdf.e -text -arid_examples/html-xml-utils-3.0/testruns/oiuser.e -text -arid_examples/html-xml-utils-3.0/testruns/openurl.c -text -arid_examples/html-xml-utils-3.0/testruns/openurl.e -text -arid_examples/html-xml-utils-3.0/testruns/osidhf.e -text -arid_examples/html-xml-utils-3.0/testruns/pipe.c -text -arid_examples/html-xml-utils-3.0/testruns/pipe.e -text -arid_examples/html-xml-utils-3.0/testruns/q\*.e -text -arid_examples/html-xml-utils-3.0/testruns/r\*.e -text -arid_examples/html-xml-utils-3.0/testruns/scan.c -text -arid_examples/html-xml-utils-3.0/testruns/scan.e -text -arid_examples/html-xml-utils-3.0/testruns/selector.c -text -arid_examples/html-xml-utils-3.0/testruns/selector.e -text -arid_examples/html-xml-utils-3.0/testruns/sihf.e -text -arid_examples/html-xml-utils-3.0/testruns/soidhf.e -text -arid_examples/html-xml-utils-3.0/testruns/soih.e -text -arid_examples/html-xml-utils-3.0/testruns/soihfs.e -text -arid_examples/html-xml-utils-3.0/testruns/strdup.c -text -arid_examples/html-xml-utils-3.0/testruns/strdup.e -text -arid_examples/html-xml-utils-3.0/testruns/strerror.c -text -arid_examples/html-xml-utils-3.0/testruns/strerror.e -text -arid_examples/html-xml-utils-3.0/testruns/strstr.c -text -arid_examples/html-xml-utils-3.0/testruns/strstr.e -text -arid_examples/html-xml-utils-3.0/testruns/test.html -text -arid_examples/html-xml-utils-3.0/testruns/textwrap.c -text -arid_examples/html-xml-utils-3.0/testruns/textwrap.e -text -arid_examples/html-xml-utils-3.0/testruns/tfind.c -text -arid_examples/html-xml-utils-3.0/testruns/tfind.e -text -arid_examples/html-xml-utils-3.0/testruns/toc.c -text -arid_examples/html-xml-utils-3.0/testruns/toc.e -text -arid_examples/html-xml-utils-3.0/testruns/toih.e -text -arid_examples/html-xml-utils-3.0/testruns/tree.c -text -arid_examples/html-xml-utils-3.0/testruns/tree.e -text -arid_examples/html-xml-utils-3.0/testruns/tsearch.c -text -arid_examples/html-xml-utils-3.0/testruns/tsearch.e -text -arid_examples/html-xml-utils-3.0/testruns/twalk.c -text -arid_examples/html-xml-utils-3.0/testruns/twalk.e -text -arid_examples/html-xml-utils-3.0/testruns/types.c -text -arid_examples/html-xml-utils-3.0/testruns/types.e -text -arid_examples/html-xml-utils-3.0/testruns/uncdata.c -text -arid_examples/html-xml-utils-3.0/testruns/uncdata.e -text -arid_examples/html-xml-utils-3.0/testruns/unent.c -text -arid_examples/html-xml-utils-3.0/testruns/unent.e -text -arid_examples/html-xml-utils-3.0/testruns/unpipe.c -text -arid_examples/html-xml-utils-3.0/testruns/unpipe.e -text -arid_examples/html-xml-utils-3.0/testruns/url.c -text -arid_examples/html-xml-utils-3.0/testruns/url.e -text -arid_examples/html-xml-utils-3.0/testruns/wls.c -text -arid_examples/html-xml-utils-3.0/testruns/wls.e -text -arid_examples/html-xml-utils-3.0/testruns/xml2asc.c -text -arid_examples/html-xml-utils-3.0/testruns/xml2asc.e -text -arid_examples/html-xml-utils-3.0/testruns/xmlns.c -text -arid_examples/html-xml-utils-3.0/testruns/xmlns.e -text -arid_examples/html-xml-utils-3.0/testruns/xref.c -text -arid_examples/html-xml-utils-3.0/testruns/xref.e -text -arid_examples/html-xml-utils-3.0/testruns/xselect.c -text -arid_examples/html-xml-utils-3.0/testruns/xselect.e -text -arid_examples/html-xml-utils-3.0/testruns/y\*.e -text -arid_examples/html-xml-utils-3.0/testruns/z\*.e -text -arid_examples/html-xml-utils-3.0/textwrap.c -text -arid_examples/html-xml-utils-3.0/textwrap.e -text -arid_examples/html-xml-utils-3.0/tfind.c -text -arid_examples/html-xml-utils-3.0/timing_runs.sh -text -arid_examples/html-xml-utils-3.0/toc.1 -text -arid_examples/html-xml-utils-3.0/toc.c -text -arid_examples/html-xml-utils-3.0/tree.c -text -arid_examples/html-xml-utils-3.0/tree.e -text -arid_examples/html-xml-utils-3.0/tsearch.c -text -arid_examples/html-xml-utils-3.0/twalk.c -text -arid_examples/html-xml-utils-3.0/types.c -text -arid_examples/html-xml-utils-3.0/types.e -text -arid_examples/html-xml-utils-3.0/uncdata.c -text -arid_examples/html-xml-utils-3.0/unent.1 -text -arid_examples/html-xml-utils-3.0/unent.c -text -arid_examples/html-xml-utils-3.0/unent.hash -text -arid_examples/html-xml-utils-3.0/unpipe.1 -text -arid_examples/html-xml-utils-3.0/unpipe.c -text -arid_examples/html-xml-utils-3.0/url.c -text -arid_examples/html-xml-utils-3.0/url.e -text -arid_examples/html-xml-utils-3.0/wls.1 -text -arid_examples/html-xml-utils-3.0/wls.c -text -arid_examples/html-xml-utils-3.0/xml2asc.1 -text -arid_examples/html-xml-utils-3.0/xml2asc.c -text -arid_examples/html-xml-utils-3.0/xmlns.1 -text -arid_examples/html-xml-utils-3.0/xmlns.c -text -arid_examples/html-xml-utils-3.0/xref.1 -text -arid_examples/html-xml-utils-3.0/xref.c -text -arid_examples/html-xml-utils-3.0/xselect.c -text -arid_examples/html-xml-utils-3.0/ylwrap -text -arid_examples/ss_test_data/cobertura-html/css/help.css -text -arid_examples/ss_test_data/cobertura-html/css/main.css -text -arid_examples/ss_test_data/cobertura-html/css/sortabletable.css -text -arid_examples/ss_test_data/cobertura-html/css/source-viewer.css -text -arid_examples/ss_test_data/cobertura-html/css/tooltip.css -text -arid_examples/ss_test_data/cobertura-html/frame-packages.html -text -arid_examples/ss_test_data/cobertura-html/frame-sourcefiles-test.first.html -text -arid_examples/ss_test_data/cobertura-html/frame-sourcefiles-test.second.html -text -arid_examples/ss_test_data/cobertura-html/frame-sourcefiles.html -text -arid_examples/ss_test_data/cobertura-html/frame-summary-test.first.html -text -arid_examples/ss_test_data/cobertura-html/frame-summary-test.second.html -text -arid_examples/ss_test_data/cobertura-html/frame-summary.html -text -arid_examples/ss_test_data/cobertura-html/help.html -text -arid_examples/ss_test_data/cobertura-html/images/blank.png -text -arid_examples/ss_test_data/cobertura-html/images/downsimple.png -text -arid_examples/ss_test_data/cobertura-html/images/upsimple.png -text -arid_examples/ss_test_data/cobertura-html/index.html -text -arid_examples/ss_test_data/cobertura-html/js/customsorttypes.js -text -arid_examples/ss_test_data/cobertura-html/js/popup.js -text -arid_examples/ss_test_data/cobertura-html/js/sortabletable.js -text -arid_examples/ss_test_data/cobertura-html/js/stringbuilder.js -text -arid_examples/ss_test_data/cobertura-html/test.first.A.html -text -arid_examples/ss_test_data/cobertura-html/test.second.A.html -text -arid_examples/wls.out -text -arid_examples/wls.stock -text -arid_examples/xref.stock -text c++_examples/Makefile -text c++_examples/hanoi++.cpp -text c++_examples/newdel.cpp -text diff --git a/arid_examples/Makefile b/arid_examples/Makefile deleted file mode 100644 index 835b54c8d..000000000 --- a/arid_examples/Makefile +++ /dev/null @@ -1,101 +0,0 @@ - -CC=gcc -CXX=g++ -CFLAGS=-O2 - -.SUFFIXES: .stock .protected - -protected_exes=count.protected wls.protected xref.protected - -ilr=on -stratafy_with_pc_confine=on -create_binary_script=on -heaprand=on -double_free=on -pc_confine=on -isr=off -meds_static=on -pdb_register=on -pdb_create_tables=on -meds2pdb=on -fill_in_cfg=on -fill_in_indtargs=on -clone=on -fix_calls=on -p1transform=on -integertransform=on -ilr=on -generate_spri=on -spasm=on - - -all: env_check ${protected_exes} - -.PHONY: env_check - - - -.stock.protected: .PHONY - ${PEASOUP_HOME}/tools/ps_analyze.sh $< $@ \ - --step ilr=${ilr}\ - --step stratafy_with_pc_confine=${stratafy_with_pc_confine}\ - --step create_binary_script=${create_binary_script}\ - --step heaprand=${heaprand}\ - --step double_free=${double_free}\ - --step pc_confine=${pc_confine}\ - --step isr=${isr}\ - --step meds_static=${meds_static}\ - --step pdb_register=${pdb_register}\ - --step pdb_create_tables=${pdb_create_tables}\ - --step meds2pdb=${meds2pdb}\ - --step fill_in_cfg=${fill_in_cfg}\ - --step fill_in_indtargs=${fill_in_indtargs}\ - --step clone=${clone}\ - --step fix_calls=${fix_calls}\ - --step p1transform=${p1transform}\ - --step integertransform=${integertransform}\ - --step generate_spri=${generate_spri}\ - --step spasm=${spasm}\ - - - -$(protected_exes): ${STRATA}/lib/x86_linux/libstrata.a .PHONY - - - -env_check: - @echo checking env vars; \ - if [ "X${TOOLCHAIN}" = "X" ]; then \ - echo TOOLCHAIN environment variable should be set.; \ - exit -1;\ - elif [ "X${STRATA}" = "X" ]; then \ - echo STRATA environment variable should be set. ;\ - exit -1;\ - elif [ "X${SMPSA_HOME}" = "X" ]; then \ - echo SMPSA_HOME environment variable should be set.; \ - exit -1;\ - elif [ "X${PEASOUP_HOME}" = "X" ]; then \ - echo PEASOUP_HOME environment variable should be set.; \ - exit -1;\ - elif [ "X${STRATA_HOME}" = "X" ]; then \ - echo STRATA_HOME environment variable should be set.; \ - exit -1;\ - fi ; - @echo ---------------------------------------------------------- - @echo -------- Note that ISR is off by default here ------------ - @echo ---------------------------------------------------------- - - -clean: - rm -f *.o *.syms *.map chopzero hanoi hanoi_overrun hanoi_heap_overrun malloc block_copy print_ptr hanoi_stack_overrun dumbledore a.out memcpy hanoi_overrun_taintedenv dumbledore_cmd hanoi_overrun_tainted hello cmd_args_005 - rm -f *.exe *.dis *.data *.idb *.log *.ncexe *.annot *.readelf temp.* *.temp *.stratafied *.asm *.SMPobjdump *.id0 *.id1 *.til *.nam - rm -Rf concolic.files_* - rm -Rf peasoup_executable_directory.* - rm -f strata.log.* - rm -f *.sym - rm -f *.protected - -concclean: - rm -Rf concolic.files_* - rm strata.log.* - diff --git a/arid_examples/count.stock b/arid_examples/count.stock deleted file mode 100755 index e4989b44396023c560e294d48b799954319f39ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 78759 zcmeFa33yaR);C_a`*zal?$8~w5Fmks1V~sDK-nb%A*k?*vWO!X0tpa>5R(pq;{qm8 z+BS*{Grr?8AnK^2Gq_=NPy;~%$|$1FFoMdsb{ibgK?P*&@As>^x0eW`@-EN+d;VYF zr~1~ZI(6#QsZ-}v)vfM(UGbDjnx+Z!V-Z$C=<v<DeHiX{C8@k&B1_msp6DZTL>$tY zH*6Jf5M%+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eVIW}mttq)Yk?OPC+(<F8}dR`m4M`FF;mNvLHgPd4$n}$=l zp*dx1hDS#?FP$&CwB3AI26u{~4poD;3#VLIj6#BL_^@uxbY4^3xY{^;mO1`^0nPDW ACIA2c diff --git a/arid_examples/html-xml-utils-3.0/.deps/addid.Po b/arid_examples/html-xml-utils-3.0/.deps/addid.Po deleted file mode 100644 index 4ff6e5bb0..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/addid.Po +++ /dev/null @@ -1,136 +0,0 @@ -addid.o: addid.c config.h /usr/include/assert.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h /usr/include/ctype.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/stdlib.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/stdio.h /usr/include/libio.h \ - /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h \ - /usr/include/errno.h /usr/include/bits/errno.h \ - /usr/include/linux/errno.h /usr/include/asm/errno.h \ - /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ - export.h types.e heap.e tree.e html.e scan.e openurl.e errexit.e genid.e \ - class.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/ctype.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/stdlib.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -/usr/include/errno.h: - -/usr/include/bits/errno.h: - -/usr/include/linux/errno.h: - -/usr/include/asm/errno.h: - -/usr/include/asm-generic/errno.h: - -/usr/include/asm-generic/errno-base.h: - -export.h: - -types.e: - -heap.e: - -tree.e: - -html.e: - -scan.e: - -openurl.e: - -errexit.e: - -genid.e: - -class.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/asc2xml.Po b/arid_examples/html-xml-utils-3.0/.deps/asc2xml.Po deleted file mode 100644 index 9478830b8..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/asc2xml.Po +++ /dev/null @@ -1,97 +0,0 @@ -asc2xml.o: asc2xml.c config.h /usr/include/stdio.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/string.h /usr/include/xlocale.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h \ - /usr/include/bits/string3.h /usr/include/ctype.h - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/stdlib.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -/usr/include/ctype.h: diff --git a/arid_examples/html-xml-utils-3.0/.deps/cexport.Po b/arid_examples/html-xml-utils-3.0/.deps/cexport.Po deleted file mode 100644 index 35798df73..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/cexport.Po +++ /dev/null @@ -1,97 +0,0 @@ -cexport.o: cexport.c config.h /usr/include/stdio.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/xlocale.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/stdlib.h /usr/include/bits/string3.h /usr/include/ctype.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: - -/usr/include/ctype.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: diff --git a/arid_examples/html-xml-utils-3.0/.deps/cite.Po b/arid_examples/html-xml-utils-3.0/.deps/cite.Po deleted file mode 100644 index 860f50431..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/cite.Po +++ /dev/null @@ -1,123 +0,0 @@ -cite.o: cite.c config.h /usr/include/stdlib.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/errno.h \ - /usr/include/bits/errno.h /usr/include/linux/errno.h \ - /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ - /usr/include/asm-generic/errno-base.h /usr/include/stdio.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/xlocale.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h \ - /usr/include/search.h /usr/include/ctype.h export.h heap.e types.e \ - errexit.e - -config.h: - -/usr/include/stdlib.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/errno.h: - -/usr/include/bits/errno.h: - -/usr/include/linux/errno.h: - -/usr/include/asm/errno.h: - -/usr/include/asm-generic/errno.h: - -/usr/include/asm-generic/errno-base.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -/usr/include/search.h: - -/usr/include/ctype.h: - -export.h: - -heap.e: - -types.e: - -errexit.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/class.Po b/arid_examples/html-xml-utils-3.0/.deps/class.Po deleted file mode 100644 index 19cc6fc5f..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/class.Po +++ /dev/null @@ -1,57 +0,0 @@ -class.o: class.c config.h /usr/include/assert.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h /usr/include/string.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/xlocale.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/stdlib.h /usr/include/bits/string3.h /usr/include/ctype.h \ - export.h types.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/string.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: - -/usr/include/ctype.h: - -export.h: - -types.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/connectsock.Po b/arid_examples/html-xml-utils-3.0/.deps/connectsock.Po deleted file mode 100644 index ec490627b..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/connectsock.Po +++ /dev/null @@ -1,132 +0,0 @@ -connectsock.o: connectsock.c config.h /usr/include/sys/types.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/sys/socket.h \ - /usr/include/sys/uio.h /usr/include/bits/uio.h \ - /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \ - /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \ - /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \ - /usr/include/bits/socket2.h /usr/include/netinet/in.h \ - /usr/include/stdint.h /usr/include/bits/wchar.h /usr/include/bits/in.h \ - /usr/include/arpa/inet.h /usr/include/netdb.h /usr/include/rpc/netdb.h \ - /usr/include/bits/netdb.h /usr/include/errno.h /usr/include/bits/errno.h \ - /usr/include/linux/errno.h /usr/include/asm/errno.h \ - /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ - /usr/include/stdlib.h /usr/include/alloca.h /usr/include/bits/stdlib.h \ - /usr/include/string.h /usr/include/xlocale.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h export.h - -config.h: - -/usr/include/sys/types.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/sys/socket.h: - -/usr/include/sys/uio.h: - -/usr/include/bits/uio.h: - -/usr/include/bits/socket.h: - -/usr/include/bits/sockaddr.h: - -/usr/include/asm/socket.h: - -/usr/include/asm-generic/socket.h: - -/usr/include/asm/sockios.h: - -/usr/include/asm-generic/sockios.h: - -/usr/include/bits/socket2.h: - -/usr/include/netinet/in.h: - -/usr/include/stdint.h: - -/usr/include/bits/wchar.h: - -/usr/include/bits/in.h: - -/usr/include/arpa/inet.h: - -/usr/include/netdb.h: - -/usr/include/rpc/netdb.h: - -/usr/include/bits/netdb.h: - -/usr/include/errno.h: - -/usr/include/bits/errno.h: - -/usr/include/linux/errno.h: - -/usr/include/asm/errno.h: - -/usr/include/asm-generic/errno.h: - -/usr/include/asm-generic/errno-base.h: - -/usr/include/stdlib.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: diff --git a/arid_examples/html-xml-utils-3.0/.deps/count.Po b/arid_examples/html-xml-utils-3.0/.deps/count.Po deleted file mode 100644 index b82b1d579..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/count.Po +++ /dev/null @@ -1,122 +0,0 @@ -count.o: count.c config.h /usr/include/stdio.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/include/bits/unistd.h /usr/include/ctype.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/xlocale.h /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/stdlib.h \ - /usr/include/bits/string3.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/assert.h \ - export.h types.e html.e scan.e openurl.e - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/include/bits/unistd.h: - -/usr/include/ctype.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/assert.h: - -export.h: - -types.e: - -html.e: - -scan.e: - -openurl.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/dtd.Po b/arid_examples/html-xml-utils-3.0/.deps/dtd.Po deleted file mode 100644 index abbb491ad..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/dtd.Po +++ /dev/null @@ -1,79 +0,0 @@ -dtd.o: dtd.c config.h /usr/include/string.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/xlocale.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/stdlib.h /usr/include/bits/string3.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/assert.h export.h types.e - -config.h: - -/usr/include/string.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/assert.h: - -export.h: - -types.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/errexit.Po b/arid_examples/html-xml-utils-3.0/.deps/errexit.Po deleted file mode 100644 index 69ec0cf0f..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/errexit.Po +++ /dev/null @@ -1,97 +0,0 @@ -errexit.o: errexit.c config.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h /usr/include/stdio.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/string.h /usr/include/xlocale.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h \ - /usr/include/bits/string3.h export.h - -config.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/stdlib.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: diff --git a/arid_examples/html-xml-utils-3.0/.deps/extract.Po b/arid_examples/html-xml-utils-3.0/.deps/extract.Po deleted file mode 100644 index 9bb414fd9..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/extract.Po +++ /dev/null @@ -1,115 +0,0 @@ -extract.o: extract.c config.h /usr/include/assert.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/include/ctype.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/xlocale.h /usr/include/stdlib.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/stdio.h /usr/include/libio.h \ - /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h export.h types.e \ - html.e heap.e scan.e openurl.e class.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/ctype.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/stdlib.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: - -types.e: - -html.e: - -heap.e: - -scan.e: - -openurl.e: - -class.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/genid.Po b/arid_examples/html-xml-utils-3.0/.deps/genid.Po deleted file mode 100644 index 8e61dad36..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/genid.Po +++ /dev/null @@ -1,127 +0,0 @@ -genid.o: genid.c config.h /usr/include/assert.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h /usr/include/stdio.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/errno.h \ - /usr/include/bits/errno.h /usr/include/linux/errno.h \ - /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ - /usr/include/asm-generic/errno-base.h /usr/include/ctype.h \ - /usr/include/xlocale.h /usr/include/search.h /usr/include/string.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h \ - /usr/include/bits/string3.h export.h heap.e types.e tree.e errexit.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/stdlib.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/errno.h: - -/usr/include/bits/errno.h: - -/usr/include/linux/errno.h: - -/usr/include/asm/errno.h: - -/usr/include/asm-generic/errno.h: - -/usr/include/asm-generic/errno-base.h: - -/usr/include/ctype.h: - -/usr/include/xlocale.h: - -/usr/include/search.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: - -heap.e: - -types.e: - -tree.e: - -errexit.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/hash.Po b/arid_examples/html-xml-utils-3.0/.deps/hash.Po deleted file mode 100644 index 3567c633e..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/hash.Po +++ /dev/null @@ -1,67 +0,0 @@ -hash.o: hash.c config.h /usr/include/stdlib.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/assert.h \ - export.h heap.e - -config.h: - -/usr/include/stdlib.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/assert.h: - -export.h: - -heap.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/heap.Po b/arid_examples/html-xml-utils-3.0/.deps/heap.Po deleted file mode 100644 index 631141ec4..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/heap.Po +++ /dev/null @@ -1,96 +0,0 @@ -heap.o: heap.c config.h /usr/include/stdlib.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/stdio.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/xlocale.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h export.h - -config.h: - -/usr/include/stdlib.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: diff --git a/arid_examples/html-xml-utils-3.0/.deps/html.Po b/arid_examples/html-xml-utils-3.0/.deps/html.Po deleted file mode 100644 index 4727f118a..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/html.Po +++ /dev/null @@ -1,103 +0,0 @@ -html.o: html.c config.h /usr/include/assert.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h /usr/include/stdio.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/string.h /usr/include/xlocale.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h \ - /usr/include/bits/string3.h export.h types.e tree.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/stdlib.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: - -types.e: - -tree.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/htmlclean.Po b/arid_examples/html-xml-utils-3.0/.deps/htmlclean.Po deleted file mode 100644 index f24325471..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/htmlclean.Po +++ /dev/null @@ -1,93 +0,0 @@ -htmlclean.o: htmlclean.c config.h /usr/include/stdio.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h export.h types.e tree.e html.e scan.e - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/stdlib.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -export.h: - -types.e: - -tree.e: - -html.e: - -scan.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/htmlprune.Po b/arid_examples/html-xml-utils-3.0/.deps/htmlprune.Po deleted file mode 100644 index aa05e7c7a..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/htmlprune.Po +++ /dev/null @@ -1,115 +0,0 @@ -htmlprune.o: htmlprune.c config.h /usr/include/assert.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/include/ctype.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/xlocale.h /usr/include/stdlib.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/stdio.h /usr/include/libio.h \ - /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h export.h types.e \ - tree.e html.e scan.e openurl.e class.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/ctype.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/stdlib.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: - -types.e: - -tree.e: - -html.e: - -scan.e: - -openurl.e: - -class.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/incl.Po b/arid_examples/html-xml-utils-3.0/.deps/incl.Po deleted file mode 100644 index 61c3a02a5..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/incl.Po +++ /dev/null @@ -1,126 +0,0 @@ -incl.o: incl.c config.h /usr/include/stdio.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/include/bits/unistd.h /usr/include/ctype.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/xlocale.h /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/stdlib.h \ - /usr/include/bits/string3.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/assert.h \ - export.h types.e html.e scan.e openurl.e heap.e url.e - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/include/bits/unistd.h: - -/usr/include/ctype.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/assert.h: - -export.h: - -types.e: - -html.e: - -scan.e: - -openurl.e: - -heap.e: - -url.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/index.Po b/arid_examples/html-xml-utils-3.0/.deps/index.Po deleted file mode 100644 index dbbc0952c..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/index.Po +++ /dev/null @@ -1,138 +0,0 @@ -index.o: index.c config.h /usr/include/assert.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h /usr/include/ctype.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/stdlib.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/stdio.h /usr/include/libio.h \ - /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h \ - /usr/include/errno.h /usr/include/bits/errno.h \ - /usr/include/linux/errno.h /usr/include/asm/errno.h \ - /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ - /usr/include/search.h export.h types.e heap.e tree.e html.e scan.e \ - openurl.e genid.e errexit.e class.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/ctype.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/stdlib.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -/usr/include/errno.h: - -/usr/include/bits/errno.h: - -/usr/include/linux/errno.h: - -/usr/include/asm/errno.h: - -/usr/include/asm-generic/errno.h: - -/usr/include/asm-generic/errno-base.h: - -/usr/include/search.h: - -export.h: - -types.e: - -heap.e: - -tree.e: - -html.e: - -scan.e: - -openurl.e: - -genid.e: - -errexit.e: - -class.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/malloc.Po b/arid_examples/html-xml-utils-3.0/.deps/malloc.Po deleted file mode 100644 index 9ce06a81e..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/malloc.Po +++ /dev/null @@ -1 +0,0 @@ -# dummy diff --git a/arid_examples/html-xml-utils-3.0/.deps/mkbib.Po b/arid_examples/html-xml-utils-3.0/.deps/mkbib.Po deleted file mode 100644 index 2a8ae6535..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/mkbib.Po +++ /dev/null @@ -1,122 +0,0 @@ -mkbib.o: mkbib.c config.h /usr/include/errno.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h /usr/include/bits/errno.h \ - /usr/include/linux/errno.h /usr/include/asm/errno.h \ - /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ - /usr/include/stdio.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/xlocale.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/stdlib.h /usr/include/bits/string3.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/assert.h /usr/include/search.h \ - /usr/include/ctype.h heap.e types.e errexit.e - -config.h: - -/usr/include/errno.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/bits/errno.h: - -/usr/include/linux/errno.h: - -/usr/include/asm/errno.h: - -/usr/include/asm-generic/errno.h: - -/usr/include/asm-generic/errno-base.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/assert.h: - -/usr/include/search.h: - -/usr/include/ctype.h: - -heap.e: - -types.e: - -errexit.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/multitoc.Po b/arid_examples/html-xml-utils-3.0/.deps/multitoc.Po deleted file mode 100644 index 91204ec8b..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/multitoc.Po +++ /dev/null @@ -1,113 +0,0 @@ -multitoc.o: multitoc.c config.h /usr/include/assert.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/include/ctype.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/xlocale.h /usr/include/stdlib.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/stdio.h /usr/include/libio.h \ - /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h export.h types.e \ - html.e scan.e openurl.e class.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/ctype.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/stdlib.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: - -types.e: - -html.e: - -scan.e: - -openurl.e: - -class.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/normalize.Po b/arid_examples/html-xml-utils-3.0/.deps/normalize.Po deleted file mode 100644 index 5f5b5f07e..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/normalize.Po +++ /dev/null @@ -1,126 +0,0 @@ -normalize.o: normalize.c config.h /usr/include/stdio.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/ctype.h /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/confname.h \ - /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/string.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h \ - /usr/include/bits/string3.h /usr/include/assert.h export.h types.e \ - tree.e html.e scan.e textwrap.e openurl.e - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/ctype.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/stdlib.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/include/bits/unistd.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -/usr/include/assert.h: - -export.h: - -types.e: - -tree.e: - -html.e: - -scan.e: - -textwrap.e: - -openurl.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/num.Po b/arid_examples/html-xml-utils-3.0/.deps/num.Po deleted file mode 100644 index 60a3b5645..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/num.Po +++ /dev/null @@ -1,122 +0,0 @@ -num.o: num.c config.h /usr/include/stdio.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/include/bits/unistd.h /usr/include/ctype.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/xlocale.h /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/stdlib.h \ - /usr/include/bits/string3.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/assert.h \ - export.h types.e html.e scan.e openurl.e - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/include/bits/unistd.h: - -/usr/include/ctype.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/assert.h: - -export.h: - -types.e: - -html.e: - -scan.e: - -openurl.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/openurl.Po b/arid_examples/html-xml-utils-3.0/.deps/openurl.Po deleted file mode 100644 index ba044eaa6..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/openurl.Po +++ /dev/null @@ -1,169 +0,0 @@ -openurl.o: openurl.c config.h /usr/include/stdlib.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/sys/stat.h \ - /usr/include/bits/stat.h /usr/include/fcntl.h /usr/include/bits/fcntl.h \ - /usr/include/bits/fcntl2.h /usr/include/errno.h \ - /usr/include/bits/errno.h /usr/include/linux/errno.h \ - /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ - /usr/include/asm-generic/errno-base.h /usr/include/stdio.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/sys/socket.h /usr/include/sys/uio.h /usr/include/bits/uio.h \ - /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \ - /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \ - /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \ - /usr/include/bits/socket2.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/confname.h \ - /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/string.h \ - /usr/include/xlocale.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h export.h heap.e \ - types.e url.e connectsock.e - -config.h: - -/usr/include/stdlib.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/sys/stat.h: - -/usr/include/bits/stat.h: - -/usr/include/fcntl.h: - -/usr/include/bits/fcntl.h: - -/usr/include/bits/fcntl2.h: - -/usr/include/errno.h: - -/usr/include/bits/errno.h: - -/usr/include/linux/errno.h: - -/usr/include/asm/errno.h: - -/usr/include/asm-generic/errno.h: - -/usr/include/asm-generic/errno-base.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/sys/socket.h: - -/usr/include/sys/uio.h: - -/usr/include/bits/uio.h: - -/usr/include/bits/socket.h: - -/usr/include/bits/sockaddr.h: - -/usr/include/asm/socket.h: - -/usr/include/asm-generic/socket.h: - -/usr/include/asm/sockios.h: - -/usr/include/asm-generic/sockios.h: - -/usr/include/bits/socket2.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/include/bits/unistd.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: - -heap.e: - -types.e: - -url.e: - -connectsock.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/pipe.Po b/arid_examples/html-xml-utils-3.0/.deps/pipe.Po deleted file mode 100644 index 804234f55..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/pipe.Po +++ /dev/null @@ -1,122 +0,0 @@ -pipe.o: pipe.c config.h /usr/include/stdio.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/include/bits/unistd.h /usr/include/ctype.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/xlocale.h /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/stdlib.h \ - /usr/include/bits/string3.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/assert.h \ - export.h types.e html.e scan.e openurl.e - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/include/bits/unistd.h: - -/usr/include/ctype.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/assert.h: - -export.h: - -types.e: - -html.e: - -scan.e: - -openurl.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/scan.Po b/arid_examples/html-xml-utils-3.0/.deps/scan.Po deleted file mode 100644 index 70c57103b..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/scan.Po +++ /dev/null @@ -1,110 +0,0 @@ -scan.o: scan.c /usr/include/stdio.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h config.h \ - /usr/include/assert.h /usr/include/string.h /usr/include/xlocale.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/stdlib.h \ - /usr/include/bits/string3.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/ctype.h \ - export.h types.e heap.e html.h errexit.e - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -config.h: - -/usr/include/assert.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/ctype.h: - -export.h: - -types.e: - -heap.e: - -html.h: - -errexit.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/selector.Po b/arid_examples/html-xml-utils-3.0/.deps/selector.Po deleted file mode 100644 index 29ecec5d0..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/selector.Po +++ /dev/null @@ -1,107 +0,0 @@ -selector.o: selector.c config.h /usr/include/assert.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/include/stdlib.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/stdio.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/ctype.h /usr/include/xlocale.h /usr/include/string.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h \ - /usr/include/bits/string3.h export.h heap.e types.e errexit.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/stdlib.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/ctype.h: - -/usr/include/xlocale.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: - -heap.e: - -types.e: - -errexit.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/strdup.Po b/arid_examples/html-xml-utils-3.0/.deps/strdup.Po deleted file mode 100644 index 9ce06a81e..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/strdup.Po +++ /dev/null @@ -1 +0,0 @@ -# dummy diff --git a/arid_examples/html-xml-utils-3.0/.deps/strerror.Po b/arid_examples/html-xml-utils-3.0/.deps/strerror.Po deleted file mode 100644 index 9ce06a81e..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/strerror.Po +++ /dev/null @@ -1 +0,0 @@ -# dummy diff --git a/arid_examples/html-xml-utils-3.0/.deps/strstr.Po b/arid_examples/html-xml-utils-3.0/.deps/strstr.Po deleted file mode 100644 index 9ce06a81e..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/strstr.Po +++ /dev/null @@ -1 +0,0 @@ -# dummy diff --git a/arid_examples/html-xml-utils-3.0/.deps/textwrap.Po b/arid_examples/html-xml-utils-3.0/.deps/textwrap.Po deleted file mode 100644 index 0652583fb..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/textwrap.Po +++ /dev/null @@ -1,81 +0,0 @@ -textwrap.o: textwrap.c config.h /usr/include/stdio.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/ctype.h /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/assert.h /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/stdlib.h \ - /usr/include/bits/string3.h export.h types.e errexit.e - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/ctype.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/assert.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: - -export.h: - -types.e: - -errexit.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/tfind.Po b/arid_examples/html-xml-utils-3.0/.deps/tfind.Po deleted file mode 100644 index 9ce06a81e..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/tfind.Po +++ /dev/null @@ -1 +0,0 @@ -# dummy diff --git a/arid_examples/html-xml-utils-3.0/.deps/toc.Po b/arid_examples/html-xml-utils-3.0/.deps/toc.Po deleted file mode 100644 index 27be085cb..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/toc.Po +++ /dev/null @@ -1,138 +0,0 @@ -toc.o: toc.c config.h /usr/include/assert.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h /usr/include/ctype.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/stdlib.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/stdio.h /usr/include/libio.h \ - /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h \ - /usr/include/errno.h /usr/include/bits/errno.h \ - /usr/include/linux/errno.h /usr/include/asm/errno.h \ - /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ - /usr/include/search.h export.h types.e heap.e tree.e html.e scan.e \ - openurl.e errexit.e genid.e class.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/ctype.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/stdlib.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -/usr/include/errno.h: - -/usr/include/bits/errno.h: - -/usr/include/linux/errno.h: - -/usr/include/asm/errno.h: - -/usr/include/asm-generic/errno.h: - -/usr/include/asm-generic/errno-base.h: - -/usr/include/search.h: - -export.h: - -types.e: - -heap.e: - -tree.e: - -html.e: - -scan.e: - -openurl.e: - -errexit.e: - -genid.e: - -class.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/tree.Po b/arid_examples/html-xml-utils-3.0/.deps/tree.Po deleted file mode 100644 index f277829b6..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/tree.Po +++ /dev/null @@ -1,108 +0,0 @@ -tree.o: tree.c config.h /usr/include/assert.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h /usr/include/stdlib.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \ - /usr/include/xlocale.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h \ - /usr/include/ctype.h /usr/include/stdio.h /usr/include/libio.h \ - /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h export.h heap.e \ - types.e dtd.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/stdlib.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -/usr/include/ctype.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -export.h: - -heap.e: - -types.e: - -dtd.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/tsearch.Po b/arid_examples/html-xml-utils-3.0/.deps/tsearch.Po deleted file mode 100644 index 9ce06a81e..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/tsearch.Po +++ /dev/null @@ -1 +0,0 @@ -# dummy diff --git a/arid_examples/html-xml-utils-3.0/.deps/twalk.Po b/arid_examples/html-xml-utils-3.0/.deps/twalk.Po deleted file mode 100644 index 9ce06a81e..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/twalk.Po +++ /dev/null @@ -1 +0,0 @@ -# dummy diff --git a/arid_examples/html-xml-utils-3.0/.deps/types.Po b/arid_examples/html-xml-utils-3.0/.deps/types.Po deleted file mode 100644 index fa8380ba2..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/types.Po +++ /dev/null @@ -1,79 +0,0 @@ -types.o: types.c config.h /usr/include/stdlib.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h /usr/include/string.h \ - /usr/include/xlocale.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h export.h heap.e - -config.h: - -/usr/include/stdlib.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: - -heap.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/uncdata.Po b/arid_examples/html-xml-utils-3.0/.deps/uncdata.Po deleted file mode 100644 index 79b7b23c4..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/uncdata.Po +++ /dev/null @@ -1,71 +0,0 @@ -uncdata.o: uncdata.c /usr/include/stdio.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/assert.h /usr/include/string.h /usr/include/xlocale.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/stdlib.h \ - /usr/include/bits/string3.h - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/assert.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: diff --git a/arid_examples/html-xml-utils-3.0/.deps/unpipe.Po b/arid_examples/html-xml-utils-3.0/.deps/unpipe.Po deleted file mode 100644 index 9857a6968..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/unpipe.Po +++ /dev/null @@ -1,122 +0,0 @@ -unpipe.o: unpipe.c config.h /usr/include/stdio.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/ctype.h /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/confname.h \ - /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/assert.h \ - /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h export.h types.e \ - heap.e errexit.e openurl.e - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/ctype.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/stdlib.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/include/bits/unistd.h: - -/usr/include/assert.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: - -types.e: - -heap.e: - -errexit.e: - -openurl.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/url.Po b/arid_examples/html-xml-utils-3.0/.deps/url.Po deleted file mode 100644 index e5c65fd54..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/url.Po +++ /dev/null @@ -1,110 +0,0 @@ -url.o: url.c config.h /usr/include/stdlib.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/assert.h \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/xlocale.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h \ - /usr/include/ctype.h /usr/include/regex.h \ - /usr/include/gnu/option-groups.h export.h heap.e types.e - -config.h: - -/usr/include/stdlib.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/assert.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -/usr/include/ctype.h: - -/usr/include/regex.h: - -/usr/include/gnu/option-groups.h: - -export.h: - -heap.e: - -types.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/wls.Po b/arid_examples/html-xml-utils-3.0/.deps/wls.Po deleted file mode 100644 index 40b99fc2a..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/wls.Po +++ /dev/null @@ -1,112 +0,0 @@ -wls.o: wls.c config.h /usr/include/assert.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h /usr/include/ctype.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/stdlib.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/stdio.h /usr/include/libio.h \ - /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h export.h types.e \ - html.e scan.e openurl.e url.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/ctype.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/stdlib.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: - -types.e: - -html.e: - -scan.e: - -openurl.e: - -url.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/xml2asc.Po b/arid_examples/html-xml-utils-3.0/.deps/xml2asc.Po deleted file mode 100644 index 8c43a64be..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/xml2asc.Po +++ /dev/null @@ -1,97 +0,0 @@ -xml2asc.o: xml2asc.c config.h /usr/include/stdio.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/string.h /usr/include/xlocale.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h \ - /usr/include/bits/string3.h /usr/include/ctype.h - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/stdlib.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -/usr/include/ctype.h: diff --git a/arid_examples/html-xml-utils-3.0/.deps/xmlns.Po b/arid_examples/html-xml-utils-3.0/.deps/xmlns.Po deleted file mode 100644 index 2932029d4..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/xmlns.Po +++ /dev/null @@ -1,124 +0,0 @@ -xmlns.o: xmlns.c config.h /usr/include/stdio.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/include/bits/unistd.h /usr/include/ctype.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/xlocale.h /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/stdlib.h \ - /usr/include/bits/string3.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/assert.h \ - export.h types.e heap.e html.e scan.e openurl.e - -config.h: - -/usr/include/stdio.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/include/bits/unistd.h: - -/usr/include/ctype.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/stdlib.h: - -/usr/include/bits/string3.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/assert.h: - -export.h: - -types.e: - -heap.e: - -html.e: - -scan.e: - -openurl.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/xref.Po b/arid_examples/html-xml-utils-3.0/.deps/xref.Po deleted file mode 100644 index 6bd6a8c0b..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/xref.Po +++ /dev/null @@ -1,133 +0,0 @@ -xref.o: xref.c config.h /usr/include/assert.h /usr/include/features.h \ - /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h /usr/include/stdio.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/ctype.h /usr/include/xlocale.h \ - /usr/include/errno.h /usr/include/bits/errno.h \ - /usr/include/linux/errno.h /usr/include/asm/errno.h \ - /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ - /usr/include/search.h /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/bits/string3.h heap.e types.e \ - html.e scan.e tree.e openurl.e genid.e errexit.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/stdlib.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/ctype.h: - -/usr/include/xlocale.h: - -/usr/include/errno.h: - -/usr/include/bits/errno.h: - -/usr/include/linux/errno.h: - -/usr/include/asm/errno.h: - -/usr/include/asm-generic/errno.h: - -/usr/include/asm-generic/errno-base.h: - -/usr/include/search.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -heap.e: - -types.e: - -html.e: - -scan.e: - -tree.e: - -openurl.e: - -genid.e: - -errexit.e: diff --git a/arid_examples/html-xml-utils-3.0/.deps/xselect.Po b/arid_examples/html-xml-utils-3.0/.deps/xselect.Po deleted file mode 100644 index 8d4ae0394..000000000 --- a/arid_examples/html-xml-utils-3.0/.deps/xselect.Po +++ /dev/null @@ -1,128 +0,0 @@ -xselect.o: xselect.c config.h /usr/include/assert.h \ - /usr/include/features.h /usr/include/bits/predefs.h \ - /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ - /usr/include/ctype.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/xlocale.h /usr/include/stdlib.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/include/bits/stdlib.h /usr/include/stdio.h /usr/include/libio.h \ - /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ - /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/include/bits/unistd.h /usr/include/string.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h \ - /usr/include/bits/string3.h export.h types.e heap.e html.e scan.e \ - errexit.e selector.e - -config.h: - -/usr/include/assert.h: - -/usr/include/features.h: - -/usr/include/bits/predefs.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/include/ctype.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/stdlib.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: - -/usr/include/sys/types.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/include/bits/stdlib.h: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/include/bits/stdio2.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/include/bits/unistd.h: - -/usr/include/string.h: - -/usr/include/bits/string.h: - -/usr/include/bits/string2.h: - -/usr/include/bits/string3.h: - -export.h: - -types.e: - -heap.e: - -html.e: - -scan.e: - -errexit.e: - -selector.e: diff --git a/arid_examples/html-xml-utils-3.0/AUTHORS b/arid_examples/html-xml-utils-3.0/AUTHORS deleted file mode 100644 index 36186490f..000000000 --- a/arid_examples/html-xml-utils-3.0/AUTHORS +++ /dev/null @@ -1 +0,0 @@ -Bert Bos <bert@w3.org> diff --git a/arid_examples/html-xml-utils-3.0/COPYING b/arid_examples/html-xml-utils-3.0/COPYING deleted file mode 100644 index d60c31a97..000000000 --- a/arid_examples/html-xml-utils-3.0/COPYING +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 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. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, 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 or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -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 give any other recipients of the Program a copy of this License -along with the Program. - -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 Program or any portion -of it, thus forming a work based on the Program, 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) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -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 Program, 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 Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) 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; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, 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 executable. However, as a -special exception, the source code 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. - -If distribution of executable or 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 counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program 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. - - 5. 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 Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program 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 to -this License. - - 7. 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 Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program 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 Program. - -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. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program 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. - - 9. The Free Software Foundation may publish revised and/or new versions -of the 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 Program -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 Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, 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 - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "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 PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. 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 PROGRAM 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 PROGRAM (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 PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. 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 program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; 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. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - <signature of Ty Coon>, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/arid_examples/html-xml-utils-3.0/ChangeLog b/arid_examples/html-xml-utils-3.0/ChangeLog deleted file mode 100644 index e90c04763..000000000 --- a/arid_examples/html-xml-utils-3.0/ChangeLog +++ /dev/null @@ -1,309 +0,0 @@ -2004-04-29 Bert Bos <bert@w3.org> - - * Released version 3.0 - - * cite.c: Fixed bug: after a [[...]] without a marker, the program - would not look for more [[...]] on the same line. - -2004-04-28 Bert Bos <bert@w3.org> - - * unent.hash now considers a "&" that is not followed by "#" or an - alphanumeric character to mean the same as "&" (as required by - SGML, although invalid in XML) - -2004-04-26 Bert Bos <bert@w3.org> - - * textwrap.c: increased MAXLINE, since I have an application that - uses 20000-character lines. - - * scan.l: Scanner now returns the omitted ">" in "<foo<bar>", - since this is valid in SGML (although not in XML, but we're not - validating anyway). - -2004-04-22 Bert Bos <bert@w3.org> - - * Released version 2.9. - - * mkbib.c: If a field ends with "." and the template would put a - "." after it, only one of the two periods is printed. Added option - -n and -r, to specify how many authors are printed at most and - what string is printed instead if there are more. Defaults are 3 - and "et al." - -2004-04-21 Bert Bos <bert@w3.org> - - * cite.c, mkbib.c: increased size of hash table from 200 to 4096. - -2003-12-02 Bert Bos <bert@w3.org> - - * normalize.c: added logic to avoid that an end tag is omitted if - there is text after it. - -2003-09-15 Bert Bos <bert@w3.org> - - * tree.c: if the currently open element doesn't accept text, - append_text no longer starts by closing all open elements that - have omittable end tags and don't accept text, but only closes as - many as needed to arrive at one that accepts the text's preferred - parent (which is P in HTML). This fixes a bug that text inside - BODY closes the BODY and HTML and then reopens them again to - insert a P. It now stops before closing BODY, because BODY will - accept the P. - -2003-09-04 Bert Bos <bert@w3.org> - - * incl.c: printed one "?" too many at the end of a PI. - -2003-08-11 Bert Bos <bert@w3.org> - - * xref.c: now splits the key into |-separated parts, just like - index.c does. - -2003-08-07 Bert Bos <bert@w3.org> - - * addid.c: removed reference to search.h, since it is not used. - - * mkbib.c, xref.c, cite.c: now use our own implementation of hash - tables if search.h does not exist. - -2003-07-15 Bert Bos <bert@w3.org> - - * mkbib.c: fixed bug that caused last entry in the database to not - be properly stored in the hash table. - -2003-04-09 Bert Bos <bert@w3.org> - - * Renamed search.h to search-freebsd.h and arranged for it to be - used only if the system doesn't have a search.h of its own. - - * Added sources for twalk, tfind and tsearch. - - * Added search.h and adapted configure.in. - - * Changed export.h to quote the argument of EXPORTDEF, to deal - with the C preprocessor in gcc 3.2, which otherwise inserts extra - spaces. Adapted cexport.c to unquote the argument of EXPORTDEF - again before writing it to a .e file. - -2003-03-12 Bert Bos <bert@w3.org> - - * configure.in: removed some unneeded rules (LN_S, MAN2HTML, - ERROR_AT_LINE, REALLOC) and dropped requirement from autocon 2.57 - to autocon 2.52 - -2003-01-21 Bert Bos <bert@bert.inria.fr> - - * heap.c: changed the __FILE__ magic so that it compiles with - gcc3. (It gives a harmless warning still :-( ) - -2002-11-06 Bert Bos <bert@w3.org> - - * scan.l: added recognition for UTF-8 Byte Order Mark at start. - (The BOM is subsequently ignored, we don't currently do anything - with the knowledge that the file is UTF-8.) - -2002-10-30 Bert Bos <bert@w3.org> - - * asc2xml, xml2asc, xmlrecode: removed xmlrecode and made asc2xml - and xml2asc independent programs. They were so small that - symlinking made no sense. - - * tree.c: added routine need_stag() that check if the start tag is - required and added build_path() that tries to build a path of - omitted start tags from the current tree to the element that is to - be added. - - * dtd.hash: added a column for omittable start tags, to help the - heuristics in html_push (tree.c) to infer the intended structure - better. - -2002-10-29 Bert Bos <bert@w3.org> - - * xselect.c: now supports case-insensitive matching - - * xref.c: when finding a match, now ignores all characters except - letters, digits and dashes. - - * uncdata.c: Fixed bug: forgot to print "<!" when starting a - comment. - - * toc.1: Added option -t - - * Released version 2.4 - - * dtd.hash: added table as possible parent for tr. It's not - correct, but it avoids an incorrect correction with tr inside a - nested table: it closed the nested table and considered the tr to - be part of the outer table. A better solution is needed... - -2002-02-20 Bert Bos <bert@w3.org> - - * uncdata.c: new program: removes CDATA sections from XML files. - -2002-02-18 Bert Bos <bert@w3.org> - - * xselect.c: Added options -s (separator) and -i - (case-insensitive). Added some documentation. - -2002-02-14 Bert Bos <bert@w3.org> - - * selector.c: fixed bug in recognition of attribute selectors: - pointer was incremented before the character was stored, instead - of the reverse. - -2002-02-05 Bert Bos <bert@w3.org> - - * Released version 2.2. - - * cite.c: Now accepts a -m option to flag references. This allows - to find differently flagged references in different passes. - - * multitoc.c: Fixed two bugs: a missing ! before strncmp and - missing printf(">"), which caused headings with child elements to - be copied incorrectly. - -2001-09-25 Bert Bos <bert@w3.org> - - * index.c: Fixed bug: no longer tries to index empty elements, - such as "<dfn></dfn>" - -2001-08-01 Bert Bos <bert@w3.org> - - * selector.c: Bug fixed: some occurrences of START_EQ were renamed - to EQ, but not all. - - * select.c: renamed to xselect.c, because select is a built-in - command of certain shells. - -2001-07-17 Bert Bos <bert@w3.org> - - * unent.hash: fixed bug that copied a whole line instead of a - single unexpanded entity. Added option -b ("built-in") to leave - standard entities (amp, gt, lt, quot) untocuhed. - - * Released version 2.0 - - * normalize.c: Added option -d to omit the doctype from the - output. - -2001-07-16 Bert Bos <bert@w3.org> - - * selector.c: Fixed bug in parsing of "[name]"; fixed missing - case in attribs_to_string() - - * select.c: Now implements :lang and :nth...(an+b) - -2001-07-10 Bert Bos <bert@w3.org> - - * Released version 1.8 - - * mkbib.c: fixed bug in read_entries(). On Linux, calling - hsearch() with an action of ENTER replaces any existing data - with new data, if it is different, On Solaris the existing record - is kept. The routine now puts the data in the existing record. - -2001-07-09 Bert Bos <bert@w3.org> - - * Released version 1.7 - - * selector.c: Added (types and a parser for CSS selector) - - * select.c: Added (implementation of CSS selectors) - -2001-05-23 Bert Bos <bert@w3.org> - - * Released version 1.6 - -2001-05-21 Bert Bos <bert@w3.org> - - * toc.c: In expand(), if keep-anchors is false, IDs are now not - copied either. - -2001-04-19 Bert Bos <bert@w3.org> - - * textwrap.c: Fixed bug when space fell exactly at end of line. - But logic still is not perfect, since it creates spaces (indents) - on empty lines. - -2001-03-22 Bert Bos <bert@w3.org> - - * toc.c: </li> was not printed, even if xml was True - -2001-02-04 Bert Bos <bert@w3.org> - - * printlinks: added. - -2000-09-14 Bert Bos <bert@w3.org> - - * normalize.c: Fixed bug that caused text not to be preformatted - inside an element nested inside a PRE. - - * textwrap.c: Fixed bug that caused lines not to be broken at all - if there was no break point before the target length. - -2000-09-04 Bert Bos <bert@w3.org> - - * xref.c: now skips quotes when comparing terms - -2000-08-29 Bert Bos <bert@w3.org> - - * Released version 1.3 - -2000-08-26 Bert Bos <bert@w3.org> - - * index.c: termcmp() now correctly compares keys that end with - punctuation. - - * normalize.1: now describes the -e (add endtags) option. - - * xref.c: now uses title attribute in instances as well - -2000-08-21 Bert Bos <bbos@lanalana.inria.fr> - - * Released version 1.2 - - * All occurrences of "DOCTYPE" are now in uppercase. - -2000-08-20 Bert Bos <bert@w3.org> - - * tree.c: Now checks if there is a parent open before popping - elements from the stack. - - * textwrap.c: Now flushes at \n or \r in preformatted, because - long preformatted elements could too easily overflow the buffer. - - * html.y: Added some const's to formal parameters - - * genid.c: minlen now works even if there are child elements; no - longer skips '-' and '.' when it generates an ID; no longer - generates zero-length IDs. - - * cexport.c: Now recognizes quoted file names after "#line" - - * class.c: Put contains() and has_class() in new file - - * Makefile.am: Added addid and extract - -Version 1.1 (2 August 2000) - - Better (?) heuristic for closing and generating elements in - html_push() in tree.c. It no longer closes and re-opens the <html> - element in case both </head> and <body> are missing. - - Different path for bash (/usr/local/bin/bash instead of - /usr/local/gnu/bin/bash) in cite-mkbib. - - cite-mkbib was missing from the tar file. - - Program incl changed. It now looks for <!--include "file"-->. - Because of that, a callback endincl() was added in html.y - - Some programs now interpret argument "-" as meaning "read from - standard input." - - Fixed bug in toc: it didn't correctly guard against re-use of IDs, - since it stored a random string rather than an ID in the binary - tree. - - Added some handy functions to types.c: stapp(), chomp(), min(), - max(). diff --git a/arid_examples/html-xml-utils-3.0/INSTALL b/arid_examples/html-xml-utils-3.0/INSTALL deleted file mode 100644 index 54caf7c19..000000000 --- a/arid_examples/html-xml-utils-3.0/INSTALL +++ /dev/null @@ -1,229 +0,0 @@ -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. - diff --git a/arid_examples/html-xml-utils-3.0/Makefile b/arid_examples/html-xml-utils-3.0/Makefile deleted file mode 100644 index 97a70991d..000000000 --- a/arid_examples/html-xml-utils-3.0/Makefile +++ /dev/null @@ -1,1139 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# Makefile. Generated from Makefile.in by configure. - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - - -# Copyright © 1994-2004 World Wide Web Consortium -# See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html -# -# Author: Bert Bos <bert@w3.org> -# Created: 31 Mar 2000 -# Version: $Id: Makefile.am,v 1.25 2004/04/21 15:34:36 bbos Exp $ - - - -pkgdatadir = $(datadir)/html-xml-utils -pkgincludedir = $(includedir)/html-xml-utils -pkglibdir = $(libdir)/html-xml-utils -pkglibexecdir = $(libexecdir)/html-xml-utils -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -bin_PROGRAMS = addid$(EXEEXT) cexport$(EXEEXT) cite$(EXEEXT) \ - count$(EXEEXT) extract$(EXEEXT) htmlclean$(EXEEXT) \ - htmlprune$(EXEEXT) incl$(EXEEXT) index$(EXEEXT) mkbib$(EXEEXT) \ - multitoc$(EXEEXT) normalize$(EXEEXT) num$(EXEEXT) \ - pipe$(EXEEXT) xselect$(EXEEXT) toc$(EXEEXT) uncdata$(EXEEXT) \ - unpipe$(EXEEXT) wls$(EXEEXT) xmlns$(EXEEXT) xref$(EXEEXT) \ - xml2asc$(EXEEXT) asc2xml$(EXEEXT) -subdir = . -DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/config.h.in \ - $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ - TODO depcomp html.c html.h install-sh malloc.c missing scan.c \ - strdup.c strerror.c strstr.c tfind.c tsearch.c twalk.c ylwrap -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(man1dir)" -PROGRAMS = $(bin_PROGRAMS) -am_addid_OBJECTS = addid.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - dtd.$(OBJEXT) openurl.$(OBJEXT) errexit.$(OBJEXT) \ - url.$(OBJEXT) connectsock.$(OBJEXT) heap.$(OBJEXT) \ - tree.$(OBJEXT) types.$(OBJEXT) genid.$(OBJEXT) class.$(OBJEXT) \ - hash.$(OBJEXT) -addid_OBJECTS = $(am_addid_OBJECTS) -addid_LDADD = $(LDADD) -addid_DEPENDENCIES = -am_asc2xml_OBJECTS = asc2xml.$(OBJEXT) -asc2xml_OBJECTS = $(am_asc2xml_OBJECTS) -asc2xml_LDADD = $(LDADD) -asc2xml_DEPENDENCIES = -am_cexport_OBJECTS = cexport.$(OBJEXT) -cexport_OBJECTS = $(am_cexport_OBJECTS) -cexport_LDADD = $(LDADD) -cexport_DEPENDENCIES = -am_cite_OBJECTS = heap.$(OBJEXT) errexit.$(OBJEXT) cite.$(OBJEXT) -cite_OBJECTS = $(am_cite_OBJECTS) -cite_LDADD = $(LDADD) -cite_DEPENDENCIES = -am_count_OBJECTS = count.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - types.$(OBJEXT) errexit.$(OBJEXT) heap.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) -count_OBJECTS = $(am_count_OBJECTS) -count_LDADD = $(LDADD) -count_DEPENDENCIES = -am_extract_OBJECTS = extract.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) \ - heap.$(OBJEXT) errexit.$(OBJEXT) class.$(OBJEXT) -extract_OBJECTS = $(am_extract_OBJECTS) -extract_LDADD = $(LDADD) -extract_DEPENDENCIES = -am_htmlclean_OBJECTS = htmlclean.$(OBJEXT) html.$(OBJEXT) \ - tree.$(OBJEXT) types.$(OBJEXT) heap.$(OBJEXT) dtd.$(OBJEXT) \ - scan.$(OBJEXT) errexit.$(OBJEXT) -htmlclean_OBJECTS = $(am_htmlclean_OBJECTS) -htmlclean_LDADD = $(LDADD) -htmlclean_DEPENDENCIES = -am_htmlprune_OBJECTS = htmlprune.$(OBJEXT) tree.$(OBJEXT) \ - scan.$(OBJEXT) html.$(OBJEXT) errexit.$(OBJEXT) dtd.$(OBJEXT) \ - heap.$(OBJEXT) types.$(OBJEXT) openurl.$(OBJEXT) url.$(OBJEXT) \ - connectsock.$(OBJEXT) class.$(OBJEXT) -htmlprune_OBJECTS = $(am_htmlprune_OBJECTS) -htmlprune_LDADD = $(LDADD) -htmlprune_DEPENDENCIES = -am_incl_OBJECTS = incl.$(OBJEXT) scan.$(OBJEXT) html.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) heap.$(OBJEXT) \ - errexit.$(OBJEXT) connectsock.$(OBJEXT) types.$(OBJEXT) -incl_OBJECTS = $(am_incl_OBJECTS) -incl_LDADD = $(LDADD) -incl_DEPENDENCIES = -am_index_OBJECTS = index.$(OBJEXT) scan.$(OBJEXT) html.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) heap.$(OBJEXT) class.$(OBJEXT) \ - errexit.$(OBJEXT) connectsock.$(OBJEXT) types.$(OBJEXT) \ - tree.$(OBJEXT) genid.$(OBJEXT) dtd.$(OBJEXT) -index_OBJECTS = $(am_index_OBJECTS) -index_LDADD = $(LDADD) -index_DEPENDENCIES = -am_mkbib_OBJECTS = errexit.$(OBJEXT) heap.$(OBJEXT) mkbib.$(OBJEXT) \ - hash.$(OBJEXT) -mkbib_OBJECTS = $(am_mkbib_OBJECTS) -mkbib_LDADD = $(LDADD) -mkbib_DEPENDENCIES = -am_multitoc_OBJECTS = multitoc.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) \ - heap.$(OBJEXT) errexit.$(OBJEXT) class.$(OBJEXT) -multitoc_OBJECTS = $(am_multitoc_OBJECTS) -multitoc_LDADD = $(LDADD) -multitoc_DEPENDENCIES = -am_normalize_OBJECTS = normalize.$(OBJEXT) html.$(OBJEXT) \ - scan.$(OBJEXT) openurl.$(OBJEXT) url.$(OBJEXT) tree.$(OBJEXT) \ - connectsock.$(OBJEXT) heap.$(OBJEXT) dtd.$(OBJEXT) \ - types.$(OBJEXT) textwrap.$(OBJEXT) errexit.$(OBJEXT) -normalize_OBJECTS = $(am_normalize_OBJECTS) -normalize_LDADD = $(LDADD) -normalize_DEPENDENCIES = -am_num_OBJECTS = num.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) errexit.$(OBJEXT) \ - heap.$(OBJEXT) connectsock.$(OBJEXT) -num_OBJECTS = $(am_num_OBJECTS) -num_LDADD = $(LDADD) -num_DEPENDENCIES = -am_pipe_OBJECTS = pipe.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - types.$(OBJEXT) errexit.$(OBJEXT) heap.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) -pipe_OBJECTS = $(am_pipe_OBJECTS) -pipe_LDADD = $(LDADD) -pipe_DEPENDENCIES = -am_toc_OBJECTS = html.$(OBJEXT) scan.$(OBJEXT) dtd.$(OBJEXT) \ - openurl.$(OBJEXT) errexit.$(OBJEXT) url.$(OBJEXT) \ - class.$(OBJEXT) connectsock.$(OBJEXT) heap.$(OBJEXT) \ - tree.$(OBJEXT) types.$(OBJEXT) genid.$(OBJEXT) toc.$(OBJEXT) \ - hash.$(OBJEXT) -toc_OBJECTS = $(am_toc_OBJECTS) -toc_LDADD = $(LDADD) -toc_DEPENDENCIES = -am_uncdata_OBJECTS = uncdata.$(OBJEXT) -uncdata_OBJECTS = $(am_uncdata_OBJECTS) -uncdata_LDADD = $(LDADD) -uncdata_DEPENDENCIES = -am_unpipe_OBJECTS = unpipe.$(OBJEXT) heap.$(OBJEXT) errexit.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) -unpipe_OBJECTS = $(am_unpipe_OBJECTS) -unpipe_LDADD = $(LDADD) -unpipe_DEPENDENCIES = -am_wls_OBJECTS = wls.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) \ - heap.$(OBJEXT) errexit.$(OBJEXT) types.$(OBJEXT) -wls_OBJECTS = $(am_wls_OBJECTS) -wls_LDADD = $(LDADD) -wls_DEPENDENCIES = -am_xml2asc_OBJECTS = xml2asc.$(OBJEXT) -xml2asc_OBJECTS = $(am_xml2asc_OBJECTS) -xml2asc_LDADD = $(LDADD) -xml2asc_DEPENDENCIES = -am_xmlns_OBJECTS = xmlns.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) \ - heap.$(OBJEXT) errexit.$(OBJEXT) types.$(OBJEXT) -xmlns_OBJECTS = $(am_xmlns_OBJECTS) -xmlns_LDADD = $(LDADD) -xmlns_DEPENDENCIES = -am_xref_OBJECTS = html.$(OBJEXT) scan.$(OBJEXT) dtd.$(OBJEXT) \ - openurl.$(OBJEXT) errexit.$(OBJEXT) url.$(OBJEXT) \ - connectsock.$(OBJEXT) heap.$(OBJEXT) tree.$(OBJEXT) \ - types.$(OBJEXT) genid.$(OBJEXT) xref.$(OBJEXT) hash.$(OBJEXT) -xref_OBJECTS = $(am_xref_OBJECTS) -xref_LDADD = $(LDADD) -xref_DEPENDENCIES = -am_xselect_OBJECTS = xselect.$(OBJEXT) types.$(OBJEXT) \ - errexit.$(OBJEXT) heap.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - selector.$(OBJEXT) -xselect_OBJECTS = $(am_xselect_OBJECTS) -xselect_LDADD = $(LDADD) -xselect_DEPENDENCIES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -SCRIPTS = $(bin_SCRIPTS) -DEFAULT_INCLUDES = -I. -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS) -YLWRAP = $(top_srcdir)/ylwrap -YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS) -SOURCES = $(addid_SOURCES) $(asc2xml_SOURCES) $(cexport_SOURCES) \ - $(cite_SOURCES) $(count_SOURCES) $(extract_SOURCES) \ - $(htmlclean_SOURCES) $(htmlprune_SOURCES) $(incl_SOURCES) \ - $(index_SOURCES) $(mkbib_SOURCES) $(multitoc_SOURCES) \ - $(normalize_SOURCES) $(num_SOURCES) $(pipe_SOURCES) \ - $(toc_SOURCES) $(uncdata_SOURCES) $(unpipe_SOURCES) \ - $(wls_SOURCES) $(xml2asc_SOURCES) $(xmlns_SOURCES) \ - $(xref_SOURCES) $(xselect_SOURCES) -DIST_SOURCES = $(addid_SOURCES) $(asc2xml_SOURCES) $(cexport_SOURCES) \ - $(cite_SOURCES) $(count_SOURCES) $(extract_SOURCES) \ - $(htmlclean_SOURCES) $(htmlprune_SOURCES) $(incl_SOURCES) \ - $(index_SOURCES) $(mkbib_SOURCES) $(multitoc_SOURCES) \ - $(normalize_SOURCES) $(num_SOURCES) $(pipe_SOURCES) \ - $(toc_SOURCES) $(uncdata_SOURCES) $(unpipe_SOURCES) \ - $(wls_SOURCES) $(xml2asc_SOURCES) $(xmlns_SOURCES) \ - $(xref_SOURCES) $(xselect_SOURCES) -man1dir = $(mandir)/man1 -NROFF = nroff -MANS = $(man_MANS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) -am__remove_distdir = \ - { test ! -d "$(distdir)" \ - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr "$(distdir)"; }; } -DIST_ARCHIVES = $(distdir).tar.gz -GZIP_ENV = --best -distuninstallcheck_listfiles = find . -type f -print -distcleancheck_listfiles = find . -type f -print -ACLOCAL = ${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run aclocal-1.11 -AMTAR = ${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run tar -AUTOCONF = ${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run autoconf -AUTOHEADER = ${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run autoheader -AUTOMAKE = ${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run automake-1.11 -AWK = gawk -CC = gcc -CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 -CPP = gcc -E -CPPFLAGS = -fno-stack-protector -CYGPATH_W = echo -DEFS = -DHAVE_CONFIG_H -DEPDIR = .deps -ECHO_C = -ECHO_N = -n -ECHO_T = -EGREP = /bin/grep -E -EXEEXT = -GREP = /bin/grep -INSTALL = /usr/bin/install -c -INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_PROGRAM = ${INSTALL} -INSTALL_SCRIPT = ${INSTALL} -INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LDFLAGS = -static -LEX = flex -LEXLIB = -lfl -LEX_OUTPUT_ROOT = lex.yy -LIBOBJS = -LIBS = -LTLIBOBJS = -MAKEINFO = ${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run makeinfo -MKDIR_P = /bin/mkdir -p -OBJEXT = o -PACKAGE = html-xml-utils -PACKAGE_BUGREPORT = -PACKAGE_NAME = -PACKAGE_STRING = -PACKAGE_TARNAME = -PACKAGE_URL = -PACKAGE_VERSION = -PATH_SEPARATOR = : -SET_MAKE = -SHELL = /bin/bash -STRIP = -VERSION = 3.0 -YACC = bison -y -YFLAGS = -abs_builddir = /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0 -abs_srcdir = /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0 -abs_top_builddir = /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0 -abs_top_srcdir = /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0 -ac_ct_CC = gcc -am__include = include -am__leading_dot = . -am__quote = -am__tar = ${AMTAR} chof - "$$tardir" -am__untar = ${AMTAR} xf - -bindir = ${exec_prefix}/bin -build_alias = -builddir = . -datadir = ${datarootdir} -datarootdir = ${prefix}/share -docdir = ${datarootdir}/doc/${PACKAGE} -dvidir = ${docdir} -exec_prefix = ${prefix} -host_alias = -htmldir = ${docdir} -includedir = ${prefix}/include -infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/install-sh -lex_opt_flags = -Cfe -libdir = ${exec_prefix}/lib -libexecdir = ${exec_prefix}/libexec -localedir = ${datarootdir}/locale -localstatedir = ${prefix}/var -mandir = ${datarootdir}/man -mkdir_p = /bin/mkdir -p -oldincludedir = /usr/include -pdfdir = ${docdir} -prefix = /usr/local -program_transform_name = s,x,x, -psdir = ${docdir} -sbindir = ${exec_prefix}/sbin -sharedstatedir = ${prefix}/com -srcdir = . -sysconfdir = ${prefix}/etc -target_alias = -top_build_prefix = -top_builddir = . -top_srcdir = . -bin_SCRIPTS = cite-mkbib printlinks -man_MANS = asc2xml.1 cexport.1 cite-mkbib.1 cite.1\ - count.1 htmlclean.1 htmlprune.1 incl.1 index.1\ - mkbib.1 multitoc.1 normalize.1 num.1 pipe.1 toc.1\ - unpipe.1 wls.1 xml2asc.1 xmlns.1\ - xref.1 - -EXTRA_DIST = $(man_MANS) dtd.hash export.h\ - $(bin_SCRIPTS) $(BUILT_SOURCES) - -LDADD = -AM_YFLAGS = -d -AM_LFLAGS = -Cfe -BUILT_SOURCES = connectsock.e heap.e types.e dtd.e errexit.e\ - tree.e genid.e html.e url.e openurl.e scan.e\ - textwrap.e scan.c html.c html.h dtd.c\ - class.e selector.e hash.e - -asc2xml_SOURCES = asc2xml.c -addid_SOURCES = addid.c html.y scan.l dtd.c openurl.c errexit.c\ - url.c connectsock.c heap.c tree.c types.c genid.c\ - class.c hash.c - -cexport_SOURCES = cexport.c -cite_SOURCES = heap.c errexit.c cite.c -count_SOURCES = count.c html.y scan.l types.c errexit.c heap.c\ - openurl.c url.c connectsock.c - -extract_SOURCES = extract.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c class.c - -htmlclean_SOURCES = htmlclean.c html.y tree.c types.c heap.c dtd.c\ - scan.l errexit.c - -htmlprune_SOURCES = htmlprune.c tree.c scan.l html.y errexit.c dtd.c\ - heap.c types.c openurl.c url.c connectsock.c class.c - -incl_SOURCES = incl.c scan.l html.y openurl.c url.c heap.c\ - errexit.c connectsock.c types.c - -index_SOURCES = index.c scan.l html.y openurl.c url.c heap.c class.c\ - errexit.c connectsock.c types.c tree.c genid.c dtd.c - -mkbib_SOURCES = errexit.c heap.c mkbib.c hash.c -multitoc_SOURCES = multitoc.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c class.c - -normalize_SOURCES = normalize.c html.y scan.l openurl.c url.c\ - tree.c connectsock.c heap.c dtd.c types.c\ - textwrap.c errexit.c - -num_SOURCES = num.c html.y scan.l openurl.c url.c errexit.c\ - heap.c connectsock.c - -pipe_SOURCES = pipe.c html.y scan.l types.c errexit.c heap.c\ - openurl.c url.c connectsock.c - -xselect_SOURCES = xselect.c types.c errexit.c heap.c html.y scan.l\ - selector.c - -toc_SOURCES = html.y scan.l dtd.c openurl.c errexit.c url.c class.c\ - connectsock.c heap.c tree.c types.c genid.c toc.c\ - hash.c - -uncdata_SOURCES = uncdata.c -unpipe_SOURCES = unpipe.c heap.c errexit.c openurl.c url.c\ - connectsock.c - -wls_SOURCES = wls.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c types.c - -xmlns_SOURCES = xmlns.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c types.c - -xml2asc_SOURCES = xml2asc.c -xref_SOURCES = html.y scan.l dtd.c openurl.c errexit.c url.c\ - connectsock.c heap.c tree.c types.c genid.c xref.c\ - hash.c - -HTML_MANS = $(man_MANS:.1=.html) -CLEANFILES = $(HTML_MANS) -SUFFIX = .c:sC .l:sC .y:sC .e:h .h:h -SUFFIXES = .e -all: $(BUILT_SOURCES) config.h - $(MAKE) $(AM_MAKEFLAGS) all-am - -.SUFFIXES: -.SUFFIXES: .e .c .l .o .obj .y -am--refresh: - @: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ - $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - echo ' $(SHELL) ./config.status'; \ - $(SHELL) ./config.status;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck - -$(top_srcdir)/configure: $(am__configure_deps) - $(am__cd) $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -$(am__aclocal_m4_deps): - -config.h: stamp-h1 - @if test ! -f $@; then \ - rm -f stamp-h1; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ - else :; fi - -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status config.h -$(srcdir)/config.h.in: $(am__configure_deps) - ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) - rm -f stamp-h1 - touch $@ - -distclean-hdr: - -rm -f config.h stamp-h1 -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p; \ - then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) -html.h: html.c - @if test ! -f $@; then \ - rm -f html.c; \ - $(MAKE) $(AM_MAKEFLAGS) html.c; \ - else :; fi -addid$(EXEEXT): $(addid_OBJECTS) $(addid_DEPENDENCIES) - @rm -f addid$(EXEEXT) - $(LINK) $(addid_OBJECTS) $(addid_LDADD) $(LIBS) -asc2xml$(EXEEXT): $(asc2xml_OBJECTS) $(asc2xml_DEPENDENCIES) - @rm -f asc2xml$(EXEEXT) - $(LINK) $(asc2xml_OBJECTS) $(asc2xml_LDADD) $(LIBS) -cexport$(EXEEXT): $(cexport_OBJECTS) $(cexport_DEPENDENCIES) - @rm -f cexport$(EXEEXT) - $(LINK) $(cexport_OBJECTS) $(cexport_LDADD) $(LIBS) -cite$(EXEEXT): $(cite_OBJECTS) $(cite_DEPENDENCIES) - @rm -f cite$(EXEEXT) - $(LINK) $(cite_OBJECTS) $(cite_LDADD) $(LIBS) -count$(EXEEXT): $(count_OBJECTS) $(count_DEPENDENCIES) - @rm -f count$(EXEEXT) - $(LINK) $(count_OBJECTS) $(count_LDADD) $(LIBS) -extract$(EXEEXT): $(extract_OBJECTS) $(extract_DEPENDENCIES) - @rm -f extract$(EXEEXT) - $(LINK) $(extract_OBJECTS) $(extract_LDADD) $(LIBS) -htmlclean$(EXEEXT): $(htmlclean_OBJECTS) $(htmlclean_DEPENDENCIES) - @rm -f htmlclean$(EXEEXT) - $(LINK) $(htmlclean_OBJECTS) $(htmlclean_LDADD) $(LIBS) -htmlprune$(EXEEXT): $(htmlprune_OBJECTS) $(htmlprune_DEPENDENCIES) - @rm -f htmlprune$(EXEEXT) - $(LINK) $(htmlprune_OBJECTS) $(htmlprune_LDADD) $(LIBS) -incl$(EXEEXT): $(incl_OBJECTS) $(incl_DEPENDENCIES) - @rm -f incl$(EXEEXT) - $(LINK) $(incl_OBJECTS) $(incl_LDADD) $(LIBS) -index$(EXEEXT): $(index_OBJECTS) $(index_DEPENDENCIES) - @rm -f index$(EXEEXT) - $(LINK) $(index_OBJECTS) $(index_LDADD) $(LIBS) -mkbib$(EXEEXT): $(mkbib_OBJECTS) $(mkbib_DEPENDENCIES) - @rm -f mkbib$(EXEEXT) - $(LINK) $(mkbib_OBJECTS) $(mkbib_LDADD) $(LIBS) -multitoc$(EXEEXT): $(multitoc_OBJECTS) $(multitoc_DEPENDENCIES) - @rm -f multitoc$(EXEEXT) - $(LINK) $(multitoc_OBJECTS) $(multitoc_LDADD) $(LIBS) -normalize$(EXEEXT): $(normalize_OBJECTS) $(normalize_DEPENDENCIES) - @rm -f normalize$(EXEEXT) - $(LINK) $(normalize_OBJECTS) $(normalize_LDADD) $(LIBS) -num$(EXEEXT): $(num_OBJECTS) $(num_DEPENDENCIES) - @rm -f num$(EXEEXT) - $(LINK) $(num_OBJECTS) $(num_LDADD) $(LIBS) -pipe$(EXEEXT): $(pipe_OBJECTS) $(pipe_DEPENDENCIES) - @rm -f pipe$(EXEEXT) - $(LINK) $(pipe_OBJECTS) $(pipe_LDADD) $(LIBS) -toc$(EXEEXT): $(toc_OBJECTS) $(toc_DEPENDENCIES) - @rm -f toc$(EXEEXT) - $(LINK) $(toc_OBJECTS) $(toc_LDADD) $(LIBS) -uncdata$(EXEEXT): $(uncdata_OBJECTS) $(uncdata_DEPENDENCIES) - @rm -f uncdata$(EXEEXT) - $(LINK) $(uncdata_OBJECTS) $(uncdata_LDADD) $(LIBS) -unpipe$(EXEEXT): $(unpipe_OBJECTS) $(unpipe_DEPENDENCIES) - @rm -f unpipe$(EXEEXT) - $(LINK) $(unpipe_OBJECTS) $(unpipe_LDADD) $(LIBS) -wls$(EXEEXT): $(wls_OBJECTS) $(wls_DEPENDENCIES) - @rm -f wls$(EXEEXT) - $(LINK) $(wls_OBJECTS) $(wls_LDADD) $(LIBS) -xml2asc$(EXEEXT): $(xml2asc_OBJECTS) $(xml2asc_DEPENDENCIES) - @rm -f xml2asc$(EXEEXT) - $(LINK) $(xml2asc_OBJECTS) $(xml2asc_LDADD) $(LIBS) -xmlns$(EXEEXT): $(xmlns_OBJECTS) $(xmlns_DEPENDENCIES) - @rm -f xmlns$(EXEEXT) - $(LINK) $(xmlns_OBJECTS) $(xmlns_LDADD) $(LIBS) -xref$(EXEEXT): $(xref_OBJECTS) $(xref_DEPENDENCIES) - @rm -f xref$(EXEEXT) - $(LINK) $(xref_OBJECTS) $(xref_LDADD) $(LIBS) -xselect$(EXEEXT): $(xselect_OBJECTS) $(xselect_DEPENDENCIES) - @rm -f xselect$(EXEEXT) - $(LINK) $(xselect_OBJECTS) $(xselect_LDADD) $(LIBS) -install-binSCRIPTS: $(bin_SCRIPTS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n' \ - -e 'h;s|.*|.|' \ - -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) { files[d] = files[d] " " $$1; \ - if (++n[d] == $(am__install_max)) { \ - print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ - else { print "f", d "/" $$4, $$1 } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 's,.*/,,;$(transform)'`; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -include $(DEPDIR)/malloc.Po -include $(DEPDIR)/strdup.Po -include $(DEPDIR)/strerror.Po -include $(DEPDIR)/strstr.Po -include $(DEPDIR)/tfind.Po -include $(DEPDIR)/tsearch.Po -include $(DEPDIR)/twalk.Po -include ./$(DEPDIR)/addid.Po -include ./$(DEPDIR)/asc2xml.Po -include ./$(DEPDIR)/cexport.Po -include ./$(DEPDIR)/cite.Po -include ./$(DEPDIR)/class.Po -include ./$(DEPDIR)/connectsock.Po -include ./$(DEPDIR)/count.Po -include ./$(DEPDIR)/dtd.Po -include ./$(DEPDIR)/errexit.Po -include ./$(DEPDIR)/extract.Po -include ./$(DEPDIR)/genid.Po -include ./$(DEPDIR)/hash.Po -include ./$(DEPDIR)/heap.Po -include ./$(DEPDIR)/html.Po -include ./$(DEPDIR)/htmlclean.Po -include ./$(DEPDIR)/htmlprune.Po -include ./$(DEPDIR)/incl.Po -include ./$(DEPDIR)/index.Po -include ./$(DEPDIR)/mkbib.Po -include ./$(DEPDIR)/multitoc.Po -include ./$(DEPDIR)/normalize.Po -include ./$(DEPDIR)/num.Po -include ./$(DEPDIR)/openurl.Po -include ./$(DEPDIR)/pipe.Po -include ./$(DEPDIR)/scan.Po -include ./$(DEPDIR)/selector.Po -include ./$(DEPDIR)/textwrap.Po -include ./$(DEPDIR)/toc.Po -include ./$(DEPDIR)/tree.Po -include ./$(DEPDIR)/types.Po -include ./$(DEPDIR)/uncdata.Po -include ./$(DEPDIR)/unpipe.Po -include ./$(DEPDIR)/url.Po -include ./$(DEPDIR)/wls.Po -include ./$(DEPDIR)/xml2asc.Po -include ./$(DEPDIR)/xmlns.Po -include ./$(DEPDIR)/xref.Po -include ./$(DEPDIR)/xselect.Po - -.c.o: - $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -# source='$<' object='$@' libtool=no \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(COMPILE) -c $< - -.c.obj: - $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` - $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -# source='$<' object='$@' libtool=no \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(COMPILE) -c `$(CYGPATH_W) '$<'` - -.l.c: - $(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE) - -.y.c: - $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) -install-man1: $(man_MANS) - @$(NORMAL_INSTALL) - test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" - @list=''; test -n "$(man1dir)" || exit 0; \ - { for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.1[a-z]*$$/p'; \ - } | while read p; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; echo "$$p"; \ - done | \ - sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ - sed 'N;N;s,\n, ,g' | { \ - list=; while read file base inst; do \ - if test "$$base" = "$$inst"; then list="$$list $$file"; else \ - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ - fi; \ - done; \ - for i in $$list; do echo "$$i"; done | $(am__base_list) | \ - while read files; do \ - test -z "$$files" || { \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ - done; } - -uninstall-man1: - @$(NORMAL_UNINSTALL) - @list=''; test -n "$(man1dir)" || exit 0; \ - files=`{ for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.1[a-z]*$$/p'; \ - } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ - test -z "$$files" || { \ - echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @list='$(MANS)'; if test -n "$$list"; then \ - list=`for p in $$list; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ - if test -n "$$list" && \ - grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ - echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ - grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ - echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ - echo " typically \`make maintainer-clean' will remove them" >&2; \ - exit 1; \ - else :; fi; \ - else :; fi - $(am__remove_distdir) - test -d "$(distdir)" || mkdir "$(distdir)" - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - -test -n "$(am__skip_mode_fix)" \ - || find "$(distdir)" -type d ! -perm -755 \ - -exec chmod u+rwx,go+rx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ - || chmod -R a+r "$(distdir)" -dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 - $(am__remove_distdir) - -dist-lzma: distdir - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma - $(am__remove_distdir) - -dist-xz: distdir - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz - $(am__remove_distdir) - -dist-tarZ: distdir - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__remove_distdir) - -dist-shar: distdir - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__remove_distdir) - -dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) - -dist dist-all: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ - bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lzma*) \ - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ - *.tar.xz*) \ - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/_build - mkdir $(distdir)/_inst - chmod a-w $(distdir) - test -d $(distdir)/_build || exit 0; \ - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && am__cwd=`pwd` \ - && $(am__cd) $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ - distuninstallcheck \ - && chmod -R a-w "$$dc_install_base" \ - && ({ \ - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ - } || { rm -rf "$$dc_destdir"; exit 1; }) \ - && rm -rf "$$dc_destdir" \ - && $(MAKE) $(AM_MAKEFLAGS) dist \ - && rm -rf $(DIST_ARCHIVES) \ - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ - && cd "$$am__cwd" \ - || exit 1 - $(am__remove_distdir) - @(echo "$(distdir) archives ready for distribution: "; \ - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' -distuninstallcheck: - @$(am__cd) '$(distuninstallcheck_dir)' \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ - || { echo "ERROR: files left after uninstall:" ; \ - if test -n "$(DESTDIR)"; then \ - echo " (check DESTDIR support)"; \ - fi ; \ - $(distuninstallcheck_listfiles) ; \ - exit 1; } >&2 -distcleancheck: distclean - @if test '$(srcdir)' = . ; then \ - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ - exit 1 ; \ - fi - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left in build directory after distclean:" ; \ - $(distcleancheck_listfiles) ; \ - exit 1; } >&2 -check-am: all-am -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-am -all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) config.h -installdirs: - for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -rm -f html.c - -rm -f html.h - -rm -f scan.c - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -clean: clean-am - -clean-am: clean-binPROGRAMS clean-generic mostlyclean-am - -distclean: distclean-am - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(DEPDIR) ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-hdr distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-man - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-binPROGRAMS install-binSCRIPTS - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: install-man1 - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(top_srcdir)/autom4te.cache - -rm -rf $(DEPDIR) ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man - -uninstall-man: uninstall-man1 - -.MAKE: all check install install-am install-strip - -.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ - clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \ - dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ - distcheck distclean distclean-compile distclean-generic \ - distclean-hdr distclean-tags distcleancheck distdir \ - distuninstallcheck dvi dvi-am html html-am info info-am \ - install install-am install-binPROGRAMS install-binSCRIPTS \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-man1 \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-binPROGRAMS \ - uninstall-binSCRIPTS uninstall-man uninstall-man1 - - -# .c.e: cexport; ./do_export $* -I. $(CPPFLAGS) -c "gcc -E" -# .c.e: cexport; ./cexport -I. $(CPPFLAGS) -c "gcc -E" $< -%.e: %.c cexport - ./cexport -I. $(CPPFLAGS) -c "gcc -E" $< - -dtd.c: dtd.hash - gperf -a -c -C -o -t -p -T -k '1,2,$$' -N lookup_element $< >$@ - -# html.h: html.c -scan.o: html.h scan.c - -#property.c: property.hash -# gperf -a -c -C -o -t -p -k '1,2,12,$$' -N lookup_property $< >$@ - -# Convenience: publish the tar file, update the online Readme, -# Changlog and man pages -# -%.html: %.1; man2html $< - -publish: publish-tar publish-doc - -publish-tar: dist - rsync -e ssh $(distdir).tar.gz ChangeLog README \ - tux.w3.org:/afs/w3.org/pub/WWW/Tools/HTML-XML-utils/ - -publish-doc: $(HTML_MANS) Overview.html - rsync -e ssh $(HTML_MANS) Overview.html \ - tux.w3.org:/afs/w3.org/pub/WWW/Tools/HTML-XML-utils/man1/ - -Overview.html: $(HTML_MANS) - echo "<title>Manual pages</title><ul>" >$@ - for f in $(HTML_MANS); do\ - echo "<li><a href=\""$$f"\">"`basename $$f .html`"</a>" >>$@;\ - done - echo "</ul>" >>$@ - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/arid_examples/html-xml-utils-3.0/Makefile.am b/arid_examples/html-xml-utils-3.0/Makefile.am deleted file mode 100644 index 933dcf536..000000000 --- a/arid_examples/html-xml-utils-3.0/Makefile.am +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright © 1994-2004 World Wide Web Consortium -# See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html -# -# Author: Bert Bos <bert@w3.org> -# Created: 31 Mar 2000 -# Version: $Id: Makefile.am,v 1.25 2004/04/21 15:34:36 bbos Exp $ - -bin_PROGRAMS = addid \ - cexport cite count extract htmlclean htmlprune incl\ - index mkbib multitoc normalize num pipe xselect\ - toc uncdata unpipe wls xmlns xref\ - xml2asc asc2xml -bin_SCRIPTS = cite-mkbib printlinks - -man_MANS = asc2xml.1 cexport.1 cite-mkbib.1 cite.1\ - count.1 htmlclean.1 htmlprune.1 incl.1 index.1\ - mkbib.1 multitoc.1 normalize.1 num.1 pipe.1 toc.1\ - unpipe.1 wls.1 xml2asc.1 xmlns.1\ - xref.1 - -EXTRA_DIST = $(man_MANS) dtd.hash export.h\ - $(bin_SCRIPTS) $(BUILT_SOURCES) - -LDADD = @LIBOBJS@ -AM_YFLAGS = -d -AM_LFLAGS = @lex_opt_flags@ - -BUILT_SOURCES = connectsock.e heap.e types.e dtd.e errexit.e\ - tree.e genid.e html.e url.e openurl.e scan.e\ - textwrap.e scan.c html.c html.h dtd.c\ - class.e selector.e hash.e - -asc2xml_SOURCES = asc2xml.c -addid_SOURCES = addid.c html.y scan.l dtd.c openurl.c errexit.c\ - url.c connectsock.c heap.c tree.c types.c genid.c\ - class.c hash.c -cexport_SOURCES = cexport.c -cite_SOURCES = heap.c errexit.c cite.c -count_SOURCES = count.c html.y scan.l types.c errexit.c heap.c\ - openurl.c url.c connectsock.c -extract_SOURCES = extract.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c class.c -htmlclean_SOURCES = htmlclean.c html.y tree.c types.c heap.c dtd.c\ - scan.l errexit.c -htmlprune_SOURCES = htmlprune.c tree.c scan.l html.y errexit.c dtd.c\ - heap.c types.c openurl.c url.c connectsock.c class.c -incl_SOURCES = incl.c scan.l html.y openurl.c url.c heap.c\ - errexit.c connectsock.c types.c -index_SOURCES = index.c scan.l html.y openurl.c url.c heap.c class.c\ - errexit.c connectsock.c types.c tree.c genid.c dtd.c -mkbib_SOURCES = errexit.c heap.c mkbib.c hash.c -multitoc_SOURCES = multitoc.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c class.c -normalize_SOURCES = normalize.c html.y scan.l openurl.c url.c\ - tree.c connectsock.c heap.c dtd.c types.c\ - textwrap.c errexit.c -num_SOURCES = num.c html.y scan.l openurl.c url.c errexit.c\ - heap.c connectsock.c -pipe_SOURCES = pipe.c html.y scan.l types.c errexit.c heap.c\ - openurl.c url.c connectsock.c -xselect_SOURCES = xselect.c types.c errexit.c heap.c html.y scan.l\ - selector.c -toc_SOURCES = html.y scan.l dtd.c openurl.c errexit.c url.c class.c\ - connectsock.c heap.c tree.c types.c genid.c toc.c\ - hash.c -uncdata_SOURCES = uncdata.c -unpipe_SOURCES = unpipe.c heap.c errexit.c openurl.c url.c\ - connectsock.c -wls_SOURCES = wls.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c types.c -xmlns_SOURCES = xmlns.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c types.c -xml2asc_SOURCES = xml2asc.c -xref_SOURCES = html.y scan.l dtd.c openurl.c errexit.c url.c\ - connectsock.c heap.c tree.c types.c genid.c xref.c\ - hash.c - -HTML_MANS = $(man_MANS:.1=.html) -CLEANFILES = $(HTML_MANS) - -SUFFIX = .c:sC .l:sC .y:sC .e:h .h:h -SUFFIXES = .e - -# .c.e: cexport; ./do_export $* -I. $(CPPFLAGS) -c "@CPP@" -# .c.e: cexport; ./cexport -I. $(CPPFLAGS) -c "@CPP@" $< -%.e: %.c cexport - ./cexport -I. $(CPPFLAGS) -c "@CPP@" $< - -dtd.c: dtd.hash - gperf -a -c -C -o -t -p -T -k '1,2,$$' -N lookup_element $< >$@ - - -# html.h: html.c -scan.o: html.h scan.c - -#property.c: property.hash -# gperf -a -c -C -o -t -p -k '1,2,12,$$' -N lookup_property $< >$@ - -# Convenience: publish the tar file, update the online Readme, -# Changlog and man pages -# -%.html: %.1; man2html $< - -publish: publish-tar publish-doc - -publish-tar: dist - rsync -e ssh $(distdir).tar.gz ChangeLog README \ - tux.w3.org:/afs/w3.org/pub/WWW/Tools/HTML-XML-utils/ - -publish-doc: $(HTML_MANS) Overview.html - rsync -e ssh $(HTML_MANS) Overview.html \ - tux.w3.org:/afs/w3.org/pub/WWW/Tools/HTML-XML-utils/man1/ - -Overview.html: $(HTML_MANS) - echo "<title>Manual pages</title><ul>" >$@ - for f in $(HTML_MANS); do\ - echo "<li><a href=\""$$f"\">"`basename $$f .html`"</a>" >>$@;\ - done - echo "</ul>" >>$@ diff --git a/arid_examples/html-xml-utils-3.0/Makefile.in b/arid_examples/html-xml-utils-3.0/Makefile.in deleted file mode 100644 index e0b02b435..000000000 --- a/arid_examples/html-xml-utils-3.0/Makefile.in +++ /dev/null @@ -1,1139 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Copyright © 1994-2004 World Wide Web Consortium -# See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html -# -# Author: Bert Bos <bert@w3.org> -# Created: 31 Mar 2000 -# Version: $Id: Makefile.am,v 1.25 2004/04/21 15:34:36 bbos Exp $ - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -bin_PROGRAMS = addid$(EXEEXT) cexport$(EXEEXT) cite$(EXEEXT) \ - count$(EXEEXT) extract$(EXEEXT) htmlclean$(EXEEXT) \ - htmlprune$(EXEEXT) incl$(EXEEXT) index$(EXEEXT) mkbib$(EXEEXT) \ - multitoc$(EXEEXT) normalize$(EXEEXT) num$(EXEEXT) \ - pipe$(EXEEXT) xselect$(EXEEXT) toc$(EXEEXT) uncdata$(EXEEXT) \ - unpipe$(EXEEXT) wls$(EXEEXT) xmlns$(EXEEXT) xref$(EXEEXT) \ - xml2asc$(EXEEXT) asc2xml$(EXEEXT) -subdir = . -DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/config.h.in \ - $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ - TODO depcomp html.c html.h install-sh malloc.c missing scan.c \ - strdup.c strerror.c strstr.c tfind.c tsearch.c twalk.c ylwrap -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(man1dir)" -PROGRAMS = $(bin_PROGRAMS) -am_addid_OBJECTS = addid.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - dtd.$(OBJEXT) openurl.$(OBJEXT) errexit.$(OBJEXT) \ - url.$(OBJEXT) connectsock.$(OBJEXT) heap.$(OBJEXT) \ - tree.$(OBJEXT) types.$(OBJEXT) genid.$(OBJEXT) class.$(OBJEXT) \ - hash.$(OBJEXT) -addid_OBJECTS = $(am_addid_OBJECTS) -addid_LDADD = $(LDADD) -addid_DEPENDENCIES = @LIBOBJS@ -am_asc2xml_OBJECTS = asc2xml.$(OBJEXT) -asc2xml_OBJECTS = $(am_asc2xml_OBJECTS) -asc2xml_LDADD = $(LDADD) -asc2xml_DEPENDENCIES = @LIBOBJS@ -am_cexport_OBJECTS = cexport.$(OBJEXT) -cexport_OBJECTS = $(am_cexport_OBJECTS) -cexport_LDADD = $(LDADD) -cexport_DEPENDENCIES = @LIBOBJS@ -am_cite_OBJECTS = heap.$(OBJEXT) errexit.$(OBJEXT) cite.$(OBJEXT) -cite_OBJECTS = $(am_cite_OBJECTS) -cite_LDADD = $(LDADD) -cite_DEPENDENCIES = @LIBOBJS@ -am_count_OBJECTS = count.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - types.$(OBJEXT) errexit.$(OBJEXT) heap.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) -count_OBJECTS = $(am_count_OBJECTS) -count_LDADD = $(LDADD) -count_DEPENDENCIES = @LIBOBJS@ -am_extract_OBJECTS = extract.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) \ - heap.$(OBJEXT) errexit.$(OBJEXT) class.$(OBJEXT) -extract_OBJECTS = $(am_extract_OBJECTS) -extract_LDADD = $(LDADD) -extract_DEPENDENCIES = @LIBOBJS@ -am_htmlclean_OBJECTS = htmlclean.$(OBJEXT) html.$(OBJEXT) \ - tree.$(OBJEXT) types.$(OBJEXT) heap.$(OBJEXT) dtd.$(OBJEXT) \ - scan.$(OBJEXT) errexit.$(OBJEXT) -htmlclean_OBJECTS = $(am_htmlclean_OBJECTS) -htmlclean_LDADD = $(LDADD) -htmlclean_DEPENDENCIES = @LIBOBJS@ -am_htmlprune_OBJECTS = htmlprune.$(OBJEXT) tree.$(OBJEXT) \ - scan.$(OBJEXT) html.$(OBJEXT) errexit.$(OBJEXT) dtd.$(OBJEXT) \ - heap.$(OBJEXT) types.$(OBJEXT) openurl.$(OBJEXT) url.$(OBJEXT) \ - connectsock.$(OBJEXT) class.$(OBJEXT) -htmlprune_OBJECTS = $(am_htmlprune_OBJECTS) -htmlprune_LDADD = $(LDADD) -htmlprune_DEPENDENCIES = @LIBOBJS@ -am_incl_OBJECTS = incl.$(OBJEXT) scan.$(OBJEXT) html.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) heap.$(OBJEXT) \ - errexit.$(OBJEXT) connectsock.$(OBJEXT) types.$(OBJEXT) -incl_OBJECTS = $(am_incl_OBJECTS) -incl_LDADD = $(LDADD) -incl_DEPENDENCIES = @LIBOBJS@ -am_index_OBJECTS = index.$(OBJEXT) scan.$(OBJEXT) html.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) heap.$(OBJEXT) class.$(OBJEXT) \ - errexit.$(OBJEXT) connectsock.$(OBJEXT) types.$(OBJEXT) \ - tree.$(OBJEXT) genid.$(OBJEXT) dtd.$(OBJEXT) -index_OBJECTS = $(am_index_OBJECTS) -index_LDADD = $(LDADD) -index_DEPENDENCIES = @LIBOBJS@ -am_mkbib_OBJECTS = errexit.$(OBJEXT) heap.$(OBJEXT) mkbib.$(OBJEXT) \ - hash.$(OBJEXT) -mkbib_OBJECTS = $(am_mkbib_OBJECTS) -mkbib_LDADD = $(LDADD) -mkbib_DEPENDENCIES = @LIBOBJS@ -am_multitoc_OBJECTS = multitoc.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) \ - heap.$(OBJEXT) errexit.$(OBJEXT) class.$(OBJEXT) -multitoc_OBJECTS = $(am_multitoc_OBJECTS) -multitoc_LDADD = $(LDADD) -multitoc_DEPENDENCIES = @LIBOBJS@ -am_normalize_OBJECTS = normalize.$(OBJEXT) html.$(OBJEXT) \ - scan.$(OBJEXT) openurl.$(OBJEXT) url.$(OBJEXT) tree.$(OBJEXT) \ - connectsock.$(OBJEXT) heap.$(OBJEXT) dtd.$(OBJEXT) \ - types.$(OBJEXT) textwrap.$(OBJEXT) errexit.$(OBJEXT) -normalize_OBJECTS = $(am_normalize_OBJECTS) -normalize_LDADD = $(LDADD) -normalize_DEPENDENCIES = @LIBOBJS@ -am_num_OBJECTS = num.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) errexit.$(OBJEXT) \ - heap.$(OBJEXT) connectsock.$(OBJEXT) -num_OBJECTS = $(am_num_OBJECTS) -num_LDADD = $(LDADD) -num_DEPENDENCIES = @LIBOBJS@ -am_pipe_OBJECTS = pipe.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - types.$(OBJEXT) errexit.$(OBJEXT) heap.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) -pipe_OBJECTS = $(am_pipe_OBJECTS) -pipe_LDADD = $(LDADD) -pipe_DEPENDENCIES = @LIBOBJS@ -am_toc_OBJECTS = html.$(OBJEXT) scan.$(OBJEXT) dtd.$(OBJEXT) \ - openurl.$(OBJEXT) errexit.$(OBJEXT) url.$(OBJEXT) \ - class.$(OBJEXT) connectsock.$(OBJEXT) heap.$(OBJEXT) \ - tree.$(OBJEXT) types.$(OBJEXT) genid.$(OBJEXT) toc.$(OBJEXT) \ - hash.$(OBJEXT) -toc_OBJECTS = $(am_toc_OBJECTS) -toc_LDADD = $(LDADD) -toc_DEPENDENCIES = @LIBOBJS@ -am_uncdata_OBJECTS = uncdata.$(OBJEXT) -uncdata_OBJECTS = $(am_uncdata_OBJECTS) -uncdata_LDADD = $(LDADD) -uncdata_DEPENDENCIES = @LIBOBJS@ -am_unpipe_OBJECTS = unpipe.$(OBJEXT) heap.$(OBJEXT) errexit.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) -unpipe_OBJECTS = $(am_unpipe_OBJECTS) -unpipe_LDADD = $(LDADD) -unpipe_DEPENDENCIES = @LIBOBJS@ -am_wls_OBJECTS = wls.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) \ - heap.$(OBJEXT) errexit.$(OBJEXT) types.$(OBJEXT) -wls_OBJECTS = $(am_wls_OBJECTS) -wls_LDADD = $(LDADD) -wls_DEPENDENCIES = @LIBOBJS@ -am_xml2asc_OBJECTS = xml2asc.$(OBJEXT) -xml2asc_OBJECTS = $(am_xml2asc_OBJECTS) -xml2asc_LDADD = $(LDADD) -xml2asc_DEPENDENCIES = @LIBOBJS@ -am_xmlns_OBJECTS = xmlns.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - openurl.$(OBJEXT) url.$(OBJEXT) connectsock.$(OBJEXT) \ - heap.$(OBJEXT) errexit.$(OBJEXT) types.$(OBJEXT) -xmlns_OBJECTS = $(am_xmlns_OBJECTS) -xmlns_LDADD = $(LDADD) -xmlns_DEPENDENCIES = @LIBOBJS@ -am_xref_OBJECTS = html.$(OBJEXT) scan.$(OBJEXT) dtd.$(OBJEXT) \ - openurl.$(OBJEXT) errexit.$(OBJEXT) url.$(OBJEXT) \ - connectsock.$(OBJEXT) heap.$(OBJEXT) tree.$(OBJEXT) \ - types.$(OBJEXT) genid.$(OBJEXT) xref.$(OBJEXT) hash.$(OBJEXT) -xref_OBJECTS = $(am_xref_OBJECTS) -xref_LDADD = $(LDADD) -xref_DEPENDENCIES = @LIBOBJS@ -am_xselect_OBJECTS = xselect.$(OBJEXT) types.$(OBJEXT) \ - errexit.$(OBJEXT) heap.$(OBJEXT) html.$(OBJEXT) scan.$(OBJEXT) \ - selector.$(OBJEXT) -xselect_OBJECTS = $(am_xselect_OBJECTS) -xselect_LDADD = $(LDADD) -xselect_DEPENDENCIES = @LIBOBJS@ -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -SCRIPTS = $(bin_SCRIPTS) -DEFAULT_INCLUDES = -I.@am__isrc@ -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS) -YLWRAP = $(top_srcdir)/ylwrap -YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS) -SOURCES = $(addid_SOURCES) $(asc2xml_SOURCES) $(cexport_SOURCES) \ - $(cite_SOURCES) $(count_SOURCES) $(extract_SOURCES) \ - $(htmlclean_SOURCES) $(htmlprune_SOURCES) $(incl_SOURCES) \ - $(index_SOURCES) $(mkbib_SOURCES) $(multitoc_SOURCES) \ - $(normalize_SOURCES) $(num_SOURCES) $(pipe_SOURCES) \ - $(toc_SOURCES) $(uncdata_SOURCES) $(unpipe_SOURCES) \ - $(wls_SOURCES) $(xml2asc_SOURCES) $(xmlns_SOURCES) \ - $(xref_SOURCES) $(xselect_SOURCES) -DIST_SOURCES = $(addid_SOURCES) $(asc2xml_SOURCES) $(cexport_SOURCES) \ - $(cite_SOURCES) $(count_SOURCES) $(extract_SOURCES) \ - $(htmlclean_SOURCES) $(htmlprune_SOURCES) $(incl_SOURCES) \ - $(index_SOURCES) $(mkbib_SOURCES) $(multitoc_SOURCES) \ - $(normalize_SOURCES) $(num_SOURCES) $(pipe_SOURCES) \ - $(toc_SOURCES) $(uncdata_SOURCES) $(unpipe_SOURCES) \ - $(wls_SOURCES) $(xml2asc_SOURCES) $(xmlns_SOURCES) \ - $(xref_SOURCES) $(xselect_SOURCES) -man1dir = $(mandir)/man1 -NROFF = nroff -MANS = $(man_MANS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) -am__remove_distdir = \ - { test ! -d "$(distdir)" \ - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr "$(distdir)"; }; } -DIST_ARCHIVES = $(distdir).tar.gz -GZIP_ENV = --best -distuninstallcheck_listfiles = find . -type f -print -distcleancheck_listfiles = find . -type f -print -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -lex_opt_flags = @lex_opt_flags@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -bin_SCRIPTS = cite-mkbib printlinks -man_MANS = asc2xml.1 cexport.1 cite-mkbib.1 cite.1\ - count.1 htmlclean.1 htmlprune.1 incl.1 index.1\ - mkbib.1 multitoc.1 normalize.1 num.1 pipe.1 toc.1\ - unpipe.1 wls.1 xml2asc.1 xmlns.1\ - xref.1 - -EXTRA_DIST = $(man_MANS) dtd.hash export.h\ - $(bin_SCRIPTS) $(BUILT_SOURCES) - -LDADD = @LIBOBJS@ -AM_YFLAGS = -d -AM_LFLAGS = @lex_opt_flags@ -BUILT_SOURCES = connectsock.e heap.e types.e dtd.e errexit.e\ - tree.e genid.e html.e url.e openurl.e scan.e\ - textwrap.e scan.c html.c html.h dtd.c\ - class.e selector.e hash.e - -asc2xml_SOURCES = asc2xml.c -addid_SOURCES = addid.c html.y scan.l dtd.c openurl.c errexit.c\ - url.c connectsock.c heap.c tree.c types.c genid.c\ - class.c hash.c - -cexport_SOURCES = cexport.c -cite_SOURCES = heap.c errexit.c cite.c -count_SOURCES = count.c html.y scan.l types.c errexit.c heap.c\ - openurl.c url.c connectsock.c - -extract_SOURCES = extract.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c class.c - -htmlclean_SOURCES = htmlclean.c html.y tree.c types.c heap.c dtd.c\ - scan.l errexit.c - -htmlprune_SOURCES = htmlprune.c tree.c scan.l html.y errexit.c dtd.c\ - heap.c types.c openurl.c url.c connectsock.c class.c - -incl_SOURCES = incl.c scan.l html.y openurl.c url.c heap.c\ - errexit.c connectsock.c types.c - -index_SOURCES = index.c scan.l html.y openurl.c url.c heap.c class.c\ - errexit.c connectsock.c types.c tree.c genid.c dtd.c - -mkbib_SOURCES = errexit.c heap.c mkbib.c hash.c -multitoc_SOURCES = multitoc.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c class.c - -normalize_SOURCES = normalize.c html.y scan.l openurl.c url.c\ - tree.c connectsock.c heap.c dtd.c types.c\ - textwrap.c errexit.c - -num_SOURCES = num.c html.y scan.l openurl.c url.c errexit.c\ - heap.c connectsock.c - -pipe_SOURCES = pipe.c html.y scan.l types.c errexit.c heap.c\ - openurl.c url.c connectsock.c - -xselect_SOURCES = xselect.c types.c errexit.c heap.c html.y scan.l\ - selector.c - -toc_SOURCES = html.y scan.l dtd.c openurl.c errexit.c url.c class.c\ - connectsock.c heap.c tree.c types.c genid.c toc.c\ - hash.c - -uncdata_SOURCES = uncdata.c -unpipe_SOURCES = unpipe.c heap.c errexit.c openurl.c url.c\ - connectsock.c - -wls_SOURCES = wls.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c types.c - -xmlns_SOURCES = xmlns.c html.y scan.l openurl.c url.c\ - connectsock.c heap.c errexit.c types.c - -xml2asc_SOURCES = xml2asc.c -xref_SOURCES = html.y scan.l dtd.c openurl.c errexit.c url.c\ - connectsock.c heap.c tree.c types.c genid.c xref.c\ - hash.c - -HTML_MANS = $(man_MANS:.1=.html) -CLEANFILES = $(HTML_MANS) -SUFFIX = .c:sC .l:sC .y:sC .e:h .h:h -SUFFIXES = .e -all: $(BUILT_SOURCES) config.h - $(MAKE) $(AM_MAKEFLAGS) all-am - -.SUFFIXES: -.SUFFIXES: .e .c .l .o .obj .y -am--refresh: - @: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ - $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - echo ' $(SHELL) ./config.status'; \ - $(SHELL) ./config.status;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck - -$(top_srcdir)/configure: $(am__configure_deps) - $(am__cd) $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -$(am__aclocal_m4_deps): - -config.h: stamp-h1 - @if test ! -f $@; then \ - rm -f stamp-h1; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ - else :; fi - -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status config.h -$(srcdir)/config.h.in: $(am__configure_deps) - ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) - rm -f stamp-h1 - touch $@ - -distclean-hdr: - -rm -f config.h stamp-h1 -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p; \ - then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) -html.h: html.c - @if test ! -f $@; then \ - rm -f html.c; \ - $(MAKE) $(AM_MAKEFLAGS) html.c; \ - else :; fi -addid$(EXEEXT): $(addid_OBJECTS) $(addid_DEPENDENCIES) - @rm -f addid$(EXEEXT) - $(LINK) $(addid_OBJECTS) $(addid_LDADD) $(LIBS) -asc2xml$(EXEEXT): $(asc2xml_OBJECTS) $(asc2xml_DEPENDENCIES) - @rm -f asc2xml$(EXEEXT) - $(LINK) $(asc2xml_OBJECTS) $(asc2xml_LDADD) $(LIBS) -cexport$(EXEEXT): $(cexport_OBJECTS) $(cexport_DEPENDENCIES) - @rm -f cexport$(EXEEXT) - $(LINK) $(cexport_OBJECTS) $(cexport_LDADD) $(LIBS) -cite$(EXEEXT): $(cite_OBJECTS) $(cite_DEPENDENCIES) - @rm -f cite$(EXEEXT) - $(LINK) $(cite_OBJECTS) $(cite_LDADD) $(LIBS) -count$(EXEEXT): $(count_OBJECTS) $(count_DEPENDENCIES) - @rm -f count$(EXEEXT) - $(LINK) $(count_OBJECTS) $(count_LDADD) $(LIBS) -extract$(EXEEXT): $(extract_OBJECTS) $(extract_DEPENDENCIES) - @rm -f extract$(EXEEXT) - $(LINK) $(extract_OBJECTS) $(extract_LDADD) $(LIBS) -htmlclean$(EXEEXT): $(htmlclean_OBJECTS) $(htmlclean_DEPENDENCIES) - @rm -f htmlclean$(EXEEXT) - $(LINK) $(htmlclean_OBJECTS) $(htmlclean_LDADD) $(LIBS) -htmlprune$(EXEEXT): $(htmlprune_OBJECTS) $(htmlprune_DEPENDENCIES) - @rm -f htmlprune$(EXEEXT) - $(LINK) $(htmlprune_OBJECTS) $(htmlprune_LDADD) $(LIBS) -incl$(EXEEXT): $(incl_OBJECTS) $(incl_DEPENDENCIES) - @rm -f incl$(EXEEXT) - $(LINK) $(incl_OBJECTS) $(incl_LDADD) $(LIBS) -index$(EXEEXT): $(index_OBJECTS) $(index_DEPENDENCIES) - @rm -f index$(EXEEXT) - $(LINK) $(index_OBJECTS) $(index_LDADD) $(LIBS) -mkbib$(EXEEXT): $(mkbib_OBJECTS) $(mkbib_DEPENDENCIES) - @rm -f mkbib$(EXEEXT) - $(LINK) $(mkbib_OBJECTS) $(mkbib_LDADD) $(LIBS) -multitoc$(EXEEXT): $(multitoc_OBJECTS) $(multitoc_DEPENDENCIES) - @rm -f multitoc$(EXEEXT) - $(LINK) $(multitoc_OBJECTS) $(multitoc_LDADD) $(LIBS) -normalize$(EXEEXT): $(normalize_OBJECTS) $(normalize_DEPENDENCIES) - @rm -f normalize$(EXEEXT) - $(LINK) $(normalize_OBJECTS) $(normalize_LDADD) $(LIBS) -num$(EXEEXT): $(num_OBJECTS) $(num_DEPENDENCIES) - @rm -f num$(EXEEXT) - $(LINK) $(num_OBJECTS) $(num_LDADD) $(LIBS) -pipe$(EXEEXT): $(pipe_OBJECTS) $(pipe_DEPENDENCIES) - @rm -f pipe$(EXEEXT) - $(LINK) $(pipe_OBJECTS) $(pipe_LDADD) $(LIBS) -toc$(EXEEXT): $(toc_OBJECTS) $(toc_DEPENDENCIES) - @rm -f toc$(EXEEXT) - $(LINK) $(toc_OBJECTS) $(toc_LDADD) $(LIBS) -uncdata$(EXEEXT): $(uncdata_OBJECTS) $(uncdata_DEPENDENCIES) - @rm -f uncdata$(EXEEXT) - $(LINK) $(uncdata_OBJECTS) $(uncdata_LDADD) $(LIBS) -unpipe$(EXEEXT): $(unpipe_OBJECTS) $(unpipe_DEPENDENCIES) - @rm -f unpipe$(EXEEXT) - $(LINK) $(unpipe_OBJECTS) $(unpipe_LDADD) $(LIBS) -wls$(EXEEXT): $(wls_OBJECTS) $(wls_DEPENDENCIES) - @rm -f wls$(EXEEXT) - $(LINK) $(wls_OBJECTS) $(wls_LDADD) $(LIBS) -xml2asc$(EXEEXT): $(xml2asc_OBJECTS) $(xml2asc_DEPENDENCIES) - @rm -f xml2asc$(EXEEXT) - $(LINK) $(xml2asc_OBJECTS) $(xml2asc_LDADD) $(LIBS) -xmlns$(EXEEXT): $(xmlns_OBJECTS) $(xmlns_DEPENDENCIES) - @rm -f xmlns$(EXEEXT) - $(LINK) $(xmlns_OBJECTS) $(xmlns_LDADD) $(LIBS) -xref$(EXEEXT): $(xref_OBJECTS) $(xref_DEPENDENCIES) - @rm -f xref$(EXEEXT) - $(LINK) $(xref_OBJECTS) $(xref_LDADD) $(LIBS) -xselect$(EXEEXT): $(xselect_OBJECTS) $(xselect_DEPENDENCIES) - @rm -f xselect$(EXEEXT) - $(LINK) $(xselect_OBJECTS) $(xselect_LDADD) $(LIBS) -install-binSCRIPTS: $(bin_SCRIPTS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n' \ - -e 'h;s|.*|.|' \ - -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) { files[d] = files[d] " " $$1; \ - if (++n[d] == $(am__install_max)) { \ - print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ - else { print "f", d "/" $$4, $$1 } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 's,.*/,,;$(transform)'`; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/malloc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strdup.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strerror.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strstr.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/tfind.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/tsearch.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/twalk.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/addid.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asc2xml.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cexport.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cite.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/class.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/connectsock.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/count.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dtd.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errexit.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/extract.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/genid.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heap.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/html.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/htmlclean.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/htmlprune.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incl.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/index.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mkbib.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multitoc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/normalize.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/num.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openurl.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scan.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/selector.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/textwrap.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/toc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/types.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uncdata.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unpipe.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/url.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wls.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xml2asc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlns.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xref.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xselect.Po@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` - -.l.c: - $(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE) - -.y.c: - $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) -install-man1: $(man_MANS) - @$(NORMAL_INSTALL) - test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" - @list=''; test -n "$(man1dir)" || exit 0; \ - { for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.1[a-z]*$$/p'; \ - } | while read p; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; echo "$$p"; \ - done | \ - sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ - sed 'N;N;s,\n, ,g' | { \ - list=; while read file base inst; do \ - if test "$$base" = "$$inst"; then list="$$list $$file"; else \ - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ - fi; \ - done; \ - for i in $$list; do echo "$$i"; done | $(am__base_list) | \ - while read files; do \ - test -z "$$files" || { \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ - done; } - -uninstall-man1: - @$(NORMAL_UNINSTALL) - @list=''; test -n "$(man1dir)" || exit 0; \ - files=`{ for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.1[a-z]*$$/p'; \ - } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ - test -z "$$files" || { \ - echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @list='$(MANS)'; if test -n "$$list"; then \ - list=`for p in $$list; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ - if test -n "$$list" && \ - grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ - echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ - grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ - echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ - echo " typically \`make maintainer-clean' will remove them" >&2; \ - exit 1; \ - else :; fi; \ - else :; fi - $(am__remove_distdir) - test -d "$(distdir)" || mkdir "$(distdir)" - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - -test -n "$(am__skip_mode_fix)" \ - || find "$(distdir)" -type d ! -perm -755 \ - -exec chmod u+rwx,go+rx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ - || chmod -R a+r "$(distdir)" -dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 - $(am__remove_distdir) - -dist-lzma: distdir - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma - $(am__remove_distdir) - -dist-xz: distdir - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz - $(am__remove_distdir) - -dist-tarZ: distdir - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__remove_distdir) - -dist-shar: distdir - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__remove_distdir) - -dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) - -dist dist-all: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ - bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lzma*) \ - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ - *.tar.xz*) \ - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/_build - mkdir $(distdir)/_inst - chmod a-w $(distdir) - test -d $(distdir)/_build || exit 0; \ - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && am__cwd=`pwd` \ - && $(am__cd) $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ - distuninstallcheck \ - && chmod -R a-w "$$dc_install_base" \ - && ({ \ - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ - } || { rm -rf "$$dc_destdir"; exit 1; }) \ - && rm -rf "$$dc_destdir" \ - && $(MAKE) $(AM_MAKEFLAGS) dist \ - && rm -rf $(DIST_ARCHIVES) \ - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ - && cd "$$am__cwd" \ - || exit 1 - $(am__remove_distdir) - @(echo "$(distdir) archives ready for distribution: "; \ - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' -distuninstallcheck: - @$(am__cd) '$(distuninstallcheck_dir)' \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ - || { echo "ERROR: files left after uninstall:" ; \ - if test -n "$(DESTDIR)"; then \ - echo " (check DESTDIR support)"; \ - fi ; \ - $(distuninstallcheck_listfiles) ; \ - exit 1; } >&2 -distcleancheck: distclean - @if test '$(srcdir)' = . ; then \ - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ - exit 1 ; \ - fi - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left in build directory after distclean:" ; \ - $(distcleancheck_listfiles) ; \ - exit 1; } >&2 -check-am: all-am -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-am -all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) config.h -installdirs: - for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -rm -f html.c - -rm -f html.h - -rm -f scan.c - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -clean: clean-am - -clean-am: clean-binPROGRAMS clean-generic mostlyclean-am - -distclean: distclean-am - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(DEPDIR) ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-hdr distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-man - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-binPROGRAMS install-binSCRIPTS - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: install-man1 - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(top_srcdir)/autom4te.cache - -rm -rf $(DEPDIR) ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man - -uninstall-man: uninstall-man1 - -.MAKE: all check install install-am install-strip - -.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ - clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \ - dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ - distcheck distclean distclean-compile distclean-generic \ - distclean-hdr distclean-tags distcleancheck distdir \ - distuninstallcheck dvi dvi-am html html-am info info-am \ - install install-am install-binPROGRAMS install-binSCRIPTS \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-man1 \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-binPROGRAMS \ - uninstall-binSCRIPTS uninstall-man uninstall-man1 - - -# .c.e: cexport; ./do_export $* -I. $(CPPFLAGS) -c "@CPP@" -# .c.e: cexport; ./cexport -I. $(CPPFLAGS) -c "@CPP@" $< -%.e: %.c cexport - ./cexport -I. $(CPPFLAGS) -c "@CPP@" $< - -dtd.c: dtd.hash - gperf -a -c -C -o -t -p -T -k '1,2,$$' -N lookup_element $< >$@ - -# html.h: html.c -scan.o: html.h scan.c - -#property.c: property.hash -# gperf -a -c -C -o -t -p -k '1,2,12,$$' -N lookup_property $< >$@ - -# Convenience: publish the tar file, update the online Readme, -# Changlog and man pages -# -%.html: %.1; man2html $< - -publish: publish-tar publish-doc - -publish-tar: dist - rsync -e ssh $(distdir).tar.gz ChangeLog README \ - tux.w3.org:/afs/w3.org/pub/WWW/Tools/HTML-XML-utils/ - -publish-doc: $(HTML_MANS) Overview.html - rsync -e ssh $(HTML_MANS) Overview.html \ - tux.w3.org:/afs/w3.org/pub/WWW/Tools/HTML-XML-utils/man1/ - -Overview.html: $(HTML_MANS) - echo "<title>Manual pages</title><ul>" >$@ - for f in $(HTML_MANS); do\ - echo "<li><a href=\""$$f"\">"`basename $$f .html`"</a>" >>$@;\ - done - echo "</ul>" >>$@ - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/arid_examples/html-xml-utils-3.0/NEWS b/arid_examples/html-xml-utils-3.0/NEWS deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/README b/arid_examples/html-xml-utils-3.0/README deleted file mode 100644 index 9a62da123..000000000 --- a/arid_examples/html-xml-utils-3.0/README +++ /dev/null @@ -1,53 +0,0 @@ -html-xml-utils-*.tar.gz - A number of simple utilties for manipulating HTML and XML files. - See INSTALL for generic installation instructions. - Get the source at: http://www.w3.org/Tools/HTML-XML-utils/ - -htmlutils-*.tar.gz - Old versions (before version 0.1) - - -cexport (1) - create headerfile of exported declarations from a C file -addid (1) - add ID's to selected elements -cite (1) - replace bibliographic references by hyperlinks -cite-mkbib (1) - expand references and create bibliography -count (1) - count elements and attributes in HTML or XML files files -extract (1) - extract selected elements -htmlclean (1) - apply heuristics to correct an HTML file -htmlprune (1) - remove marked elements from an HTML file -incl (1) - expand included HTML or XML files -index (1) - create an alphabetically sorted index -mkbib (1) - create bibliography from a template -multitoc (1) - create a table of contents for a set of HTML files -normalize (1) - pretty-print an HTML file -num (1) - number section headings in an HTML file -pipe (1) - convert XML to a format easier to parse with Perl or AWK -printlinks (1) - number links & add table of URLs at end of an HTML file -toc (1) - insert a table of contents in an HTML file -uncdata (1) - replace CDATA sections by character entities -unent (1) - replace HTML predefined character entities to UTF-8 -unpipe (1) - convert output of pipe back to XML format -wls (1) - list links in an HTML file -xmlns (1) - replace XML Namespace prefixes by "global names" -xmlrecode, asc2xml, xml2asc (1) - convert between UTF8 and &#nnn; entities -xref (1) - generate cross-references -xselect (1) - extract elements that match a (CSS) selector - - - -This package is configured with automake/autoconf. Generic -instructions are in the file INSTALL. Here are some specific problems -that may arise: - -1) Error when running lex: - - lex scan.l && mv lex.yy.c scan.c - "scan.l":line 2: Error: missing translation value - - The scan.l file uses features of flex that do not exist in lex. - However, it is not necessary to run lex, since the file scan.c is - provided in the package. Just do a "touch scan.c" to make sure - "make" will not try to generate it anew. - - -$Date: 2002/03/06 10:11:25 $ diff --git a/arid_examples/html-xml-utils-3.0/TODO b/arid_examples/html-xml-utils-3.0/TODO deleted file mode 100644 index dabc8e196..000000000 --- a/arid_examples/html-xml-utils-3.0/TODO +++ /dev/null @@ -1,16 +0,0 @@ -Suggestions from Werner Heuser <werner.heuser@web.de> - -- the program `htmlclean' has the same name as a tool from - the libhtmlclean-perl library. And a similar purpose. - Also other progs have very generic names (e.g. `extract') - Please consider to change the names, or to prefix them, e.g. - hx_htmlclean, hx_extract, .. - -- `printlinks' is a great help, but I would like some links not - to be touched, e.g. some graphics. - -- please include a download URL into the source. Imagine somebody - likes the program and wants to come back and get the current - version - - diff --git a/arid_examples/html-xml-utils-3.0/acinclude.m4 b/arid_examples/html-xml-utils-3.0/acinclude.m4 deleted file mode 100644 index e0e8728fe..000000000 --- a/arid_examples/html-xml-utils-3.0/acinclude.m4 +++ /dev/null @@ -1,14 +0,0 @@ -# AC_FLEX_OPTIMIZE -# -------------------------------------------------------------- -# Check whether we can use option -Cfe to optimize the lexer -AC_DEFUN([AC_FLEX_OPTIMIZE], -[case "$ac_cv_prog_LEX" in - *flex) lex_opt_flags=-Cfe;; -esac]) - -# AC_MAN2HTML -# -------------------------------------------------------------- -# Set $man2html to the path of the man2html program, or to ":" -AC_DEFUN([AC_PROG_MAN2HTML], -[AC_ARG_VAR(man2html, "Full path of man2html program") -AC_PATH_PROG(man2html, man2html, ":")]) diff --git a/arid_examples/html-xml-utils-3.0/aclocal.m4 b/arid_examples/html-xml-utils-3.0/aclocal.m4 deleted file mode 100644 index 922c7e8c3..000000000 --- a/arid_examples/html-xml-utils-3.0/aclocal.m4 +++ /dev/null @@ -1,985 +0,0 @@ -# generated automatically by aclocal 1.11.1 -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, -[m4_warning([this file was generated for autoconf 2.65. -You have another version of autoconf. It may work, but is not guaranteed to. -If you have problems, you may need to regenerate the build system entirely. -To do so, use the procedure documented by the package, typically `autoreconf'.])]) - -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_AUTOMAKE_VERSION(VERSION) -# ---------------------------- -# Automake X.Y traces this macro to ensure aclocal.m4 has been -# generated from the m4 files accompanying Automake X.Y. -# (This private macro should not be called outside this file.) -AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.11' -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to -dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.11.1], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl -]) - -# _AM_AUTOCONF_VERSION(VERSION) -# ----------------------------- -# aclocal traces this macro to find the Autoconf version. -# This is a private macro too. Using m4_define simplifies -# the logic in aclocal, which can simply ignore this definition. -m4_define([_AM_AUTOCONF_VERSION], []) - -# AM_SET_CURRENT_AUTOMAKE_VERSION -# ------------------------------- -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.11.1])dnl -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) - -# AM_AUX_DIR_EXPAND -*- Autoconf -*- - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. -# -# Of course, Automake must honor this variable whenever it calls a -# tool from the auxiliary directory. The problem is that $srcdir (and -# therefore $ac_aux_dir as well) can be either absolute or relative, -# depending on how configure is run. This is pretty annoying, since -# it makes $ac_aux_dir quite unusable in subdirectories: in the top -# source directory, any form will work fine, but in subdirectories a -# relative path needs to be adjusted first. -# -# $ac_aux_dir/missing -# fails when called from a subdirectory if $ac_aux_dir is relative -# $top_srcdir/$ac_aux_dir/missing -# fails if $ac_aux_dir is absolute, -# fails when called from a subdirectory in a VPATH build with -# a relative $ac_aux_dir -# -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir -# are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is `.', but things will broke when you -# start a VPATH build or use an absolute $srcdir. -# -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` -# and then we would define $MISSING as -# MISSING="\${SHELL} $am_aux_dir/missing" -# This will work as long as MISSING is not called from configure, because -# unfortunately $(top_srcdir) has no meaning in configure. -# However there are other variables, like CC, which are often used in -# configure, and could therefore not use this "fixed" $ac_aux_dir. -# -# Another solution, used here, is to always expand $ac_aux_dir to an -# absolute PATH. The drawback is that using absolute paths prevent a -# configured tree to be moved without reconfiguration. - -AC_DEFUN([AM_AUX_DIR_EXPAND], -[dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ([2.50])dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` -]) - -# AM_CONDITIONAL -*- Autoconf -*- - -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 9 - -# AM_CONDITIONAL(NAME, SHELL-CONDITION) -# ------------------------------------- -# Define a conditional. -AC_DEFUN([AM_CONDITIONAL], -[AC_PREREQ(2.52)dnl - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE])dnl -AC_SUBST([$1_FALSE])dnl -_AM_SUBST_NOTMAKE([$1_TRUE])dnl -_AM_SUBST_NOTMAKE([$1_FALSE])dnl -m4_define([_AM_COND_VALUE_$1], [$2])dnl -if $2; then - $1_TRUE= - $1_FALSE='#' -else - $1_TRUE='#' - $1_FALSE= -fi -AC_CONFIG_COMMANDS_PRE( -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then - AC_MSG_ERROR([[conditional "$1" was never defined. -Usually this means the macro was only invoked conditionally.]]) -fi])]) - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 10 - -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be -# written in clear, in which case automake, when reading aclocal.m4, -# will think it sees a *use*, and therefore will trigger all it's -# C support machinery. Also note that it means that autoscan, seeing -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... - - -# _AM_DEPENDENCIES(NAME) -# ---------------------- -# See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "GCJ", or "OBJC". -# We try a few techniques and use that to set a single cache variable. -# -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular -# dependency, and given that the user is not expected to run this macro, -# just rely on AC_PROG_CC. -AC_DEFUN([_AM_DEPENDENCIES], -[AC_REQUIRE([AM_SET_DEPDIR])dnl -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl -AC_REQUIRE([AM_MAKE_INCLUDE])dnl -AC_REQUIRE([AM_DEP_TRACK])dnl - -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], - [$1], CXX, [depcc="$CXX" am_compiler_list=], - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], UPC, [depcc="$UPC" am_compiler_list=], - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], - [depcc="$$1" am_compiler_list=]) - -AC_CACHE_CHECK([dependency style of $depcc], - [am_cv_$1_dependencies_compiler_type], -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_$1_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` - fi - am__universal=false - m4_case([$1], [CC], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac], - [CXX], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac]) - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_$1_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_$1_dependencies_compiler_type=none -fi -]) -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) -AM_CONDITIONAL([am__fastdep$1], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) -]) - - -# AM_SET_DEPDIR -# ------------- -# Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES -AC_DEFUN([AM_SET_DEPDIR], -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl -]) - - -# AM_DEP_TRACK -# ------------ -AC_DEFUN([AM_DEP_TRACK], -[AC_ARG_ENABLE(dependency-tracking, -[ --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors]) -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH])dnl -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl -]) - -# Generate code to set up dependency tracking. -*- Autoconf -*- - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -#serial 5 - -# _AM_OUTPUT_DEPENDENCY_COMMANDS -# ------------------------------ -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -[{ - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`AS_DIRNAME("$mf")` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`AS_DIRNAME(["$file"])` - AS_MKDIR_P([$dirpart/$fdir]) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} -])# _AM_OUTPUT_DEPENDENCY_COMMANDS - - -# AM_OUTPUT_DEPENDENCY_COMMANDS -# ----------------------------- -# This macro should only be invoked once -- use via AC_REQUIRE. -# -# This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each `.P' file that we will -# need in order to bootstrap the dependency handling code. -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], -[AC_CONFIG_COMMANDS([depfiles], - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) -]) - -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 8 - -# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) - -# Do all the work for Automake. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 16 - -# This macro actually does too much. Some checks are only needed if -# your package does certain things. But this isn't really a big deal. - -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) -# AM_INIT_AUTOMAKE([OPTIONS]) -# ----------------------------------------------- -# The call with PACKAGE and VERSION arguments is the old style -# call (pre autoconf-2.50), which is being phased out. PACKAGE -# and VERSION should now be passed to AC_INIT and removed from -# the call to AM_INIT_AUTOMAKE. -# We support both call styles for the transition. After -# the next Automake release, Autoconf can make the AC_INIT -# arguments mandatory, and then we can depend on a new Autoconf -# release and drop the old call support. -AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.62])dnl -dnl Autoconf wants to disallow AM_ names. We explicitly allow -dnl the ones we care about. -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl -AC_REQUIRE([AC_PROG_INSTALL])dnl -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi -AC_SUBST([CYGPATH_W]) - -# Define the identity of the package. -dnl Distinguish between old-style and new-style calls. -m4_ifval([$2], -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl - AC_SUBST([PACKAGE], [$1])dnl - AC_SUBST([VERSION], [$2])], -[_AM_SET_OPTIONS([$1])dnl -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl - -_AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl - -# Some tools Automake needs. -AC_REQUIRE([AM_SANITY_CHECK])dnl -AC_REQUIRE([AC_ARG_PROGRAM])dnl -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) -AM_MISSING_PROG(AUTOCONF, autoconf) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) -AM_MISSING_PROG(AUTOHEADER, autoheader) -AM_MISSING_PROG(MAKEINFO, makeinfo) -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl -AC_REQUIRE([AM_PROG_MKDIR_P])dnl -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -AC_REQUIRE([AC_PROG_AWK])dnl -AC_REQUIRE([AC_PROG_MAKE_SET])dnl -AC_REQUIRE([AM_SET_LEADING_DOT])dnl -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], - [_AM_PROG_TAR([v7])])]) -_AM_IF_OPTION([no-dependencies],, -[AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_CC], - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_CXX], - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl -]) -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. -AC_CONFIG_COMMANDS_PRE(dnl -[m4_provide_if([_AM_COMPILER_EXEEXT], - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl -]) - -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further -dnl mangled by Autoconf and run in a shell conditional statement. -m4_define([_AC_COMPILER_EXEEXT], -m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) - - -# When config.status generates a header, we must update the stamp-h file. -# This file resides in the same directory as the config header -# that is generated. The stamp files are numbered to have different names. - -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the -# loop where config.status creates the headers, so we can generate -# our stamp files there. -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[# Compute $1's index in $config_headers. -_am_arg=$1 -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) - -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_SH -# ------------------ -# Define $install_sh. -AC_DEFUN([AM_PROG_INSTALL_SH], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi -AC_SUBST(install_sh)]) - -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# Check whether the underlying file-system supports filenames -# with a leading dot. For instance MS-DOS doesn't. -AC_DEFUN([AM_SET_LEADING_DOT], -[rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null -AC_SUBST([am__leading_dot])]) - -# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 5 - -# AM_PROG_LEX -# ----------- -# Autoconf leaves LEX=: if lex or flex can't be found. Change that to a -# "missing" invocation, for better error output. -AC_DEFUN([AM_PROG_LEX], -[AC_PREREQ(2.50)dnl -AC_REQUIRE([AM_MISSING_HAS_RUN])dnl -AC_REQUIRE([AC_PROG_LEX])dnl -if test "$LEX" = :; then - LEX=${am_missing_run}flex -fi]) - -# Check to see how 'make' treats includes. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 - -# AM_MAKE_INCLUDE() -# ----------------- -# Check to see how make treats includes. -AC_DEFUN([AM_MAKE_INCLUDE], -[am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -AC_MSG_CHECKING([for style of include used by $am_make]) -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi -AC_SUBST([am__include]) -AC_SUBST([am__quote]) -AC_MSG_RESULT([$_am_result]) -rm -f confinc confmf -]) - -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- - -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 6 - -# AM_MISSING_PROG(NAME, PROGRAM) -# ------------------------------ -AC_DEFUN([AM_MISSING_PROG], -[AC_REQUIRE([AM_MISSING_HAS_RUN]) -$1=${$1-"${am_missing_run}$2"} -AC_SUBST($1)]) - - -# AM_MISSING_HAS_RUN -# ------------------ -# Define MISSING if not defined so far and test if it supports --run. -# If it does, set am_missing_run to use it, otherwise, to nothing. -AC_DEFUN([AM_MISSING_HAS_RUN], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([missing])dnl -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - AC_MSG_WARN([`missing' script is too old or missing]) -fi -]) - -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_MKDIR_P -# --------------- -# Check for `mkdir -p'. -AC_DEFUN([AM_PROG_MKDIR_P], -[AC_PREREQ([2.60])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl -case $mkdir_p in - [[\\/$]]* | ?:[[\\/]]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -]) - -# Helper functions for option handling. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 - -# _AM_MANGLE_OPTION(NAME) -# ----------------------- -AC_DEFUN([_AM_MANGLE_OPTION], -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) - -# _AM_SET_OPTION(NAME) -# ------------------------------ -# Set option NAME. Presently that only means defining a flag for this option. -AC_DEFUN([_AM_SET_OPTION], -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) - -# _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- -# OPTIONS is a space-separated list of Automake options. -AC_DEFUN([_AM_SET_OPTIONS], -[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) - -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) -# ------------------------------------------- -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -AC_DEFUN([_AM_IF_OPTION], -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) - -# Check to make sure that the build environment is sane. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 5 - -# AM_SANITY_CHECK -# --------------- -AC_DEFUN([AM_SANITY_CHECK], -[AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[[\\\"\#\$\&\'\`$am_lf]]*) - AC_MSG_ERROR([unsafe absolute working directory name]);; -esac -case $srcdir in - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$[*]" != "X $srcdir/configure conftest.file" \ - && test "$[*]" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -alias in your environment]) - fi - - test "$[2]" = conftest.file - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -AC_MSG_RESULT(yes)]) - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_STRIP -# --------------------- -# One issue with vendor `install' (even GNU) is that you can't -# specify the program used to strip binaries. This is especially -# annoying in cross-compiling environments, where the build's strip -# is unlikely to handle the host's binaries. -# Fortunately install-sh will honor a STRIPPROG variable, so we -# always use install-sh in `make install-strip', and initialize -# STRIPPROG with the value of the STRIP variable (set by the user). -AC_DEFUN([AM_PROG_INSTALL_STRIP], -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. -if test "$cross_compiling" != no; then - AC_CHECK_TOOL([STRIP], [strip], :) -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -AC_SUBST([INSTALL_STRIP_PROGRAM])]) - -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# _AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. -# This macro is traced by Automake. -AC_DEFUN([_AM_SUBST_NOTMAKE]) - -# AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Public sister of _AM_SUBST_NOTMAKE. -AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) - -# Check how to create a tarball. -*- Autoconf -*- - -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# _AM_PROG_TAR(FORMAT) -# -------------------- -# Check how to create a tarball in format FORMAT. -# FORMAT should be one of `v7', `ustar', or `pax'. -# -# Substitute a variable $(am__tar) that is a command -# writing to stdout a FORMAT-tarball containing the directory -# $tardir. -# tardir=directory && $(am__tar) > result.tar -# -# Substitute a variable $(am__untar) that extract such -# a tarball read from stdin. -# $(am__untar) < result.tar -AC_DEFUN([_AM_PROG_TAR], -[# Always define AMTAR for backward compatibility. -AM_MISSING_PROG([AMTAR], [tar]) -m4_if([$1], [v7], - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], - [m4_case([$1], [ustar],, [pax],, - [m4_fatal([Unknown tar format])]) -AC_MSG_CHECKING([how to create a $1 tar archive]) -# Loop over all known methods to create a tar archive until one works. -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' -_am_tools=${am_cv_prog_tar_$1-$_am_tools} -# Do not fold the above two line into one, because Tru64 sh and -# Solaris sh will not grok spaces in the rhs of `-'. -for _am_tool in $_am_tools -do - case $_am_tool in - gnutar) - for _am_tar in tar gnutar gtar; - do - AM_RUN_LOG([$_am_tar --version]) && break - done - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' - am__untar="$_am_tar -xf -" - ;; - plaintar) - # Must skip GNU tar: if it does not support --format= it doesn't create - # ustar tarball either. - (tar --version) >/dev/null 2>&1 && continue - am__tar='tar chf - "$$tardir"' - am__tar_='tar chf - "$tardir"' - am__untar='tar xf -' - ;; - pax) - am__tar='pax -L -x $1 -w "$$tardir"' - am__tar_='pax -L -x $1 -w "$tardir"' - am__untar='pax -r' - ;; - cpio) - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' - am__untar='cpio -i -H $1 -d' - ;; - none) - am__tar=false - am__tar_=false - am__untar=false - ;; - esac - - # If the value was cached, stop now. We just wanted to have am__tar - # and am__untar set. - test -n "${am_cv_prog_tar_$1}" && break - - # tar/untar a dummy directory, and stop if the command works - rm -rf conftest.dir - mkdir conftest.dir - echo GrepMe > conftest.dir/file - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) - rm -rf conftest.dir - if test -s conftest.tar; then - AM_RUN_LOG([$am__untar <conftest.tar]) - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break - fi -done -rm -rf conftest.dir - -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) -AC_SUBST([am__tar]) -AC_SUBST([am__untar]) -]) # _AM_PROG_TAR - -m4_include([acinclude.m4]) diff --git a/arid_examples/html-xml-utils-3.0/addid.c b/arid_examples/html-xml-utils-3.0/addid.c deleted file mode 100644 index 640a70d5a..000000000 --- a/arid_examples/html-xml-utils-3.0/addid.c +++ /dev/null @@ -1,223 +0,0 @@ -/* - * Add an ID to selected elements - * - * Copyright © 2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 20 Aug 2000 - * Version: $Id: addid.c,v 1.4 2003/08/07 20:57:20 bbos Exp $ - * - **/ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#include "export.h" -#include "types.e" -#include "heap.e" -#include "tree.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "errexit.e" -#include "genid.e" -#include "class.e" - -static Tree tree; -static Boolean xml = False; /* Use <empty /> convention */ -static string targetelement = NULL; /* Element to extract */ -static string targetclass = NULL; /* Class to extract */ - - -/* is_match check whether the element matches the target element and class */ -static Boolean is_match(const string name, pairlist attribs) -{ - return ((!targetelement || strcasecmp(name, targetelement) == 0) - && (!targetclass || has_class(attribs, targetclass))); -} - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last event is reported */ -EXPORT void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a tex chunk is parsed */ -EXPORT void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - tree = html_push(tree, name, attribs); - - /* If it has an ID, store it (so we don't accidentally generate it) */ - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, "id") == 0 && p->value) storeID(p->value); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - handle_starttag(clientdata, name, attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - -/* expand -- write the tree, inserting ID's at matching elements */ -static void expand(Tree t) -{ - Tree h; - pairlist a; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: printf("%s", h->text); break; - case Comment: printf("<!--%s-->", h->text); break; - case Declaration: - printf("<!DOCTYPE %s", h->name); - if (h->text) printf(" PUBLIC \"%s\"", h->text); else printf(" SYSTEM"); - if (h->url) printf(" \"%s\"", h->url); - printf(">"); - break; - case Procins: printf("<?%s>", h->text); break; - case Element: - if (is_match(h->name, h->attribs) && !get_attrib(h, "id", NULL)) - set_attrib(h, "id", gen_id(h)); - printf("<%s", h->name); - for (a = h->attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - } - if (is_empty(h->name)) { - printf(xml ? " />" : ">"); - } else { - printf(">"); - expand(h); - printf("</%s>", h->name); - } - break; - case Root: assert(! "Cannot happen"); break; - default: assert(! "Cannot happen"); - } - } -} - -/* usage -- print usage message and exit */ -static void usage(string name) -{ - errexit("Version %s\n\ -Usage: %s [-x] [--] elem|.class|elem.class [html-file]\n", - VERSION, name); -} - - -int main(int argc, char *argv[]) -{ - char * p; - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Parse command line options */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'x': xml = True; break; - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) usage(argv[0]); - if (argv[i][0] == '.') { /* Class name */ - targetclass = argv[i] + 1; - } else { /* Element name */ - targetelement = argv[i]; - if ((p = strchr(targetelement, '.'))) { - *p = '\0'; - targetclass = p + 1; - } - } - i++; - if (i == argc) yyin = stdin; - else if (i == argc - 1 && eq(argv[i], "-")) yyin = stdin; - else if (i == argc - 1) yyin = fopenurl(argv[i], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) exit(3); - - tree = get_root(tree); - expand(tree); - tree_delete(tree); /* Just to test memory mgmt */ - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/asc2xml.1 b/arid_examples/html-xml-utils-3.0/asc2xml.1 deleted file mode 100644 index 1eda8cb36..000000000 --- a/arid_examples/html-xml-utils-3.0/asc2xml.1 +++ /dev/null @@ -1,26 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 Mar 2000" -.SH NAME -asc2xml \- convert &#nnn; entities to UTF-8 -.SH SYNOPSIS -.B asc2xml -.SH DESCRIPTION -.LP -Reads an ASCII or ISO-8859-1 (Latin-1) text from standard input and -writes to standard output encoded as UTF-8. -.SH "SEE ALSO" -.BR xml2asc (1), -.BR UTF-8 -(RFC 2279) -.SH BUGS -.LP -None known. diff --git a/arid_examples/html-xml-utils-3.0/asc2xml.c b/arid_examples/html-xml-utils-3.0/asc2xml.c deleted file mode 100644 index b20db2d25..000000000 --- a/arid_examples/html-xml-utils-3.0/asc2xml.c +++ /dev/null @@ -1,116 +0,0 @@ -/* - * - * Program to convert files from ASCII or ISO-8859-1 to UTF8. - * - * Usage: - * - * asc2xml - * - * Reads from stdin and write to stdout. Converts from ASCII (in fact: - * Latin-1) (with or without &#-escapes) to UTF8, removing all - * &#-escapes, except those representing ASCII characters. - * - * Version: $Revision: 1.2 $ ($Date: 2003/01/21 19:19:31 $) - * Author: Bert Bos <bert@w3.org> - * - * Copyright © 1994-2002 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - **/ -#include <config.h> -#include <stdio.h> -#include <stdlib.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <ctype.h> - -/* putUTF8 -- write a character to stdout in UTF8 encoding */ -static void putUTF8(long c) -{ - if (c <= 0x7F) { /* Leave ASCII encoded */ - printf("&#%ld;", c); - } else if (c <= 0x07FF) { /* 110xxxxx 10xxxxxx */ - putchar(0xC0 | (c >> 6)); - putchar(0x80 | (c & 0x3F)); - } else if (c <= 0xFFFF) { /* 1110xxxx + 2 */ - putchar(0xE0 | (c >> 12)); - putchar(0x80 | ((c >> 6) & 0x3F)); - putchar(0x80 | (c & 0x3F)); - } else if (c <= 0x1FFFFF) { /* 11110xxx + 3 */ - putchar(0xF0 | (c >> 18)); - putchar(0x80 | ((c >> 12) & 0x3F)); - putchar(0x80 | ((c >> 6) & 0x3F)); - putchar(0x80 | (c & 0x3F)); - } else if (c <= 0x3FFFFFF) { /* 111110xx + 4 */ - putchar(0xF8 | (c >> 24)); - putchar(0x80 | ((c >> 18) & 0x3F)); - putchar(0x80 | ((c >> 12) & 0x3F)); - putchar(0x80 | ((c >> 6) & 0x3F)); - putchar(0x80 | (c & 0x3F)); - } else if (c <= 0x7FFFFFFF) { /* 1111110x + 5 */ - putchar(0xFC | (c >> 30)); - putchar(0x80 | ((c >> 24) & 0x3F)); - putchar(0x80 | ((c >> 18) & 0x3F)); - putchar(0x80 | ((c >> 12) & 0x3F)); - putchar(0x80 | ((c >> 6) & 0x3F)); - putchar(0x80 | (c & 0x3F)); - } else { /* Not a valid character... */ - printf("&#%ld;", c); - } -} - -/* asc2xml -- copy stdin to stdout, converting ASCII XML to UTF8 XML */ -static void asc2xml(void) -{ - long n; - int c; - while ((c = getchar()) != EOF) { - if (c > 0x7F) { /* Latin-1, non-ASCII */ - putUTF8(c); - } else if (c != '&') { /* Normal ASCII char */ - putchar(c); - } else if ((c = getchar()) == EOF) { /* '&' before EOF */ - putchar('&'); - } else if (c != '#') { /* '&' not followed by '#' */ - putchar('&'); - putchar(c); - } else if ((c = getchar()) == 'x') { /* '&#x' + hexadecimal */ - n = 0; - while (isxdigit((c = getchar()))) { - if (c <= '9') n = 16 * n + c - '0'; - else if (c <= 'F') n = 16 * n + c - 'A' + 10; - else n = 16 * n + c - 'a' + 10; - } - /* Don't check for overflow, don't check if c == ';' */ - putUTF8(n); - } else { /* '&#' + decimal */ - n = c - '0'; - while (isdigit((c = getchar()))) { - n = 10 * n + c - '0'; - } - /* Don't check for overflow, don't check if c == ';' */ - putUTF8(n); - } - } -} - -/* Print usage message, then exit */ -static void usage(char *progname) -{ - fprintf(stderr, "Version %s\nUsage: %s <infile >outfile\n", VERSION, progname); - exit(1); -} - -/* main -- main body */ -int main(int argc, char *argv[]) -{ - if (argc != 1) usage(argv[0]); - asc2xml(); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/autom4te.cache/output.0 b/arid_examples/html-xml-utils-3.0/autom4te.cache/output.0 deleted file mode 100644 index 161f733ed..000000000 --- a/arid_examples/html-xml-utils-3.0/autom4te.cache/output.0 +++ /dev/null @@ -1,6390 +0,0 @@ -@%:@! /bin/sh -@%:@ Guess values for system-dependent variables and create Makefiles. -@%:@ Generated by GNU Autoconf 2.65. -@%:@ -@%:@ -@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -@%:@ Inc. -@%:@ -@%:@ -@%:@ This configure script is free software; the Free Software Foundation -@%:@ gives unlimited permission to copy, distribute and modify it. -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in @%:@( - *posix*) : - set -o posix ;; @%:@( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in @%:@( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in @%:@(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in @%:@( - *posix*) : - set -o posix ;; @%:@( - *) : - ;; -esac -fi -" - as_required="as_fn_return () { (exit \$1); } -as_fn_success () { as_fn_return 0; } -as_fn_failure () { as_fn_return 1; } -as_fn_ret_success () { return 0; } -as_fn_ret_failure () { return 1; } - -exitcode=0 -as_fn_success || { exitcode=1; echo as_fn_success failed.; } -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : - -else - exitcode=1; echo positional parameters were not saved. -fi -test x\$exitcode = x0 || exit 1" - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -test \$(( 1 + 1 )) = 2 || exit 1" - if (eval "$as_required") 2>/dev/null; then : - as_have_required=yes -else - as_have_required=no -fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : - -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - as_found=: - case $as_dir in @%:@( - /*) - for as_base in sh bash ksh sh5; do - # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : - CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : - break 2 -fi -fi - done;; - esac - as_found=false -done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } -IFS=$as_save_IFS - - - if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." - else - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -$0: including any error possibly output before this -$0: message. Then install a modern shell, or manually run -$0: the script under such a shell if you do have one." - fi - exit 1 -fi -fi -fi -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -# Unset more variables known to interfere with behavior of common tools. -CLICOLOR_FORCE= GREP_OPTIONS= -unset CLICOLOR_FORCE GREP_OPTIONS - -## --------------------- ## -## M4sh Shell Functions. ## -## --------------------- ## -@%:@ as_fn_unset VAR -@%:@ --------------- -@%:@ Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset - -@%:@ as_fn_set_status STATUS -@%:@ ----------------------- -@%:@ Set @S|@? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} @%:@ as_fn_set_status - -@%:@ as_fn_exit STATUS -@%:@ ----------------- -@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} @%:@ as_fn_exit - -@%:@ as_fn_mkdir_p -@%:@ ------------- -@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} @%:@ as_fn_mkdir_p -@%:@ as_fn_append VAR VALUE -@%:@ ---------------------- -@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take -@%:@ advantage of any shell optimizations that allow amortized linear growth over -@%:@ repeated appends, instead of the typical quadratic growth present in naive -@%:@ implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -@%:@ as_fn_arith ARG... -@%:@ ------------------ -@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the -@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments -@%:@ must be portable across @S|@(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -@%:@ as_fn_error ERROR [LINENO LOG_FD] -@%:@ --------------------------------- -@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are -@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the -@%:@ script with status @S|@?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} @%:@ as_fn_error - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - - - as_lineno_1=$LINENO as_lineno_1a=$LINENO - as_lineno_2=$LINENO as_lineno_2a=$LINENO - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in @%:@((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in @%:@( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -test -n "$DJDIR" || exec 7<&0 </dev/null -exec 6>&1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIB@&t@OBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= -PACKAGE_URL= - -# Factoring default headers for most tests. -ac_includes_default="\ -#include <stdio.h> -#ifdef HAVE_SYS_TYPES_H -# include <sys/types.h> -#endif -#ifdef HAVE_SYS_STAT_H -# include <sys/stat.h> -#endif -#ifdef STDC_HEADERS -# include <stdlib.h> -# include <stddef.h> -#else -# ifdef HAVE_STDLIB_H -# include <stdlib.h> -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include <memory.h> -# endif -# include <string.h> -#endif -#ifdef HAVE_STRINGS_H -# include <strings.h> -#endif -#ifdef HAVE_INTTYPES_H -# include <inttypes.h> -#endif -#ifdef HAVE_STDINT_H -# include <stdint.h> -#endif -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif" - -ac_subst_vars='am__EXEEXT_FALSE -am__EXEEXT_TRUE -LTLIBOBJS -lex_opt_flags -LIB@&t@OBJS -EGREP -GREP -YFLAGS -YACC -LEXLIB -LEX_OUTPUT_ROOT -LEX -CPP -am__fastdepCC_FALSE -am__fastdepCC_TRUE -CCDEPMODE -AMDEPBACKSLASH -AMDEP_FALSE -AMDEP_TRUE -am__quote -am__include -DEPDIR -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -am__untar -am__tar -AMTAR -am__leading_dot -SET_MAKE -AWK -mkdir_p -MKDIR_P -INSTALL_STRIP_PROGRAM -STRIP -install_sh -MAKEINFO -AUTOHEADER -AUTOMAKE -AUTOCONF -ACLOCAL -VERSION -PACKAGE -CYGPATH_W -am__isrc -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_dependency_tracking -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CPP -YACC -YFLAGS' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) as_fn_error "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information." - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - case $ac_envvar in #( - '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error "invalid variable name: \`$ac_envvar'" ;; - esac - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - as_fn_error "working directory cannot be determined" -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - @<:@@S|@ac_default_prefix@:>@ - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - @<:@PREFIX@:>@ - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -Program names: - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a - nonstandard directory <lib dir> - LIBS libraries to pass to the linker, e.g. -l<library> - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if - you have headers in a nonstandard directory <include dir> - CPP C preprocessor - YACC The `Yet Another C Compiler' implementation to use. Defaults to - the first program found out of: `bison -y', `byacc', `yacc'. - YFLAGS The list of arguments that will be passed by default to @S|@YACC. - This script will default YFLAGS to the empty string to avoid a - default value of `-d' given by some make applications. - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to the package provider. -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.65 - -Copyright (C) 2009 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -@%:@ ac_fn_c_try_compile LINENO -@%:@ -------------------------- -@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_c_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext - if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_c_try_compile - -@%:@ ac_fn_c_try_cpp LINENO -@%:@ ---------------------- -@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_c_try_cpp - -@%:@ ac_fn_c_try_link LINENO -@%:@ ----------------------- -@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_c_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_c_try_link - -@%:@ ac_fn_c_try_run LINENO -@%:@ ---------------------- -@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes -@%:@ that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_c_try_run - -@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -@%:@ ------------------------------------------------------- -@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using -@%:@ the include files in INCLUDES and setting the cache variable VAR -@%:@ accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -@%:@include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} @%:@ ac_fn_c_check_header_mongrel - -@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -@%:@ ------------------------------------------------------- -@%:@ Tests whether HEADER exists and can be compiled using the include files in -@%:@ INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -@%:@include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} @%:@ ac_fn_c_check_header_compile - -@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES -@%:@ ------------------------------------------- -@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache -@%:@ variable VAR accordingly. -ac_fn_c_check_type () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=no" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof ($2)) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof (($2))) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - eval "$3=yes" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} @%:@ ac_fn_c_check_type - -@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR -@%:@ ------------------------------------ -@%:@ Tests whether SYMBOL is declared, setting cache variable VAR accordingly. -ac_fn_c_check_decl () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 -$as_echo_n "checking whether $2 is declared... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -@%:@ifndef $2 - (void) $2; -@%:@endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} @%:@ ac_fn_c_check_decl - -@%:@ ac_fn_c_check_func LINENO FUNC VAR -@%:@ ---------------------------------- -@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case <limits.h> declares $2. - For example, HP-UX 11i <limits.h> declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - -#undef $2 - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} @%:@ ac_fn_c_check_func -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by $as_me, which was -generated by GNU Autoconf 2.65. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" - done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; - 2) - as_fn_append ac_configure_args1 " '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - as_fn_append ac_configure_args " '$ac_arg'" - ;; - esac - done -done -{ ac_configure_args0=; unset ac_configure_args0;} -{ ac_configure_args1=; unset ac_configure_args1;} - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## -## File substitutions. ## -## ------------------- ## -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -$as_echo "/* confdefs.h */" > confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_URL "$PACKAGE_URL" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special files - # actually), so we avoid doing that. DJGPP emulates it as a regular file. - if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) as_fn_append ac_configure_args " '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -fi -## -------------------- ## -## Main body of script. ## -## -------------------- ## - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -am__api_version='1.11' - -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - for ac_t in install-sh install.sh shtool; do - if test -f "$ac_dir/$ac_t"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/$ac_t -c" - break 2 - fi - done -done -if test -z "$ac_aux_dir"; then - as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in @%:@(( - ./ | .// | /[cC]/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - - done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; -esac -case $srcdir in - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - as_fn_error "ls -t appears to fail. Make sure there is not a broken -alias in your environment" "$LINENO" 5 - fi - - test "$2" = conftest.file - ) -then - # Ok. - : -else - as_fn_error "newly created file is older than distributed files! -Check your system clock" "$LINENO" 5 -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. -# By default was `s,x,x', remove it if useless. -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` - -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` - -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} -fi - -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi - -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in mkdir gmkdir; do - for ac_exec_ext in '' $ac_executable_extensions; do - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ - 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext - break 3;; - esac - done - done - done -IFS=$as_save_IFS - -fi - - test -d ./--version && rmdir ./--version - if test "${ac_cv_path_mkdir+set}" = set; then - MKDIR_P="$ac_cv_path_mkdir -p" - else - # As a last resort, use the slow shell script. Don't cache a - # value for MKDIR_P within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - MKDIR_P="$ac_install_sh -d" - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } - -mkdir_p="$MKDIR_P" -case $mkdir_p in - [\\/$]* | ?:[\\/]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null - -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - am__isrc=' -I$(srcdir)' - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi - - -# Define the identity of the package. - PACKAGE=html-xml-utils - VERSION=3.0 - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE "$PACKAGE" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define VERSION "$VERSION" -_ACEOF - -# Some tools Automake needs. - -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - - -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - - -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - - -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -# Always define AMTAR for backward compatibility. - -AMTAR=${AMTAR-"${am_missing_run}tar"} - -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' - - - - - -ac_config_headers="$ac_config_headers config.h" - - -# Checks for programs. -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $@%:@ != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "no acceptable C compiler found in \$PATH -See \`config.log' for more details." "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { { ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ as_fn_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <stdio.h> -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -ac_clean_files="$ac_clean_files conftest.out" -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then - { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if { ac_try='./conftest$ac_cv_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." "$LINENO" 5; } - fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of object files: cannot compile -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdarg.h> -#include <stdio.h> -#include <sys/types.h> -#include <sys/stat.h> -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 -$as_echo_n "checking for style of include used by $am_make... " >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 -$as_echo "$_am_result" >&6; } -rm -f confinc confmf - -@%:@ Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include <limits.h> -@%:@else -@%:@ include <assert.h> -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include <limits.h> -@%:@else -@%:@ include <assert.h> -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -# AC_PROG_LN_S -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include <limits.h> -@%:@else -@%:@ include <assert.h> -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include <limits.h> -@%:@else -@%:@ include <assert.h> -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -for ac_prog in flex lex -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_LEX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$LEX"; then - ac_cv_prog_LEX="$LEX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_LEX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -LEX=$ac_cv_prog_LEX -if test -n "$LEX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 -$as_echo "$LEX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$LEX" && break -done -test -n "$LEX" || LEX=":" - -if test "x$LEX" != "x:"; then - cat >conftest.l <<_ACEOF -%% -a { ECHO; } -b { REJECT; } -c { yymore (); } -d { yyless (1); } -e { yyless (input () != 0); } -f { unput (yytext[0]); } -. { BEGIN INITIAL; } -%% -#ifdef YYTEXT_POINTER -extern char *yytext; -#endif -int -main (void) -{ - return ! yylex () + ! yywrap (); -} -_ACEOF -{ { ac_try="$LEX conftest.l" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$LEX conftest.l") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 -$as_echo_n "checking lex output file root... " >&6; } -if test "${ac_cv_prog_lex_root+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - -if test -f lex.yy.c; then - ac_cv_prog_lex_root=lex.yy -elif test -f lexyy.c; then - ac_cv_prog_lex_root=lexyy -else - as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 -$as_echo "$ac_cv_prog_lex_root" >&6; } -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root - -if test -z "${LEXLIB+set}"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 -$as_echo_n "checking lex library... " >&6; } -if test "${ac_cv_lib_lex+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - ac_save_LIBS=$LIBS - ac_cv_lib_lex='none needed' - for ac_lib in '' -lfl -ll; do - LIBS="$ac_lib $ac_save_LIBS" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -`cat $LEX_OUTPUT_ROOT.c` -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_lex=$ac_lib -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - test "$ac_cv_lib_lex" != 'none needed' && break - done - LIBS=$ac_save_LIBS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 -$as_echo "$ac_cv_lib_lex" >&6; } - test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 -$as_echo_n "checking whether yytext is a pointer... " >&6; } -if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # POSIX says lex can declare yytext either as a pointer or an array; the -# default is implementation-dependent. Figure out which it is, since -# not all implementations provide the %pointer and %array declarations. -ac_cv_prog_lex_yytext_pointer=no -ac_save_LIBS=$LIBS -LIBS="$LEXLIB $ac_save_LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define YYTEXT_POINTER 1 -`cat $LEX_OUTPUT_ROOT.c` -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_prog_lex_yytext_pointer=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_save_LIBS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 -$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } -if test $ac_cv_prog_lex_yytext_pointer = yes; then - -$as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h - -fi -rm -f conftest.l $LEX_OUTPUT_ROOT.c - -fi -if test "$LEX" = :; then - LEX=${am_missing_run}flex -fi -for ac_prog in 'bison -y' byacc -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_YACC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$YACC"; then - ac_cv_prog_YACC="$YACC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_YACC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -YACC=$ac_cv_prog_YACC -if test -n "$YACC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 -$as_echo "$YACC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$YACC" && break -done -test -n "$YACC" || YACC="yacc" - -# AC_PROG_MAN2HTML - -# Checks for libraries. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 -$as_echo_n "checking for library containing socket... " >&6; } -if test "${ac_cv_search_socket+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char socket (); -int -main () -{ -return socket (); - ; - return 0; -} -_ACEOF -for ac_lib in '' socket nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_socket=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if test "${ac_cv_search_socket+set}" = set; then : - break -fi -done -if test "${ac_cv_search_socket+set}" = set; then : - -else - ac_cv_search_socket=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 -$as_echo "$ac_cv_search_socket" >&6; } -ac_res=$ac_cv_search_socket -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 -$as_echo_n "checking for library containing gethostbyname... " >&6; } -if test "${ac_cv_search_gethostbyname+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -for ac_lib in '' socket nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_gethostbyname=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if test "${ac_cv_search_gethostbyname+set}" = set; then : - break -fi -done -if test "${ac_cv_search_gethostbyname+set}" = set; then : - -else - ac_cv_search_gethostbyname=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 -$as_echo "$ac_cv_search_gethostbyname" >&6; } -ac_res=$ac_cv_search_gethostbyname -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - - -# Checks for header files. - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> -#include <stdarg.h> -#include <string.h> -#include <float.h> - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <string.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <ctype.h> -#include <stdlib.h> -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ac_header in arpa/inet.h errno.h fcntl.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/socket.h unistd.h search.h machine/ansi.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -# Checks for typedefs, structures, and compiler characteristics. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if test "${ac_cv_c_const+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -/* FIXME: Include the comments suggested by Paul. */ -#ifndef __cplusplus - /* Ultrix mips cc rejects this. */ - typedef int charset[2]; - const charset cs; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *pcpcc; - char **ppc; - /* NEC SVR4.0.2 mips cc rejects this. */ - struct point {int x, y;}; - static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in - an arm of an if-expression whose if-part is not a constant - expression */ - const char *g = "string"; - pcpcc = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++pcpcc; - ppc = (char**) pcpcc; - pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - if (s) return 0; - } - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x[] = {25, 17}; - const int *foo = &x[0]; - ++foo; - } - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; - } - { /* AIX XL C 1.02.0.0 rejects this saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; - } - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; - if (!foo) return 0; - } - return !cs[0] && !zero.x; -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_const=yes -else - ac_cv_c_const=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 -$as_echo "$ac_cv_c_const" >&6; } -if test $ac_cv_c_const = no; then - -$as_echo "@%:@define const /**/" >>confdefs.h - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 -$as_echo_n "checking for inline... " >&6; } -if test "${ac_cv_c_inline+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifndef __cplusplus -typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } -#endif - -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_inline=$ac_kw -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - test "$ac_cv_c_inline" != no && break -done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 -$as_echo "$ac_cv_c_inline" >&6; } - -case $ac_cv_c_inline in - inline | yes) ;; - *) - case $ac_cv_c_inline in - no) ac_val=;; - *) ac_val=$ac_cv_c_inline;; - esac - cat >>confdefs.h <<_ACEOF -#ifndef __cplusplus -#define inline $ac_val -#endif -_ACEOF - ;; -esac - -ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -if test "x$ac_cv_type_size_t" = x""yes; then : - -else - -cat >>confdefs.h <<_ACEOF -@%:@define size_t unsigned int -_ACEOF - -fi - - -# Checks for library functions. -# AC_FUNC_ERROR_AT_LINE -for ac_header in stdlib.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" -if test "x$ac_cv_header_stdlib_h" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define HAVE_STDLIB_H 1 -_ACEOF - -fi - -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 -$as_echo_n "checking for GNU libc compatible malloc... " >&6; } -if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - ac_cv_func_malloc_0_nonnull=no -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined STDC_HEADERS || defined HAVE_STDLIB_H -# include <stdlib.h> -#else -char *malloc (); -#endif - -int -main () -{ -return ! malloc (0); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_func_malloc_0_nonnull=yes -else - ac_cv_func_malloc_0_nonnull=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 -$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } -if test $ac_cv_func_malloc_0_nonnull = yes; then : - -$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h - -else - $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h - - case " $LIB@&t@OBJS " in - *" malloc.$ac_objext "* ) ;; - *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext" - ;; -esac - - -$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h - -fi - - -# AC_FUNC_REALLOC -ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" -if test "x$ac_cv_have_decl_strerror_r" = x""yes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -@%:@define HAVE_DECL_STRERROR_R $ac_have_decl -_ACEOF - -for ac_func in strerror_r -do : - ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" -if test "x$ac_cv_func_strerror_r" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define HAVE_STRERROR_R 1 -_ACEOF - -fi -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 -$as_echo_n "checking whether strerror_r returns char *... " >&6; } -if test "${ac_cv_func_strerror_r_char_p+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - ac_cv_func_strerror_r_char_p=no - if test $ac_cv_have_decl_strerror_r = yes; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ - - char buf[100]; - char x = *strerror_r (0, buf, sizeof buf); - char *p = strerror_r (0, buf, sizeof buf); - return !p || x; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_func_strerror_r_char_p=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - else - # strerror_r is not declared. Choose between - # systems that have relatively inaccessible declarations for the - # function. BeOS and DEC UNIX 4.0 fall in this category, but the - # former has a strerror_r that returns char*, while the latter - # has a strerror_r that returns `int'. - # This test should segfault on the DEC system. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default - extern char *strerror_r (); -int -main () -{ -char buf[100]; - char x = *strerror_r (0, buf, sizeof buf); - return ! isalpha (x); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_func_strerror_r_char_p=yes -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 -$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } -if test $ac_cv_func_strerror_r_char_p = yes; then - -$as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h - -fi - -for ac_func in vprintf -do : - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -if test "x$ac_cv_func_vprintf" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define HAVE_VPRINTF 1 -_ACEOF - -ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" -if test "x$ac_cv_func__doprnt" = x""yes; then : - -$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h - -fi - -fi -done - - -for ac_func in gethostbyname memmove memset regcomp socket strcasecmp strchr strcspn strdup strerror strncasecmp strndup strrchr strspn strstr strtol -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -eval as_val=\$$as_ac_var - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in strdup strerror strstr tsearch tfind twalk -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -eval as_val=\$$as_ac_var - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -else - case " $LIB@&t@OBJS " in - *" $ac_func.$ac_objext "* ) ;; - *) LIB@&t@OBJS="$LIB@&t@OBJS $ac_func.$ac_objext" - ;; -esac - -fi -done - - - -# Optimization flags for flex -case "$ac_cv_prog_LEX" in - *flex) lex_opt_flags=-Cfe;; -esac - - -ac_config_files="$ac_config_files Makefile" - -#AC_CONFIG_COMMANDS([default],[[echo timestamp > stamp-h]],[[]]) -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIB@&t@OBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - if test -n "$EXEEXT"; then - am__EXEEXT_TRUE= - am__EXEEXT_FALSE='#' -else - am__EXEEXT_TRUE='#' - am__EXEEXT_FALSE= -fi - -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - as_fn_error "conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error "conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi - -: ${CONFIG_STATUS=./config.status} -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false - -SHELL=\${CONFIG_SHELL-$SHELL} -export SHELL -_ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in @%:@( - *posix*) : - set -o posix ;; @%:@( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in @%:@( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in @%:@(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -@%:@ as_fn_error ERROR [LINENO LOG_FD] -@%:@ --------------------------------- -@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are -@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the -@%:@ script with status @S|@?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} @%:@ as_fn_error - - -@%:@ as_fn_set_status STATUS -@%:@ ----------------------- -@%:@ Set @S|@? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} @%:@ as_fn_set_status - -@%:@ as_fn_exit STATUS -@%:@ ----------------- -@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} @%:@ as_fn_exit - -@%:@ as_fn_unset VAR -@%:@ --------------- -@%:@ Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -@%:@ as_fn_append VAR VALUE -@%:@ ---------------------- -@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take -@%:@ advantage of any shell optimizations that allow amortized linear growth over -@%:@ repeated appends, instead of the typical quadratic growth present in naive -@%:@ implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -@%:@ as_fn_arith ARG... -@%:@ ------------------ -@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the -@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments -@%:@ must be portable across @S|@(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in @%:@((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -@%:@ as_fn_mkdir_p -@%:@ ------------- -@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} @%:@ as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in @%:@( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -_ASEOF -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by $as_me, which was -generated by GNU Autoconf 2.65. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to the package provider." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" -ac_cs_version="\\ -config.status -configured by $0, generated by GNU Autoconf 2.65, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2009 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -MKDIR_P='$MKDIR_P' -AWK='$AWK' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_HEADERS " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX -@%:@@%:@ Running $as_me. @%:@@%:@ -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' <conf$$subs.awk | sed ' -/^[^""]/{ - N - s/\n// -} -' >>$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error "could not setup config files machinery" "$LINENO" 5 -_ACEOF - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' <confdefs.h | sed ' -s/'"$ac_delim"'/"\\\ -"/g' >>$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; - esac \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error "could not create -" "$LINENO" 5 - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit $? -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - diff --git a/arid_examples/html-xml-utils-3.0/autom4te.cache/output.1 b/arid_examples/html-xml-utils-3.0/autom4te.cache/output.1 deleted file mode 100644 index 161f733ed..000000000 --- a/arid_examples/html-xml-utils-3.0/autom4te.cache/output.1 +++ /dev/null @@ -1,6390 +0,0 @@ -@%:@! /bin/sh -@%:@ Guess values for system-dependent variables and create Makefiles. -@%:@ Generated by GNU Autoconf 2.65. -@%:@ -@%:@ -@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -@%:@ Inc. -@%:@ -@%:@ -@%:@ This configure script is free software; the Free Software Foundation -@%:@ gives unlimited permission to copy, distribute and modify it. -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in @%:@( - *posix*) : - set -o posix ;; @%:@( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in @%:@( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in @%:@(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in @%:@( - *posix*) : - set -o posix ;; @%:@( - *) : - ;; -esac -fi -" - as_required="as_fn_return () { (exit \$1); } -as_fn_success () { as_fn_return 0; } -as_fn_failure () { as_fn_return 1; } -as_fn_ret_success () { return 0; } -as_fn_ret_failure () { return 1; } - -exitcode=0 -as_fn_success || { exitcode=1; echo as_fn_success failed.; } -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : - -else - exitcode=1; echo positional parameters were not saved. -fi -test x\$exitcode = x0 || exit 1" - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -test \$(( 1 + 1 )) = 2 || exit 1" - if (eval "$as_required") 2>/dev/null; then : - as_have_required=yes -else - as_have_required=no -fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : - -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - as_found=: - case $as_dir in @%:@( - /*) - for as_base in sh bash ksh sh5; do - # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : - CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : - break 2 -fi -fi - done;; - esac - as_found=false -done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } -IFS=$as_save_IFS - - - if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." - else - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -$0: including any error possibly output before this -$0: message. Then install a modern shell, or manually run -$0: the script under such a shell if you do have one." - fi - exit 1 -fi -fi -fi -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -# Unset more variables known to interfere with behavior of common tools. -CLICOLOR_FORCE= GREP_OPTIONS= -unset CLICOLOR_FORCE GREP_OPTIONS - -## --------------------- ## -## M4sh Shell Functions. ## -## --------------------- ## -@%:@ as_fn_unset VAR -@%:@ --------------- -@%:@ Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset - -@%:@ as_fn_set_status STATUS -@%:@ ----------------------- -@%:@ Set @S|@? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} @%:@ as_fn_set_status - -@%:@ as_fn_exit STATUS -@%:@ ----------------- -@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} @%:@ as_fn_exit - -@%:@ as_fn_mkdir_p -@%:@ ------------- -@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} @%:@ as_fn_mkdir_p -@%:@ as_fn_append VAR VALUE -@%:@ ---------------------- -@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take -@%:@ advantage of any shell optimizations that allow amortized linear growth over -@%:@ repeated appends, instead of the typical quadratic growth present in naive -@%:@ implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -@%:@ as_fn_arith ARG... -@%:@ ------------------ -@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the -@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments -@%:@ must be portable across @S|@(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -@%:@ as_fn_error ERROR [LINENO LOG_FD] -@%:@ --------------------------------- -@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are -@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the -@%:@ script with status @S|@?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} @%:@ as_fn_error - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - - - as_lineno_1=$LINENO as_lineno_1a=$LINENO - as_lineno_2=$LINENO as_lineno_2a=$LINENO - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in @%:@((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in @%:@( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -test -n "$DJDIR" || exec 7<&0 </dev/null -exec 6>&1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIB@&t@OBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= -PACKAGE_URL= - -# Factoring default headers for most tests. -ac_includes_default="\ -#include <stdio.h> -#ifdef HAVE_SYS_TYPES_H -# include <sys/types.h> -#endif -#ifdef HAVE_SYS_STAT_H -# include <sys/stat.h> -#endif -#ifdef STDC_HEADERS -# include <stdlib.h> -# include <stddef.h> -#else -# ifdef HAVE_STDLIB_H -# include <stdlib.h> -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include <memory.h> -# endif -# include <string.h> -#endif -#ifdef HAVE_STRINGS_H -# include <strings.h> -#endif -#ifdef HAVE_INTTYPES_H -# include <inttypes.h> -#endif -#ifdef HAVE_STDINT_H -# include <stdint.h> -#endif -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif" - -ac_subst_vars='am__EXEEXT_FALSE -am__EXEEXT_TRUE -LTLIBOBJS -lex_opt_flags -LIB@&t@OBJS -EGREP -GREP -YFLAGS -YACC -LEXLIB -LEX_OUTPUT_ROOT -LEX -CPP -am__fastdepCC_FALSE -am__fastdepCC_TRUE -CCDEPMODE -AMDEPBACKSLASH -AMDEP_FALSE -AMDEP_TRUE -am__quote -am__include -DEPDIR -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -am__untar -am__tar -AMTAR -am__leading_dot -SET_MAKE -AWK -mkdir_p -MKDIR_P -INSTALL_STRIP_PROGRAM -STRIP -install_sh -MAKEINFO -AUTOHEADER -AUTOMAKE -AUTOCONF -ACLOCAL -VERSION -PACKAGE -CYGPATH_W -am__isrc -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_dependency_tracking -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CPP -YACC -YFLAGS' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) as_fn_error "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information." - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - case $ac_envvar in #( - '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error "invalid variable name: \`$ac_envvar'" ;; - esac - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - as_fn_error "working directory cannot be determined" -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - @<:@@S|@ac_default_prefix@:>@ - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - @<:@PREFIX@:>@ - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -Program names: - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a - nonstandard directory <lib dir> - LIBS libraries to pass to the linker, e.g. -l<library> - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if - you have headers in a nonstandard directory <include dir> - CPP C preprocessor - YACC The `Yet Another C Compiler' implementation to use. Defaults to - the first program found out of: `bison -y', `byacc', `yacc'. - YFLAGS The list of arguments that will be passed by default to @S|@YACC. - This script will default YFLAGS to the empty string to avoid a - default value of `-d' given by some make applications. - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to the package provider. -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.65 - -Copyright (C) 2009 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -@%:@ ac_fn_c_try_compile LINENO -@%:@ -------------------------- -@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_c_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext - if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_c_try_compile - -@%:@ ac_fn_c_try_cpp LINENO -@%:@ ---------------------- -@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_c_try_cpp - -@%:@ ac_fn_c_try_link LINENO -@%:@ ----------------------- -@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_c_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_c_try_link - -@%:@ ac_fn_c_try_run LINENO -@%:@ ---------------------- -@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes -@%:@ that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_c_try_run - -@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -@%:@ ------------------------------------------------------- -@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using -@%:@ the include files in INCLUDES and setting the cache variable VAR -@%:@ accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -@%:@include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} @%:@ ac_fn_c_check_header_mongrel - -@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -@%:@ ------------------------------------------------------- -@%:@ Tests whether HEADER exists and can be compiled using the include files in -@%:@ INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -@%:@include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} @%:@ ac_fn_c_check_header_compile - -@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES -@%:@ ------------------------------------------- -@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache -@%:@ variable VAR accordingly. -ac_fn_c_check_type () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=no" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof ($2)) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof (($2))) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - eval "$3=yes" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} @%:@ ac_fn_c_check_type - -@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR -@%:@ ------------------------------------ -@%:@ Tests whether SYMBOL is declared, setting cache variable VAR accordingly. -ac_fn_c_check_decl () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 -$as_echo_n "checking whether $2 is declared... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -@%:@ifndef $2 - (void) $2; -@%:@endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} @%:@ ac_fn_c_check_decl - -@%:@ ac_fn_c_check_func LINENO FUNC VAR -@%:@ ---------------------------------- -@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case <limits.h> declares $2. - For example, HP-UX 11i <limits.h> declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - -#undef $2 - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} @%:@ ac_fn_c_check_func -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by $as_me, which was -generated by GNU Autoconf 2.65. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" - done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; - 2) - as_fn_append ac_configure_args1 " '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - as_fn_append ac_configure_args " '$ac_arg'" - ;; - esac - done -done -{ ac_configure_args0=; unset ac_configure_args0;} -{ ac_configure_args1=; unset ac_configure_args1;} - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## -## File substitutions. ## -## ------------------- ## -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -$as_echo "/* confdefs.h */" > confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_URL "$PACKAGE_URL" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special files - # actually), so we avoid doing that. DJGPP emulates it as a regular file. - if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) as_fn_append ac_configure_args " '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -fi -## -------------------- ## -## Main body of script. ## -## -------------------- ## - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -am__api_version='1.11' - -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - for ac_t in install-sh install.sh shtool; do - if test -f "$ac_dir/$ac_t"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/$ac_t -c" - break 2 - fi - done -done -if test -z "$ac_aux_dir"; then - as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in @%:@(( - ./ | .// | /[cC]/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - - done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; -esac -case $srcdir in - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - as_fn_error "ls -t appears to fail. Make sure there is not a broken -alias in your environment" "$LINENO" 5 - fi - - test "$2" = conftest.file - ) -then - # Ok. - : -else - as_fn_error "newly created file is older than distributed files! -Check your system clock" "$LINENO" 5 -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. -# By default was `s,x,x', remove it if useless. -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` - -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` - -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} -fi - -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi - -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in mkdir gmkdir; do - for ac_exec_ext in '' $ac_executable_extensions; do - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ - 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext - break 3;; - esac - done - done - done -IFS=$as_save_IFS - -fi - - test -d ./--version && rmdir ./--version - if test "${ac_cv_path_mkdir+set}" = set; then - MKDIR_P="$ac_cv_path_mkdir -p" - else - # As a last resort, use the slow shell script. Don't cache a - # value for MKDIR_P within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - MKDIR_P="$ac_install_sh -d" - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } - -mkdir_p="$MKDIR_P" -case $mkdir_p in - [\\/$]* | ?:[\\/]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null - -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - am__isrc=' -I$(srcdir)' - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi - - -# Define the identity of the package. - PACKAGE=html-xml-utils - VERSION=3.0 - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE "$PACKAGE" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define VERSION "$VERSION" -_ACEOF - -# Some tools Automake needs. - -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - - -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - - -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - - -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -# Always define AMTAR for backward compatibility. - -AMTAR=${AMTAR-"${am_missing_run}tar"} - -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' - - - - - -ac_config_headers="$ac_config_headers config.h" - - -# Checks for programs. -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $@%:@ != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "no acceptable C compiler found in \$PATH -See \`config.log' for more details." "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { { ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ as_fn_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <stdio.h> -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -ac_clean_files="$ac_clean_files conftest.out" -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then - { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if { ac_try='./conftest$ac_cv_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." "$LINENO" 5; } - fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of object files: cannot compile -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdarg.h> -#include <stdio.h> -#include <sys/types.h> -#include <sys/stat.h> -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 -$as_echo_n "checking for style of include used by $am_make... " >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 -$as_echo "$_am_result" >&6; } -rm -f confinc confmf - -@%:@ Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include <limits.h> -@%:@else -@%:@ include <assert.h> -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include <limits.h> -@%:@else -@%:@ include <assert.h> -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -# AC_PROG_LN_S -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include <limits.h> -@%:@else -@%:@ include <assert.h> -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include <limits.h> -@%:@else -@%:@ include <assert.h> -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -for ac_prog in flex lex -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_LEX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$LEX"; then - ac_cv_prog_LEX="$LEX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_LEX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -LEX=$ac_cv_prog_LEX -if test -n "$LEX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 -$as_echo "$LEX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$LEX" && break -done -test -n "$LEX" || LEX=":" - -if test "x$LEX" != "x:"; then - cat >conftest.l <<_ACEOF -%% -a { ECHO; } -b { REJECT; } -c { yymore (); } -d { yyless (1); } -e { yyless (input () != 0); } -f { unput (yytext[0]); } -. { BEGIN INITIAL; } -%% -#ifdef YYTEXT_POINTER -extern char *yytext; -#endif -int -main (void) -{ - return ! yylex () + ! yywrap (); -} -_ACEOF -{ { ac_try="$LEX conftest.l" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$LEX conftest.l") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 -$as_echo_n "checking lex output file root... " >&6; } -if test "${ac_cv_prog_lex_root+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - -if test -f lex.yy.c; then - ac_cv_prog_lex_root=lex.yy -elif test -f lexyy.c; then - ac_cv_prog_lex_root=lexyy -else - as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 -$as_echo "$ac_cv_prog_lex_root" >&6; } -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root - -if test -z "${LEXLIB+set}"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 -$as_echo_n "checking lex library... " >&6; } -if test "${ac_cv_lib_lex+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - ac_save_LIBS=$LIBS - ac_cv_lib_lex='none needed' - for ac_lib in '' -lfl -ll; do - LIBS="$ac_lib $ac_save_LIBS" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -`cat $LEX_OUTPUT_ROOT.c` -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_lex=$ac_lib -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - test "$ac_cv_lib_lex" != 'none needed' && break - done - LIBS=$ac_save_LIBS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 -$as_echo "$ac_cv_lib_lex" >&6; } - test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 -$as_echo_n "checking whether yytext is a pointer... " >&6; } -if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # POSIX says lex can declare yytext either as a pointer or an array; the -# default is implementation-dependent. Figure out which it is, since -# not all implementations provide the %pointer and %array declarations. -ac_cv_prog_lex_yytext_pointer=no -ac_save_LIBS=$LIBS -LIBS="$LEXLIB $ac_save_LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define YYTEXT_POINTER 1 -`cat $LEX_OUTPUT_ROOT.c` -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_prog_lex_yytext_pointer=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_save_LIBS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 -$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } -if test $ac_cv_prog_lex_yytext_pointer = yes; then - -$as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h - -fi -rm -f conftest.l $LEX_OUTPUT_ROOT.c - -fi -if test "$LEX" = :; then - LEX=${am_missing_run}flex -fi -for ac_prog in 'bison -y' byacc -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_YACC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$YACC"; then - ac_cv_prog_YACC="$YACC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_YACC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -YACC=$ac_cv_prog_YACC -if test -n "$YACC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 -$as_echo "$YACC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$YACC" && break -done -test -n "$YACC" || YACC="yacc" - -# AC_PROG_MAN2HTML - -# Checks for libraries. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 -$as_echo_n "checking for library containing socket... " >&6; } -if test "${ac_cv_search_socket+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char socket (); -int -main () -{ -return socket (); - ; - return 0; -} -_ACEOF -for ac_lib in '' socket nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_socket=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if test "${ac_cv_search_socket+set}" = set; then : - break -fi -done -if test "${ac_cv_search_socket+set}" = set; then : - -else - ac_cv_search_socket=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 -$as_echo "$ac_cv_search_socket" >&6; } -ac_res=$ac_cv_search_socket -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 -$as_echo_n "checking for library containing gethostbyname... " >&6; } -if test "${ac_cv_search_gethostbyname+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -for ac_lib in '' socket nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_gethostbyname=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if test "${ac_cv_search_gethostbyname+set}" = set; then : - break -fi -done -if test "${ac_cv_search_gethostbyname+set}" = set; then : - -else - ac_cv_search_gethostbyname=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 -$as_echo "$ac_cv_search_gethostbyname" >&6; } -ac_res=$ac_cv_search_gethostbyname -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - - -# Checks for header files. - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> -#include <stdarg.h> -#include <string.h> -#include <float.h> - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <string.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <ctype.h> -#include <stdlib.h> -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ac_header in arpa/inet.h errno.h fcntl.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/socket.h unistd.h search.h machine/ansi.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -# Checks for typedefs, structures, and compiler characteristics. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if test "${ac_cv_c_const+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -/* FIXME: Include the comments suggested by Paul. */ -#ifndef __cplusplus - /* Ultrix mips cc rejects this. */ - typedef int charset[2]; - const charset cs; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *pcpcc; - char **ppc; - /* NEC SVR4.0.2 mips cc rejects this. */ - struct point {int x, y;}; - static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in - an arm of an if-expression whose if-part is not a constant - expression */ - const char *g = "string"; - pcpcc = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++pcpcc; - ppc = (char**) pcpcc; - pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - if (s) return 0; - } - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x[] = {25, 17}; - const int *foo = &x[0]; - ++foo; - } - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; - } - { /* AIX XL C 1.02.0.0 rejects this saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; - } - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; - if (!foo) return 0; - } - return !cs[0] && !zero.x; -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_const=yes -else - ac_cv_c_const=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 -$as_echo "$ac_cv_c_const" >&6; } -if test $ac_cv_c_const = no; then - -$as_echo "@%:@define const /**/" >>confdefs.h - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 -$as_echo_n "checking for inline... " >&6; } -if test "${ac_cv_c_inline+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifndef __cplusplus -typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } -#endif - -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_inline=$ac_kw -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - test "$ac_cv_c_inline" != no && break -done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 -$as_echo "$ac_cv_c_inline" >&6; } - -case $ac_cv_c_inline in - inline | yes) ;; - *) - case $ac_cv_c_inline in - no) ac_val=;; - *) ac_val=$ac_cv_c_inline;; - esac - cat >>confdefs.h <<_ACEOF -#ifndef __cplusplus -#define inline $ac_val -#endif -_ACEOF - ;; -esac - -ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -if test "x$ac_cv_type_size_t" = x""yes; then : - -else - -cat >>confdefs.h <<_ACEOF -@%:@define size_t unsigned int -_ACEOF - -fi - - -# Checks for library functions. -# AC_FUNC_ERROR_AT_LINE -for ac_header in stdlib.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" -if test "x$ac_cv_header_stdlib_h" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define HAVE_STDLIB_H 1 -_ACEOF - -fi - -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 -$as_echo_n "checking for GNU libc compatible malloc... " >&6; } -if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - ac_cv_func_malloc_0_nonnull=no -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined STDC_HEADERS || defined HAVE_STDLIB_H -# include <stdlib.h> -#else -char *malloc (); -#endif - -int -main () -{ -return ! malloc (0); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_func_malloc_0_nonnull=yes -else - ac_cv_func_malloc_0_nonnull=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 -$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } -if test $ac_cv_func_malloc_0_nonnull = yes; then : - -$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h - -else - $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h - - case " $LIB@&t@OBJS " in - *" malloc.$ac_objext "* ) ;; - *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext" - ;; -esac - - -$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h - -fi - - -# AC_FUNC_REALLOC -ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" -if test "x$ac_cv_have_decl_strerror_r" = x""yes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -@%:@define HAVE_DECL_STRERROR_R $ac_have_decl -_ACEOF - -for ac_func in strerror_r -do : - ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" -if test "x$ac_cv_func_strerror_r" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define HAVE_STRERROR_R 1 -_ACEOF - -fi -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 -$as_echo_n "checking whether strerror_r returns char *... " >&6; } -if test "${ac_cv_func_strerror_r_char_p+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - ac_cv_func_strerror_r_char_p=no - if test $ac_cv_have_decl_strerror_r = yes; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ - - char buf[100]; - char x = *strerror_r (0, buf, sizeof buf); - char *p = strerror_r (0, buf, sizeof buf); - return !p || x; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_func_strerror_r_char_p=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - else - # strerror_r is not declared. Choose between - # systems that have relatively inaccessible declarations for the - # function. BeOS and DEC UNIX 4.0 fall in this category, but the - # former has a strerror_r that returns char*, while the latter - # has a strerror_r that returns `int'. - # This test should segfault on the DEC system. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default - extern char *strerror_r (); -int -main () -{ -char buf[100]; - char x = *strerror_r (0, buf, sizeof buf); - return ! isalpha (x); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_func_strerror_r_char_p=yes -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 -$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } -if test $ac_cv_func_strerror_r_char_p = yes; then - -$as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h - -fi - -for ac_func in vprintf -do : - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -if test "x$ac_cv_func_vprintf" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define HAVE_VPRINTF 1 -_ACEOF - -ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" -if test "x$ac_cv_func__doprnt" = x""yes; then : - -$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h - -fi - -fi -done - - -for ac_func in gethostbyname memmove memset regcomp socket strcasecmp strchr strcspn strdup strerror strncasecmp strndup strrchr strspn strstr strtol -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -eval as_val=\$$as_ac_var - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in strdup strerror strstr tsearch tfind twalk -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -eval as_val=\$$as_ac_var - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -else - case " $LIB@&t@OBJS " in - *" $ac_func.$ac_objext "* ) ;; - *) LIB@&t@OBJS="$LIB@&t@OBJS $ac_func.$ac_objext" - ;; -esac - -fi -done - - - -# Optimization flags for flex -case "$ac_cv_prog_LEX" in - *flex) lex_opt_flags=-Cfe;; -esac - - -ac_config_files="$ac_config_files Makefile" - -#AC_CONFIG_COMMANDS([default],[[echo timestamp > stamp-h]],[[]]) -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIB@&t@OBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - if test -n "$EXEEXT"; then - am__EXEEXT_TRUE= - am__EXEEXT_FALSE='#' -else - am__EXEEXT_TRUE='#' - am__EXEEXT_FALSE= -fi - -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - as_fn_error "conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error "conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi - -: ${CONFIG_STATUS=./config.status} -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false - -SHELL=\${CONFIG_SHELL-$SHELL} -export SHELL -_ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in @%:@( - *posix*) : - set -o posix ;; @%:@( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in @%:@( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in @%:@(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -@%:@ as_fn_error ERROR [LINENO LOG_FD] -@%:@ --------------------------------- -@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are -@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the -@%:@ script with status @S|@?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} @%:@ as_fn_error - - -@%:@ as_fn_set_status STATUS -@%:@ ----------------------- -@%:@ Set @S|@? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} @%:@ as_fn_set_status - -@%:@ as_fn_exit STATUS -@%:@ ----------------- -@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} @%:@ as_fn_exit - -@%:@ as_fn_unset VAR -@%:@ --------------- -@%:@ Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -@%:@ as_fn_append VAR VALUE -@%:@ ---------------------- -@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take -@%:@ advantage of any shell optimizations that allow amortized linear growth over -@%:@ repeated appends, instead of the typical quadratic growth present in naive -@%:@ implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -@%:@ as_fn_arith ARG... -@%:@ ------------------ -@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the -@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments -@%:@ must be portable across @S|@(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in @%:@((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -@%:@ as_fn_mkdir_p -@%:@ ------------- -@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} @%:@ as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in @%:@( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -_ASEOF -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by $as_me, which was -generated by GNU Autoconf 2.65. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to the package provider." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" -ac_cs_version="\\ -config.status -configured by $0, generated by GNU Autoconf 2.65, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2009 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -MKDIR_P='$MKDIR_P' -AWK='$AWK' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_HEADERS " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX -@%:@@%:@ Running $as_me. @%:@@%:@ -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' <conf$$subs.awk | sed ' -/^[^""]/{ - N - s/\n// -} -' >>$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error "could not setup config files machinery" "$LINENO" 5 -_ACEOF - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' <confdefs.h | sed ' -s/'"$ac_delim"'/"\\\ -"/g' >>$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; - esac \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error "could not create -" "$LINENO" 5 - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit $? -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - diff --git a/arid_examples/html-xml-utils-3.0/autom4te.cache/requests b/arid_examples/html-xml-utils-3.0/autom4te.cache/requests deleted file mode 100644 index 0de9c9dd6..000000000 --- a/arid_examples/html-xml-utils-3.0/autom4te.cache/requests +++ /dev/null @@ -1,143 +0,0 @@ -# This file was generated by Autom4te Tue Dec 22 07:01:21 UTC 2009. -# It contains the lists of macros which have been traced. -# It can be safely removed. - -@request = ( - bless( [ - '0', - 1, - [ - '/usr/share/autoconf' - ], - [ - '/usr/share/autoconf/autoconf/autoconf.m4f', - '/usr/share/aclocal-1.11/amversion.m4', - '/usr/share/aclocal-1.11/auxdir.m4', - '/usr/share/aclocal-1.11/cond.m4', - '/usr/share/aclocal-1.11/depend.m4', - '/usr/share/aclocal-1.11/depout.m4', - '/usr/share/aclocal-1.11/header.m4', - '/usr/share/aclocal-1.11/init.m4', - '/usr/share/aclocal-1.11/install-sh.m4', - '/usr/share/aclocal-1.11/lead-dot.m4', - '/usr/share/aclocal-1.11/lex.m4', - '/usr/share/aclocal-1.11/make.m4', - '/usr/share/aclocal-1.11/missing.m4', - '/usr/share/aclocal-1.11/mkdirp.m4', - '/usr/share/aclocal-1.11/options.m4', - '/usr/share/aclocal-1.11/runlog.m4', - '/usr/share/aclocal-1.11/sanity.m4', - '/usr/share/aclocal-1.11/silent.m4', - '/usr/share/aclocal-1.11/strip.m4', - '/usr/share/aclocal-1.11/substnot.m4', - '/usr/share/aclocal-1.11/tar.m4', - 'acinclude.m4', - 'configure.in' - ], - { - 'm4_pattern_forbid' => 1, - 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, - '_AM_SET_OPTION' => 1, - 'AC_DEFUN' => 1, - 'AM_PROG_MKDIR_P' => 1, - 'AM_INIT_AUTOMAKE' => 1, - 'AM_AUTOMAKE_VERSION' => 1, - 'AM_MISSING_HAS_RUN' => 1, - 'AM_SUBST_NOTMAKE' => 1, - 'AM_MISSING_PROG' => 1, - 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, - 'AC_DEFUN_ONCE' => 1, - 'AM_PROG_INSTALL_STRIP' => 1, - '_m4_warn' => 1, - 'AM_SANITY_CHECK' => 1, - 'AM_SILENT_RULES' => 1, - 'include' => 1, - '_AM_PROG_TAR' => 1, - 'AM_AUX_DIR_EXPAND' => 1, - 'AM_DEP_TRACK' => 1, - 'AM_CONFIG_HEADER' => 1, - '_AM_SET_OPTIONS' => 1, - 'AM_RUN_LOG' => 1, - '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, - 'AM_PROG_LEX' => 1, - '_AM_IF_OPTION' => 1, - '_AM_SUBST_NOTMAKE' => 1, - 'm4_pattern_allow' => 1, - '_AM_AUTOCONF_VERSION' => 1, - '_AM_MANGLE_OPTION' => 1, - 'AM_SET_LEADING_DOT' => 1, - 'AC_FLEX_OPTIMIZE' => 1, - 'AM_CONDITIONAL' => 1, - 'AC_PROG_MAN2HTML' => 1, - 'AM_SET_DEPDIR' => 1, - '_AM_DEPENDENCIES' => 1, - 'm4_include' => 1, - 'AM_PROG_INSTALL_SH' => 1, - '_AC_AM_CONFIG_HEADER_HOOK' => 1, - 'AU_DEFUN' => 1, - 'AM_MAKE_INCLUDE' => 1 - } - ], 'Autom4te::Request' ), - bless( [ - '1', - 1, - [ - '/usr/share/autoconf' - ], - [ - '/usr/share/autoconf/autoconf/autoconf.m4f', - 'aclocal.m4', - 'configure.in' - ], - { - '_LT_AC_TAGCONFIG' => 1, - 'AM_PROG_F77_C_O' => 1, - 'AC_INIT' => 1, - 'm4_pattern_forbid' => 1, - 'AC_CANONICAL_TARGET' => 1, - '_AM_COND_IF' => 1, - 'AC_CONFIG_LIBOBJ_DIR' => 1, - 'AC_SUBST' => 1, - 'AC_CANONICAL_HOST' => 1, - 'AC_FC_SRCEXT' => 1, - 'AC_PROG_LIBTOOL' => 1, - 'AM_INIT_AUTOMAKE' => 1, - 'AC_CONFIG_SUBDIRS' => 1, - 'AM_AUTOMAKE_VERSION' => 1, - 'LT_CONFIG_LTDL_DIR' => 1, - 'AC_CONFIG_LINKS' => 1, - 'AC_REQUIRE_AUX_FILE' => 1, - 'm4_sinclude' => 1, - 'LT_SUPPORTED_TAG' => 1, - 'AM_MAINTAINER_MODE' => 1, - 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, - '_m4_warn' => 1, - 'AM_PROG_CXX_C_O' => 1, - '_AM_COND_ENDIF' => 1, - 'AM_ENABLE_MULTILIB' => 1, - 'AM_SILENT_RULES' => 1, - 'AC_CONFIG_FILES' => 1, - 'LT_INIT' => 1, - 'include' => 1, - 'AM_GNU_GETTEXT' => 1, - 'AC_LIBSOURCE' => 1, - 'AC_CANONICAL_BUILD' => 1, - 'AM_PROG_FC_C_O' => 1, - 'AC_FC_FREEFORM' => 1, - 'AH_OUTPUT' => 1, - 'AC_CONFIG_AUX_DIR' => 1, - '_AM_SUBST_NOTMAKE' => 1, - 'AM_PROG_CC_C_O' => 1, - 'sinclude' => 1, - 'm4_pattern_allow' => 1, - 'AM_CONDITIONAL' => 1, - 'AC_CANONICAL_SYSTEM' => 1, - 'AC_CONFIG_HEADERS' => 1, - 'AC_DEFINE_TRACE_LITERAL' => 1, - 'm4_include' => 1, - '_AM_COND_ELSE' => 1, - 'AC_SUBST_TRACE' => 1 - } - ], 'Autom4te::Request' ) - ); - diff --git a/arid_examples/html-xml-utils-3.0/autom4te.cache/traces.0 b/arid_examples/html-xml-utils-3.0/autom4te.cache/traces.0 deleted file mode 100644 index 45a345708..000000000 --- a/arid_examples/html-xml-utils-3.0/autom4te.cache/traces.0 +++ /dev/null @@ -1,792 +0,0 @@ -m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to -dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.11.1], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl -]) -m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) -m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ([2.50])dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` -]) -m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE])dnl -AC_SUBST([$1_FALSE])dnl -_AM_SUBST_NOTMAKE([$1_TRUE])dnl -_AM_SUBST_NOTMAKE([$1_FALSE])dnl -m4_define([_AM_COND_VALUE_$1], [$2])dnl -if $2; then - $1_TRUE= - $1_FALSE='#' -else - $1_TRUE='#' - $1_FALSE= -fi -AC_CONFIG_COMMANDS_PRE( -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then - AC_MSG_ERROR([[conditional "$1" was never defined. -Usually this means the macro was only invoked conditionally.]]) -fi])]) -m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl -AC_REQUIRE([AM_MAKE_INCLUDE])dnl -AC_REQUIRE([AM_DEP_TRACK])dnl - -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], - [$1], CXX, [depcc="$CXX" am_compiler_list=], - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], UPC, [depcc="$UPC" am_compiler_list=], - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], - [depcc="$$1" am_compiler_list=]) - -AC_CACHE_CHECK([dependency style of $depcc], - [am_cv_$1_dependencies_compiler_type], -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_$1_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` - fi - am__universal=false - m4_case([$1], [CC], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac], - [CXX], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac]) - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_$1_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_$1_dependencies_compiler_type=none -fi -]) -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) -AM_CONDITIONAL([am__fastdep$1], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) -]) -m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl -]) -m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, -[ --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors]) -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH])dnl -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl -]) -m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`AS_DIRNAME("$mf")` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`AS_DIRNAME(["$file"])` - AS_MKDIR_P([$dirpart/$fdir]) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} -]) -m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) -]) -m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) -m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete. -You should run autoupdate.])dnl -AC_CONFIG_HEADERS($@)]) -m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl -dnl Autoconf wants to disallow AM_ names. We explicitly allow -dnl the ones we care about. -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl -AC_REQUIRE([AC_PROG_INSTALL])dnl -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi -AC_SUBST([CYGPATH_W]) - -# Define the identity of the package. -dnl Distinguish between old-style and new-style calls. -m4_ifval([$2], -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl - AC_SUBST([PACKAGE], [$1])dnl - AC_SUBST([VERSION], [$2])], -[_AM_SET_OPTIONS([$1])dnl -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl - -_AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl - -# Some tools Automake needs. -AC_REQUIRE([AM_SANITY_CHECK])dnl -AC_REQUIRE([AC_ARG_PROGRAM])dnl -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) -AM_MISSING_PROG(AUTOCONF, autoconf) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) -AM_MISSING_PROG(AUTOHEADER, autoheader) -AM_MISSING_PROG(MAKEINFO, makeinfo) -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl -AC_REQUIRE([AM_PROG_MKDIR_P])dnl -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -AC_REQUIRE([AC_PROG_AWK])dnl -AC_REQUIRE([AC_PROG_MAKE_SET])dnl -AC_REQUIRE([AM_SET_LEADING_DOT])dnl -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], - [_AM_PROG_TAR([v7])])]) -_AM_IF_OPTION([no-dependencies],, -[AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_CC], - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_CXX], - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl -]) -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. -AC_CONFIG_COMMANDS_PRE(dnl -[m4_provide_if([_AM_COMPILER_EXEEXT], - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl -]) -m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. -_am_arg=$1 -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi -AC_SUBST(install_sh)]) -m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null -AC_SUBST([am__leading_dot])]) -m4trace:/usr/share/aclocal-1.11/lex.m4:16: -1- AC_DEFUN([AM_PROG_LEX], [AC_PREREQ(2.50)dnl -AC_REQUIRE([AM_MISSING_HAS_RUN])dnl -AC_REQUIRE([AC_PROG_LEX])dnl -if test "$LEX" = :; then - LEX=${am_missing_run}flex -fi]) -m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -AC_MSG_CHECKING([for style of include used by $am_make]) -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi -AC_SUBST([am__include]) -AC_SUBST([am__quote]) -AC_MSG_RESULT([$_am_result]) -rm -f confinc confmf -]) -m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) -$1=${$1-"${am_missing_run}$2"} -AC_SUBST($1)]) -m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([missing])dnl -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - AC_MSG_WARN([`missing' script is too old or missing]) -fi -]) -m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl -case $mkdir_p in - [[\\/$]]* | ?:[[\\/]]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -]) -m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) -m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) -m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) -m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD - ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - (exit $ac_status); }]) -m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[[\\\"\#\$\&\'\`$am_lf]]*) - AC_MSG_ERROR([unsafe absolute working directory name]);; -esac -case $srcdir in - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$[*]" != "X $srcdir/configure conftest.file" \ - && test "$[*]" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -alias in your environment]) - fi - - test "$[2]" = conftest.file - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -AC_MSG_RESULT(yes)]) -m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], -[ --enable-silent-rules less verbose build output (undo: `make V=1') - --disable-silent-rules verbose build output (undo: `make V=0')]) -case $enable_silent_rules in -yes) AM_DEFAULT_VERBOSITY=0;; -no) AM_DEFAULT_VERBOSITY=1;; -*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; -esac -AC_SUBST([AM_DEFAULT_VERBOSITY])dnl -AM_BACKSLASH='\' -AC_SUBST([AM_BACKSLASH])dnl -_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl -]) -m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. -if test "$cross_compiling" != no; then - AC_CHECK_TOOL([STRIP], [strip], :) -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -AC_SUBST([INSTALL_STRIP_PROGRAM])]) -m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) -m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) -m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. -AM_MISSING_PROG([AMTAR], [tar]) -m4_if([$1], [v7], - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], - [m4_case([$1], [ustar],, [pax],, - [m4_fatal([Unknown tar format])]) -AC_MSG_CHECKING([how to create a $1 tar archive]) -# Loop over all known methods to create a tar archive until one works. -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' -_am_tools=${am_cv_prog_tar_$1-$_am_tools} -# Do not fold the above two line into one, because Tru64 sh and -# Solaris sh will not grok spaces in the rhs of `-'. -for _am_tool in $_am_tools -do - case $_am_tool in - gnutar) - for _am_tar in tar gnutar gtar; - do - AM_RUN_LOG([$_am_tar --version]) && break - done - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' - am__untar="$_am_tar -xf -" - ;; - plaintar) - # Must skip GNU tar: if it does not support --format= it doesn't create - # ustar tarball either. - (tar --version) >/dev/null 2>&1 && continue - am__tar='tar chf - "$$tardir"' - am__tar_='tar chf - "$tardir"' - am__untar='tar xf -' - ;; - pax) - am__tar='pax -L -x $1 -w "$$tardir"' - am__tar_='pax -L -x $1 -w "$tardir"' - am__untar='pax -r' - ;; - cpio) - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' - am__untar='cpio -i -H $1 -d' - ;; - none) - am__tar=false - am__tar_=false - am__untar=false - ;; - esac - - # If the value was cached, stop now. We just wanted to have am__tar - # and am__untar set. - test -n "${am_cv_prog_tar_$1}" && break - - # tar/untar a dummy directory, and stop if the command works - rm -rf conftest.dir - mkdir conftest.dir - echo GrepMe > conftest.dir/file - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) - rm -rf conftest.dir - if test -s conftest.tar; then - AM_RUN_LOG([$am__untar <conftest.tar]) - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break - fi -done -rm -rf conftest.dir - -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) -AC_SUBST([am__tar]) -AC_SUBST([am__untar]) -]) -m4trace:acinclude.m4:4: -1- AC_DEFUN([AC_FLEX_OPTIMIZE], [case "$ac_cv_prog_LEX" in - *flex) lex_opt_flags=-Cfe;; -esac]) -m4trace:acinclude.m4:12: -1- AC_DEFUN([AC_PROG_MAN2HTML], [AC_ARG_VAR(man2html, "Full path of man2html program") -AC_PATH_PROG(man2html, man2html, ":")]) -m4trace:configure.in:3: -1- m4_pattern_forbid([^_?A[CHUM]_]) -m4trace:configure.in:3: -1- m4_pattern_forbid([_AC_]) -m4trace:configure.in:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) -m4trace:configure.in:3: -1- m4_pattern_allow([^AS_FLAGS$]) -m4trace:configure.in:3: -1- m4_pattern_forbid([^_?m4_]) -m4trace:configure.in:3: -1- m4_pattern_forbid([^dnl$]) -m4trace:configure.in:3: -1- m4_pattern_forbid([^_?AS_]) -m4trace:configure.in:3: -1- m4_pattern_allow([^SHELL$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PATH_SEPARATOR$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_URL$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^exec_prefix$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^prefix$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^program_transform_name$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^bindir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^sbindir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^libexecdir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^datarootdir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^datadir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^sysconfdir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^sharedstatedir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^localstatedir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^includedir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^oldincludedir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^docdir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^infodir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^htmldir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^dvidir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^pdfdir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^psdir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^libdir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^localedir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^mandir$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_URL$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^DEFS$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_C$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_N$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_T$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^build_alias$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^host_alias$]) -m4trace:configure.in:3: -1- m4_pattern_allow([^target_alias$]) -m4trace:configure.in:4: -1- AM_INIT_AUTOMAKE([html-xml-utils], [3.0]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) -m4trace:configure.in:4: -1- AM_SET_CURRENT_AUTOMAKE_VERSION -m4trace:configure.in:4: -1- AM_AUTOMAKE_VERSION([1.11.1]) -m4trace:configure.in:4: -1- _AM_AUTOCONF_VERSION([2.65]) -m4trace:configure.in:4: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^INSTALL_DATA$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^am__isrc$]) -m4trace:configure.in:4: -1- _AM_SUBST_NOTMAKE([am__isrc]) -m4trace:configure.in:4: -1- m4_pattern_allow([^CYGPATH_W$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^VERSION$]) -m4trace:configure.in:4: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])]) -m4trace:configure.in:4: -2- _AM_MANGLE_OPTION([no-define]) -m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^VERSION$]) -m4trace:configure.in:4: -1- AM_SANITY_CHECK -m4trace:configure.in:4: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) -m4trace:configure.in:4: -1- AM_MISSING_HAS_RUN -m4trace:configure.in:4: -1- AM_AUX_DIR_EXPAND -m4trace:configure.in:4: -1- m4_pattern_allow([^ACLOCAL$]) -m4trace:configure.in:4: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AUTOCONF$]) -m4trace:configure.in:4: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AUTOMAKE$]) -m4trace:configure.in:4: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AUTOHEADER$]) -m4trace:configure.in:4: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) -m4trace:configure.in:4: -1- m4_pattern_allow([^MAKEINFO$]) -m4trace:configure.in:4: -1- AM_PROG_INSTALL_SH -m4trace:configure.in:4: -1- m4_pattern_allow([^install_sh$]) -m4trace:configure.in:4: -1- AM_PROG_INSTALL_STRIP -m4trace:configure.in:4: -1- m4_pattern_allow([^STRIP$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) -m4trace:configure.in:4: -1- AM_PROG_MKDIR_P -m4trace:configure.in:4: -1- m4_pattern_allow([^MKDIR_P$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^mkdir_p$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AWK$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^SET_MAKE$]) -m4trace:configure.in:4: -1- AM_SET_LEADING_DOT -m4trace:configure.in:4: -1- m4_pattern_allow([^am__leading_dot$]) -m4trace:configure.in:4: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], - [_AM_PROG_TAR([v7])])]) -m4trace:configure.in:4: -2- _AM_MANGLE_OPTION([tar-ustar]) -m4trace:configure.in:4: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) -m4trace:configure.in:4: -2- _AM_MANGLE_OPTION([tar-pax]) -m4trace:configure.in:4: -1- _AM_PROG_TAR([v7]) -m4trace:configure.in:4: -1- AM_MISSING_PROG([AMTAR], [tar]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AMTAR$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^am__tar$]) -m4trace:configure.in:4: -1- m4_pattern_allow([^am__untar$]) -m4trace:configure.in:4: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_CC], - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_CXX], - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl -]) -m4trace:configure.in:4: -2- _AM_MANGLE_OPTION([no-dependencies]) -m4trace:configure.in:4: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])]) -m4trace:configure.in:4: -2- _AM_MANGLE_OPTION([silent-rules]) -m4trace:configure.in:5: -1- AM_CONFIG_HEADER([config.h]) -m4trace:configure.in:5: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete. -You should run autoupdate.], [/usr/share/aclocal-1.11/header.m4:12: AM_CONFIG_HEADER is expanded from... -configure.in:5: the top level]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CFLAGS$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^LDFLAGS$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^ac_ct_CC$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^EXEEXT$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^OBJEXT$]) -m4trace:configure.in:8: -1- _AM_DEPENDENCIES([CC]) -m4trace:configure.in:8: -1- AM_SET_DEPDIR -m4trace:configure.in:8: -1- m4_pattern_allow([^DEPDIR$]) -m4trace:configure.in:8: -1- AM_OUTPUT_DEPENDENCY_COMMANDS -m4trace:configure.in:8: -1- AM_MAKE_INCLUDE -m4trace:configure.in:8: -1- m4_pattern_allow([^am__include$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^am__quote$]) -m4trace:configure.in:8: -1- AM_DEP_TRACK -m4trace:configure.in:8: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -m4trace:configure.in:8: -1- m4_pattern_allow([^AMDEP_TRUE$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^AMDEP_FALSE$]) -m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) -m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) -m4trace:configure.in:8: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) -m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CCDEPMODE$]) -m4trace:configure.in:8: -1- AM_CONDITIONAL([am__fastdepCC], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) -m4trace:configure.in:8: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) -m4trace:configure.in:8: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) -m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) -m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) -m4trace:configure.in:9: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:9: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:9: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:12: -1- m4_pattern_allow([^AWK$]) -m4trace:configure.in:13: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:13: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:13: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:14: -1- AM_PROG_LEX -m4trace:configure.in:14: -1- m4_pattern_allow([^LEX$]) -m4trace:configure.in:14: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$]) -m4trace:configure.in:14: -1- m4_pattern_allow([^LEXLIB$]) -m4trace:configure.in:14: -1- m4_pattern_allow([^YYTEXT_POINTER$]) -m4trace:configure.in:15: -1- m4_pattern_allow([^YACC$]) -m4trace:configure.in:15: -1- m4_pattern_allow([^YACC$]) -m4trace:configure.in:15: -1- m4_pattern_allow([^YFLAGS$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^GREP$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^EGREP$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^STDC_HEADERS$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^const$]) -m4trace:configure.in:29: -1- m4_pattern_allow([^size_t$]) -m4trace:configure.in:33: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) -m4trace:configure.in:33: -1- m4_pattern_allow([^HAVE_MALLOC$]) -m4trace:configure.in:33: -1- m4_pattern_allow([^HAVE_MALLOC$]) -m4trace:configure.in:33: -1- m4_pattern_allow([^LIB@&t@OBJS$]) -m4trace:configure.in:33: -1- m4_pattern_allow([^malloc$]) -m4trace:configure.in:35: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$]) -m4trace:configure.in:35: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) -m4trace:configure.in:35: -1- m4_pattern_allow([^STRERROR_R_CHAR_P$]) -m4trace:configure.in:36: -1- m4_pattern_allow([^HAVE_VPRINTF$]) -m4trace:configure.in:36: -1- m4_pattern_allow([^HAVE_DOPRNT$]) -m4trace:configure.in:38: -1- m4_pattern_allow([^LIB@&t@OBJS$]) -m4trace:configure.in:41: -1- AC_FLEX_OPTIMIZE -m4trace:configure.in:42: -1- m4_pattern_allow([^lex_opt_flags$]) -m4trace:configure.in:46: -1- m4_pattern_allow([^LIB@&t@OBJS$]) -m4trace:configure.in:46: -1- m4_pattern_allow([^LTLIBOBJS$]) -m4trace:configure.in:46: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) -m4trace:configure.in:46: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) -m4trace:configure.in:46: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) -m4trace:configure.in:46: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) -m4trace:configure.in:46: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) -m4trace:configure.in:46: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) -m4trace:configure.in:46: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS diff --git a/arid_examples/html-xml-utils-3.0/autom4te.cache/traces.1 b/arid_examples/html-xml-utils-3.0/autom4te.cache/traces.1 deleted file mode 100644 index 3b881b489..000000000 --- a/arid_examples/html-xml-utils-3.0/autom4te.cache/traces.1 +++ /dev/null @@ -1,541 +0,0 @@ -m4trace:aclocal.m4:985: -1- m4_include([acinclude.m4]) -m4trace:configure.in:3: -1- AC_INIT -m4trace:configure.in:3: -1- m4_pattern_forbid([^_?A[CHUM]_]) -m4trace:configure.in:3: -1- m4_pattern_forbid([_AC_]) -m4trace:configure.in:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) -m4trace:configure.in:3: -1- m4_pattern_allow([^AS_FLAGS$]) -m4trace:configure.in:3: -1- m4_pattern_forbid([^_?m4_]) -m4trace:configure.in:3: -1- m4_pattern_forbid([^dnl$]) -m4trace:configure.in:3: -1- m4_pattern_forbid([^_?AS_]) -m4trace:configure.in:3: -1- AC_SUBST([SHELL]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([SHELL]) -m4trace:configure.in:3: -1- m4_pattern_allow([^SHELL$]) -m4trace:configure.in:3: -1- AC_SUBST([PATH_SEPARATOR]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PATH_SEPARATOR$]) -m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_NAME]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_STRING]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:3: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([PACKAGE_URL]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_URL$]) -m4trace:configure.in:3: -1- AC_SUBST([exec_prefix], [NONE]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([exec_prefix]) -m4trace:configure.in:3: -1- m4_pattern_allow([^exec_prefix$]) -m4trace:configure.in:3: -1- AC_SUBST([prefix], [NONE]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([prefix]) -m4trace:configure.in:3: -1- m4_pattern_allow([^prefix$]) -m4trace:configure.in:3: -1- AC_SUBST([program_transform_name], [s,x,x,]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([program_transform_name]) -m4trace:configure.in:3: -1- m4_pattern_allow([^program_transform_name$]) -m4trace:configure.in:3: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([bindir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^bindir$]) -m4trace:configure.in:3: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([sbindir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^sbindir$]) -m4trace:configure.in:3: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([libexecdir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^libexecdir$]) -m4trace:configure.in:3: -1- AC_SUBST([datarootdir], ['${prefix}/share']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([datarootdir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^datarootdir$]) -m4trace:configure.in:3: -1- AC_SUBST([datadir], ['${datarootdir}']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([datadir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^datadir$]) -m4trace:configure.in:3: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([sysconfdir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^sysconfdir$]) -m4trace:configure.in:3: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([sharedstatedir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^sharedstatedir$]) -m4trace:configure.in:3: -1- AC_SUBST([localstatedir], ['${prefix}/var']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([localstatedir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^localstatedir$]) -m4trace:configure.in:3: -1- AC_SUBST([includedir], ['${prefix}/include']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([includedir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^includedir$]) -m4trace:configure.in:3: -1- AC_SUBST([oldincludedir], ['/usr/include']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([oldincludedir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^oldincludedir$]) -m4trace:configure.in:3: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], - ['${datarootdir}/doc/${PACKAGE_TARNAME}'], - ['${datarootdir}/doc/${PACKAGE}'])]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([docdir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^docdir$]) -m4trace:configure.in:3: -1- AC_SUBST([infodir], ['${datarootdir}/info']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([infodir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^infodir$]) -m4trace:configure.in:3: -1- AC_SUBST([htmldir], ['${docdir}']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([htmldir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^htmldir$]) -m4trace:configure.in:3: -1- AC_SUBST([dvidir], ['${docdir}']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([dvidir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^dvidir$]) -m4trace:configure.in:3: -1- AC_SUBST([pdfdir], ['${docdir}']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([pdfdir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^pdfdir$]) -m4trace:configure.in:3: -1- AC_SUBST([psdir], ['${docdir}']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([psdir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^psdir$]) -m4trace:configure.in:3: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([libdir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^libdir$]) -m4trace:configure.in:3: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([localedir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^localedir$]) -m4trace:configure.in:3: -1- AC_SUBST([mandir], ['${datarootdir}/man']) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([mandir]) -m4trace:configure.in:3: -1- m4_pattern_allow([^mandir$]) -m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ -@%:@undef PACKAGE_NAME]) -m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ -@%:@undef PACKAGE_TARNAME]) -m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ -@%:@undef PACKAGE_VERSION]) -m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ -@%:@undef PACKAGE_STRING]) -m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ -@%:@undef PACKAGE_BUGREPORT]) -m4trace:configure.in:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL]) -m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_URL$]) -m4trace:configure.in:3: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */ -@%:@undef PACKAGE_URL]) -m4trace:configure.in:3: -1- AC_SUBST([DEFS]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([DEFS]) -m4trace:configure.in:3: -1- m4_pattern_allow([^DEFS$]) -m4trace:configure.in:3: -1- AC_SUBST([ECHO_C]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([ECHO_C]) -m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_C$]) -m4trace:configure.in:3: -1- AC_SUBST([ECHO_N]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([ECHO_N]) -m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_N$]) -m4trace:configure.in:3: -1- AC_SUBST([ECHO_T]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([ECHO_T]) -m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_T$]) -m4trace:configure.in:3: -1- AC_SUBST([LIBS]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([LIBS]) -m4trace:configure.in:3: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:3: -1- AC_SUBST([build_alias]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([build_alias]) -m4trace:configure.in:3: -1- m4_pattern_allow([^build_alias$]) -m4trace:configure.in:3: -1- AC_SUBST([host_alias]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([host_alias]) -m4trace:configure.in:3: -1- m4_pattern_allow([^host_alias$]) -m4trace:configure.in:3: -1- AC_SUBST([target_alias]) -m4trace:configure.in:3: -1- AC_SUBST_TRACE([target_alias]) -m4trace:configure.in:3: -1- m4_pattern_allow([^target_alias$]) -m4trace:configure.in:4: -1- AM_INIT_AUTOMAKE([html-xml-utils], [3.0]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) -m4trace:configure.in:4: -1- AM_AUTOMAKE_VERSION([1.11.1]) -m4trace:configure.in:4: -1- AC_REQUIRE_AUX_FILE([install-sh]) -m4trace:configure.in:4: -1- AC_SUBST([INSTALL_PROGRAM]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) -m4trace:configure.in:4: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) -m4trace:configure.in:4: -1- AC_SUBST([INSTALL_SCRIPT]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) -m4trace:configure.in:4: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) -m4trace:configure.in:4: -1- AC_SUBST([INSTALL_DATA]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([INSTALL_DATA]) -m4trace:configure.in:4: -1- m4_pattern_allow([^INSTALL_DATA$]) -m4trace:configure.in:4: -1- AC_SUBST([am__isrc], [' -I$(srcdir)']) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([am__isrc]) -m4trace:configure.in:4: -1- m4_pattern_allow([^am__isrc$]) -m4trace:configure.in:4: -1- _AM_SUBST_NOTMAKE([am__isrc]) -m4trace:configure.in:4: -1- AC_SUBST([CYGPATH_W]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([CYGPATH_W]) -m4trace:configure.in:4: -1- m4_pattern_allow([^CYGPATH_W$]) -m4trace:configure.in:4: -1- AC_SUBST([PACKAGE], [html-xml-utils]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE]) -m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE$]) -m4trace:configure.in:4: -1- AC_SUBST([VERSION], [3.0]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([VERSION]) -m4trace:configure.in:4: -1- m4_pattern_allow([^VERSION$]) -m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) -m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE$]) -m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ -@%:@undef PACKAGE]) -m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) -m4trace:configure.in:4: -1- m4_pattern_allow([^VERSION$]) -m4trace:configure.in:4: -1- AH_OUTPUT([VERSION], [/* Version number of package */ -@%:@undef VERSION]) -m4trace:configure.in:4: -1- AC_REQUIRE_AUX_FILE([missing]) -m4trace:configure.in:4: -1- AC_SUBST([ACLOCAL]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([ACLOCAL]) -m4trace:configure.in:4: -1- m4_pattern_allow([^ACLOCAL$]) -m4trace:configure.in:4: -1- AC_SUBST([AUTOCONF]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([AUTOCONF]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AUTOCONF$]) -m4trace:configure.in:4: -1- AC_SUBST([AUTOMAKE]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([AUTOMAKE]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AUTOMAKE$]) -m4trace:configure.in:4: -1- AC_SUBST([AUTOHEADER]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([AUTOHEADER]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AUTOHEADER$]) -m4trace:configure.in:4: -1- AC_SUBST([MAKEINFO]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([MAKEINFO]) -m4trace:configure.in:4: -1- m4_pattern_allow([^MAKEINFO$]) -m4trace:configure.in:4: -1- AC_SUBST([install_sh]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([install_sh]) -m4trace:configure.in:4: -1- m4_pattern_allow([^install_sh$]) -m4trace:configure.in:4: -1- AC_SUBST([STRIP]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([STRIP]) -m4trace:configure.in:4: -1- m4_pattern_allow([^STRIP$]) -m4trace:configure.in:4: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM]) -m4trace:configure.in:4: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) -m4trace:configure.in:4: -1- AC_REQUIRE_AUX_FILE([install-sh]) -m4trace:configure.in:4: -1- AC_SUBST([MKDIR_P]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([MKDIR_P]) -m4trace:configure.in:4: -1- m4_pattern_allow([^MKDIR_P$]) -m4trace:configure.in:4: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([mkdir_p]) -m4trace:configure.in:4: -1- m4_pattern_allow([^mkdir_p$]) -m4trace:configure.in:4: -1- AC_SUBST([AWK]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([AWK]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AWK$]) -m4trace:configure.in:4: -1- AC_SUBST([SET_MAKE]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([SET_MAKE]) -m4trace:configure.in:4: -1- m4_pattern_allow([^SET_MAKE$]) -m4trace:configure.in:4: -1- AC_SUBST([am__leading_dot]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([am__leading_dot]) -m4trace:configure.in:4: -1- m4_pattern_allow([^am__leading_dot$]) -m4trace:configure.in:4: -1- AC_SUBST([AMTAR]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([AMTAR]) -m4trace:configure.in:4: -1- m4_pattern_allow([^AMTAR$]) -m4trace:configure.in:4: -1- AC_SUBST([am__tar]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([am__tar]) -m4trace:configure.in:4: -1- m4_pattern_allow([^am__tar$]) -m4trace:configure.in:4: -1- AC_SUBST([am__untar]) -m4trace:configure.in:4: -1- AC_SUBST_TRACE([am__untar]) -m4trace:configure.in:4: -1- m4_pattern_allow([^am__untar$]) -m4trace:configure.in:5: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete. -You should run autoupdate.], [aclocal.m4:419: AM_CONFIG_HEADER is expanded from... -configure.in:5: the top level]) -m4trace:configure.in:5: -1- AC_CONFIG_HEADERS([config.h]) -m4trace:configure.in:8: -1- AC_SUBST([CC]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:8: -1- AC_SUBST([CFLAGS]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([CFLAGS]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CFLAGS$]) -m4trace:configure.in:8: -1- AC_SUBST([LDFLAGS]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([LDFLAGS]) -m4trace:configure.in:8: -1- m4_pattern_allow([^LDFLAGS$]) -m4trace:configure.in:8: -1- AC_SUBST([LIBS]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([LIBS]) -m4trace:configure.in:8: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:8: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:8: -1- AC_SUBST([CC]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:8: -1- AC_SUBST([CC]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:8: -1- AC_SUBST([CC]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:8: -1- AC_SUBST([CC]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:8: -1- AC_SUBST([ac_ct_CC]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([ac_ct_CC]) -m4trace:configure.in:8: -1- m4_pattern_allow([^ac_ct_CC$]) -m4trace:configure.in:8: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([EXEEXT]) -m4trace:configure.in:8: -1- m4_pattern_allow([^EXEEXT$]) -m4trace:configure.in:8: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([OBJEXT]) -m4trace:configure.in:8: -1- m4_pattern_allow([^OBJEXT$]) -m4trace:configure.in:8: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([DEPDIR]) -m4trace:configure.in:8: -1- m4_pattern_allow([^DEPDIR$]) -m4trace:configure.in:8: -1- AC_SUBST([am__include]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([am__include]) -m4trace:configure.in:8: -1- m4_pattern_allow([^am__include$]) -m4trace:configure.in:8: -1- AC_SUBST([am__quote]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([am__quote]) -m4trace:configure.in:8: -1- m4_pattern_allow([^am__quote$]) -m4trace:configure.in:8: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -m4trace:configure.in:8: -1- AC_SUBST([AMDEP_TRUE]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([AMDEP_TRUE]) -m4trace:configure.in:8: -1- m4_pattern_allow([^AMDEP_TRUE$]) -m4trace:configure.in:8: -1- AC_SUBST([AMDEP_FALSE]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([AMDEP_FALSE]) -m4trace:configure.in:8: -1- m4_pattern_allow([^AMDEP_FALSE$]) -m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) -m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) -m4trace:configure.in:8: -1- AC_SUBST([AMDEPBACKSLASH]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([AMDEPBACKSLASH]) -m4trace:configure.in:8: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) -m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) -m4trace:configure.in:8: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([CCDEPMODE]) -m4trace:configure.in:8: -1- m4_pattern_allow([^CCDEPMODE$]) -m4trace:configure.in:8: -1- AM_CONDITIONAL([am__fastdepCC], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) -m4trace:configure.in:8: -1- AC_SUBST([am__fastdepCC_TRUE]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) -m4trace:configure.in:8: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) -m4trace:configure.in:8: -1- AC_SUBST([am__fastdepCC_FALSE]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) -m4trace:configure.in:8: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) -m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) -m4trace:configure.in:8: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) -m4trace:configure.in:9: -1- AC_SUBST([CPP]) -m4trace:configure.in:9: -1- AC_SUBST_TRACE([CPP]) -m4trace:configure.in:9: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:9: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:9: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:9: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:9: -1- AC_SUBST([CPP]) -m4trace:configure.in:9: -1- AC_SUBST_TRACE([CPP]) -m4trace:configure.in:9: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:12: -1- AC_SUBST([AWK]) -m4trace:configure.in:12: -1- AC_SUBST_TRACE([AWK]) -m4trace:configure.in:12: -1- m4_pattern_allow([^AWK$]) -m4trace:configure.in:13: -1- AC_SUBST([CPP]) -m4trace:configure.in:13: -1- AC_SUBST_TRACE([CPP]) -m4trace:configure.in:13: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:13: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:13: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:13: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:13: -1- AC_SUBST([CPP]) -m4trace:configure.in:13: -1- AC_SUBST_TRACE([CPP]) -m4trace:configure.in:13: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:14: -1- AC_SUBST([LEX]) -m4trace:configure.in:14: -1- AC_SUBST_TRACE([LEX]) -m4trace:configure.in:14: -1- m4_pattern_allow([^LEX$]) -m4trace:configure.in:14: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root]) -m4trace:configure.in:14: -1- AC_SUBST_TRACE([LEX_OUTPUT_ROOT]) -m4trace:configure.in:14: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$]) -m4trace:configure.in:14: -1- AC_SUBST([LEXLIB]) -m4trace:configure.in:14: -1- AC_SUBST_TRACE([LEXLIB]) -m4trace:configure.in:14: -1- m4_pattern_allow([^LEXLIB$]) -m4trace:configure.in:14: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER]) -m4trace:configure.in:14: -1- m4_pattern_allow([^YYTEXT_POINTER$]) -m4trace:configure.in:14: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a - `char@<:@@:>@\'. */ -@%:@undef YYTEXT_POINTER]) -m4trace:configure.in:15: -1- AC_SUBST([YACC]) -m4trace:configure.in:15: -1- AC_SUBST_TRACE([YACC]) -m4trace:configure.in:15: -1- m4_pattern_allow([^YACC$]) -m4trace:configure.in:15: -1- AC_SUBST([YACC]) -m4trace:configure.in:15: -1- AC_SUBST_TRACE([YACC]) -m4trace:configure.in:15: -1- m4_pattern_allow([^YACC$]) -m4trace:configure.in:15: -1- AC_SUBST([YFLAGS]) -m4trace:configure.in:15: -1- AC_SUBST_TRACE([YFLAGS]) -m4trace:configure.in:15: -1- m4_pattern_allow([^YFLAGS$]) -m4trace:configure.in:23: -1- AC_SUBST([GREP]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([GREP]) -m4trace:configure.in:23: -1- m4_pattern_allow([^GREP$]) -m4trace:configure.in:23: -1- AC_SUBST([EGREP]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([EGREP]) -m4trace:configure.in:23: -1- m4_pattern_allow([^EGREP$]) -m4trace:configure.in:23: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) -m4trace:configure.in:23: -1- m4_pattern_allow([^STDC_HEADERS$]) -m4trace:configure.in:23: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ -@%:@undef STDC_HEADERS]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */ -@%:@undef HAVE_ARPA_INET_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the <errno.h> header file. */ -@%:@undef HAVE_ERRNO_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */ -@%:@undef HAVE_FCNTL_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */ -@%:@undef HAVE_NETDB_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */ -@%:@undef HAVE_NETINET_IN_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */ -@%:@undef HAVE_STDDEF_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ -@%:@undef HAVE_STDLIB_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */ -@%:@undef HAVE_STRING_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */ -@%:@undef HAVE_SYS_SOCKET_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */ -@%:@undef HAVE_UNISTD_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_SEARCH_H], [/* Define to 1 if you have the <search.h> header file. */ -@%:@undef HAVE_SEARCH_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_MACHINE_ANSI_H], [/* Define to 1 if you have the <machine/ansi.h> header file. */ -@%:@undef HAVE_MACHINE_ANSI_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */ -@%:@undef HAVE_SYS_TYPES_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */ -@%:@undef HAVE_SYS_STAT_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ -@%:@undef HAVE_STDLIB_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */ -@%:@undef HAVE_STRING_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */ -@%:@undef HAVE_MEMORY_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */ -@%:@undef HAVE_STRINGS_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */ -@%:@undef HAVE_INTTYPES_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */ -@%:@undef HAVE_STDINT_H]) -m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */ -@%:@undef HAVE_UNISTD_H]) -m4trace:configure.in:27: -1- AC_DEFINE_TRACE_LITERAL([const]) -m4trace:configure.in:27: -1- m4_pattern_allow([^const$]) -m4trace:configure.in:27: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ -@%:@undef const]) -m4trace:configure.in:28: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler - calls it, or to nothing if \'inline\' is not supported under any name. */ -#ifndef __cplusplus -#undef inline -#endif]) -m4trace:configure.in:29: -1- AC_DEFINE_TRACE_LITERAL([size_t]) -m4trace:configure.in:29: -1- m4_pattern_allow([^size_t$]) -m4trace:configure.in:29: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */ -@%:@undef size_t]) -m4trace:configure.in:33: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ -@%:@undef HAVE_STDLIB_H]) -m4trace:configure.in:33: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) -m4trace:configure.in:33: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) -m4trace:configure.in:33: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC]) -m4trace:configure.in:33: -1- m4_pattern_allow([^HAVE_MALLOC$]) -m4trace:configure.in:33: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and - to 0 otherwise. */ -@%:@undef HAVE_MALLOC]) -m4trace:configure.in:33: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC]) -m4trace:configure.in:33: -1- m4_pattern_allow([^HAVE_MALLOC$]) -m4trace:configure.in:33: -1- AC_LIBSOURCE([malloc.c]) -m4trace:configure.in:33: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"]) -m4trace:configure.in:33: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) -m4trace:configure.in:33: -1- m4_pattern_allow([^LIB@&t@OBJS$]) -m4trace:configure.in:33: -1- AC_DEFINE_TRACE_LITERAL([malloc]) -m4trace:configure.in:33: -1- m4_pattern_allow([^malloc$]) -m4trace:configure.in:33: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */ -@%:@undef malloc]) -m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRERROR_R]) -m4trace:configure.in:35: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$]) -m4trace:configure.in:35: -1- AH_OUTPUT([HAVE_DECL_STRERROR_R], [/* Define to 1 if you have the declaration of `strerror_r\', and to 0 if you - don\'t. */ -@%:@undef HAVE_DECL_STRERROR_R]) -m4trace:configure.in:35: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the `strerror_r\' function. */ -@%:@undef HAVE_STRERROR_R]) -m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R]) -m4trace:configure.in:35: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) -m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([STRERROR_R_CHAR_P]) -m4trace:configure.in:35: -1- m4_pattern_allow([^STRERROR_R_CHAR_P$]) -m4trace:configure.in:35: -1- AH_OUTPUT([STRERROR_R_CHAR_P], [/* Define to 1 if strerror_r returns char *. */ -@%:@undef STRERROR_R_CHAR_P]) -m4trace:configure.in:36: -1- AH_OUTPUT([HAVE_VPRINTF], [/* Define to 1 if you have the `vprintf\' function. */ -@%:@undef HAVE_VPRINTF]) -m4trace:configure.in:36: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VPRINTF]) -m4trace:configure.in:36: -1- m4_pattern_allow([^HAVE_VPRINTF$]) -m4trace:configure.in:36: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DOPRNT]) -m4trace:configure.in:36: -1- m4_pattern_allow([^HAVE_DOPRNT$]) -m4trace:configure.in:36: -1- AH_OUTPUT([HAVE_DOPRNT], [/* Define to 1 if you don\'t have `vprintf\' but do have `_doprnt.\' */ -@%:@undef HAVE_DOPRNT]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */ -@%:@undef HAVE_GETHOSTBYNAME]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */ -@%:@undef HAVE_MEMMOVE]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */ -@%:@undef HAVE_MEMSET]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_REGCOMP], [/* Define to 1 if you have the `regcomp\' function. */ -@%:@undef HAVE_REGCOMP]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */ -@%:@undef HAVE_SOCKET]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the `strcasecmp\' function. */ -@%:@undef HAVE_STRCASECMP]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */ -@%:@undef HAVE_STRCHR]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_STRCSPN], [/* Define to 1 if you have the `strcspn\' function. */ -@%:@undef HAVE_STRCSPN]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */ -@%:@undef HAVE_STRDUP]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */ -@%:@undef HAVE_STRERROR]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define to 1 if you have the `strncasecmp\' function. */ -@%:@undef HAVE_STRNCASECMP]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define to 1 if you have the `strndup\' function. */ -@%:@undef HAVE_STRNDUP]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_STRRCHR], [/* Define to 1 if you have the `strrchr\' function. */ -@%:@undef HAVE_STRRCHR]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_STRSPN], [/* Define to 1 if you have the `strspn\' function. */ -@%:@undef HAVE_STRSPN]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */ -@%:@undef HAVE_STRSTR]) -m4trace:configure.in:37: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */ -@%:@undef HAVE_STRTOL]) -m4trace:configure.in:38: -1- AC_LIBSOURCE([strdup.c]) -m4trace:configure.in:38: -1- AC_LIBSOURCE([strerror.c]) -m4trace:configure.in:38: -1- AC_LIBSOURCE([strstr.c]) -m4trace:configure.in:38: -1- AC_LIBSOURCE([tsearch.c]) -m4trace:configure.in:38: -1- AC_LIBSOURCE([tfind.c]) -m4trace:configure.in:38: -1- AC_LIBSOURCE([twalk.c]) -m4trace:configure.in:38: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */ -@%:@undef HAVE_STRDUP]) -m4trace:configure.in:38: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */ -@%:@undef HAVE_STRERROR]) -m4trace:configure.in:38: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */ -@%:@undef HAVE_STRSTR]) -m4trace:configure.in:38: -1- AH_OUTPUT([HAVE_TSEARCH], [/* Define to 1 if you have the `tsearch\' function. */ -@%:@undef HAVE_TSEARCH]) -m4trace:configure.in:38: -1- AH_OUTPUT([HAVE_TFIND], [/* Define to 1 if you have the `tfind\' function. */ -@%:@undef HAVE_TFIND]) -m4trace:configure.in:38: -1- AH_OUTPUT([HAVE_TWALK], [/* Define to 1 if you have the `twalk\' function. */ -@%:@undef HAVE_TWALK]) -m4trace:configure.in:38: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS $ac_func.$ac_objext"]) -m4trace:configure.in:38: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) -m4trace:configure.in:38: -1- m4_pattern_allow([^LIB@&t@OBJS$]) -m4trace:configure.in:42: -1- AC_SUBST([lex_opt_flags]) -m4trace:configure.in:42: -1- AC_SUBST_TRACE([lex_opt_flags]) -m4trace:configure.in:42: -1- m4_pattern_allow([^lex_opt_flags$]) -m4trace:configure.in:44: -1- AC_CONFIG_FILES([Makefile]) -m4trace:configure.in:46: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) -m4trace:configure.in:46: -1- m4_pattern_allow([^LIB@&t@OBJS$]) -m4trace:configure.in:46: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([LTLIBOBJS]) -m4trace:configure.in:46: -1- m4_pattern_allow([^LTLIBOBJS$]) -m4trace:configure.in:46: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) -m4trace:configure.in:46: -1- AC_SUBST([am__EXEEXT_TRUE]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) -m4trace:configure.in:46: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) -m4trace:configure.in:46: -1- AC_SUBST([am__EXEEXT_FALSE]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) -m4trace:configure.in:46: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) -m4trace:configure.in:46: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) -m4trace:configure.in:46: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([top_builddir]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([top_build_prefix]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([srcdir]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([abs_srcdir]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([top_srcdir]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([abs_top_srcdir]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([builddir]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([abs_builddir]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([abs_top_builddir]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([INSTALL]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([MKDIR_P]) diff --git a/arid_examples/html-xml-utils-3.0/cexport.1 b/arid_examples/html-xml-utils-3.0/cexport.1 deleted file mode 100644 index 3d8d77dd6..000000000 --- a/arid_examples/html-xml-utils-3.0/cexport.1 +++ /dev/null @@ -1,24 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 Mar 2000" -.SH NAME -cexport \- create header file with exported declarations from a C file -.SH SYNOPSIS -.B cexport -.RB "[\| " \-c -.IR cpp\-command " \|]" -.RB "[\| " \-e -.IR extension " \|]" -.RB "[\| " \-h " \|]" -.RI "[\| " cc\-options " \|]" -.RI "[\| " file " [\| " file... " \|] \|]" -.SH DESCRIPTION -[ToDo] diff --git a/arid_examples/html-xml-utils-3.0/cexport.c b/arid_examples/html-xml-utils-3.0/cexport.c deleted file mode 100644 index af28ba0c6..000000000 --- a/arid_examples/html-xml-utils-3.0/cexport.c +++ /dev/null @@ -1,449 +0,0 @@ -/* cexport.c -- create header file of EXPORT'ed declarations from c files */ - -/* - * Author: Bert Bos <bert@let.rug.nl> - * Created: before 1995 - * Version: $Id: cexport.c,v 1.7 2003/04/09 09:39:31 bbos Exp $ - * - * C files are scanned for the keyword EXPORT. Any declaration that - * follows it is copied to a file with the extension .e. It works for - * typedefs, #defines, variables and functions, but only if ANSI - * prototypes are used. Macros are exported with EXPORTDEF(.) - * - * Examples: - * - * EXPORT typedef int * IntPtr -- export IntPtr - * - * EXPORT void walkTree(Tree t) -- export walkTree() - * - * #define max(a,b) ((a)>(b)?(a):(b)) - * EXPORTDEF(max(a,b)) -- export max(a,b) - * - * Files are first piped through the C preprocessor cpp. - * - * Command line options: - * -c <cppcmd>: use <cppcmd> instead of cpp - * -e <extension>: use <extension> instead of '.e' - * other options are passed to cpp - * - * The program is not very smart about C syntax, but it doesn't have - * to be, as long as the input is correct ANSI C. If it is not, no - * warnings will be given (except possibly for unmatched braces, - * quotes and paretheses), but the output will not be correct C, - * either. - * - * TO DO: an option to check if the new .e file is different any - * existing one and to keep the old one in that case. (Useful to save - * unnecessary recompilations.) - */ - -#include <config.h> -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <ctype.h> -#include <stdlib.h> - -#ifndef CPP -#define CPP "cc -E" -#endif - -#define LINELEN BUFSIZ - -static int err = 0; /* Global error counter */ -static char *cppcmd = CPP; -static char *extension = ".e"; - -static FILE *in, *out; -static int eof; -static int lineno; -static char line[LINELEN]; -static char *curname; - -/*************************************************************************** - * get_line -- read next line, return 0 if eof - ***************************************************************************/ -static int get_line() -{ - static char buf[BUFSIZ]; - char *s; - int i; - - do { - if (eof) - return 0; - else if (! fgets(line, LINELEN, in)) { - eof = 1; - return 0; - } else if (line[0] != '#') { - lineno++; - return 1; - } else if (line[1] == ' ') { - i = 2; while (isspace(line[i])) i++; - if (! isdigit(line[i])) { - lineno++; - return 1; - } else { - lineno = strtol(line + i, &s, 0) - 1; - if (*(s+1) != '"') { - strcpy(buf, s + 1); - buf[strlen(buf)-1] = '\0'; - } else { - strcpy(buf, s + 2); - for (i = 2; buf[i] != '"'; i++) ; - buf[i] = '\0'; - } - if (buf[0]) curname = buf; - } - } else if (line[1] == 'l' && strncmp(line, "#line", 5) == 0) { - lineno = strtol(line + 5, &s, 0) - 1; - if (*(s+1) != '"') { - strcpy(buf, s + 1); - buf[strlen(buf)-1] = '\0'; - } else { - strcpy(buf, s + 2); - for (i = 2; buf[i] != '"'; i++) ; - buf[i] = '\0'; - } - if (buf[0]) curname = buf; - } else { - lineno++; - return 1; - } - } while (1); -} - -/*************************************************************************** - * exportdef -- copy a #define to output - ***************************************************************************/ -static void exportdef(i) - int i; -{ - unsigned int len; - - /* - * TO DO: encountering an end of file should produce a suitable error - * message: end of file in middle of macro definition. - */ - - fputs("#define ", out); /* EXPORTDEF -> #define */ - - /* Unquote the following string */ - for (i += 10; line[i] && line[i] != '"'; i++) ; - for (i++; line[i] && line[i] != '"'; i++) putc(line[i], out); - putc(' ', out); - - fputs(line + i + 1, out); /* Write rest of line */ - len = strlen(line); /* Continuation lines? */ - while (len >= 2 && line[len-2] == '\\') { - if (! get_line()) break; - fputs(line, out); - len = strlen(line); - } -} - -/*************************************************************************** - * export -- copy next declaration to output - ***************************************************************************/ -static void export(i) - int *i; -{ - int brace, paren, squote, dquote, comment, stop, is_typedef; - - /* - * TO DO: End of file while any of the variables is still - * non-null is also an error. - */ - - *i += 6; /* Skip "EXPORT" */ - comment = 0; - squote = 0; - dquote = 0; - paren = 0; - brace = 0; - stop = 0; - is_typedef = 0; - do { - switch (line[*i]) { - case '\\': - if (line[*i+1]) (*i)++; /* Skip next char */ - break; - case '{': - if (!comment && !squote && !dquote && !paren) brace++; - break; - case '}': - if (!comment && !squote && !dquote && !paren) brace--; - if (brace < 0) { - fprintf(stderr, "%s:%d: syntax error (too many '}'s)\n", - curname, lineno); - err++; - brace = 0; - } - break; - case '"': - if (!comment && !squote) dquote = !dquote; - break; - case '\'': - if (!comment && !dquote) squote = !squote; - break; - case '*': - if (!comment && !dquote && !squote && *i > 0 && line[*i-1] == '/') - comment = 1; /* Start of comment */ - break; - case '/': /* Possible end of comment */ - if (comment && *i > 0 && line[*i-1] == '*') comment = 0; - break; - case '(': - if (!comment && !dquote && !squote && !brace) paren++; - break; - case ')': - if (!comment && !dquote && !squote && !brace) { - paren--; -#if 0 - if (paren == 0) { /* End of function prototype */ -#else - if (paren == 0 && !is_typedef) { - putc(')', out); - putc(';', out); - putc('\n', out); - stop = 1; -#endif - } - } - break; - case ';': - if (!comment && !dquote && !squote && !paren && !brace) { - putc(';', out); - putc('\n', out); - stop = 1; - } - break; - case '=': - if (!comment && !dquote && !squote && !brace && !paren) { - putc(';', out); /* End of variable decl. */ - putc('\n', out); - stop = 1; - } - break; - case '\n': - if (dquote) { - fprintf(stderr, - "%s:%d: syntax error (string didn't end)\n", - curname, lineno); - err++; - dquote = 0; - } - if (squote) { - fprintf(stderr, - "%s:%d: syntax error (char const didn't end)\n", - curname, lineno); - err++; - squote = 0; - } - break; - case '\0': - if (! get_line()) stop = 1; - else *i = -1; - break; - case 't': - if (!comment && !squote && !dquote && paren == 0 && brace == 0 - && strncmp("typedef", &line[*i], 7) == 0) - is_typedef = 1; - } - if (! stop) { - if (*i >= 0) putc(line[*i], out); - (*i)++; - } - } while (! stop); -} - - -/*************************************************************************** - * process -- scan file and write exported declarations - ***************************************************************************/ -static void process(file, cpp) - char *file, *cpp; -{ - char cmd[1024], *s, outname[1024]; - int brace, paren, dquote, squote, comment, i; - - strcpy(cmd, cppcmd); /* Build cpp command line */ - strcat(cmd, cpp); - if (file) strcat(cmd, file); - eof = 0; - lineno = 0; - in = popen(cmd, "r"); /* Pipe file through cpp */ - if (! in) { perror(cmd); err++; return; } - - if (file) { - strcpy(outname, file); /* Construct output file */ - s = strrchr(outname, '.'); /* Extension becomes .e */ - if (! s) s = outname + strlen(outname); - strcpy(s, extension); - out = fopen(outname, "w"); - if (! out) { perror(outname); err++; return; } - } else { - out = stdout; /* No file name, use stdout */ - } - if (file) curname = file; else curname = "<stdin>"; - - /* - * If the word EXPORT is found and it is not inside a comment, between - * quotes, parentheses or braces, the export() function is called to copy - * the declaration to the out file. When the export() function ends, `line' - * may have changed, but `i' points to the last copied character. - * - * If the word EXPORTDEF is found at the start of a line and it - * is not inside a comment or between quotes, exportdef is called. - */ - comment = 0; - dquote = 0; - squote = 0; - paren = 0; - brace = 0; - while (get_line()) { - for (i = 0; line[i]; i++) { - switch (line[i]) { - case '\\': - if (line[i+1]) i++; /* Skip next char */ - break; - case '{': - if (!comment && !dquote && !squote) brace++; - break; - case '}': - if (!comment && !dquote && !squote) brace--; - if (brace < 0) { - fprintf(stderr, "%s:%d: syntax error (too many '}'s)\n", - curname, lineno); - err++; - brace = 0; - } - break; - case '(': - if (!comment && !dquote && !squote) paren++; - break; - case ')': - if (!comment && !dquote && !squote) paren--; - if (paren < 0) { - fprintf(stderr, "%s:%d: syntax error (too many ')'s)\n", - curname, lineno); - err++; - paren = 0; - } - break; - case '\'': - if (!comment && !dquote) squote = !squote; - break; - case '"': - if (!comment && !squote) dquote = !dquote; - break; - case '\n': - if (dquote) { - fprintf(stderr, - "%s:%d: syntax error (string didn't end)\n", - curname, lineno); - err++; - dquote = 0; - } - if (squote) { - fprintf(stderr, - "%s:%d: syntax error (char const didn't end)\n", - curname, lineno); - err++; - squote = 0; - } - break; - case '*': - if (!comment && !dquote && !squote && i > 0 && line[i-1] == '/') - comment = 1; /* Start of comment */ - break; - case '/': /* Possible end of comment */ - if (comment && i > 0 && line[i-1] == '*') comment = 0; - break; - case 'E': - if (comment || dquote || squote || paren != 0 || brace != 0) - ; - else if (strncmp(&line[i], "EXPORT", 6) == 0 - && (i == 0 || !isalnum(line[i-1])) - && !isalnum(line[i+6])) - export(&i); - else if (strncmp(&line[i], "EXPORTDEF ", 10) == 0 - && (i == 0 || !isalnum(line[i-1]))) { - exportdef(i); - i = strlen(line) - 1; - } - break; - } - } - } - if (comment) { - fprintf(stderr, "%s:%d: syntax error (comment didn't end)\n", - curname, lineno); - err++; - } - if (dquote) { - fprintf(stderr, "%s:%d: syntax error (string didn't end)\n", - curname, lineno); - err++; - } - if (squote) { - fprintf(stderr, "%s:%d: syntax error (char const didn't end)\n", - curname, lineno); - err++; - } - if (file) fclose(out); - fclose(in); -} - -static void usage(s) - char *s; -{ - fprintf(stderr, - "Usage: %s {-Idir|-Dsym} [-h] [-c cppcmd] [-e ext] {file}\n", - s); - err++; -} - -int main(argc, argv) - int argc; - char *argv[]; -{ - char cpp[BUFSIZ]; /* Max. cmd. line length */ - int nfiles, i; - - strcpy(cpp, " -D__export "); - nfiles = 0; - - for (i = 1; i < argc; i++) { - if (!strncmp(argv[i], "-c", 2)) { /* Replace cpp command */ - if (argv[i][2]) - cppcmd = argv[i] + 2; - else - cppcmd = argv[++i]; - } else if (!strncmp(argv[i], "-e", 2)) { /* Extension instead of .e */ - if (argv[i][2]) - extension = argv[i] + 2; - else - extension = argv[++i]; - } else if (!strncmp(argv[i], "-h", 2)) { /* -h: help */ - usage(argv[0]); - } else if (argv[i][0] == '-' || argv[i][0] == '+') { - strcat(cpp, argv[i]); /* Pass options to cpp */ - strcat(cpp, " "); - } else { /* Not option, must be file */ - nfiles++; - process(argv[i], cpp); - } - } - if (nfiles == 0) /* no arguments, use stdin */ - process(NULL, cpp); - - return err; -} - diff --git a/arid_examples/html-xml-utils-3.0/cite-mkbib b/arid_examples/html-xml-utils-3.0/cite-mkbib deleted file mode 100755 index b6430b24b..000000000 --- a/arid_examples/html-xml-utils-3.0/cite-mkbib +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -# -# Script that combines the functions of cite and mkbib -# -# Copyright © 1994-2000 World Wide Web Consortium -# See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html -# -# Author: Bert Bos <bert@w3.org> -# Created: 29 Mar 2000 -# Version: $Id: cite-mkbib,v 1.3 2003/08/07 21:01:23 bbos Exp $ - -USAGE="Usage: cite-mkbib [-b base] [-p pattern] [-s sep] bibfile [file]" - -AUX=${TMPDIR:-/tmp}/cm1-$$ -TMP=${TMPDIR:-/tmp}/cm2-$$ -trap "rm $AUX $TMP 2>/dev/null" 0 - - -# usage -- print usage message and exit -usage () { echo "$USAGE" >&2; exit 2; } - - - -# Parse command line -while [ $# -ne 0 ]; do - case "$1" in - -b) base="-b '$2'"; shift 2;; - -p) pattern="-p '$2'"; shift 2;; - -s) sep="-s '$2'"; shift 2;; - -*) usage;; - --) shift; break;; - *) break; - esac -done -if [ $# -lt 1 -o $# -gt 2 ]; then usage; fi -bibfile="$1" -shift - -# Call cite and mkbib -eval cite "$base" "$pattern" -a $AUX "'$bibfile'" "$@" >$TMP && -eval mkbib "$sep" -a $AUX "'$bibfile'" $TMP - diff --git a/arid_examples/html-xml-utils-3.0/cite-mkbib.1 b/arid_examples/html-xml-utils-3.0/cite-mkbib.1 deleted file mode 100644 index 17aa88b6c..000000000 --- a/arid_examples/html-xml-utils-3.0/cite-mkbib.1 +++ /dev/null @@ -1,311 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "20 Mar 2000" -.SH NAME -cite\-mkbib \- expand references and create bibliography -.SH SYNOPSIS -.B cite-mkbib -.RB "[\| " \-b -.IR base " \|]" -.RB "[\| " \-p -.IR pattern " \|]" -.RB "[\| " \-s -.IR separator " \|]" -.IR bibfile " [\| " file " \|]" -.SH DESCRIPTION -.LP -The -.B cite\-mkbib -commands copies -.I file -to standard output, looking for strings of the form "[[\fIlabel\fP]]" -and for a template for a bibliography. The label may not include white -space and the double pair of square brackets must enclose the label -without any spaces in between. If -.B cite\-mkbib -finds the label in the -.IR bibfile "," -the string is replaced by the -.IR pattern "." -The pattern can include certain variables. If the label is not found -in -.IR bibfile "," -it is left unchanged. -.PP -The default pattern replaces the string with a hyperlink, but if the -.B \-p -option is used, the replacement can be any pattern. The input doesn't -even have to be HTML. -.PP -The -.I file -consists of three parts: -.TP 10 -.B preamble -The preamble is the part up to the first occurrence of -.BR %{ . -The preamble is copied to the output once (with bracketed labels -("[[\fIlabel\fP]]") expanded). The character -.B % -is treated specially. To create a single % in the output, there must -be two in the preamble (%%). All other occurrences of % followed by -another letter are not copied, but are collected into a string called -the "sort order." and used to sort the entries, as explained below. -.TP -.B template -The template starts with -.B %{L: -and ends with a matching -.BR %} . -The text in between is copied as often as there are bibliographic -entries in -.I bibfile -that correspond to bracketed labels in -.IR file . -Variables in the template are replaced by the corresponding field in -the bibliographic entry: all occurrences of -.BI % x -will be replaced by the field -.BI % x -of the entry. Parts of the text may be enclosed in -.BI %{ x : -and -.BR %} . -This means that the text in between should only be output if the -current entry has a field -.IR x . -Text that is enclosed in -.BI %{! x : -and -.B %} -will only be output if the entry does -.B not -have a field -.IR x . -Both kinds of conditional sections may also be nested. -.TP -.B postamble -The text after the -.B %} -is copied unchanged to the output, after all bibliographic entries -have been processed. -.PP -By default bibliographic entries are copied to the output in the order -of the labels in -.IR file , -except that labels that occur more than once are only used once. If -the preamble contains occurrences of -.BI % x -(where -.I x -is neither "%" nor "{") then these together determine the sort order. -E.g., if the preamble contains %A%D then the entries will be sorted -first on field A (author) and then on field D (date). -.PP -Here is an example of a file that creates a bibliography in HTML -format: -.d -<html> -<title>Bibliography</title> - ... text with [[references]] here... -<!--%A%D sorted on author, then date --> -<dl> -%{L: -<dt id="%L">%{A:A%}%{!A:%{E:E%}%{!E:%{Q:Q%}%{!Q:-%}%}%}</dt> -<dd>%{B:"%T" - in: %{E:%E (eds) - %}<cite>%B.</cite>%{V: %V.%} - %}%{J:"%T" - in: %{E:%E (eds) - %}<cite>%J.</cite>%{V: %V.%}%{N: %N.%}%{P: pp. %P.%} - %}%{!B:%{!J:<cite>%T.</cite> - %}%}%{I:%I. - %}%{D:%D. - %}%{C:%C. - %}%{R:%R. - %}%{S:%S. - %}%{O:%O - %}%{U:<a href="%U">%U</a> - %}</dd> -%} -</dl> -</html> -.e -This template starts with four lines of preample, including the sort -string %A%D on line 3. The sort string itself will not be output, but -the rest of the comment will. -.PP -From the line -.B %{L: -to the line -.B %} -is the template. E.g., the line that -starts with -.B <dt id=... -contains a complex conditional text that prints the authors (%A) if -there are any, otherwise the editors (%E) if there are any, otherwise -the institution that is the author (%Q), if any, and a dash otherwise. -Note how the parts are nested, Most of the text is inside -.BR %{!A:...%} , -meaning that that part will only be effective if there is no author -field (%A). -.PP -The final two lines are the postamble and will simply be copied -unchanged. -.PP -A bibliographic entry that looks like this in -.IR bibfile : -.d -%L Java -%A Gosling, James -%A Joy, Bill -%A Steele, Guy -%T The Java language specification -%D 1998 -%I Addison-Wesley -%U http://java.sun.com/docs/books/jls/index.html -.e -will be printed by the template above as: -.d -<dt id="Java">Gosling, James; Joy, Bill; Steele, Guy</dt> -<dd><cite>The Java language specification.</cite> - Addison-Wesley. - 1998. - <a href="http://java.sun.com/docs/books/jls/index.html">http://java.sun.com/docs/books/jls/index.html</a> - </dd> -.e -.SH OPTIONS -The following options are supported: -.TP 10 -.BI \-p " pattern" -Specifies the pattern by which the string [[\fIlabel\fP]] is replaced. -The pattern may include the variables -.B %b -(which will be replaced by the value of the -.B \-b -option) and -.B %L -(which will be replaced by the -.IR label ")." -The default pattern is -.d -<a href="%b#%L" rel="biblioentry">[%L]</a> -.e -.TP -.BI \-b " base" -Sets the value for the -.B %b -variable in the pattern. Typically this is set to a relative or -absolute URL. By default this value is an empty string. -.TP -.BI \-s " separator" -If there are multiple authors or editors in an entry, their names will -be listed with a separator in between. By default the separator is "; -" (i.e., a semicolon and a space). With this option the separator can -be changed. -.SH OPERANDS -The following operands are supported: -.TP 10 -.I bibfile -The name of a bibliographic database must be given. It must be a file -in -.BR refer (1) -format and every entry must have at least a -.B %L -field, which is compared to the bracketed labels. (Entries without -such a field will be ignored.) -.TP -.I file -The name of the input file is optional. If absent, -.B mkbib -will read the template from stdin. -.SH "EXIT STATUS" -The following exit values are returned: -.TP 10 -.B 0 -Successful completion. -.TP -.B > 0 -An error occurred. Usually this is because a file could not be opened -or because the %{ and %} pairs are not properly nested. -Very rarely it may also be an out of memory error. Some of the -possible error messages: -.TP -.I missing ':' in pattern -.B mkbib -found a %{ but the second or third letter after it was not a colon. -.TP -.I no '%{' in template file -The template file is unusable, because it contains no template. -.TP -.I unbalanced %{..%} in pattern -There are more %{ than %}. -.SH "SEE ALSO" -.BR cite (1), -.BR mkbib (1), -.BR xml2asc (1), -.BR UTF-8 -(RFC 2279), -.BR normalize (1), -.BR num (1), -.BR toc (1), -.BR htmlprune (1). -.BR unent (1) -.BR asc2xml (1) -.SH BUGS -Sorting is primitive: the program doesn't parse dates or names and -simply sorts "Jan 2000" under the letter "J" and "Albert Camus" under -the lettr "A". For the moment the only work-around is to put names in -the -.I bibfile -as "Camus, Albert". -.PP -The program simply lists all authors or editors. There is no way to -generate an "et. al." after the third one. The work-around is to put -the "et. al." in the -.IR bibfile . -Putting commas between the first authors and the word "and" before the -final one is also not possible. -.PP -The program doesn't try to interpret names of authors or editors and -they cannot be reformatted. It is impossible to write a name that is -specified as "Sartre, Jean-Paul" in the -.I bibfile -as "J. Sartre" or as "Jean-Paul Sartre" in the output. -.PP -There is no way to suppress a period after a field if the field -already ends with a period. E.g., the template "%{A:A.%}" may generate -"A. Person Jr.." if the author is "A. Person Jr." The only option is -to either not put periods in the -.IR bibfile -or not put periods in the template. -.PP -Entries in the -.I bibfile -can only be used if they have a -.B %L -(label) field. The program cannot find entries by searching for -keywords, like -.BR refer (1). -.PP -.B mkbib -will replace any ampersands (&) and less-than (<) and greater-than (>) -signs that occur in the -.I bibfile -by their XML entities & < > on the assumption that the -template is HTML/XML. This may not be appropriate for other formats. -.PP -.B cite\-mkbib -is a (bash) shell script that calls -.BR cite (1) -and -.BR mkbib (1), -and is therefore not portable to all platforms. diff --git a/arid_examples/html-xml-utils-3.0/cite.1 b/arid_examples/html-xml-utils-3.0/cite.1 deleted file mode 100644 index 88bce15eb..000000000 --- a/arid_examples/html-xml-utils-3.0/cite.1 +++ /dev/null @@ -1,138 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "19 Mar 2000" -.SH NAME -cite \- replace bibliographic references by hyperlinks -.SH SYNOPSIS -.B cite -.RB "[\| " \-b -.IR base " \|]" -.RB "[\| " \-p -.IR pattern " \|]" -.RB "[\| " \-a -.IR auxfile " \|]" -.RB "[\| " \-m -.IR marker " \|]" -.IR bibfile " [\| " HTMLfile " \|]" -.SH DESCRIPTION -.LP -The -.B cite -commands copies the -.I HTMLfile -to standard output, looking for strings of the form [[\fIlabel\fP]]. -The label may not include white space and the double pair of square -brackets must enclose the label without any spaces in between. If -.B cite -finds the label in the -.IR bibfile "," -the string is replaced by the -.IR pattern "." -The pattern can include certain variables. If the label is not found -in -.IR bibfile "," -it is left unchanged. -.PP -The default pattern replaces the string with a hyperlink, but if the -.B \-p -option is used, the replacement can be any pattern. The input doesn't -even have to be HTML. -.SH OPTIONS -The following options are supported: -.TP 10 -.BI \-p " pattern" -Specifies the pattern by which the string [[\fIlabel\fP]] is replaced. -The pattern may include the variables -.B %b -(which will be replaced by the value of the -.B \-b -option) and -.B %L -(which will be replaced by the -.IR label ")." -The default pattern is -.d -<a href="%b#%L" rel="biblioentry">[%L]</a> -.e -.TP -.BI \-b " base" -Sets the value for the -.B %b -variable in the pattern. Typically this is set to a relative or -absolute URL. By default this value is an empty string. -.TP -.BI \-a " auxfile" -All labels that have been found and replaced are also written to a -file. This is so that -.BR mkbib (1) -can find them and create a bibliography. The default -.I auxfile -is constructed from the name of the -.I HTMLfile -by removing the last extension (if any) and replacing it by ".aux". -If no -.I HTMLfile -is given, the default name is "aux.aux". -.TP -.BI \-m " marker" -By default, the program looks for "[[name]]", but it can be -made to look for "[[#name]]" where # is some string, usually a -symbol such as '!' or '='. This allows references to be -classified, e.g., "[[!name]]" for normative references and -"[[name]]" for non-normative references. -.SH OPERANDS -The following operands are supported: -.TP 10 -.I bibfile -The name of a bibliographic database must be given. It must be a file -in -.BR refer (1) -format and every entry must have at least a -.B %L -field, which is used as label. (Entries without such a field will be -ignored.) -.TP -.I HTMLfile -The name of the input file is optional. If absent, -.B cite -will read from stdin. The file in fact does not have to be an HTML -file, but the default pattern (see the -.B \-p -option) assumes HTML. -.SH "EXIT STATUS" -The following exit values are returned: -.TP 10 -.B 0 -Successful completion. -.TP -.B > 0 -An error occurred. Usually this is because a file could not be opened. -Very rarely it may also be an out of memory error. -.SH "SEE ALSO" -.BR mkbib (1) -.BR xml2asc (1), -.BR UTF-8 -(RFC 2279), -.BR normalize (1), -.BR num (1), -.BR toc (1), -.BR htmlprune (1). -.BR unent (1) -.BR asc2xml (1) -.SH BUGS -.LP -.BR refer (1) -does not require the -.B %L -(label) field to be present in every entry. Hoewever, -.B cite -does not implement refer's keyword search and requires a key instead. - diff --git a/arid_examples/html-xml-utils-3.0/cite.c b/arid_examples/html-xml-utils-3.0/cite.c deleted file mode 100644 index 1ae20d4d0..000000000 --- a/arid_examples/html-xml-utils-3.0/cite.c +++ /dev/null @@ -1,282 +0,0 @@ -/* - * cite - adds hyperlinks to bibliographic references in HTML - * - * The programs looks for strings of the form [[name]] (i.e., a - * bibliographic label inside a double pair of square brackets), e.g., - * [[Knuth84]] or [[LieBos97]]. The label will be looked up in a - * bibliography database and if it is found, the string will be - * replaced by a pattern which is typically of the form <a - * href="...">[name]</a>, but the pattern can be changed - * with a command line option. - * - * If the label is not found, a warning is printed and the string is - * left unchanged. - * - * All labels that are found are also stored, one label per line, in a - * separate file with extension .aux. This file can be used by mkbib - * to create the bibliography by extracting the corresponding - * bibliographic entries from the database. - * - * The bibliography database must be a refer-style database. Though - * for the purposes of this program all lines that don't start with - * "%L" are ignored. Lines with "%L" are assumed to contain a label. - * - * Options: - * - * -b base - * Give the value for %b in the pattern. - * - * -p pattern - * The replacement for the string [[label]]. The default is - * - * <a href=\"%b#%L\" rel=\"biblioentry\">[%L]</a> - * - * %L will be replaced by the label, %b by the value of the -b - * option. - * - * -a auxfile - * The name of the file in which the list of labels will be stored. - * Default is the name of the file given as argument, minus its - * extension, plus ".aux". If no file is give (input comes from - * stdin), the default name is "aux.aux". - * - * -m marker - * By default, the program looks for "[[name]]", but it can be - * made to look for "[[Xname]]" where X is some string, usually a - * symbol such as '!' or ='. This allows references to be - * classified, e.g., "[[!name]]" for normative references and - * "[[name]]" for non-normative references. - * - * Copyright © 1994-2002 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 18 March 2000 - * Version: $Id: cite.c,v 1.17 2004/04/29 15:54:24 bbos Exp $ - **/ - -#include <config.h> -#include <stdlib.h> -#include <errno.h> -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "hash.e" -#endif - -#include <ctype.h> -#include "export.h" -#include "heap.e" -#include "types.e" -#include "errexit.e" - - -/* Warning: arbitrary limits! */ -#define LINESIZE 32768 -#define HASHSIZE 4096 /* Size of hash table */ - -static string base = ""; /* URL of bibilography */ -static string mark = ""; /* Flag after "'[[" */ -static size_t marklen = 0; /* Length of mark */ -static string prog; /* = argv[0] */ -static string pattern = "<a href=\"%b#%L\" rel=\"biblioentry\">[%L]</a>"; -static FILE *aux; - - -/* label_exists -- check if the label exists in the bibliographic database */ -static Boolean label_exists(const string label) -{ - ENTRY e = {label, NULL}; - - return hsearch(e, FIND) != NULL; -} - - -/* valid_label -- check if the label is well-formed */ -static Boolean valid_label(const string label) -{ - int i; - - for (i = 0; label[i]; i++) - if (! isalnum(label[i]) - && label[i] != '-' - && label[i] != '_' - && label[i] != '.') return False; - return True; -} - - -/* expand_ref -- print the reformatted reference */ -static void expand_ref(const string label) -{ - int i; - - /* ToDo: somehow allow sequence numbers for references [1], [2], etc. */ - for (i = 0; pattern[i]; i++) { - if (pattern[i] != '%') { - putchar(pattern[i]); - } else { - switch (pattern[++i]) { - case '%': putchar('%'); break; /* Literal '%' */ - case 'b': printf("%s", base); break; /* Base URL */ - case 'L': printf("%s", label); break; /* Label */ - default: break; /* Error in pattern */ - } - } - } -} - - -/* process_line -- look for citations in a line */ -EXPORT void process_line(const string text, const string fname, int lineno) -{ - string h = text, p, q, label; - - /* Loop over occurrences of "[[" + mark + label + "]]" */ - while ((p = strstr(h, "[[")) && (q = strstr(p, "]]"))) { - - while (h != p) putchar(*(h++)); /* Print text up to "[[" */ - - if (marklen == 0 || strncmp(p + 2, mark, marklen) == 0) { - - p += 2 + marklen; /* Skip "[[" + mark */ - label = newnstring(p, q - p); /* Extract the label */ - - if (! valid_label(label)) { /* Cannot be a label */ - while (h != q) putchar(*(h++)); /* Copy unchanged */ - printf("]]"); - } else if (label_exists(label)) { /* Citation found */ - expand_ref(label); /* Insert full reference */ - fprintf(aux, "%s\n", label); /* Store label */ - } else { /* Label not found: warn */ - while (h != q) putchar(*(h++)); /* Copy unchanged */ - printf("]]"); - fprintf(stderr, "%s:%d: warning: no bib entry found for %s\n", - fname ? fname : (string)"<stdin>", lineno, label); - } - dispose(label); - - } else { /* No valid mark */ - - while (h != q) putchar(*(h++)); /* Copy unchanged */ - printf("]]"); - } - h = q + 2; - } - - printf("%s", h); /* Print rest of text */ -} - - -/* parse_db -- extract all labels from the refer-style database */ -static void parse_db(const string db) -{ - unsigned char line[LINESIZE]; - FILE *f; - int e, i; - ENTRY entry; - - if (!(f = fopen(db,"r"))) errexit("%s: %s: %s\n", prog, db, strerror(errno)); - - /* Initialize the hash table */ - if (! hcreate(HASHSIZE)) errexit("%s: %s\n", prog, strerror(errno)); - - /* Search for %L lines */ - clearerr(f); - while (fgets(line, sizeof(line), f)) { - if (strncmp(line, "%L ", 3) == 0) { - for (i = strlen(line); i > 0 && isspace(line[i-1]); i--) ; - if (i > 3) { /* Ignore empty field */ - line[i] = '\0'; - entry.key = newstring(line + 3); - if (!hsearch(entry, ENTER)) errexit("%s: %s\n", prog, strerror(errno)); - } - } - } - if ((e = ferror(f))) errexit("%s: %s: %s\n", prog, db, strerror(e)); - - if (fclose(f) != 0) errexit("%s: %s: %s\n", prog, db, strerror(errno)); -} - - -/* usage -- print usage message and exit */ -static void usage(void) -{ - errexit("Version %s\n\ -Usage: %s [-b base] [-p pattern] [-a auxfile] bib-file [HTML-file]\n", - VERSION, prog); -} - - -int main(int argc, char *argv[]) -{ - unsigned char line[LINESIZE]; - string h, auxfile = NULL, dbfile = NULL, infile = NULL; - int i, e, lineno; - FILE *f; - - /* Parse command line arguments */ - prog = argv[0]; - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'b': base = argv[++i]; break; /* Set base of URL */ - case 'p': pattern = argv[++i]; break; /* Form of expanded ref */ - case 'a': auxfile = argv[++i]; break; /* Name of auxfile */ - case 'm': mark = argv[++i]; marklen = strlen(mark); break; /* After "[[" */ - default: usage(); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc || argc > i + 2) usage(); - - dbfile = argv[i++]; - if (i != argc) infile = argv[i++]; - - /* Read the labels from the bibliography database */ - parse_db(dbfile); - - /* Construct auxfile */ - if (! auxfile) { - if (infile) { - newarray(auxfile, strlen(infile) + 5); - strcpy(auxfile, infile); - if ((h = strrchr(auxfile, '.'))) *h = '\0'; - strcat(auxfile, ".aux"); - } else { - auxfile = "aux.aux"; - } - } - if (! (aux = fopen(auxfile, "w"))) - errexit("%s: %s: %s\n", prog, auxfile, strerror(errno)); - - /* Open input file or use stdin */ - f = infile ? fopen(infile, "r") : stdin; - if (!f) errexit("%s: %s: %s\n", prog, infile, strerror(errno)); - - /* Read input line by line */ - clearerr(f); - lineno = 1; - while (fgets(line, sizeof(line), f)) process_line(line, infile, lineno++); - if ((e = ferror(f))) errexit("%s: %s: %s\n", prog, argv[i], strerror(e)); - - fclose(f); - fclose(aux); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/class.c b/arid_examples/html-xml-utils-3.0/class.c deleted file mode 100644 index d68fff38a..000000000 --- a/arid_examples/html-xml-utils-3.0/class.c +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Routines to check for the occurrence of a class. - * - * Author: Bert Bos <bert@w3.org> - * Created: 20 Aug 2000 - * Version: $Id: class.c,v 1.1 2000/08/20 16:31:52 bbos Exp $ - * - **/ - -#include "config.h" -#include <assert.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include <ctype.h> -#include "export.h" -#include "types.e" - - -/* contains -- check if string contains a certain word, return pointer */ -EXPORT const string contains(const string s, const string word) -{ - string t = s; - unsigned char c; - - while ((t = strstr(t, word))) { - if ((c = *(t + strlen(word))) && !isspace(c)) t++; /* Not end of word */ - else if (t != s && !isspace(*(t - 1))) t++; /* Not beginning of word */ - else return t; /* Found it */ - } - return NULL; /* Not found */ -} - -/* has_class -- check for class=word in list of attributes */ -EXPORT Boolean has_class(pairlist attribs, const string word) -{ - pairlist p; - - for (p = attribs; p; p = p->next) { - if (strcasecmp(p->name, "class") == 0 && contains(p->value, word)) - return True; - } - return False; -} - diff --git a/arid_examples/html-xml-utils-3.0/class.e b/arid_examples/html-xml-utils-3.0/class.e deleted file mode 100644 index b56afbf59..000000000 --- a/arid_examples/html-xml-utils-3.0/class.e +++ /dev/null @@ -1,2 +0,0 @@ - const string contains(const string s, const string word); - Boolean has_class(pairlist attribs, const string word); diff --git a/arid_examples/html-xml-utils-3.0/config.h b/arid_examples/html-xml-utils-3.0/config.h deleted file mode 100644 index 81341bd7d..000000000 --- a/arid_examples/html-xml-utils-3.0/config.h +++ /dev/null @@ -1,179 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.in by autoheader. */ - -/* Define to 1 if you have the <arpa/inet.h> header file. */ -#define HAVE_ARPA_INET_H 1 - -/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you - don't. */ -#define HAVE_DECL_STRERROR_R 1 - -/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ -/* #undef HAVE_DOPRNT */ - -/* Define to 1 if you have the <errno.h> header file. */ -#define HAVE_ERRNO_H 1 - -/* Define to 1 if you have the <fcntl.h> header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if you have the `gethostbyname' function. */ -#define HAVE_GETHOSTBYNAME 1 - -/* Define to 1 if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the <machine/ansi.h> header file. */ -/* #undef HAVE_MACHINE_ANSI_H */ - -/* Define to 1 if your system has a GNU libc compatible `malloc' function, and - to 0 otherwise. */ -#define HAVE_MALLOC 1 - -/* Define to 1 if you have the `memmove' function. */ -#define HAVE_MEMMOVE 1 - -/* Define to 1 if you have the <memory.h> header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 if you have the `memset' function. */ -#define HAVE_MEMSET 1 - -/* Define to 1 if you have the <netdb.h> header file. */ -#define HAVE_NETDB_H 1 - -/* Define to 1 if you have the <netinet/in.h> header file. */ -#define HAVE_NETINET_IN_H 1 - -/* Define to 1 if you have the `regcomp' function. */ -#define HAVE_REGCOMP 1 - -/* Define to 1 if you have the <search.h> header file. */ -#define HAVE_SEARCH_H 1 - -/* Define to 1 if you have the `socket' function. */ -#define HAVE_SOCKET 1 - -/* Define to 1 if you have the <stddef.h> header file. */ -#define HAVE_STDDEF_H 1 - -/* Define to 1 if you have the <stdint.h> header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the `strcasecmp' function. */ -#define HAVE_STRCASECMP 1 - -/* Define to 1 if you have the `strchr' function. */ -#define HAVE_STRCHR 1 - -/* Define to 1 if you have the `strcspn' function. */ -#define HAVE_STRCSPN 1 - -/* Define to 1 if you have the `strdup' function. */ -#define HAVE_STRDUP 1 - -/* Define to 1 if you have the `strerror' function. */ -#define HAVE_STRERROR 1 - -/* Define to 1 if you have the `strerror_r' function. */ -#define HAVE_STRERROR_R 1 - -/* Define to 1 if you have the <strings.h> header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the `strncasecmp' function. */ -#define HAVE_STRNCASECMP 1 - -/* Define to 1 if you have the `strndup' function. */ -#define HAVE_STRNDUP 1 - -/* Define to 1 if you have the `strrchr' function. */ -#define HAVE_STRRCHR 1 - -/* Define to 1 if you have the `strspn' function. */ -#define HAVE_STRSPN 1 - -/* Define to 1 if you have the `strstr' function. */ -#define HAVE_STRSTR 1 - -/* Define to 1 if you have the `strtol' function. */ -#define HAVE_STRTOL 1 - -/* Define to 1 if you have the <sys/socket.h> header file. */ -#define HAVE_SYS_SOCKET_H 1 - -/* Define to 1 if you have the <sys/stat.h> header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if you have the `tfind' function. */ -#define HAVE_TFIND 1 - -/* Define to 1 if you have the `tsearch' function. */ -#define HAVE_TSEARCH 1 - -/* Define to 1 if you have the `twalk' function. */ -#define HAVE_TWALK 1 - -/* Define to 1 if you have the <unistd.h> header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if you have the `vprintf' function. */ -#define HAVE_VPRINTF 1 - -/* Name of package */ -#define PACKAGE "html-xml-utils" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "" - -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define to 1 if strerror_r returns char *. */ -/* #undef STRERROR_R_CHAR_P */ - -/* Version number of package */ -#define VERSION "3.0" - -/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a - `char[]'. */ -#define YYTEXT_POINTER 1 - -/* Define to empty if `const' does not conform to ANSI C. */ -/* #undef const */ - -/* Define to `__inline__' or `__inline' if that's what the C compiler - calls it, or to nothing if 'inline' is not supported under any name. */ -#ifndef __cplusplus -/* #undef inline */ -#endif - -/* Define to rpl_malloc if the replacement function should be used. */ -/* #undef malloc */ - -/* Define to `unsigned int' if <sys/types.h> does not define. */ -/* #undef size_t */ diff --git a/arid_examples/html-xml-utils-3.0/config.h.in b/arid_examples/html-xml-utils-3.0/config.h.in deleted file mode 100644 index 7d6124d08..000000000 --- a/arid_examples/html-xml-utils-3.0/config.h.in +++ /dev/null @@ -1,178 +0,0 @@ -/* config.h.in. Generated from configure.in by autoheader. */ - -/* Define to 1 if you have the <arpa/inet.h> header file. */ -#undef HAVE_ARPA_INET_H - -/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you - don't. */ -#undef HAVE_DECL_STRERROR_R - -/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ -#undef HAVE_DOPRNT - -/* Define to 1 if you have the <errno.h> header file. */ -#undef HAVE_ERRNO_H - -/* Define to 1 if you have the <fcntl.h> header file. */ -#undef HAVE_FCNTL_H - -/* Define to 1 if you have the `gethostbyname' function. */ -#undef HAVE_GETHOSTBYNAME - -/* Define to 1 if you have the <inttypes.h> header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the <machine/ansi.h> header file. */ -#undef HAVE_MACHINE_ANSI_H - -/* Define to 1 if your system has a GNU libc compatible `malloc' function, and - to 0 otherwise. */ -#undef HAVE_MALLOC - -/* Define to 1 if you have the `memmove' function. */ -#undef HAVE_MEMMOVE - -/* Define to 1 if you have the <memory.h> header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the `memset' function. */ -#undef HAVE_MEMSET - -/* Define to 1 if you have the <netdb.h> header file. */ -#undef HAVE_NETDB_H - -/* Define to 1 if you have the <netinet/in.h> header file. */ -#undef HAVE_NETINET_IN_H - -/* Define to 1 if you have the `regcomp' function. */ -#undef HAVE_REGCOMP - -/* Define to 1 if you have the <search.h> header file. */ -#undef HAVE_SEARCH_H - -/* Define to 1 if you have the `socket' function. */ -#undef HAVE_SOCKET - -/* Define to 1 if you have the <stddef.h> header file. */ -#undef HAVE_STDDEF_H - -/* Define to 1 if you have the <stdint.h> header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the `strcasecmp' function. */ -#undef HAVE_STRCASECMP - -/* Define to 1 if you have the `strchr' function. */ -#undef HAVE_STRCHR - -/* Define to 1 if you have the `strcspn' function. */ -#undef HAVE_STRCSPN - -/* Define to 1 if you have the `strdup' function. */ -#undef HAVE_STRDUP - -/* Define to 1 if you have the `strerror' function. */ -#undef HAVE_STRERROR - -/* Define to 1 if you have the `strerror_r' function. */ -#undef HAVE_STRERROR_R - -/* Define to 1 if you have the <strings.h> header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the <string.h> header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the `strncasecmp' function. */ -#undef HAVE_STRNCASECMP - -/* Define to 1 if you have the `strndup' function. */ -#undef HAVE_STRNDUP - -/* Define to 1 if you have the `strrchr' function. */ -#undef HAVE_STRRCHR - -/* Define to 1 if you have the `strspn' function. */ -#undef HAVE_STRSPN - -/* Define to 1 if you have the `strstr' function. */ -#undef HAVE_STRSTR - -/* Define to 1 if you have the `strtol' function. */ -#undef HAVE_STRTOL - -/* Define to 1 if you have the <sys/socket.h> header file. */ -#undef HAVE_SYS_SOCKET_H - -/* Define to 1 if you have the <sys/stat.h> header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the <sys/types.h> header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the `tfind' function. */ -#undef HAVE_TFIND - -/* Define to 1 if you have the `tsearch' function. */ -#undef HAVE_TSEARCH - -/* Define to 1 if you have the `twalk' function. */ -#undef HAVE_TWALK - -/* Define to 1 if you have the <unistd.h> header file. */ -#undef HAVE_UNISTD_H - -/* Define to 1 if you have the `vprintf' function. */ -#undef HAVE_VPRINTF - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the home page for this package. */ -#undef PACKAGE_URL - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define to 1 if strerror_r returns char *. */ -#undef STRERROR_R_CHAR_P - -/* Version number of package */ -#undef VERSION - -/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a - `char[]'. */ -#undef YYTEXT_POINTER - -/* Define to empty if `const' does not conform to ANSI C. */ -#undef const - -/* Define to `__inline__' or `__inline' if that's what the C compiler - calls it, or to nothing if 'inline' is not supported under any name. */ -#ifndef __cplusplus -#undef inline -#endif - -/* Define to rpl_malloc if the replacement function should be used. */ -#undef malloc - -/* Define to `unsigned int' if <sys/types.h> does not define. */ -#undef size_t diff --git a/arid_examples/html-xml-utils-3.0/config.log b/arid_examples/html-xml-utils-3.0/config.log deleted file mode 100644 index e0c4583dc..000000000 --- a/arid_examples/html-xml-utils-3.0/config.log +++ /dev/null @@ -1,2912 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by configure, which was -generated by GNU Autoconf 2.65. Invocation command line was - - $ ./configure CPPFLAGS=-fno-stack-protector LDFLAGS=-static - -## --------- ## -## Platform. ## -## --------- ## - -hostname = ubuntu -uname -m = i686 -uname -r = 2.6.32-35-generic -uname -s = Linux -uname -v = #78-Ubuntu SMP Tue Oct 11 15:27:15 UTC 2011 - -/usr/bin/uname -p = unknown -/bin/uname -X = unknown - -/bin/arch = unknown -/usr/bin/arch -k = unknown -/usr/convex/getsysinfo = unknown -/usr/bin/hostinfo = unknown -/bin/machine = unknown -/usr/bin/oslevel = unknown -/bin/universe = unknown - -PATH: /usr/local/sbin -PATH: /usr/local/bin -PATH: /usr/sbin -PATH: /usr/bin -PATH: /sbin -PATH: /bin -PATH: /usr/games -PATH: /home/jdh8d/peasoup/grace/trunk/concolic/bin/ -PATH: /home/jdh8d/downloads/clang+llvm-2.9-i686-linux/bin -PATH: /home/jdh8d/peasoup/grace/trunk/concolic/bin/ -PATH: /home/jdh8d/downloads/clang+llvm-2.9-i686-linux/bin -PATH: /home/jdh8d/peasoup/grace/trunk/concolic/bin/ -PATH: /home/jdh8d/downloads/clang+llvm-2.9-i686-linux/bin -PATH: /home/jdh8d/peasoup/grace/trunk/concolic/bin/ -PATH: /home/jdh8d/downloads/clang+llvm-2.9-i686-linux/bin - - -## ----------- ## -## Core tests. ## -## ----------- ## - -configure:2240: checking for a BSD-compatible install -configure:2308: result: /usr/bin/install -c -configure:2319: checking whether build environment is sane -configure:2369: result: yes -configure:2510: checking for a thread-safe mkdir -p -configure:2549: result: /bin/mkdir -p -configure:2562: checking for gawk -configure:2578: found /usr/bin/gawk -configure:2589: result: gawk -configure:2600: checking whether make sets $(MAKE) -configure:2622: result: yes -configure:2754: checking for gcc -configure:2770: found /usr/bin/gcc -configure:2781: result: gcc -configure:3010: checking for C compiler version -configure:3019: gcc --version >&5 -gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 -Copyright (C) 2009 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -configure:3030: $? = 0 -configure:3019: gcc -v >&5 -Using built-in specs. -Target: i486-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu -Thread model: posix -gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) -configure:3030: $? = 0 -configure:3019: gcc -V >&5 -gcc: '-V' option must have argument -configure:3030: $? = 1 -configure:3019: gcc -qversion >&5 -gcc: unrecognized option '-qversion' -gcc: no input files -configure:3030: $? = 1 -configure:3050: checking whether the C compiler works -configure:3072: gcc -fno-stack-protector -static conftest.c >&5 -configure:3076: $? = 0 -configure:3125: result: yes -configure:3128: checking for C compiler default output file name -configure:3130: result: a.out -configure:3136: checking for suffix of executables -configure:3143: gcc -o conftest -fno-stack-protector -static conftest.c >&5 -configure:3147: $? = 0 -configure:3169: result: -configure:3191: checking whether we are cross compiling -configure:3199: gcc -o conftest -fno-stack-protector -static conftest.c >&5 -configure:3203: $? = 0 -configure:3210: ./conftest -configure:3214: $? = 0 -configure:3229: result: no -configure:3234: checking for suffix of object files -configure:3256: gcc -c -fno-stack-protector conftest.c >&5 -configure:3260: $? = 0 -configure:3281: result: o -configure:3285: checking whether we are using the GNU C compiler -configure:3304: gcc -c -fno-stack-protector conftest.c >&5 -configure:3304: $? = 0 -configure:3313: result: yes -configure:3322: checking whether gcc accepts -g -configure:3342: gcc -c -g -fno-stack-protector conftest.c >&5 -configure:3342: $? = 0 -configure:3383: result: yes -configure:3400: checking for gcc option to accept ISO C89 -configure:3464: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:3464: $? = 0 -configure:3477: result: none needed -configure:3508: checking for style of include used by make -configure:3536: result: GNU -configure:3561: checking dependency style of gcc -configure:3671: result: gcc3 -configure:3691: checking how to run the C preprocessor -configure:3722: gcc -E -fno-stack-protector conftest.c -configure:3722: $? = 0 -configure:3736: gcc -E -fno-stack-protector conftest.c -conftest.c:11:28: error: ac_nonexistent.h: No such file or directory -configure:3736: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define PACKAGE "html-xml-utils" -| #define VERSION "3.0" -| /* end confdefs.h. */ -| #include <ac_nonexistent.h> -configure:3761: result: gcc -E -configure:3781: gcc -E -fno-stack-protector conftest.c -configure:3781: $? = 0 -configure:3795: gcc -E -fno-stack-protector conftest.c -conftest.c:11:28: error: ac_nonexistent.h: No such file or directory -configure:3795: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define PACKAGE "html-xml-utils" -| #define VERSION "3.0" -| /* end confdefs.h. */ -| #include <ac_nonexistent.h> -configure:3829: checking for gawk -configure:3856: result: gawk -configure:3872: checking how to run the C preprocessor -configure:3942: result: gcc -E -configure:3962: gcc -E -fno-stack-protector conftest.c -configure:3962: $? = 0 -configure:3976: gcc -E -fno-stack-protector conftest.c -conftest.c:11:28: error: ac_nonexistent.h: No such file or directory -configure:3976: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define PACKAGE "html-xml-utils" -| #define VERSION "3.0" -| /* end confdefs.h. */ -| #include <ac_nonexistent.h> -configure:4009: checking for flex -configure:4025: found /usr/bin/flex -configure:4036: result: flex -configure:4073: flex conftest.l -configure:4077: $? = 0 -configure:4079: checking lex output file root -configure:4093: result: lex.yy -configure:4098: checking lex library -configure:4112: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -/tmp/ccHKGWBH.o: In function `input': -/home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/lex.yy.c:1182: undefined reference to `yywrap' -/tmp/ccHKGWBH.o: In function `yylex': -/home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/lex.yy.c:881: undefined reference to `yywrap' -/tmp/ccHKGWBH.o: In function `main': -/home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/conftest.l:17: undefined reference to `yywrap' -collect2: ld returned 1 exit status -configure:4112: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define PACKAGE "html-xml-utils" -| #define VERSION "3.0" -| /* end confdefs.h. */ -| -| #line 3 "lex.yy.c" -| -| #define YY_INT_ALIGNED short int -| -| /* A lexical scanner generated by flex */ -| -| #define FLEX_SCANNER -| #define YY_FLEX_MAJOR_VERSION 2 -| #define YY_FLEX_MINOR_VERSION 5 -| #define YY_FLEX_SUBMINOR_VERSION 35 -| #if YY_FLEX_SUBMINOR_VERSION > 0 -| #define FLEX_BETA -| #endif -| -| /* First, we deal with platform-specific or compiler-specific issues. */ -| -| /* begin standard C headers. */ -| #include <stdio.h> -| #include <string.h> -| #include <errno.h> -| #include <stdlib.h> -| -| /* end standard C headers. */ -| -| /* flex integer type definitions */ -| -| #ifndef FLEXINT_H -| #define FLEXINT_H -| -| /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ -| -| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -| -| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, -| * if you want the limit (max/min) macros for int types. -| */ -| #ifndef __STDC_LIMIT_MACROS -| #define __STDC_LIMIT_MACROS 1 -| #endif -| -| #include <inttypes.h> -| typedef int8_t flex_int8_t; -| typedef uint8_t flex_uint8_t; -| typedef int16_t flex_int16_t; -| typedef uint16_t flex_uint16_t; -| typedef int32_t flex_int32_t; -| typedef uint32_t flex_uint32_t; -| #else -| typedef signed char flex_int8_t; -| typedef short int flex_int16_t; -| typedef int flex_int32_t; -| typedef unsigned char flex_uint8_t; -| typedef unsigned short int flex_uint16_t; -| typedef unsigned int flex_uint32_t; -| -| /* Limits of integral types. */ -| #ifndef INT8_MIN -| #define INT8_MIN (-128) -| #endif -| #ifndef INT16_MIN -| #define INT16_MIN (-32767-1) -| #endif -| #ifndef INT32_MIN -| #define INT32_MIN (-2147483647-1) -| #endif -| #ifndef INT8_MAX -| #define INT8_MAX (127) -| #endif -| #ifndef INT16_MAX -| #define INT16_MAX (32767) -| #endif -| #ifndef INT32_MAX -| #define INT32_MAX (2147483647) -| #endif -| #ifndef UINT8_MAX -| #define UINT8_MAX (255U) -| #endif -| #ifndef UINT16_MAX -| #define UINT16_MAX (65535U) -| #endif -| #ifndef UINT32_MAX -| #define UINT32_MAX (4294967295U) -| #endif -| -| #endif /* ! C99 */ -| -| #endif /* ! FLEXINT_H */ -| -| #ifdef __cplusplus -| -| /* The "const" storage-class-modifier is valid. */ -| #define YY_USE_CONST -| -| #else /* ! __cplusplus */ -| -| /* C99 requires __STDC__ to be defined as 1. */ -| #if defined (__STDC__) -| -| #define YY_USE_CONST -| -| #endif /* defined (__STDC__) */ -| #endif /* ! __cplusplus */ -| -| #ifdef YY_USE_CONST -| #define yyconst const -| #else -| #define yyconst -| #endif -| -| /* Returned upon end-of-file. */ -| #define YY_NULL 0 -| -| /* Promotes a possibly negative, possibly signed char to an unsigned -| * integer for use as an array index. If the signed char is negative, -| * we want to instead treat it as an 8-bit unsigned char, hence the -| * double cast. -| */ -| #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) -| -| /* Enter a start condition. This macro really ought to take a parameter, -| * but we do it the disgusting crufty way forced on us by the ()-less -| * definition of BEGIN. -| */ -| #define BEGIN (yy_start) = 1 + 2 * -| -| /* Translate the current start state into a value that can be later handed -| * to BEGIN to return to the state. The YYSTATE alias is for lex -| * compatibility. -| */ -| #define YY_START (((yy_start) - 1) / 2) -| #define YYSTATE YY_START -| -| /* Action number for EOF rule of a given start state. */ -| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) -| -| /* Special action meaning "start processing a new file". */ -| #define YY_NEW_FILE yyrestart(yyin ) -| -| #define YY_END_OF_BUFFER_CHAR 0 -| -| /* Size of default input buffer. */ -| #ifndef YY_BUF_SIZE -| #ifdef __ia64__ -| /* On IA-64, the buffer size is 16k, not 8k. -| * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. -| * Ditto for the __ia64__ case accordingly. -| */ -| #define YY_BUF_SIZE 32768 -| #else -| #define YY_BUF_SIZE 16384 -| #endif /* __ia64__ */ -| #endif -| -| /* The state buf must be large enough to hold one state per character in the main buffer. -| */ -| #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) -| -| #ifndef YY_TYPEDEF_YY_BUFFER_STATE -| #define YY_TYPEDEF_YY_BUFFER_STATE -| typedef struct yy_buffer_state *YY_BUFFER_STATE; -| #endif -| -| extern int yyleng; -| -| extern FILE *yyin, *yyout; -| -| #define EOB_ACT_CONTINUE_SCAN 0 -| #define EOB_ACT_END_OF_FILE 1 -| #define EOB_ACT_LAST_MATCH 2 -| -| #define YY_LESS_LINENO(n) -| -| /* Return all but the first "n" matched characters back to the input stream. */ -| #define yyless(n) \ -| do \ -| { \ -| /* Undo effects of setting up yytext. */ \ -| int yyless_macro_arg = (n); \ -| YY_LESS_LINENO(yyless_macro_arg);\ -| *yy_cp = (yy_hold_char); \ -| YY_RESTORE_YY_MORE_OFFSET \ -| (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ -| YY_DO_BEFORE_ACTION; /* set up yytext again */ \ -| } \ -| while ( 0 ) -| -| #define unput(c) yyunput( c, (yytext_ptr) ) -| -| #ifndef YY_TYPEDEF_YY_SIZE_T -| #define YY_TYPEDEF_YY_SIZE_T -| typedef size_t yy_size_t; -| #endif -| -| #ifndef YY_STRUCT_YY_BUFFER_STATE -| #define YY_STRUCT_YY_BUFFER_STATE -| struct yy_buffer_state -| { -| FILE *yy_input_file; -| -| char *yy_ch_buf; /* input buffer */ -| char *yy_buf_pos; /* current position in input buffer */ -| -| /* Size of input buffer in bytes, not including room for EOB -| * characters. -| */ -| yy_size_t yy_buf_size; -| -| /* Number of characters read into yy_ch_buf, not including EOB -| * characters. -| */ -| int yy_n_chars; -| -| /* Whether we "own" the buffer - i.e., we know we created it, -| * and can realloc() it to grow it, and should free() it to -| * delete it. -| */ -| int yy_is_our_buffer; -| -| /* Whether this is an "interactive" input source; if so, and -| * if we're using stdio for input, then we want to use getc() -| * instead of fread(), to make sure we stop fetching input after -| * each newline. -| */ -| int yy_is_interactive; -| -| /* Whether we're considered to be at the beginning of a line. -| * If so, '^' rules will be active on the next match, otherwise -| * not. -| */ -| int yy_at_bol; -| -| int yy_bs_lineno; /**< The line count. */ -| int yy_bs_column; /**< The column count. */ -| -| /* Whether to try to fill the input buffer when we reach the -| * end of it. -| */ -| int yy_fill_buffer; -| -| int yy_buffer_status; -| -| #define YY_BUFFER_NEW 0 -| #define YY_BUFFER_NORMAL 1 -| /* When an EOF's been seen but there's still some text to process -| * then we mark the buffer as YY_EOF_PENDING, to indicate that we -| * shouldn't try reading from the input source any more. We might -| * still have a bunch of tokens to match, though, because of -| * possible backing-up. -| * -| * When we actually see the EOF, we change the status to "new" -| * (via yyrestart()), so that the user can continue scanning by -| * just pointing yyin at a new input file. -| */ -| #define YY_BUFFER_EOF_PENDING 2 -| -| }; -| #endif /* !YY_STRUCT_YY_BUFFER_STATE */ -| -| /* Stack of input buffers. */ -| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ -| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ -| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ -| -| /* We provide macros for accessing buffer states in case in the -| * future we want to put the buffer states in a more general -| * "scanner state". -| * -| * Returns the top of the stack, or NULL. -| */ -| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ -| ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ -| : NULL) -| -| /* Same as previous macro, but useful when we know that the buffer stack is not -| * NULL or when we need an lvalue. For internal use only. -| */ -| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] -| -| /* yy_hold_char holds the character lost when yytext is formed. */ -| static char yy_hold_char; -| static int yy_n_chars; /* number of characters read into yy_ch_buf */ -| int yyleng; -| -| /* Points to current character in buffer. */ -| static char *yy_c_buf_p = (char *) 0; -| static int yy_init = 0; /* whether we need to initialize */ -| static int yy_start = 0; /* start state number */ -| -| /* Flag which is used to allow yywrap()'s to do buffer switches -| * instead of setting up a fresh yyin. A bit of a hack ... -| */ -| static int yy_did_buffer_switch_on_eof; -| -| void yyrestart (FILE *input_file ); -| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); -| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); -| void yy_delete_buffer (YY_BUFFER_STATE b ); -| void yy_flush_buffer (YY_BUFFER_STATE b ); -| void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); -| void yypop_buffer_state (void ); -| -| static void yyensure_buffer_stack (void ); -| static void yy_load_buffer_state (void ); -| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); -| -| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) -| -| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); -| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); -| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); -| -| void *yyalloc (yy_size_t ); -| void *yyrealloc (void *,yy_size_t ); -| void yyfree (void * ); -| -| #define yy_new_buffer yy_create_buffer -| -| #define yy_set_interactive(is_interactive) \ -| { \ -| if ( ! YY_CURRENT_BUFFER ){ \ -| yyensure_buffer_stack (); \ -| YY_CURRENT_BUFFER_LVALUE = \ -| yy_create_buffer(yyin,YY_BUF_SIZE ); \ -| } \ -| YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ -| } -| -| #define yy_set_bol(at_bol) \ -| { \ -| if ( ! YY_CURRENT_BUFFER ){\ -| yyensure_buffer_stack (); \ -| YY_CURRENT_BUFFER_LVALUE = \ -| yy_create_buffer(yyin,YY_BUF_SIZE ); \ -| } \ -| YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ -| } -| -| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) -| -| /* Begin user sect3 */ -| -| typedef unsigned char YY_CHAR; -| -| FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -| -| typedef int yy_state_type; -| -| extern int yylineno; -| -| int yylineno = 1; -| -| extern char *yytext; -| #define yytext_ptr yytext -| -| static yy_state_type yy_get_previous_state (void ); -| static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); -| static int yy_get_next_buffer (void ); -| static void yy_fatal_error (yyconst char msg[] ); -| -| /* Done after the current pattern has been matched and before the -| * corresponding action - sets up yytext. -| */ -| #define YY_DO_BEFORE_ACTION \ -| (yytext_ptr) = yy_bp; \ -| (yytext_ptr) -= (yy_more_len); \ -| yyleng = (size_t) (yy_cp - (yytext_ptr)); \ -| (yy_hold_char) = *yy_cp; \ -| *yy_cp = '\0'; \ -| (yy_c_buf_p) = yy_cp; -| -| #define YY_NUM_RULES 8 -| #define YY_END_OF_BUFFER 9 -| /* This struct is not used in this scanner, -| but its presence is necessary. */ -| struct yy_trans_info -| { -| flex_int32_t yy_verify; -| flex_int32_t yy_nxt; -| }; -| static yyconst flex_int16_t yy_acclist[23] = -| { 0, -| 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, -| 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, -| 7, 8 -| } ; -| -| static yyconst flex_int16_t yy_accept[14] = -| { 0, -| 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, -| 20, 23, 23 -| } ; -| -| static yyconst flex_int32_t yy_ec[256] = -| { 0, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, -| -| 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -| 1, 1, 1, 1, 1 -| } ; -| -| static yyconst flex_int32_t yy_meta[9] = -| { 0, -| 1, 1, 1, 1, 1, 1, 1, 1 -| } ; -| -| static yyconst flex_int16_t yy_base[13] = -| { 0, -| 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, -| 10, 10 -| } ; -| -| static yyconst flex_int16_t yy_def[13] = -| { 0, -| 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, -| 12, 0 -| } ; -| -| static yyconst flex_int16_t yy_nxt[19] = -| { 0, -| 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, -| 12, 12, 12, 12, 12, 12, 12, 12 -| } ; -| -| static yyconst flex_int16_t yy_chk[19] = -| { 0, -| 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, -| 12, 12, 12, 12, 12, 12, 12, 12 -| } ; -| -| extern int yy_flex_debug; -| int yy_flex_debug = 0; -| -| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; -| static char *yy_full_match; -| static int yy_lp; -| #define REJECT \ -| { \ -| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ -| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ -| ++(yy_lp); \ -| goto find_rule; \ -| } -| -| static int yy_more_flag = 0; -| static int yy_more_len = 0; -| #define yymore() ((yy_more_flag) = 1) -| #define YY_MORE_ADJ (yy_more_len) -| #define YY_RESTORE_YY_MORE_OFFSET -| char *yytext; -| #line 1 "conftest.l" -| #line 477 "lex.yy.c" -| -| #define INITIAL 0 -| -| #ifndef YY_NO_UNISTD_H -| /* Special case for "unistd.h", since it is non-ANSI. We include it way -| * down here because we want the user's section 1 to have been scanned first. -| * The user has a chance to override it with an option. -| */ -| #include <unistd.h> -| #endif -| -| #ifndef YY_EXTRA_TYPE -| #define YY_EXTRA_TYPE void * -| #endif -| -| static int yy_init_globals (void ); -| -| /* Accessor methods to globals. -| These are made visible to non-reentrant scanners for convenience. */ -| -| int yylex_destroy (void ); -| -| int yyget_debug (void ); -| -| void yyset_debug (int debug_flag ); -| -| YY_EXTRA_TYPE yyget_extra (void ); -| -| void yyset_extra (YY_EXTRA_TYPE user_defined ); -| -| FILE *yyget_in (void ); -| -| void yyset_in (FILE * in_str ); -| -| FILE *yyget_out (void ); -| -| void yyset_out (FILE * out_str ); -| -| int yyget_leng (void ); -| -| char *yyget_text (void ); -| -| int yyget_lineno (void ); -| -| void yyset_lineno (int line_number ); -| -| /* Macros after this point can all be overridden by user definitions in -| * section 1. -| */ -| -| #ifndef YY_SKIP_YYWRAP -| #ifdef __cplusplus -| extern "C" int yywrap (void ); -| #else -| extern int yywrap (void ); -| #endif -| #endif -| -| static void yyunput (int c,char *buf_ptr ); -| -| #ifndef yytext_ptr -| static void yy_flex_strncpy (char *,yyconst char *,int ); -| #endif -| -| #ifdef YY_NEED_STRLEN -| static int yy_flex_strlen (yyconst char * ); -| #endif -| -| #ifndef YY_NO_INPUT -| -| #ifdef __cplusplus -| static int yyinput (void ); -| #else -| static int input (void ); -| #endif -| -| #endif -| -| /* Amount of stuff to slurp up with each read. */ -| #ifndef YY_READ_BUF_SIZE -| #ifdef __ia64__ -| /* On IA-64, the buffer size is 16k, not 8k */ -| #define YY_READ_BUF_SIZE 16384 -| #else -| #define YY_READ_BUF_SIZE 8192 -| #endif /* __ia64__ */ -| #endif -| -| /* Copy whatever the last rule matched to the standard output. */ -| #ifndef ECHO -| /* This used to be an fputs(), but since the string might contain NUL's, -| * we now use fwrite(). -| */ -| #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) -| #endif -| -| /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, -| * is returned in "result". -| */ -| #ifndef YY_INPUT -| #define YY_INPUT(buf,result,max_size) \ -| if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ -| { \ -| int c = '*'; \ -| size_t n; \ -| for ( n = 0; n < max_size && \ -| (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ -| buf[n] = (char) c; \ -| if ( c == '\n' ) \ -| buf[n++] = (char) c; \ -| if ( c == EOF && ferror( yyin ) ) \ -| YY_FATAL_ERROR( "input in flex scanner failed" ); \ -| result = n; \ -| } \ -| else \ -| { \ -| errno=0; \ -| while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ -| { \ -| if( errno != EINTR) \ -| { \ -| YY_FATAL_ERROR( "input in flex scanner failed" ); \ -| break; \ -| } \ -| errno=0; \ -| clearerr(yyin); \ -| } \ -| }\ -| \ -| -| #endif -| -| /* No semi-colon after return; correct usage is to write "yyterminate();" - -| * we don't want an extra ';' after the "return" because that will cause -| * some compilers to complain about unreachable statements. -| */ -| #ifndef yyterminate -| #define yyterminate() return YY_NULL -| #endif -| -| /* Number of entries by which start-condition stack grows. */ -| #ifndef YY_START_STACK_INCR -| #define YY_START_STACK_INCR 25 -| #endif -| -| /* Report a fatal error. */ -| #ifndef YY_FATAL_ERROR -| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -| #endif -| -| /* end tables serialization structures and prototypes */ -| -| /* Default declaration of generated scanner - a define so the user can -| * easily add parameters. -| */ -| #ifndef YY_DECL -| #define YY_DECL_IS_OURS 1 -| -| extern int yylex (void); -| -| #define YY_DECL int yylex (void) -| #endif /* !YY_DECL */ -| -| /* Code executed at the beginning of each rule, after yytext and yyleng -| * have been set up. -| */ -| #ifndef YY_USER_ACTION -| #define YY_USER_ACTION -| #endif -| -| /* Code executed at the end of each rule. */ -| #ifndef YY_BREAK -| #define YY_BREAK break; -| #endif -| -| #define YY_RULE_SETUP \ -| YY_USER_ACTION -| -| /** The main scanner function which does all the work. -| */ -| YY_DECL -| { -| register yy_state_type yy_current_state; -| register char *yy_cp, *yy_bp; -| register int yy_act; -| -| #line 1 "conftest.l" -| -| #line 666 "lex.yy.c" -| -| if ( !(yy_init) ) -| { -| (yy_init) = 1; -| -| #ifdef YY_USER_INIT -| YY_USER_INIT; -| #endif -| -| /* Create the reject buffer large enough to save one state per allowed character. */ -| if ( ! (yy_state_buf) ) -| (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); -| if ( ! (yy_state_buf) ) -| YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); -| -| if ( ! (yy_start) ) -| (yy_start) = 1; /* first start state */ -| -| if ( ! yyin ) -| yyin = stdin; -| -| if ( ! yyout ) -| yyout = stdout; -| -| if ( ! YY_CURRENT_BUFFER ) { -| yyensure_buffer_stack (); -| YY_CURRENT_BUFFER_LVALUE = -| yy_create_buffer(yyin,YY_BUF_SIZE ); -| } -| -| yy_load_buffer_state( ); -| } -| -| while ( 1 ) /* loops until end-of-file is reached */ -| { -| (yy_more_len) = 0; -| if ( (yy_more_flag) ) -| { -| (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); -| (yy_more_flag) = 0; -| } -| yy_cp = (yy_c_buf_p); -| -| /* Support of yytext. */ -| *yy_cp = (yy_hold_char); -| -| /* yy_bp points to the position in yy_ch_buf of the start of -| * the current run. -| */ -| yy_bp = yy_cp; -| -| yy_current_state = (yy_start); -| -| (yy_state_ptr) = (yy_state_buf); -| *(yy_state_ptr)++ = yy_current_state; -| -| yy_match: -| do -| { -| register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; -| while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) -| { -| yy_current_state = (int) yy_def[yy_current_state]; -| if ( yy_current_state >= 13 ) -| yy_c = yy_meta[(unsigned int) yy_c]; -| } -| yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; -| *(yy_state_ptr)++ = yy_current_state; -| ++yy_cp; -| } -| while ( yy_base[yy_current_state] != 10 ); -| -| yy_find_action: -| yy_current_state = *--(yy_state_ptr); -| (yy_lp) = yy_accept[yy_current_state]; -| find_rule: /* we branch to this label when backing up */ -| for ( ; ; ) /* until we find what rule we matched */ -| { -| if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) -| { -| yy_act = yy_acclist[(yy_lp)]; -| { -| (yy_full_match) = yy_cp; -| break; -| } -| } -| --yy_cp; -| yy_current_state = *--(yy_state_ptr); -| (yy_lp) = yy_accept[yy_current_state]; -| } -| -| YY_DO_BEFORE_ACTION; -| -| do_action: /* This label is used only to access EOF actions. */ -| -| switch ( yy_act ) -| { /* beginning of action switch */ -| case 1: -| YY_RULE_SETUP -| #line 2 "conftest.l" -| { ECHO; } -| YY_BREAK -| case 2: -| YY_RULE_SETUP -| #line 3 "conftest.l" -| { REJECT; } -| YY_BREAK -| case 3: -| YY_RULE_SETUP -| #line 4 "conftest.l" -| { yymore (); } -| YY_BREAK -| case 4: -| YY_RULE_SETUP -| #line 5 "conftest.l" -| { yyless (1); } -| YY_BREAK -| case 5: -| YY_RULE_SETUP -| #line 6 "conftest.l" -| { yyless (input () != 0); } -| YY_BREAK -| case 6: -| YY_RULE_SETUP -| #line 7 "conftest.l" -| { unput (yytext[0]); } -| YY_BREAK -| case 7: -| YY_RULE_SETUP -| #line 8 "conftest.l" -| { BEGIN INITIAL; } -| YY_BREAK -| case 8: -| YY_RULE_SETUP -| #line 9 "conftest.l" -| ECHO; -| YY_BREAK -| #line 804 "lex.yy.c" -| case YY_STATE_EOF(INITIAL): -| yyterminate(); -| -| case YY_END_OF_BUFFER: -| { -| /* Amount of text matched not including the EOB char. */ -| int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; -| -| /* Undo the effects of YY_DO_BEFORE_ACTION. */ -| *yy_cp = (yy_hold_char); -| YY_RESTORE_YY_MORE_OFFSET -| -| if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) -| { -| /* We're scanning a new file or input source. It's -| * possible that this happened because the user -| * just pointed yyin at a new source and called -| * yylex(). If so, then we have to assure -| * consistency between YY_CURRENT_BUFFER and our -| * globals. Here is the right place to do so, because -| * this is the first action (other than possibly a -| * back-up) that will match for the new input source. -| */ -| (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; -| YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; -| YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; -| } -| -| /* Note that here we test for yy_c_buf_p "<=" to the position -| * of the first EOB in the buffer, since yy_c_buf_p will -| * already have been incremented past the NUL character -| * (since all states make transitions on EOB to the -| * end-of-buffer state). Contrast this with the test -| * in input(). -| */ -| if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) -| { /* This was really a NUL. */ -| yy_state_type yy_next_state; -| -| (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; -| -| yy_current_state = yy_get_previous_state( ); -| -| /* Okay, we're now positioned to make the NUL -| * transition. We couldn't have -| * yy_get_previous_state() go ahead and do it -| * for us because it doesn't know how to deal -| * with the possibility of jamming (and we don't -| * want to build jamming into it because then it -| * will run more slowly). -| */ -| -| yy_next_state = yy_try_NUL_trans( yy_current_state ); -| -| yy_bp = (yytext_ptr) + YY_MORE_ADJ; -| -| if ( yy_next_state ) -| { -| /* Consume the NUL. */ -| yy_cp = ++(yy_c_buf_p); -| yy_current_state = yy_next_state; -| goto yy_match; -| } -| -| else -| { -| yy_cp = (yy_c_buf_p); -| goto yy_find_action; -| } -| } -| -| else switch ( yy_get_next_buffer( ) ) -| { -| case EOB_ACT_END_OF_FILE: -| { -| (yy_did_buffer_switch_on_eof) = 0; -| -| if ( yywrap( ) ) -| { -| /* Note: because we've taken care in -| * yy_get_next_buffer() to have set up -| * yytext, we can now set up -| * yy_c_buf_p so that if some total -| * hoser (like flex itself) wants to -| * call the scanner after we return the -| * YY_NULL, it'll still work - another -| * YY_NULL will get returned. -| */ -| (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; -| -| yy_act = YY_STATE_EOF(YY_START); -| goto do_action; -| } -| -| else -| { -| if ( ! (yy_did_buffer_switch_on_eof) ) -| YY_NEW_FILE; -| } -| break; -| } -| -| case EOB_ACT_CONTINUE_SCAN: -| (yy_c_buf_p) = -| (yytext_ptr) + yy_amount_of_matched_text; -| -| yy_current_state = yy_get_previous_state( ); -| -| yy_cp = (yy_c_buf_p); -| yy_bp = (yytext_ptr) + YY_MORE_ADJ; -| goto yy_match; -| -| case EOB_ACT_LAST_MATCH: -| (yy_c_buf_p) = -| &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; -| -| yy_current_state = yy_get_previous_state( ); -| -| yy_cp = (yy_c_buf_p); -| yy_bp = (yytext_ptr) + YY_MORE_ADJ; -| goto yy_find_action; -| } -| break; -| } -| -| default: -| YY_FATAL_ERROR( -| "fatal flex scanner internal error--no action found" ); -| } /* end of action switch */ -| } /* end of scanning one token */ -| } /* end of yylex */ -| -| /* yy_get_next_buffer - try to read in a new buffer -| * -| * Returns a code representing an action: -| * EOB_ACT_LAST_MATCH - -| * EOB_ACT_CONTINUE_SCAN - continue scanning from current position -| * EOB_ACT_END_OF_FILE - end of file -| */ -| static int yy_get_next_buffer (void) -| { -| register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; -| register char *source = (yytext_ptr); -| register int number_to_move, i; -| int ret_val; -| -| if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) -| YY_FATAL_ERROR( -| "fatal flex scanner internal error--end of buffer missed" ); -| -| if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) -| { /* Don't try to fill the buffer, so this is an EOF. */ -| if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) -| { -| /* We matched a single character, the EOB, so -| * treat this as a final EOF. -| */ -| return EOB_ACT_END_OF_FILE; -| } -| -| else -| { -| /* We matched some text prior to the EOB, first -| * process it. -| */ -| return EOB_ACT_LAST_MATCH; -| } -| } -| -| /* Try to read more data. */ -| -| /* First move last chars to start of buffer. */ -| number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; -| -| for ( i = 0; i < number_to_move; ++i ) -| *(dest++) = *(source++); -| -| if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) -| /* don't do the read, it's not guaranteed to return an EOF, -| * just force an EOF -| */ -| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; -| -| else -| { -| int num_to_read = -| YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; -| -| while ( num_to_read <= 0 ) -| { /* Not enough room in the buffer - grow it. */ -| -| YY_FATAL_ERROR( -| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -| -| } -| -| if ( num_to_read > YY_READ_BUF_SIZE ) -| num_to_read = YY_READ_BUF_SIZE; -| -| /* Read in more data. */ -| YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), -| (yy_n_chars), (size_t) num_to_read ); -| -| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); -| } -| -| if ( (yy_n_chars) == 0 ) -| { -| if ( number_to_move == YY_MORE_ADJ ) -| { -| ret_val = EOB_ACT_END_OF_FILE; -| yyrestart(yyin ); -| } -| -| else -| { -| ret_val = EOB_ACT_LAST_MATCH; -| YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = -| YY_BUFFER_EOF_PENDING; -| } -| } -| -| else -| ret_val = EOB_ACT_CONTINUE_SCAN; -| -| if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { -| /* Extend the array by 50%, plus the number we really need. */ -| yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); -| YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); -| if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) -| YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); -| } -| -| (yy_n_chars) += number_to_move; -| YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; -| YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; -| -| (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; -| -| return ret_val; -| } -| -| /* yy_get_previous_state - get the state just before the EOB char was reached */ -| -| static yy_state_type yy_get_previous_state (void) -| { -| register yy_state_type yy_current_state; -| register char *yy_cp; -| -| yy_current_state = (yy_start); -| -| (yy_state_ptr) = (yy_state_buf); -| *(yy_state_ptr)++ = yy_current_state; -| -| for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) -| { -| register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); -| while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) -| { -| yy_current_state = (int) yy_def[yy_current_state]; -| if ( yy_current_state >= 13 ) -| yy_c = yy_meta[(unsigned int) yy_c]; -| } -| yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; -| *(yy_state_ptr)++ = yy_current_state; -| } -| -| return yy_current_state; -| } -| -| /* yy_try_NUL_trans - try to make a transition on the NUL character -| * -| * synopsis -| * next_state = yy_try_NUL_trans( current_state ); -| */ -| static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) -| { -| register int yy_is_jam; -| -| register YY_CHAR yy_c = 1; -| while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) -| { -| yy_current_state = (int) yy_def[yy_current_state]; -| if ( yy_current_state >= 13 ) -| yy_c = yy_meta[(unsigned int) yy_c]; -| } -| yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; -| yy_is_jam = (yy_current_state == 12); -| if ( ! yy_is_jam ) -| *(yy_state_ptr)++ = yy_current_state; -| -| return yy_is_jam ? 0 : yy_current_state; -| } -| -| static void yyunput (int c, register char * yy_bp ) -| { -| register char *yy_cp; -| -| yy_cp = (yy_c_buf_p); -| -| /* undo effects of setting up yytext */ -| *yy_cp = (yy_hold_char); -| -| if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) -| { /* need to shift things up to make room */ -| /* +2 for EOB chars. */ -| register int number_to_move = (yy_n_chars) + 2; -| register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ -| YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; -| register char *source = -| &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; -| -| while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) -| *--dest = *--source; -| -| yy_cp += (int) (dest - source); -| yy_bp += (int) (dest - source); -| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = -| (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; -| -| if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) -| YY_FATAL_ERROR( "flex scanner push-back overflow" ); -| } -| -| *--yy_cp = (char) c; -| -| (yytext_ptr) = yy_bp; -| (yy_hold_char) = *yy_cp; -| (yy_c_buf_p) = yy_cp; -| } -| -| #ifndef YY_NO_INPUT -| #ifdef __cplusplus -| static int yyinput (void) -| #else -| static int input (void) -| #endif -| -| { -| int c; -| -| *(yy_c_buf_p) = (yy_hold_char); -| -| if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) -| { -| /* yy_c_buf_p now points to the character we want to return. -| * If this occurs *before* the EOB characters, then it's a -| * valid NUL; if not, then we've hit the end of the buffer. -| */ -| if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) -| /* This was really a NUL. */ -| *(yy_c_buf_p) = '\0'; -| -| else -| { /* need more input */ -| int offset = (yy_c_buf_p) - (yytext_ptr); -| ++(yy_c_buf_p); -| -| switch ( yy_get_next_buffer( ) ) -| { -| case EOB_ACT_LAST_MATCH: -| /* This happens because yy_g_n_b() -| * sees that we've accumulated a -| * token and flags that we need to -| * try matching the token before -| * proceeding. But for input(), -| * there's no matching to consider. -| * So convert the EOB_ACT_LAST_MATCH -| * to EOB_ACT_END_OF_FILE. -| */ -| -| /* Reset buffer status. */ -| yyrestart(yyin ); -| -| /*FALLTHROUGH*/ -| -| case EOB_ACT_END_OF_FILE: -| { -| if ( yywrap( ) ) -| return EOF; -| -| if ( ! (yy_did_buffer_switch_on_eof) ) -| YY_NEW_FILE; -| #ifdef __cplusplus -| return yyinput(); -| #else -| return input(); -| #endif -| } -| -| case EOB_ACT_CONTINUE_SCAN: -| (yy_c_buf_p) = (yytext_ptr) + offset; -| break; -| } -| } -| } -| -| c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ -| *(yy_c_buf_p) = '\0'; /* preserve yytext */ -| (yy_hold_char) = *++(yy_c_buf_p); -| -| return c; -| } -| #endif /* ifndef YY_NO_INPUT */ -| -| /** Immediately switch to a different input stream. -| * @param input_file A readable stream. -| * -| * @note This function does not reset the start condition to @c INITIAL . -| */ -| void yyrestart (FILE * input_file ) -| { -| -| if ( ! YY_CURRENT_BUFFER ){ -| yyensure_buffer_stack (); -| YY_CURRENT_BUFFER_LVALUE = -| yy_create_buffer(yyin,YY_BUF_SIZE ); -| } -| -| yy_init_buffer(YY_CURRENT_BUFFER,input_file ); -| yy_load_buffer_state( ); -| } -| -| /** Switch to a different input buffer. -| * @param new_buffer The new input buffer. -| * -| */ -| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) -| { -| -| /* TODO. We should be able to replace this entire function body -| * with -| * yypop_buffer_state(); -| * yypush_buffer_state(new_buffer); -| */ -| yyensure_buffer_stack (); -| if ( YY_CURRENT_BUFFER == new_buffer ) -| return; -| -| if ( YY_CURRENT_BUFFER ) -| { -| /* Flush out information for old buffer. */ -| *(yy_c_buf_p) = (yy_hold_char); -| YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); -| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); -| } -| -| YY_CURRENT_BUFFER_LVALUE = new_buffer; -| yy_load_buffer_state( ); -| -| /* We don't actually know whether we did this switch during -| * EOF (yywrap()) processing, but the only time this flag -| * is looked at is after yywrap() is called, so it's safe -| * to go ahead and always set it. -| */ -| (yy_did_buffer_switch_on_eof) = 1; -| } -| -| static void yy_load_buffer_state (void) -| { -| (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; -| (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; -| yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; -| (yy_hold_char) = *(yy_c_buf_p); -| } -| -| /** Allocate and initialize an input buffer state. -| * @param file A readable stream. -| * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. -| * -| * @return the allocated buffer state. -| */ -| YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) -| { -| YY_BUFFER_STATE b; -| -| b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); -| if ( ! b ) -| YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); -| -| b->yy_buf_size = size; -| -| /* yy_ch_buf has to be 2 characters longer than the size given because -| * we need to put in 2 end-of-buffer characters. -| */ -| b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); -| if ( ! b->yy_ch_buf ) -| YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); -| -| b->yy_is_our_buffer = 1; -| -| yy_init_buffer(b,file ); -| -| return b; -| } -| -| /** Destroy the buffer. -| * @param b a buffer created with yy_create_buffer() -| * -| */ -| void yy_delete_buffer (YY_BUFFER_STATE b ) -| { -| -| if ( ! b ) -| return; -| -| if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ -| YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; -| -| if ( b->yy_is_our_buffer ) -| yyfree((void *) b->yy_ch_buf ); -| -| yyfree((void *) b ); -| } -| -| #ifndef __cplusplus -| extern int isatty (int ); -| #endif /* __cplusplus */ -| -| /* Initializes or reinitializes a buffer. -| * This function is sometimes called more than once on the same buffer, -| * such as during a yyrestart() or at EOF. -| */ -| static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) -| -| { -| int oerrno = errno; -| -| yy_flush_buffer(b ); -| -| b->yy_input_file = file; -| b->yy_fill_buffer = 1; -| -| /* If b is the current buffer, then yy_init_buffer was _probably_ -| * called from yyrestart() or through yy_get_next_buffer. -| * In that case, we don't want to reset the lineno or column. -| */ -| if (b != YY_CURRENT_BUFFER){ -| b->yy_bs_lineno = 1; -| b->yy_bs_column = 0; -| } -| -| b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -| -| errno = oerrno; -| } -| -| /** Discard all buffered characters. On the next scan, YY_INPUT will be called. -| * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. -| * -| */ -| void yy_flush_buffer (YY_BUFFER_STATE b ) -| { -| if ( ! b ) -| return; -| -| b->yy_n_chars = 0; -| -| /* We always need two end-of-buffer characters. The first causes -| * a transition to the end-of-buffer state. The second causes -| * a jam in that state. -| */ -| b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; -| b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; -| -| b->yy_buf_pos = &b->yy_ch_buf[0]; -| -| b->yy_at_bol = 1; -| b->yy_buffer_status = YY_BUFFER_NEW; -| -| if ( b == YY_CURRENT_BUFFER ) -| yy_load_buffer_state( ); -| } -| -| /** Pushes the new state onto the stack. The new state becomes -| * the current state. This function will allocate the stack -| * if necessary. -| * @param new_buffer The new state. -| * -| */ -| void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) -| { -| if (new_buffer == NULL) -| return; -| -| yyensure_buffer_stack(); -| -| /* This block is copied from yy_switch_to_buffer. */ -| if ( YY_CURRENT_BUFFER ) -| { -| /* Flush out information for old buffer. */ -| *(yy_c_buf_p) = (yy_hold_char); -| YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); -| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); -| } -| -| /* Only push if top exists. Otherwise, replace top. */ -| if (YY_CURRENT_BUFFER) -| (yy_buffer_stack_top)++; -| YY_CURRENT_BUFFER_LVALUE = new_buffer; -| -| /* copied from yy_switch_to_buffer. */ -| yy_load_buffer_state( ); -| (yy_did_buffer_switch_on_eof) = 1; -| } -| -| /** Removes and deletes the top of the stack, if present. -| * The next element becomes the new top. -| * -| */ -| void yypop_buffer_state (void) -| { -| if (!YY_CURRENT_BUFFER) -| return; -| -| yy_delete_buffer(YY_CURRENT_BUFFER ); -| YY_CURRENT_BUFFER_LVALUE = NULL; -| if ((yy_buffer_stack_top) > 0) -| --(yy_buffer_stack_top); -| -| if (YY_CURRENT_BUFFER) { -| yy_load_buffer_state( ); -| (yy_did_buffer_switch_on_eof) = 1; -| } -| } -| -| /* Allocates the stack if it does not exist. -| * Guarantees space for at least one push. -| */ -| static void yyensure_buffer_stack (void) -| { -| int num_to_alloc; -| -| if (!(yy_buffer_stack)) { -| -| /* First allocation is just for 2 elements, since we don't know if this -| * scanner will even need a stack. We use 2 instead of 1 to avoid an -| * immediate realloc on the next call. -| */ -| num_to_alloc = 1; -| (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc -| (num_to_alloc * sizeof(struct yy_buffer_state*) -| ); -| if ( ! (yy_buffer_stack) ) -| YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); -| -| memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); -| -| (yy_buffer_stack_max) = num_to_alloc; -| (yy_buffer_stack_top) = 0; -| return; -| } -| -| if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ -| -| /* Increase the buffer to prepare for a possible push. */ -| int grow_size = 8 /* arbitrary grow size */; -| -| num_to_alloc = (yy_buffer_stack_max) + grow_size; -| (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc -| ((yy_buffer_stack), -| num_to_alloc * sizeof(struct yy_buffer_state*) -| ); -| if ( ! (yy_buffer_stack) ) -| YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); -| -| /* zero only the new slots.*/ -| memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); -| (yy_buffer_stack_max) = num_to_alloc; -| } -| } -| -| /** Setup the input buffer state to scan directly from a user-specified character buffer. -| * @param base the character buffer -| * @param size the size in bytes of the character buffer -| * -| * @return the newly allocated buffer state object. -| */ -| YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) -| { -| YY_BUFFER_STATE b; -| -| if ( size < 2 || -| base[size-2] != YY_END_OF_BUFFER_CHAR || -| base[size-1] != YY_END_OF_BUFFER_CHAR ) -| /* They forgot to leave room for the EOB's. */ -| return 0; -| -| b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); -| if ( ! b ) -| YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); -| -| b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ -| b->yy_buf_pos = b->yy_ch_buf = base; -| b->yy_is_our_buffer = 0; -| b->yy_input_file = 0; -| b->yy_n_chars = b->yy_buf_size; -| b->yy_is_interactive = 0; -| b->yy_at_bol = 1; -| b->yy_fill_buffer = 0; -| b->yy_buffer_status = YY_BUFFER_NEW; -| -| yy_switch_to_buffer(b ); -| -| return b; -| } -| -| /** Setup the input buffer state to scan a string. The next call to yylex() will -| * scan from a @e copy of @a str. -| * @param yystr a NUL-terminated string to scan -| * -| * @return the newly allocated buffer state object. -| * @note If you want to scan bytes that may contain NUL values, then use -| * yy_scan_bytes() instead. -| */ -| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) -| { -| -| return yy_scan_bytes(yystr,strlen(yystr) ); -| } -| -| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will -| * scan from a @e copy of @a bytes. -| * @param yybytes the byte buffer to scan -| * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. -| * -| * @return the newly allocated buffer state object. -| */ -| YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) -| { -| YY_BUFFER_STATE b; -| char *buf; -| yy_size_t n; -| int i; -| -| /* Get memory for full buffer, including space for trailing EOB's. */ -| n = _yybytes_len + 2; -| buf = (char *) yyalloc(n ); -| if ( ! buf ) -| YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); -| -| for ( i = 0; i < _yybytes_len; ++i ) -| buf[i] = yybytes[i]; -| -| buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; -| -| b = yy_scan_buffer(buf,n ); -| if ( ! b ) -| YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); -| -| /* It's okay to grow etc. this buffer, and we should throw it -| * away when we're done. -| */ -| b->yy_is_our_buffer = 1; -| -| return b; -| } -| -| #ifndef YY_EXIT_FAILURE -| #define YY_EXIT_FAILURE 2 -| #endif -| -| static void yy_fatal_error (yyconst char* msg ) -| { -| (void) fprintf( stderr, "%s\n", msg ); -| exit( YY_EXIT_FAILURE ); -| } -| -| /* Redefine yyless() so it works in section 3 code. */ -| -| #undef yyless -| #define yyless(n) \ -| do \ -| { \ -| /* Undo effects of setting up yytext. */ \ -| int yyless_macro_arg = (n); \ -| YY_LESS_LINENO(yyless_macro_arg);\ -| yytext[yyleng] = (yy_hold_char); \ -| (yy_c_buf_p) = yytext + yyless_macro_arg; \ -| (yy_hold_char) = *(yy_c_buf_p); \ -| *(yy_c_buf_p) = '\0'; \ -| yyleng = yyless_macro_arg; \ -| } \ -| while ( 0 ) -| -| /* Accessor methods (get/set functions) to struct members. */ -| -| /** Get the current line number. -| * -| */ -| int yyget_lineno (void) -| { -| -| return yylineno; -| } -| -| /** Get the input stream. -| * -| */ -| FILE *yyget_in (void) -| { -| return yyin; -| } -| -| /** Get the output stream. -| * -| */ -| FILE *yyget_out (void) -| { -| return yyout; -| } -| -| /** Get the length of the current token. -| * -| */ -| int yyget_leng (void) -| { -| return yyleng; -| } -| -| /** Get the current token. -| * -| */ -| -| char *yyget_text (void) -| { -| return yytext; -| } -| -| /** Set the current line number. -| * @param line_number -| * -| */ -| void yyset_lineno (int line_number ) -| { -| -| yylineno = line_number; -| } -| -| /** Set the input stream. This does not discard the current -| * input buffer. -| * @param in_str A readable stream. -| * -| * @see yy_switch_to_buffer -| */ -| void yyset_in (FILE * in_str ) -| { -| yyin = in_str ; -| } -| -| void yyset_out (FILE * out_str ) -| { -| yyout = out_str ; -| } -| -| int yyget_debug (void) -| { -| return yy_flex_debug; -| } -| -| void yyset_debug (int bdebug ) -| { -| yy_flex_debug = bdebug ; -| } -| -| static int yy_init_globals (void) -| { -| /* Initialization is the same as for the non-reentrant scanner. -| * This function is called from yylex_destroy(), so don't allocate here. -| */ -| -| (yy_buffer_stack) = 0; -| (yy_buffer_stack_top) = 0; -| (yy_buffer_stack_max) = 0; -| (yy_c_buf_p) = (char *) 0; -| (yy_init) = 0; -| (yy_start) = 0; -| -| (yy_state_buf) = 0; -| (yy_state_ptr) = 0; -| (yy_full_match) = 0; -| (yy_lp) = 0; -| -| /* Defined in main.c */ -| #ifdef YY_STDINIT -| yyin = stdin; -| yyout = stdout; -| #else -| yyin = (FILE *) 0; -| yyout = (FILE *) 0; -| #endif -| -| /* For future reference: Set errno on error, since we are called by -| * yylex_init() -| */ -| return 0; -| } -| -| /* yylex_destroy is for both reentrant and non-reentrant scanners. */ -| int yylex_destroy (void) -| { -| -| /* Pop the buffer stack, destroying each element. */ -| while(YY_CURRENT_BUFFER){ -| yy_delete_buffer(YY_CURRENT_BUFFER ); -| YY_CURRENT_BUFFER_LVALUE = NULL; -| yypop_buffer_state(); -| } -| -| /* Destroy the stack itself. */ -| yyfree((yy_buffer_stack) ); -| (yy_buffer_stack) = NULL; -| -| yyfree ( (yy_state_buf) ); -| (yy_state_buf) = NULL; -| -| /* Reset the globals. This is important in a non-reentrant scanner so the next time -| * yylex() is called, initialization will occur. */ -| yy_init_globals( ); -| -| return 0; -| } -| -| /* -| * Internal utility routines. -| */ -| -| #ifndef yytext_ptr -| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) -| { -| register int i; -| for ( i = 0; i < n; ++i ) -| s1[i] = s2[i]; -| } -| #endif -| -| #ifdef YY_NEED_STRLEN -| static int yy_flex_strlen (yyconst char * s ) -| { -| register int n; -| for ( n = 0; s[n]; ++n ) -| ; -| -| return n; -| } -| #endif -| -| void *yyalloc (yy_size_t size ) -| { -| return (void *) malloc( size ); -| } -| -| void *yyrealloc (void * ptr, yy_size_t size ) -| { -| /* The cast to (char *) in the following accommodates both -| * implementations that use char* generic pointers, and those -| * that use void* generic pointers. It works with the latter -| * because both ANSI C and C++ allow castless assignment from -| * any pointer type to void*, and deal with argument conversions -| * as though doing an assignment. -| */ -| return (void *) realloc( (char *) ptr, size ); -| } -| -| void yyfree (void * ptr ) -| { -| free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ -| } -| -| #define YYTABLES_NAME "yytables" -| -| #line 9 "conftest.l" -| -| -| #ifdef YYTEXT_POINTER -| extern char *yytext; -| #endif -| int -| main (void) -| { -| return ! yylex () + ! yywrap (); -| } -configure:4112: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c -lfl >&5 -configure:4112: $? = 0 -configure:4122: result: -lfl -configure:4128: checking whether yytext is a pointer -configure:4144: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c -lfl >&5 -configure:4144: $? = 0 -configure:4152: result: yes -configure:4169: checking for bison -configure:4185: found /usr/bin/bison -configure:4196: result: bison -y -configure:4211: checking for library containing socket -configure:4242: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -configure:4242: $? = 0 -configure:4259: result: none required -configure:4267: checking for library containing gethostbyname -configure:4298: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -/tmp/ccLZ806L.o: In function `main': -/home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/conftest.c:23: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking -configure:4298: $? = 0 -configure:4315: result: none required -configure:4326: checking for grep that handles long lines and -e -configure:4384: result: /bin/grep -configure:4389: checking for egrep -configure:4451: result: /bin/grep -E -configure:4456: checking for ANSI C header files -configure:4476: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4476: $? = 0 -configure:4549: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -configure:4549: $? = 0 -configure:4549: ./conftest -configure:4549: $? = 0 -configure:4560: result: yes -configure:4573: checking for sys/types.h -configure:4573: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4573: $? = 0 -configure:4573: result: yes -configure:4573: checking for sys/stat.h -configure:4573: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4573: $? = 0 -configure:4573: result: yes -configure:4573: checking for stdlib.h -configure:4573: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4573: $? = 0 -configure:4573: result: yes -configure:4573: checking for string.h -configure:4573: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4573: $? = 0 -configure:4573: result: yes -configure:4573: checking for memory.h -configure:4573: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4573: $? = 0 -configure:4573: result: yes -configure:4573: checking for strings.h -configure:4573: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4573: $? = 0 -configure:4573: result: yes -configure:4573: checking for inttypes.h -configure:4573: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4573: $? = 0 -configure:4573: result: yes -configure:4573: checking for stdint.h -configure:4573: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4573: $? = 0 -configure:4573: result: yes -configure:4573: checking for unistd.h -configure:4573: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4573: $? = 0 -configure:4573: result: yes -configure:4589: checking arpa/inet.h usability -configure:4589: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking arpa/inet.h presence -configure:4589: gcc -E -fno-stack-protector conftest.c -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking for arpa/inet.h -configure:4589: result: yes -configure:4589: checking errno.h usability -configure:4589: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking errno.h presence -configure:4589: gcc -E -fno-stack-protector conftest.c -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking for errno.h -configure:4589: result: yes -configure:4589: checking fcntl.h usability -configure:4589: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking fcntl.h presence -configure:4589: gcc -E -fno-stack-protector conftest.c -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking for fcntl.h -configure:4589: result: yes -configure:4589: checking netdb.h usability -configure:4589: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking netdb.h presence -configure:4589: gcc -E -fno-stack-protector conftest.c -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking for netdb.h -configure:4589: result: yes -configure:4589: checking netinet/in.h usability -configure:4589: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking netinet/in.h presence -configure:4589: gcc -E -fno-stack-protector conftest.c -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking for netinet/in.h -configure:4589: result: yes -configure:4589: checking stddef.h usability -configure:4589: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking stddef.h presence -configure:4589: gcc -E -fno-stack-protector conftest.c -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking for stddef.h -configure:4589: result: yes -configure:4589: checking for stdlib.h -configure:4589: result: yes -configure:4589: checking for string.h -configure:4589: result: yes -configure:4589: checking sys/socket.h usability -configure:4589: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking sys/socket.h presence -configure:4589: gcc -E -fno-stack-protector conftest.c -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking for sys/socket.h -configure:4589: result: yes -configure:4589: checking for unistd.h -configure:4589: result: yes -configure:4589: checking search.h usability -configure:4589: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking search.h presence -configure:4589: gcc -E -fno-stack-protector conftest.c -configure:4589: $? = 0 -configure:4589: result: yes -configure:4589: checking for search.h -configure:4589: result: yes -configure:4589: checking machine/ansi.h usability -configure:4589: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -conftest.c:66:26: error: machine/ansi.h: No such file or directory -configure:4589: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define PACKAGE "html-xml-utils" -| #define VERSION "3.0" -| #define YYTEXT_POINTER 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_ARPA_INET_H 1 -| #define HAVE_ERRNO_H 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_STDDEF_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_SYS_SOCKET_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_SEARCH_H 1 -| /* end confdefs.h. */ -| #include <stdio.h> -| #ifdef HAVE_SYS_TYPES_H -| # include <sys/types.h> -| #endif -| #ifdef HAVE_SYS_STAT_H -| # include <sys/stat.h> -| #endif -| #ifdef STDC_HEADERS -| # include <stdlib.h> -| # include <stddef.h> -| #else -| # ifdef HAVE_STDLIB_H -| # include <stdlib.h> -| # endif -| #endif -| #ifdef HAVE_STRING_H -| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -| # include <memory.h> -| # endif -| # include <string.h> -| #endif -| #ifdef HAVE_STRINGS_H -| # include <strings.h> -| #endif -| #ifdef HAVE_INTTYPES_H -| # include <inttypes.h> -| #endif -| #ifdef HAVE_STDINT_H -| # include <stdint.h> -| #endif -| #ifdef HAVE_UNISTD_H -| # include <unistd.h> -| #endif -| #include <machine/ansi.h> -configure:4589: result: no -configure:4589: checking machine/ansi.h presence -configure:4589: gcc -E -fno-stack-protector conftest.c -conftest.c:33:26: error: machine/ansi.h: No such file or directory -configure:4589: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define PACKAGE "html-xml-utils" -| #define VERSION "3.0" -| #define YYTEXT_POINTER 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_ARPA_INET_H 1 -| #define HAVE_ERRNO_H 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_STDDEF_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_SYS_SOCKET_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_SEARCH_H 1 -| /* end confdefs.h. */ -| #include <machine/ansi.h> -configure:4589: result: no -configure:4589: checking for machine/ansi.h -configure:4589: result: no -configure:4602: checking for an ANSI C-conforming const -configure:4667: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4667: $? = 0 -configure:4674: result: yes -configure:4682: checking for inline -configure:4698: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4698: $? = 0 -configure:4706: result: inline -configure:4724: checking for size_t -configure:4724: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4724: $? = 0 -configure:4724: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -conftest.c: In function 'main': -conftest.c:69: error: expected expression before ')' token -configure:4724: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define PACKAGE "html-xml-utils" -| #define VERSION "3.0" -| #define YYTEXT_POINTER 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_ARPA_INET_H 1 -| #define HAVE_ERRNO_H 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_STDDEF_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_SYS_SOCKET_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_SEARCH_H 1 -| /* end confdefs.h. */ -| #include <stdio.h> -| #ifdef HAVE_SYS_TYPES_H -| # include <sys/types.h> -| #endif -| #ifdef HAVE_SYS_STAT_H -| # include <sys/stat.h> -| #endif -| #ifdef STDC_HEADERS -| # include <stdlib.h> -| # include <stddef.h> -| #else -| # ifdef HAVE_STDLIB_H -| # include <stdlib.h> -| # endif -| #endif -| #ifdef HAVE_STRING_H -| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -| # include <memory.h> -| # endif -| # include <string.h> -| #endif -| #ifdef HAVE_STRINGS_H -| # include <strings.h> -| #endif -| #ifdef HAVE_INTTYPES_H -| # include <inttypes.h> -| #endif -| #ifdef HAVE_STDINT_H -| # include <stdint.h> -| #endif -| #ifdef HAVE_UNISTD_H -| # include <unistd.h> -| #endif -| int -| main () -| { -| if (sizeof ((size_t))) -| return 0; -| ; -| return 0; -| } -configure:4724: result: yes -configure:4740: checking for stdlib.h -configure:4740: result: yes -configure:4750: checking for GNU libc compatible malloc -configure:4774: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -configure:4774: $? = 0 -configure:4774: ./conftest -configure:4774: $? = 0 -configure:4784: result: yes -configure:4806: checking whether strerror_r is declared -configure:4806: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -configure:4806: $? = 0 -configure:4806: result: yes -configure:4819: checking for strerror_r -configure:4819: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -configure:4819: $? = 0 -configure:4819: result: yes -configure:4828: checking whether strerror_r returns char * -configure:4852: gcc -c -g -O2 -fno-stack-protector conftest.c >&5 -conftest.c: In function 'main': -conftest.c:75: error: invalid type argument of 'unary *' (have 'int') -conftest.c:76: warning: initialization makes pointer from integer without a cast -configure:4852: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define PACKAGE "html-xml-utils" -| #define VERSION "3.0" -| #define YYTEXT_POINTER 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_ARPA_INET_H 1 -| #define HAVE_ERRNO_H 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_STDDEF_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_SYS_SOCKET_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_SEARCH_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_MALLOC 1 -| #define HAVE_DECL_STRERROR_R 1 -| #define HAVE_STRERROR_R 1 -| /* end confdefs.h. */ -| #include <stdio.h> -| #ifdef HAVE_SYS_TYPES_H -| # include <sys/types.h> -| #endif -| #ifdef HAVE_SYS_STAT_H -| # include <sys/stat.h> -| #endif -| #ifdef STDC_HEADERS -| # include <stdlib.h> -| # include <stddef.h> -| #else -| # ifdef HAVE_STDLIB_H -| # include <stdlib.h> -| # endif -| #endif -| #ifdef HAVE_STRING_H -| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -| # include <memory.h> -| # endif -| # include <string.h> -| #endif -| #ifdef HAVE_STRINGS_H -| # include <strings.h> -| #endif -| #ifdef HAVE_INTTYPES_H -| # include <inttypes.h> -| #endif -| #ifdef HAVE_STDINT_H -| # include <stdint.h> -| #endif -| #ifdef HAVE_UNISTD_H -| # include <unistd.h> -| #endif -| int -| main () -| { -| -| char buf[100]; -| char x = *strerror_r (0, buf, sizeof buf); -| char *p = strerror_r (0, buf, sizeof buf); -| return !p || x; -| -| ; -| return 0; -| } -configure:4890: result: no -configure:4900: checking for vprintf -configure:4900: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:60: warning: conflicting types for built-in function 'vprintf' -configure:4900: $? = 0 -configure:4900: result: yes -configure:4906: checking for _doprnt -configure:4906: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -/tmp/ccH1NzoI.o: In function `main': -/home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/conftest.c:72: undefined reference to `_doprnt' -collect2: ld returned 1 exit status -configure:4906: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define PACKAGE "html-xml-utils" -| #define VERSION "3.0" -| #define YYTEXT_POINTER 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_ARPA_INET_H 1 -| #define HAVE_ERRNO_H 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_STDDEF_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_SYS_SOCKET_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_SEARCH_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_MALLOC 1 -| #define HAVE_DECL_STRERROR_R 1 -| #define HAVE_STRERROR_R 1 -| #define HAVE_VPRINTF 1 -| /* end confdefs.h. */ -| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. -| For example, HP-UX 11i <limits.h> declares gettimeofday. */ -| #define _doprnt innocuous__doprnt -| -| /* System header to define __stub macros and hopefully few prototypes, -| which can conflict with char _doprnt (); below. -| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since -| <limits.h> exists even on freestanding compilers. */ -| -| #ifdef __STDC__ -| # include <limits.h> -| #else -| # include <assert.h> -| #endif -| -| #undef _doprnt -| -| /* Override any GCC internal prototype to avoid an error. -| Use char because int might match the return type of a GCC -| builtin and then its argument prototype would still apply. */ -| #ifdef __cplusplus -| extern "C" -| #endif -| char _doprnt (); -| /* The GNU C library defines this for functions which it implements -| to always fail with ENOSYS. Some functions are actually named -| something starting with __ and the normal name is an alias. */ -| #if defined __stub__doprnt || defined __stub____doprnt -| choke me -| #endif -| -| int -| main () -| { -| return _doprnt (); -| ; -| return 0; -| } -configure:4906: result: no -configure:4920: checking for gethostbyname -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -/tmp/ccUzuzzR.o: In function `main': -/home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/conftest.c:72: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for memmove -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:62: warning: conflicting types for built-in function 'memmove' -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for memset -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:63: warning: conflicting types for built-in function 'memset' -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for regcomp -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for socket -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for strcasecmp -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:66: warning: conflicting types for built-in function 'strcasecmp' -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for strchr -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:67: warning: conflicting types for built-in function 'strchr' -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for strcspn -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:68: warning: conflicting types for built-in function 'strcspn' -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for strdup -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:69: warning: conflicting types for built-in function 'strdup' -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for strerror -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for strncasecmp -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:71: warning: conflicting types for built-in function 'strncasecmp' -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for strndup -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:72: warning: conflicting types for built-in function 'strndup' -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for strrchr -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:73: warning: conflicting types for built-in function 'strrchr' -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for strspn -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:74: warning: conflicting types for built-in function 'strspn' -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for strstr -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -conftest.c:75: warning: conflicting types for built-in function 'strstr' -configure:4920: $? = 0 -configure:4920: result: yes -configure:4920: checking for strtol -configure:4920: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -configure:4920: $? = 0 -configure:4920: result: yes -configure:4933: checking for strdup -configure:4933: result: yes -configure:4933: checking for strerror -configure:4933: result: yes -configure:4933: checking for strstr -configure:4933: result: yes -configure:4933: checking for tsearch -configure:4933: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -configure:4933: $? = 0 -configure:4933: result: yes -configure:4933: checking for tfind -configure:4933: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -configure:4933: $? = 0 -configure:4933: result: yes -configure:4933: checking for twalk -configure:4933: gcc -o conftest -g -O2 -fno-stack-protector -static conftest.c >&5 -configure:4933: $? = 0 -configure:4933: result: yes -configure:5079: creating ./config.status - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by config.status, which was -generated by GNU Autoconf 2.65. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status - -on ubuntu - -config.status:895: creating Makefile -config.status:895: creating config.h -config.status:1067: config.h is unchanged -config.status:1115: executing depfiles commands - -## ---------------- ## -## Cache variables. ## -## ---------------- ## - -ac_cv_c_compiler_gnu=yes -ac_cv_c_const=yes -ac_cv_c_inline=inline -ac_cv_env_CC_set= -ac_cv_env_CC_value= -ac_cv_env_CFLAGS_set= -ac_cv_env_CFLAGS_value= -ac_cv_env_CPPFLAGS_set=set -ac_cv_env_CPPFLAGS_value=-fno-stack-protector -ac_cv_env_CPP_set= -ac_cv_env_CPP_value= -ac_cv_env_LDFLAGS_set=set -ac_cv_env_LDFLAGS_value=-static -ac_cv_env_LIBS_set= -ac_cv_env_LIBS_value= -ac_cv_env_YACC_set= -ac_cv_env_YACC_value= -ac_cv_env_YFLAGS_set= -ac_cv_env_YFLAGS_value= -ac_cv_env_build_alias_set= -ac_cv_env_build_alias_value= -ac_cv_env_host_alias_set= -ac_cv_env_host_alias_value= -ac_cv_env_target_alias_set= -ac_cv_env_target_alias_value= -ac_cv_func__doprnt=no -ac_cv_func_gethostbyname=yes -ac_cv_func_malloc_0_nonnull=yes -ac_cv_func_memmove=yes -ac_cv_func_memset=yes -ac_cv_func_regcomp=yes -ac_cv_func_socket=yes -ac_cv_func_strcasecmp=yes -ac_cv_func_strchr=yes -ac_cv_func_strcspn=yes -ac_cv_func_strdup=yes -ac_cv_func_strerror=yes -ac_cv_func_strerror_r=yes -ac_cv_func_strerror_r_char_p=no -ac_cv_func_strncasecmp=yes -ac_cv_func_strndup=yes -ac_cv_func_strrchr=yes -ac_cv_func_strspn=yes -ac_cv_func_strstr=yes -ac_cv_func_strtol=yes -ac_cv_func_tfind=yes -ac_cv_func_tsearch=yes -ac_cv_func_twalk=yes -ac_cv_func_vprintf=yes -ac_cv_have_decl_strerror_r=yes -ac_cv_header_arpa_inet_h=yes -ac_cv_header_errno_h=yes -ac_cv_header_fcntl_h=yes -ac_cv_header_inttypes_h=yes -ac_cv_header_machine_ansi_h=no -ac_cv_header_memory_h=yes -ac_cv_header_netdb_h=yes -ac_cv_header_netinet_in_h=yes -ac_cv_header_search_h=yes -ac_cv_header_stdc=yes -ac_cv_header_stddef_h=yes -ac_cv_header_stdint_h=yes -ac_cv_header_stdlib_h=yes -ac_cv_header_string_h=yes -ac_cv_header_strings_h=yes -ac_cv_header_sys_socket_h=yes -ac_cv_header_sys_stat_h=yes -ac_cv_header_sys_types_h=yes -ac_cv_header_unistd_h=yes -ac_cv_lib_lex=-lfl -ac_cv_objext=o -ac_cv_path_EGREP='/bin/grep -E' -ac_cv_path_GREP=/bin/grep -ac_cv_path_install='/usr/bin/install -c' -ac_cv_path_mkdir=/bin/mkdir -ac_cv_prog_AWK=gawk -ac_cv_prog_CPP='gcc -E' -ac_cv_prog_LEX=flex -ac_cv_prog_YACC='bison -y' -ac_cv_prog_ac_ct_CC=gcc -ac_cv_prog_cc_c89= -ac_cv_prog_cc_g=yes -ac_cv_prog_lex_root=lex.yy -ac_cv_prog_lex_yytext_pointer=yes -ac_cv_prog_make_make_set=yes -ac_cv_search_gethostbyname='none required' -ac_cv_search_socket='none required' -ac_cv_type_size_t=yes -am_cv_CC_dependencies_compiler_type=gcc3 - -## ----------------- ## -## Output variables. ## -## ----------------- ## - -ACLOCAL='${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run aclocal-1.11' -AMDEPBACKSLASH='\' -AMDEP_FALSE='#' -AMDEP_TRUE='' -AMTAR='${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run tar' -AUTOCONF='${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run autoconf' -AUTOHEADER='${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run autoheader' -AUTOMAKE='${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run automake-1.11' -AWK='gawk' -CC='gcc' -CCDEPMODE='depmode=gcc3' -CFLAGS='-g -O2' -CPP='gcc -E' -CPPFLAGS='-fno-stack-protector' -CYGPATH_W='echo' -DEFS='-DHAVE_CONFIG_H' -DEPDIR='.deps' -ECHO_C='' -ECHO_N='-n' -ECHO_T='' -EGREP='/bin/grep -E' -EXEEXT='' -GREP='/bin/grep' -INSTALL_DATA='${INSTALL} -m 644' -INSTALL_PROGRAM='${INSTALL}' -INSTALL_SCRIPT='${INSTALL}' -INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' -LDFLAGS='-static' -LEX='flex' -LEXLIB='-lfl' -LEX_OUTPUT_ROOT='lex.yy' -LIBOBJS='' -LIBS='' -LTLIBOBJS='' -MAKEINFO='${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run makeinfo' -MKDIR_P='/bin/mkdir -p' -OBJEXT='o' -PACKAGE='html-xml-utils' -PACKAGE_BUGREPORT='' -PACKAGE_NAME='' -PACKAGE_STRING='' -PACKAGE_TARNAME='' -PACKAGE_URL='' -PACKAGE_VERSION='' -PATH_SEPARATOR=':' -SET_MAKE='' -SHELL='/bin/bash' -STRIP='' -VERSION='3.0' -YACC='bison -y' -YFLAGS='' -ac_ct_CC='gcc' -am__EXEEXT_FALSE='' -am__EXEEXT_TRUE='#' -am__fastdepCC_FALSE='#' -am__fastdepCC_TRUE='' -am__include='include' -am__isrc='' -am__leading_dot='.' -am__quote='' -am__tar='${AMTAR} chof - "$$tardir"' -am__untar='${AMTAR} xf -' -bindir='${exec_prefix}/bin' -build_alias='' -datadir='${datarootdir}' -datarootdir='${prefix}/share' -docdir='${datarootdir}/doc/${PACKAGE}' -dvidir='${docdir}' -exec_prefix='${prefix}' -host_alias='' -htmldir='${docdir}' -includedir='${prefix}/include' -infodir='${datarootdir}/info' -install_sh='${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/install-sh' -lex_opt_flags='-Cfe' -libdir='${exec_prefix}/lib' -libexecdir='${exec_prefix}/libexec' -localedir='${datarootdir}/locale' -localstatedir='${prefix}/var' -mandir='${datarootdir}/man' -mkdir_p='/bin/mkdir -p' -oldincludedir='/usr/include' -pdfdir='${docdir}' -prefix='/usr/local' -program_transform_name='s,x,x,' -psdir='${docdir}' -sbindir='${exec_prefix}/sbin' -sharedstatedir='${prefix}/com' -sysconfdir='${prefix}/etc' -target_alias='' - -## ----------- ## -## confdefs.h. ## -## ----------- ## - -/* confdefs.h */ -#define PACKAGE_NAME "" -#define PACKAGE_TARNAME "" -#define PACKAGE_VERSION "" -#define PACKAGE_STRING "" -#define PACKAGE_BUGREPORT "" -#define PACKAGE_URL "" -#define PACKAGE "html-xml-utils" -#define VERSION "3.0" -#define YYTEXT_POINTER 1 -#define STDC_HEADERS 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRING_H 1 -#define HAVE_MEMORY_H 1 -#define HAVE_STRINGS_H 1 -#define HAVE_INTTYPES_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_UNISTD_H 1 -#define HAVE_ARPA_INET_H 1 -#define HAVE_ERRNO_H 1 -#define HAVE_FCNTL_H 1 -#define HAVE_NETDB_H 1 -#define HAVE_NETINET_IN_H 1 -#define HAVE_STDDEF_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRING_H 1 -#define HAVE_SYS_SOCKET_H 1 -#define HAVE_UNISTD_H 1 -#define HAVE_SEARCH_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_MALLOC 1 -#define HAVE_DECL_STRERROR_R 1 -#define HAVE_STRERROR_R 1 -#define HAVE_VPRINTF 1 -#define HAVE_GETHOSTBYNAME 1 -#define HAVE_MEMMOVE 1 -#define HAVE_MEMSET 1 -#define HAVE_REGCOMP 1 -#define HAVE_SOCKET 1 -#define HAVE_STRCASECMP 1 -#define HAVE_STRCHR 1 -#define HAVE_STRCSPN 1 -#define HAVE_STRDUP 1 -#define HAVE_STRERROR 1 -#define HAVE_STRNCASECMP 1 -#define HAVE_STRNDUP 1 -#define HAVE_STRRCHR 1 -#define HAVE_STRSPN 1 -#define HAVE_STRSTR 1 -#define HAVE_STRTOL 1 -#define HAVE_STRDUP 1 -#define HAVE_STRERROR 1 -#define HAVE_STRSTR 1 -#define HAVE_TSEARCH 1 -#define HAVE_TFIND 1 -#define HAVE_TWALK 1 - -configure: exit 0 diff --git a/arid_examples/html-xml-utils-3.0/config.status b/arid_examples/html-xml-utils-3.0/config.status deleted file mode 100755 index 647ee6dc3..000000000 --- a/arid_examples/html-xml-utils-3.0/config.status +++ /dev/null @@ -1,1222 +0,0 @@ -#! /bin/bash -# Generated by configure. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false - -SHELL=${CONFIG_SHELL-/bin/bash} -export SHELL -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with status $?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by $as_me, which was -generated by GNU Autoconf 2.65. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -# Files that config.status was made for. -config_files=" Makefile" -config_headers=" config.h" -config_commands=" depfiles" - -ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to the package provider." - -ac_cs_config="'CPPFLAGS=-fno-stack-protector' 'LDFLAGS=-static'" -ac_cs_version="\ -config.status -configured by ./configure, generated by GNU Autoconf 2.65, - with options \"$ac_cs_config\" - -Copyright (C) 2009 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='/home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0' -srcdir='.' -INSTALL='/usr/bin/install -c' -MKDIR_P='/bin/mkdir -p' -AWK='gawk' -test -n "$AWK" || AWK=awk -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_HEADERS " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -if $ac_cs_recheck; then - set X '/bin/bash' './configure' 'CPPFLAGS=-fno-stack-protector' 'LDFLAGS=-static' $ac_configure_extra_args --no-create --no-recursion - shift - $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 - CONFIG_SHELL='/bin/bash' - export CONFIG_SHELL - exec "$@" -fi - -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -# -# INIT-COMMANDS -# -AMDEP_TRUE="" ac_aux_dir="." - - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -cat >>"$tmp/subs1.awk" <<\_ACAWK && -S["am__EXEEXT_FALSE"]="" -S["am__EXEEXT_TRUE"]="#" -S["LTLIBOBJS"]="" -S["lex_opt_flags"]="-Cfe" -S["LIBOBJS"]="" -S["EGREP"]="/bin/grep -E" -S["GREP"]="/bin/grep" -S["YFLAGS"]="" -S["YACC"]="bison -y" -S["LEXLIB"]="-lfl" -S["LEX_OUTPUT_ROOT"]="lex.yy" -S["LEX"]="flex" -S["CPP"]="gcc -E" -S["am__fastdepCC_FALSE"]="#" -S["am__fastdepCC_TRUE"]="" -S["CCDEPMODE"]="depmode=gcc3" -S["AMDEPBACKSLASH"]="\\" -S["AMDEP_FALSE"]="#" -S["AMDEP_TRUE"]="" -S["am__quote"]="" -S["am__include"]="include" -S["DEPDIR"]=".deps" -S["OBJEXT"]="o" -S["EXEEXT"]="" -S["ac_ct_CC"]="gcc" -S["CPPFLAGS"]="-fno-stack-protector" -S["LDFLAGS"]="-static" -S["CFLAGS"]="-g -O2" -S["CC"]="gcc" -S["am__untar"]="${AMTAR} xf -" -S["am__tar"]="${AMTAR} chof - \"$$tardir\"" -S["AMTAR"]="${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run tar" -S["am__leading_dot"]="." -S["SET_MAKE"]="" -S["AWK"]="gawk" -S["mkdir_p"]="/bin/mkdir -p" -S["MKDIR_P"]="/bin/mkdir -p" -S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" -S["STRIP"]="" -S["install_sh"]="${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/install-sh" -S["MAKEINFO"]="${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run makeinfo" -S["AUTOHEADER"]="${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run autoheader" -S["AUTOMAKE"]="${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run automake-1.11" -S["AUTOCONF"]="${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run autoconf" -S["ACLOCAL"]="${SHELL} /home/jdh8d/peasoup/uva/peasoup_examples/arid_examples/html-xml-utils-3.0/missing --run aclocal-1.11" -S["VERSION"]="3.0" -S["PACKAGE"]="html-xml-utils" -S["CYGPATH_W"]="echo" -S["am__isrc"]="" -S["INSTALL_DATA"]="${INSTALL} -m 644" -S["INSTALL_SCRIPT"]="${INSTALL}" -S["INSTALL_PROGRAM"]="${INSTALL}" -S["target_alias"]="" -S["host_alias"]="" -S["build_alias"]="" -S["LIBS"]="" -S["ECHO_T"]="" -S["ECHO_N"]="-n" -S["ECHO_C"]="" -S["DEFS"]="-DHAVE_CONFIG_H" -S["mandir"]="${datarootdir}/man" -S["localedir"]="${datarootdir}/locale" -S["libdir"]="${exec_prefix}/lib" -S["psdir"]="${docdir}" -S["pdfdir"]="${docdir}" -S["dvidir"]="${docdir}" -S["htmldir"]="${docdir}" -S["infodir"]="${datarootdir}/info" -S["docdir"]="${datarootdir}/doc/${PACKAGE}" -S["oldincludedir"]="/usr/include" -S["includedir"]="${prefix}/include" -S["localstatedir"]="${prefix}/var" -S["sharedstatedir"]="${prefix}/com" -S["sysconfdir"]="${prefix}/etc" -S["datadir"]="${datarootdir}" -S["datarootdir"]="${prefix}/share" -S["libexecdir"]="${exec_prefix}/libexec" -S["sbindir"]="${exec_prefix}/sbin" -S["bindir"]="${exec_prefix}/bin" -S["program_transform_name"]="s,x,x," -S["prefix"]="/usr/local" -S["exec_prefix"]="${prefix}" -S["PACKAGE_URL"]="" -S["PACKAGE_BUGREPORT"]="" -S["PACKAGE_STRING"]="" -S["PACKAGE_VERSION"]="" -S["PACKAGE_TARNAME"]="" -S["PACKAGE_NAME"]="" -S["PATH_SEPARATOR"]=":" -S["SHELL"]="/bin/bash" -_ACAWK -cat >>"$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error "could not setup config files machinery" "$LINENO" 5 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || -BEGIN { -D["PACKAGE_NAME"]=" \"\"" -D["PACKAGE_TARNAME"]=" \"\"" -D["PACKAGE_VERSION"]=" \"\"" -D["PACKAGE_STRING"]=" \"\"" -D["PACKAGE_BUGREPORT"]=" \"\"" -D["PACKAGE_URL"]=" \"\"" -D["PACKAGE"]=" \"html-xml-utils\"" -D["VERSION"]=" \"3.0\"" -D["YYTEXT_POINTER"]=" 1" -D["STDC_HEADERS"]=" 1" -D["HAVE_SYS_TYPES_H"]=" 1" -D["HAVE_SYS_STAT_H"]=" 1" -D["HAVE_STDLIB_H"]=" 1" -D["HAVE_STRING_H"]=" 1" -D["HAVE_MEMORY_H"]=" 1" -D["HAVE_STRINGS_H"]=" 1" -D["HAVE_INTTYPES_H"]=" 1" -D["HAVE_STDINT_H"]=" 1" -D["HAVE_UNISTD_H"]=" 1" -D["HAVE_ARPA_INET_H"]=" 1" -D["HAVE_ERRNO_H"]=" 1" -D["HAVE_FCNTL_H"]=" 1" -D["HAVE_NETDB_H"]=" 1" -D["HAVE_NETINET_IN_H"]=" 1" -D["HAVE_STDDEF_H"]=" 1" -D["HAVE_STDLIB_H"]=" 1" -D["HAVE_STRING_H"]=" 1" -D["HAVE_SYS_SOCKET_H"]=" 1" -D["HAVE_UNISTD_H"]=" 1" -D["HAVE_SEARCH_H"]=" 1" -D["HAVE_STDLIB_H"]=" 1" -D["HAVE_MALLOC"]=" 1" -D["HAVE_DECL_STRERROR_R"]=" 1" -D["HAVE_STRERROR_R"]=" 1" -D["HAVE_VPRINTF"]=" 1" -D["HAVE_GETHOSTBYNAME"]=" 1" -D["HAVE_MEMMOVE"]=" 1" -D["HAVE_MEMSET"]=" 1" -D["HAVE_REGCOMP"]=" 1" -D["HAVE_SOCKET"]=" 1" -D["HAVE_STRCASECMP"]=" 1" -D["HAVE_STRCHR"]=" 1" -D["HAVE_STRCSPN"]=" 1" -D["HAVE_STRDUP"]=" 1" -D["HAVE_STRERROR"]=" 1" -D["HAVE_STRNCASECMP"]=" 1" -D["HAVE_STRNDUP"]=" 1" -D["HAVE_STRRCHR"]=" 1" -D["HAVE_STRSPN"]=" 1" -D["HAVE_STRSTR"]=" 1" -D["HAVE_STRTOL"]=" 1" -D["HAVE_STRDUP"]=" 1" -D["HAVE_STRERROR"]=" 1" -D["HAVE_STRSTR"]=" 1" -D["HAVE_TSEARCH"]=" 1" -D["HAVE_TFIND"]=" 1" -D["HAVE_TWALK"]=" 1" - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { - line = $ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK - as_fn_error "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} - ac_datarootdir_hack=' - s&@datadir@&${datarootdir}&g - s&@docdir@&${datarootdir}/doc/${PACKAGE}&g - s&@infodir@&${datarootdir}/info&g - s&@localedir@&${datarootdir}/locale&g - s&@mandir@&${datarootdir}/man&g - s&\${datarootdir}&${prefix}/share&g' ;; -esac -ac_sed_extra="/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -} - -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; - esac \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error "could not create -" "$LINENO" 5 - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 diff --git a/arid_examples/html-xml-utils-3.0/configure b/arid_examples/html-xml-utils-3.0/configure deleted file mode 100755 index 610b0c126..000000000 --- a/arid_examples/html-xml-utils-3.0/configure +++ /dev/null @@ -1,6390 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.65. -# -# -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi -" - as_required="as_fn_return () { (exit \$1); } -as_fn_success () { as_fn_return 0; } -as_fn_failure () { as_fn_return 1; } -as_fn_ret_success () { return 0; } -as_fn_ret_failure () { return 1; } - -exitcode=0 -as_fn_success || { exitcode=1; echo as_fn_success failed.; } -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : - -else - exitcode=1; echo positional parameters were not saved. -fi -test x\$exitcode = x0 || exit 1" - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -test \$(( 1 + 1 )) = 2 || exit 1" - if (eval "$as_required") 2>/dev/null; then : - as_have_required=yes -else - as_have_required=no -fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : - -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - as_found=: - case $as_dir in #( - /*) - for as_base in sh bash ksh sh5; do - # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : - CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : - break 2 -fi -fi - done;; - esac - as_found=false -done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } -IFS=$as_save_IFS - - - if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." - else - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -$0: including any error possibly output before this -$0: message. Then install a modern shell, or manually run -$0: the script under such a shell if you do have one." - fi - exit 1 -fi -fi -fi -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -# Unset more variables known to interfere with behavior of common tools. -CLICOLOR_FORCE= GREP_OPTIONS= -unset CLICOLOR_FORCE GREP_OPTIONS - -## --------------------- ## -## M4sh Shell Functions. ## -## --------------------- ## -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with status $?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} # as_fn_error - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - - - as_lineno_1=$LINENO as_lineno_1a=$LINENO - as_lineno_2=$LINENO as_lineno_2a=$LINENO - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -test -n "$DJDIR" || exec 7<&0 </dev/null -exec 6>&1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= -PACKAGE_URL= - -# Factoring default headers for most tests. -ac_includes_default="\ -#include <stdio.h> -#ifdef HAVE_SYS_TYPES_H -# include <sys/types.h> -#endif -#ifdef HAVE_SYS_STAT_H -# include <sys/stat.h> -#endif -#ifdef STDC_HEADERS -# include <stdlib.h> -# include <stddef.h> -#else -# ifdef HAVE_STDLIB_H -# include <stdlib.h> -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include <memory.h> -# endif -# include <string.h> -#endif -#ifdef HAVE_STRINGS_H -# include <strings.h> -#endif -#ifdef HAVE_INTTYPES_H -# include <inttypes.h> -#endif -#ifdef HAVE_STDINT_H -# include <stdint.h> -#endif -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif" - -ac_subst_vars='am__EXEEXT_FALSE -am__EXEEXT_TRUE -LTLIBOBJS -lex_opt_flags -LIBOBJS -EGREP -GREP -YFLAGS -YACC -LEXLIB -LEX_OUTPUT_ROOT -LEX -CPP -am__fastdepCC_FALSE -am__fastdepCC_TRUE -CCDEPMODE -AMDEPBACKSLASH -AMDEP_FALSE -AMDEP_TRUE -am__quote -am__include -DEPDIR -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -am__untar -am__tar -AMTAR -am__leading_dot -SET_MAKE -AWK -mkdir_p -MKDIR_P -INSTALL_STRIP_PROGRAM -STRIP -install_sh -MAKEINFO -AUTOHEADER -AUTOMAKE -AUTOCONF -ACLOCAL -VERSION -PACKAGE -CYGPATH_W -am__isrc -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_dependency_tracking -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CPP -YACC -YFLAGS' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) as_fn_error "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information." - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - case $ac_envvar in #( - '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error "invalid variable name: \`$ac_envvar'" ;; - esac - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - as_fn_error "working directory cannot be determined" -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -Program names: - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a - nonstandard directory <lib dir> - LIBS libraries to pass to the linker, e.g. -l<library> - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if - you have headers in a nonstandard directory <include dir> - CPP C preprocessor - YACC The `Yet Another C Compiler' implementation to use. Defaults to - the first program found out of: `bison -y', `byacc', `yacc'. - YFLAGS The list of arguments that will be passed by default to $YACC. - This script will default YFLAGS to the empty string to avoid a - default value of `-d' given by some make applications. - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to the package provider. -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.65 - -Copyright (C) 2009 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -# ac_fn_c_try_compile LINENO -# -------------------------- -# Try to compile conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext - if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_compile - -# ac_fn_c_try_cpp LINENO -# ---------------------- -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_cpp - -# ac_fn_c_try_link LINENO -# ----------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_link - -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_header_mongrel - -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_header_compile - -# ac_fn_c_check_type LINENO TYPE VAR INCLUDES -# ------------------------------------------- -# Tests whether TYPE exists after having included INCLUDES, setting cache -# variable VAR accordingly. -ac_fn_c_check_type () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=no" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof ($2)) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof (($2))) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - eval "$3=yes" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_type - -# ac_fn_c_check_decl LINENO SYMBOL VAR -# ------------------------------------ -# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. -ac_fn_c_check_decl () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 -$as_echo_n "checking whether $2 is declared... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -#ifndef $2 - (void) $2; -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_decl - -# ac_fn_c_check_func LINENO FUNC VAR -# ---------------------------------- -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case <limits.h> declares $2. - For example, HP-UX 11i <limits.h> declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - -#undef $2 - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_func -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by $as_me, which was -generated by GNU Autoconf 2.65. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" - done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; - 2) - as_fn_append ac_configure_args1 " '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - as_fn_append ac_configure_args " '$ac_arg'" - ;; - esac - done -done -{ ac_configure_args0=; unset ac_configure_args0;} -{ ac_configure_args1=; unset ac_configure_args1;} - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## -## File substitutions. ## -## ------------------- ## -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -$as_echo "/* confdefs.h */" > confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special files - # actually), so we avoid doing that. DJGPP emulates it as a regular file. - if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) as_fn_append ac_configure_args " '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -fi -## -------------------- ## -## Main body of script. ## -## -------------------- ## - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -am__api_version='1.11' - -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - for ac_t in install-sh install.sh shtool; do - if test -f "$ac_dir/$ac_t"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/$ac_t -c" - break 2 - fi - done -done -if test -z "$ac_aux_dir"; then - as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - - done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; -esac -case $srcdir in - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - as_fn_error "ls -t appears to fail. Make sure there is not a broken -alias in your environment" "$LINENO" 5 - fi - - test "$2" = conftest.file - ) -then - # Ok. - : -else - as_fn_error "newly created file is older than distributed files! -Check your system clock" "$LINENO" 5 -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. -# By default was `s,x,x', remove it if useless. -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` - -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` - -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} -fi - -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi - -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in mkdir gmkdir; do - for ac_exec_ext in '' $ac_executable_extensions; do - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ - 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext - break 3;; - esac - done - done - done -IFS=$as_save_IFS - -fi - - test -d ./--version && rmdir ./--version - if test "${ac_cv_path_mkdir+set}" = set; then - MKDIR_P="$ac_cv_path_mkdir -p" - else - # As a last resort, use the slow shell script. Don't cache a - # value for MKDIR_P within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - MKDIR_P="$ac_install_sh -d" - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } - -mkdir_p="$MKDIR_P" -case $mkdir_p in - [\\/$]* | ?:[\\/]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null - -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - am__isrc=' -I$(srcdir)' - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi - - -# Define the identity of the package. - PACKAGE=html-xml-utils - VERSION=3.0 - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE "$PACKAGE" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define VERSION "$VERSION" -_ACEOF - -# Some tools Automake needs. - -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - - -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - - -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - - -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -# Always define AMTAR for backward compatibility. - -AMTAR=${AMTAR-"${am_missing_run}tar"} - -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' - - - - - -ac_config_headers="$ac_config_headers config.h" - - -# Checks for programs. -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "no acceptable C compiler found in \$PATH -See \`config.log' for more details." "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { { ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ as_fn_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdio.h> -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -ac_clean_files="$ac_clean_files conftest.out" -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then - { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if { ac_try='./conftest$ac_cv_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." "$LINENO" 5; } - fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of object files: cannot compile -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdarg.h> -#include <stdio.h> -#include <sys/types.h> -#include <sys/stat.h> -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 -$as_echo_n "checking for style of include used by $am_make... " >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 -$as_echo "$_am_result" >&6; } -rm -f confinc confmf - -# Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -# AC_PROG_LN_S -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <ac_nonexistent.h> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -for ac_prog in flex lex -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_LEX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$LEX"; then - ac_cv_prog_LEX="$LEX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_LEX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -LEX=$ac_cv_prog_LEX -if test -n "$LEX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 -$as_echo "$LEX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$LEX" && break -done -test -n "$LEX" || LEX=":" - -if test "x$LEX" != "x:"; then - cat >conftest.l <<_ACEOF -%% -a { ECHO; } -b { REJECT; } -c { yymore (); } -d { yyless (1); } -e { yyless (input () != 0); } -f { unput (yytext[0]); } -. { BEGIN INITIAL; } -%% -#ifdef YYTEXT_POINTER -extern char *yytext; -#endif -int -main (void) -{ - return ! yylex () + ! yywrap (); -} -_ACEOF -{ { ac_try="$LEX conftest.l" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$LEX conftest.l") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 -$as_echo_n "checking lex output file root... " >&6; } -if test "${ac_cv_prog_lex_root+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - -if test -f lex.yy.c; then - ac_cv_prog_lex_root=lex.yy -elif test -f lexyy.c; then - ac_cv_prog_lex_root=lexyy -else - as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 -$as_echo "$ac_cv_prog_lex_root" >&6; } -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root - -if test -z "${LEXLIB+set}"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 -$as_echo_n "checking lex library... " >&6; } -if test "${ac_cv_lib_lex+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - ac_save_LIBS=$LIBS - ac_cv_lib_lex='none needed' - for ac_lib in '' -lfl -ll; do - LIBS="$ac_lib $ac_save_LIBS" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -`cat $LEX_OUTPUT_ROOT.c` -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_lex=$ac_lib -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - test "$ac_cv_lib_lex" != 'none needed' && break - done - LIBS=$ac_save_LIBS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 -$as_echo "$ac_cv_lib_lex" >&6; } - test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 -$as_echo_n "checking whether yytext is a pointer... " >&6; } -if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # POSIX says lex can declare yytext either as a pointer or an array; the -# default is implementation-dependent. Figure out which it is, since -# not all implementations provide the %pointer and %array declarations. -ac_cv_prog_lex_yytext_pointer=no -ac_save_LIBS=$LIBS -LIBS="$LEXLIB $ac_save_LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define YYTEXT_POINTER 1 -`cat $LEX_OUTPUT_ROOT.c` -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_prog_lex_yytext_pointer=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_save_LIBS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 -$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } -if test $ac_cv_prog_lex_yytext_pointer = yes; then - -$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h - -fi -rm -f conftest.l $LEX_OUTPUT_ROOT.c - -fi -if test "$LEX" = :; then - LEX=${am_missing_run}flex -fi -for ac_prog in 'bison -y' byacc -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_YACC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$YACC"; then - ac_cv_prog_YACC="$YACC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_YACC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -YACC=$ac_cv_prog_YACC -if test -n "$YACC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 -$as_echo "$YACC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$YACC" && break -done -test -n "$YACC" || YACC="yacc" - -# AC_PROG_MAN2HTML - -# Checks for libraries. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 -$as_echo_n "checking for library containing socket... " >&6; } -if test "${ac_cv_search_socket+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char socket (); -int -main () -{ -return socket (); - ; - return 0; -} -_ACEOF -for ac_lib in '' socket nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_socket=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if test "${ac_cv_search_socket+set}" = set; then : - break -fi -done -if test "${ac_cv_search_socket+set}" = set; then : - -else - ac_cv_search_socket=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 -$as_echo "$ac_cv_search_socket" >&6; } -ac_res=$ac_cv_search_socket -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 -$as_echo_n "checking for library containing gethostbyname... " >&6; } -if test "${ac_cv_search_gethostbyname+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -for ac_lib in '' socket nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_gethostbyname=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if test "${ac_cv_search_gethostbyname+set}" = set; then : - break -fi -done -if test "${ac_cv_search_gethostbyname+set}" = set; then : - -else - ac_cv_search_gethostbyname=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 -$as_echo "$ac_cv_search_gethostbyname" >&6; } -ac_res=$ac_cv_search_gethostbyname -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - - -# Checks for header files. - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> -#include <stdarg.h> -#include <string.h> -#include <float.h> - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <string.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <ctype.h> -#include <stdlib.h> -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "#define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ac_header in arpa/inet.h errno.h fcntl.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/socket.h unistd.h search.h machine/ansi.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -# Checks for typedefs, structures, and compiler characteristics. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if test "${ac_cv_c_const+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -/* FIXME: Include the comments suggested by Paul. */ -#ifndef __cplusplus - /* Ultrix mips cc rejects this. */ - typedef int charset[2]; - const charset cs; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *pcpcc; - char **ppc; - /* NEC SVR4.0.2 mips cc rejects this. */ - struct point {int x, y;}; - static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in - an arm of an if-expression whose if-part is not a constant - expression */ - const char *g = "string"; - pcpcc = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++pcpcc; - ppc = (char**) pcpcc; - pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - if (s) return 0; - } - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x[] = {25, 17}; - const int *foo = &x[0]; - ++foo; - } - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; - } - { /* AIX XL C 1.02.0.0 rejects this saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; - } - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; - if (!foo) return 0; - } - return !cs[0] && !zero.x; -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_const=yes -else - ac_cv_c_const=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 -$as_echo "$ac_cv_c_const" >&6; } -if test $ac_cv_c_const = no; then - -$as_echo "#define const /**/" >>confdefs.h - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 -$as_echo_n "checking for inline... " >&6; } -if test "${ac_cv_c_inline+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifndef __cplusplus -typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } -#endif - -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_inline=$ac_kw -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - test "$ac_cv_c_inline" != no && break -done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 -$as_echo "$ac_cv_c_inline" >&6; } - -case $ac_cv_c_inline in - inline | yes) ;; - *) - case $ac_cv_c_inline in - no) ac_val=;; - *) ac_val=$ac_cv_c_inline;; - esac - cat >>confdefs.h <<_ACEOF -#ifndef __cplusplus -#define inline $ac_val -#endif -_ACEOF - ;; -esac - -ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -if test "x$ac_cv_type_size_t" = x""yes; then : - -else - -cat >>confdefs.h <<_ACEOF -#define size_t unsigned int -_ACEOF - -fi - - -# Checks for library functions. -# AC_FUNC_ERROR_AT_LINE -for ac_header in stdlib.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" -if test "x$ac_cv_header_stdlib_h" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STDLIB_H 1 -_ACEOF - -fi - -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 -$as_echo_n "checking for GNU libc compatible malloc... " >&6; } -if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - ac_cv_func_malloc_0_nonnull=no -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined STDC_HEADERS || defined HAVE_STDLIB_H -# include <stdlib.h> -#else -char *malloc (); -#endif - -int -main () -{ -return ! malloc (0); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_func_malloc_0_nonnull=yes -else - ac_cv_func_malloc_0_nonnull=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 -$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } -if test $ac_cv_func_malloc_0_nonnull = yes; then : - -$as_echo "#define HAVE_MALLOC 1" >>confdefs.h - -else - $as_echo "#define HAVE_MALLOC 0" >>confdefs.h - - case " $LIBOBJS " in - *" malloc.$ac_objext "* ) ;; - *) LIBOBJS="$LIBOBJS malloc.$ac_objext" - ;; -esac - - -$as_echo "#define malloc rpl_malloc" >>confdefs.h - -fi - - -# AC_FUNC_REALLOC -ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" -if test "x$ac_cv_have_decl_strerror_r" = x""yes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_STRERROR_R $ac_have_decl -_ACEOF - -for ac_func in strerror_r -do : - ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" -if test "x$ac_cv_func_strerror_r" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRERROR_R 1 -_ACEOF - -fi -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 -$as_echo_n "checking whether strerror_r returns char *... " >&6; } -if test "${ac_cv_func_strerror_r_char_p+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - ac_cv_func_strerror_r_char_p=no - if test $ac_cv_have_decl_strerror_r = yes; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ - - char buf[100]; - char x = *strerror_r (0, buf, sizeof buf); - char *p = strerror_r (0, buf, sizeof buf); - return !p || x; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_func_strerror_r_char_p=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - else - # strerror_r is not declared. Choose between - # systems that have relatively inaccessible declarations for the - # function. BeOS and DEC UNIX 4.0 fall in this category, but the - # former has a strerror_r that returns char*, while the latter - # has a strerror_r that returns `int'. - # This test should segfault on the DEC system. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default - extern char *strerror_r (); -int -main () -{ -char buf[100]; - char x = *strerror_r (0, buf, sizeof buf); - return ! isalpha (x); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_func_strerror_r_char_p=yes -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 -$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } -if test $ac_cv_func_strerror_r_char_p = yes; then - -$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h - -fi - -for ac_func in vprintf -do : - ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -if test "x$ac_cv_func_vprintf" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_VPRINTF 1 -_ACEOF - -ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" -if test "x$ac_cv_func__doprnt" = x""yes; then : - -$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h - -fi - -fi -done - - -for ac_func in gethostbyname memmove memset regcomp socket strcasecmp strchr strcspn strdup strerror strncasecmp strndup strrchr strspn strstr strtol -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -eval as_val=\$$as_ac_var - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in strdup strerror strstr tsearch tfind twalk -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -eval as_val=\$$as_ac_var - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -else - case " $LIBOBJS " in - *" $ac_func.$ac_objext "* ) ;; - *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" - ;; -esac - -fi -done - - - -# Optimization flags for flex -case "$ac_cv_prog_LEX" in - *flex) lex_opt_flags=-Cfe;; -esac - - -ac_config_files="$ac_config_files Makefile" - -#AC_CONFIG_COMMANDS([default],[[echo timestamp > stamp-h]],[[]]) -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIBOBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - if test -n "$EXEEXT"; then - am__EXEEXT_TRUE= - am__EXEEXT_FALSE='#' -else - am__EXEEXT_TRUE='#' - am__EXEEXT_FALSE= -fi - -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - as_fn_error "conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error "conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi - -: ${CONFIG_STATUS=./config.status} -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false - -SHELL=\${CONFIG_SHELL-$SHELL} -export SHELL -_ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with status $?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -_ASEOF -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by $as_me, which was -generated by GNU Autoconf 2.65. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to the package provider." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" -ac_cs_version="\\ -config.status -configured by $0, generated by GNU Autoconf 2.65, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2009 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -MKDIR_P='$MKDIR_P' -AWK='$AWK' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_HEADERS " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' <conf$$subs.awk | sed ' -/^[^""]/{ - N - s/\n// -} -' >>$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error "could not setup config files machinery" "$LINENO" 5 -_ACEOF - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' <confdefs.h | sed ' -s/'"$ac_delim"'/"\\\ -"/g' >>$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; - esac \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error "could not create -" "$LINENO" 5 - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit $? -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - diff --git a/arid_examples/html-xml-utils-3.0/configure.in b/arid_examples/html-xml-utils-3.0/configure.in deleted file mode 100644 index f0247eddc..000000000 --- a/arid_examples/html-xml-utils-3.0/configure.in +++ /dev/null @@ -1,46 +0,0 @@ -# Process this file with autoconf to produce a configure script. -AC_PREREQ(2.52) -AC_INIT -AM_INIT_AUTOMAKE(html-xml-utils, 3.0) -AM_CONFIG_HEADER(config.h) - -# Checks for programs. -AC_PROG_CC -AC_PROG_CPP -AC_PROG_INSTALL -# AC_PROG_LN_S -AC_PROG_AWK -AC_PROG_CPP -AM_PROG_LEX -AC_PROG_YACC -# AC_PROG_MAN2HTML - -# Checks for libraries. -AC_SEARCH_LIBS(socket, socket nsl) -AC_SEARCH_LIBS(gethostbyname, socket nsl) - -# Checks for header files. -AC_HEADER_STDC -AC_CHECK_HEADERS([arpa/inet.h errno.h fcntl.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/socket.h unistd.h search.h machine/ansi.h]) - -# Checks for typedefs, structures, and compiler characteristics. -AC_C_CONST -AC_C_INLINE -AC_TYPE_SIZE_T - -# Checks for library functions. -# AC_FUNC_ERROR_AT_LINE -AC_FUNC_MALLOC -# AC_FUNC_REALLOC -AC_FUNC_STRERROR_R -AC_FUNC_VPRINTF -AC_CHECK_FUNCS([gethostbyname memmove memset regcomp socket strcasecmp strchr strcspn strdup strerror strncasecmp strndup strrchr strspn strstr strtol]) -AC_REPLACE_FUNCS(strdup strerror strstr tsearch tfind twalk) - -# Optimization flags for flex -AC_FLEX_OPTIMIZE -AC_SUBST(lex_opt_flags) - -AC_CONFIG_FILES([Makefile]) -#AC_CONFIG_COMMANDS([default],[[echo timestamp > stamp-h]],[[]]) -AC_OUTPUT diff --git a/arid_examples/html-xml-utils-3.0/connectsock.c b/arid_examples/html-xml-utils-3.0/connectsock.c deleted file mode 100644 index 8794e06c7..000000000 --- a/arid_examples/html-xml-utils-3.0/connectsock.c +++ /dev/null @@ -1,136 +0,0 @@ -/* connectsock.c - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 12 May 1998 - * Version: $Id: connectsock.c,v 1.6 2003/01/21 19:26:03 bbos Exp $ - **/ - -#include <config.h> -#include <sys/types.h> -#include <sys/socket.h> -#include <netinet/in.h> -#ifdef HAVE_ARPA_INET_H -# include <arpa/inet.h> -#endif -#include <netdb.h> -#include <errno.h> -#include <stdlib.h> -#include <string.h> -#include "export.h" - -#ifndef INADDR_NONE -#define INADDR_NONE 0xffffffff -#endif - -EXPORT u_short portbase = 0; /* for non-root servers */ - - -/* connectsock -- allocate & connect a socket using TCP or UDP */ -EXPORT int connectsock(const char *host, const char *service, char *protocol) -{ - /* host = name of host to which connection is desired */ - /* service = service associated with the desired port */ - /* protocol = name of protocol to use ("tcp" or "udp") */ - struct hostent *phe; /* ptr to host info entry */ - struct servent *pse; /* ptr to service info entry */ - struct protoent *ppe; /* ptr protocol info entry */ - struct sockaddr_in sin; /* Internet endpoint address */ - int s, type; /* socket desc & socket type */ - - memset(&sin, 0, sizeof(sin)); - sin.sin_family = AF_INET; - errno = 0; - - /* Map service to port number */ - if ((pse = getservbyname(service, protocol))) - sin.sin_port = pse->s_port; - else if ((sin.sin_port = htons(atoi(service))) == 0) - { if (!errno) errno = ENOSYS; return -1; } /* can't get service entry */ - - /* Map host name to IP address, allowing for dotted decimal */ - if ((phe = gethostbyname(host))) - memcpy(&sin.sin_addr, phe->h_addr, phe->h_length); - else if ((sin.sin_addr.s_addr = inet_addr(host)) == INADDR_NONE) - { if (!errno) errno = ENXIO; return -1; } /* can't get host entry */ - - /* Map protocol name to protocol number */ - if ((ppe = getprotobyname(protocol)) == 0) return -1; - - /* Use protocol to choose a socket type */ - type = (strcmp(protocol, "udp") == 0) ? SOCK_DGRAM : SOCK_STREAM; - - /* Allocate a socket */ - if ((s = socket(PF_INET, type, ppe->p_proto)) < 0) return -1; - - /* Connect the socket */ - if (connect(s, (struct sockaddr *)&sin, sizeof(sin)) < 0) return -1; - - return s; -} - -/* connectTCP -- connect to a specified UDP service on a specified host */ -EXPORT int connectTCP(const char *host, const char *service) -{ - return connectsock(host, service, "tcp"); -} - -/* connectUDP -- connect to a specified UDP service on a specified host */ -EXPORT int connectUDP(char *host, char *service) -{ - return connectsock(host, service, "udp"); -} - -/* passivesock -- allocate & bind a server socket using TCP or UDP */ -EXPORT int passivesock(char *service, char *protocol, int qlen) -{ - /* service = service associated with the desired port */ - /* protocol = name of protocol to use ("tcp" or "udp") */ - /* qlen = maximum length of the server request queue */ - struct servent *pse; /* ptr to service info entry */ - struct protoent *ppe; /* ptr protocol info entry */ - struct sockaddr_in sin; /* Internet endpoint address */ - int s, type; /* socket desc & socket type */ - - memset(&sin, 0, sizeof(sin)); - sin.sin_family = AF_INET; - sin.sin_addr.s_addr = INADDR_ANY; - errno = 0; - - /* Map service to port number */ - if ((pse = getservbyname(service, protocol))) - sin.sin_port = htons(ntohs((u_short)pse->s_port) + portbase); - else if ((sin.sin_port = htons((u_short)atoi(service))) == 0) - { if (!errno) errno = ENOSYS; return -1; } /* can't get service entry */ - - /* Map protocol name to protocol number */ - if ((ppe = getprotobyname(protocol)) == 0) return -1; - - /* Use protocol to choose a socket type */ - type = (strcmp(protocol, "udp") == 0) ? SOCK_DGRAM : SOCK_STREAM; - - /* Allocate a socket */ - if ((s = socket(PF_INET, type, ppe->p_proto)) < 0) return -1; - - /* Bind the socket */ - if (bind(s, (struct sockaddr *)&sin, sizeof(sin)) < 0) return -1; - if (type == SOCK_STREAM && listen(s, qlen) < 0) return -1; - - return s; -} - -/* passiveTCP -- creat a passive socket for use in a TCP server */ -EXPORT int passiveTCP(char *service, int qlen) -{ - /* service = service associated with thte desired port */ - /* qlen = maximum server request queue length */ - return passivesock(service, "tcp", qlen); -} - -/* passiveUDP -- creat a passive socket for use in a UDP server */ -EXPORT int passiveUDP(char *service) -{ - return passivesock(service, "udp", 0); -} diff --git a/arid_examples/html-xml-utils-3.0/connectsock.e b/arid_examples/html-xml-utils-3.0/connectsock.e deleted file mode 100644 index 40047d8b0..000000000 --- a/arid_examples/html-xml-utils-3.0/connectsock.e +++ /dev/null @@ -1,7 +0,0 @@ - u_short portbase ; - int connectsock(const char *host, const char *service, char *protocol); - int connectTCP(const char *host, const char *service); - int connectUDP(char *host, char *service); - int passivesock(char *service, char *protocol, int qlen); - int passiveTCP(char *service, int qlen); - int passiveUDP(char *service); diff --git a/arid_examples/html-xml-utils-3.0/count.1 b/arid_examples/html-xml-utils-3.0/count.1 deleted file mode 100644 index 3e08fd600..000000000 --- a/arid_examples/html-xml-utils-3.0/count.1 +++ /dev/null @@ -1,31 +0,0 @@ -.TH man 1 "2 Dec 1998" -.SH NAME -count \- count elements and attributes in HTML or XML files files -.SH SYNOPSIS -.B count -.RB "[\| " file " \|]" -.SH DESCRIPTION -.LP -The -.B count -command counts the number of elements and attributes of each type that -appears in the input and prints a report on stdout. -.SH OPERANDS -The following operand is supported: -.TP 10 -.I file -The name of an HTML or XML file. If absent, standard input is read -instead. -.SH "EXIT STATUS" -The following exit values are returned: -.TP 10 -.B 0 -Successful completion. -.TP -.B >0 -An error occurred in the parsing of the HTML or XML file. -.B count -will try to recover from the error and produce output anyway. -.SH BUGS -.LP -None known. Don't trust the output if there were errors in the input. diff --git a/arid_examples/html-xml-utils-3.0/count.c b/arid_examples/html-xml-utils-3.0/count.c deleted file mode 100644 index 5241b00d5..000000000 --- a/arid_examples/html-xml-utils-3.0/count.c +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Count elements and attributes. - * - * This counts occurrences of elements and element/attribute pairs. - * This is just an example of how to use the parser. - * No attempt is made to count efficiently. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos - * Created Nov 1998 - * $Id: count.c,v 1.12 2000/08/07 12:28:44 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <ctype.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRdup -# include "strdup.e" -# endif -#endif -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" - -typedef struct _pair { - char *name; - int count; -} pair; - -static pair *freq = NULL; -static int nrelems = 0; -static Boolean has_errors = False; - - -/* countstring -- add 1 to number of occurences for s (case-insensitively) */ -static void countstring(char *s) -{ - int i; - - i = 0; - while (i < nrelems && strcasecmp(freq[i].name, s) != 0) i++; - if (i == nrelems) { - nrelems++; - freq = realloc(freq, nrelems * sizeof(freq[0])); - if (freq == NULL) {fprintf(stderr, "Out of memory\n"); exit(4);} - freq[i].name = strdup(s); - freq[i].count = 0; - } - freq[i].count++; -} - -/* count -- count element types and their attributes */ -static void count(char *name, pairlist attribs) -{ - /* Count element name */ - countstring(name); - - /* Count attribute names (or rather, the strings "elem/attrib") */ - for (; attribs != NULL; attribs = attribs->next) { - char *s = malloc(strlen(name) + strlen(attribs->name) + 2); - if (s == NULL) {fprintf(stderr, "Out of memory\n"); exit(4);} - strcat(strcat(strcpy(s, name), "/"), attribs->name); - countstring(s); - free(s); - } -} - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_errors = True; -} - -/* start -- called before the first event is reported */ -void* start(void) {return NULL;} - -/* end -- called after the last event is reported */ -void end(void *clientdata) {} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) {} - -/* handle_text -- called after a tex chunk is parsed */ -void handle_text(void *clientdata, string text) {} - -/* handle_declaration -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, - string fpi, string url) {} - -/* handle_proc_instr -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) {} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - count(name, attribs); -} - -/* handle_emptytag -- called after am empty tag is parsed */ -extern void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - count(name, attribs); -} - -/* handle_pop -- called after an endtag is parsed (name may be "") */ -extern void handle_endtag(void *clientdata, string name) {} - -/* usage -- print usage message and exit */ -static void usage(string prog) -{ - fprintf(stderr, "Version %s\n", VERSION); - fprintf(stderr, "Usage: %s [html-file]\n", prog); - exit(2); -} - -/* main -- parse input, count elements and attributes of each type */ -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - if (argc == 1) yyin = stdin; - else if (argc == 2) yyin = fopenurl(argv[1], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[1]); exit(1);} - - /* Parse input */ - if (yyparse() != 0) exit(3); - - /* Print results */ - for (i = 0; i < nrelems; i++) - printf("%6d\t%s\n", freq[i].count, freq[i].name); - - return has_errors ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/depcomp b/arid_examples/html-xml-utils-3.0/depcomp deleted file mode 100755 index 9e5522d04..000000000 --- a/arid_examples/html-xml-utils-3.0/depcomp +++ /dev/null @@ -1,520 +0,0 @@ -#! /bin/sh -# depcomp - compile a program generating dependencies as side-effects - -scriptversion=2003-11-08.23 - -# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program 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 General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. - -case $1 in - '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: depcomp [--help] [--version] PROGRAM [ARGS] - -Run PROGRAMS ARGS to compile a file, generating dependencies -as side-effects. - -Environment variables: - depmode Dependency tracking mode. - source Source file read by `PROGRAMS ARGS'. - object Object file output by `PROGRAMS ARGS'. - depfile Dependency file to output. - tmpdepfile Temporary file to use when outputing dependencies. - libtool Whether libtool is used (yes/no). - -Report bugs to <bug-automake@gnu.org>. -EOF - exit 0 - ;; - -v | --v*) - echo "depcomp $scriptversion" - exit 0 - ;; -esac - -if test -z "$depmode" || test -z "$source" || test -z "$object"; then - echo "depcomp: Variables source, object and depmode must be set" 1>&2 - exit 1 -fi -# `libtool' can also be set to `yes' or `no'. - -if test -z "$depfile"; then - base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'` - dir=`echo "$object" | sed 's,/.*$,/,'` - if test "$dir" = "$object"; then - dir= - fi - # FIXME: should be _deps on DOS. - depfile="$dir.deps/$base" -fi - -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} - -rm -f "$tmpdepfile" - -# Some modes work just like other modes, but use different flags. We -# parameterize here, but still list the modes in the big case below, -# to make depend.m4 easier to write. Note that we *cannot* use a case -# here, because this file can only contain one case statement. -if test "$depmode" = hp; then - # HP compiler uses -M and no extra arg. - gccflag=-M - depmode=gcc -fi - -if test "$depmode" = dashXmstdout; then - # This is just like dashmstdout with a different argument. - dashmflag=-xM - depmode=dashmstdout -fi - -case "$depmode" in -gcc3) -## gcc 3 implements dependency tracking that does exactly what -## we want. Yay! Note: for some reason libtool 1.4 doesn't like -## it if -MD -MP comes after the -MF stuff. Hmm. - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - mv "$tmpdepfile" "$depfile" - ;; - -gcc) -## There are various ways to get dependency output from gcc. Here's -## why we pick this rather obscure method: -## - Don't want to use -MD because we'd like the dependencies to end -## up in a subdir. Having to rename by hand is ugly. -## (We might end up doing this anyway to support other compilers.) -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like -## -MM, not -M (despite what the docs say). -## - Using -M directly means running the compiler twice (even worse -## than renaming). - if test -z "$gccflag"; then - gccflag=-MD, - fi - "$@" -Wp,"$gccflag$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - echo "$object : \\" > "$depfile" - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -## The second -e expression handles DOS-style file names with drive letters. - sed -e 's/^[^:]*: / /' \ - -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the `deleted header file' problem. -## The problem is that when a header file which appears in a .P file -## is deleted, the dependency causes make to die (because there is -## typically no way to rebuild the header). We avoid this by adding -## dummy dependencies for each header file. Too bad gcc doesn't do -## this for us directly. - tr ' ' ' -' < "$tmpdepfile" | -## Some versions of gcc put a space before the `:'. On the theory -## that the space means something, we add a space to the output as -## well. -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -sgi) - if test "$libtool" = yes; then - "$@" "-Wp,-MDupdate,$tmpdepfile" - else - "$@" -MDupdate "$tmpdepfile" - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files - echo "$object : \\" > "$depfile" - - # Clip off the initial element (the dependent). Don't try to be - # clever and replace this with sed code, as IRIX sed won't handle - # lines with more than a fixed number of characters (4096 in - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like `#:fec' to the end of the - # dependency line. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ - tr ' -' ' ' >> $depfile - echo >> $depfile - - # The second pass generates a dummy entry for each header file. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> $depfile - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -aix) - # The C for AIX Compiler uses -M and outputs the dependencies - # in a .u file. In older versions, this file always lives in the - # current directory. Also, the AIX compiler puts `$object:' at the - # start of each line; $object doesn't have directory information. - # Version 6 uses the directory in both cases. - stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` - tmpdepfile="$stripped.u" - if test "$libtool" = yes; then - "$@" -Wc,-M - else - "$@" -M - fi - stat=$? - - if test -f "$tmpdepfile"; then : - else - stripped=`echo "$stripped" | sed 's,^.*/,,'` - tmpdepfile="$stripped.u" - fi - - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - - if test -f "$tmpdepfile"; then - outname="$stripped.o" - # Each line is of the form `foo.o: dependent.h'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" - sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -icc) - # Intel's C compiler understands `-MD -MF file'. However on - # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c - # ICC 7.0 will fill foo.d with something like - # foo.o: sub/foo.c - # foo.o: sub/foo.h - # which is wrong. We want: - # sub/foo.o: sub/foo.c - # sub/foo.o: sub/foo.h - # sub/foo.c: - # sub/foo.h: - # ICC 7.1 will output - # foo.o: sub/foo.c sub/foo.h - # and will wrap long lines using \ : - # foo.o: sub/foo.c ... \ - # sub/foo.h ... \ - # ... - - "$@" -MD -MF "$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - # Each line is of the form `foo.o: dependent.h', - # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" - # Some versions of the HPUX 10.20 sed can't process this invocation - # correctly. Breaking it into two sed invocations is a workaround. - sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | - sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -tru64) - # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in `foo.d' instead, so we check for that too. - # Subdirectories are respected. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - - if test "$libtool" = yes; then - tmpdepfile1="$dir.libs/$base.lo.d" - tmpdepfile2="$dir.libs/$base.d" - "$@" -Wc,-MD - else - tmpdepfile1="$dir$base.o.d" - tmpdepfile2="$dir$base.d" - "$@" -MD - fi - - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" - exit $stat - fi - - if test -f "$tmpdepfile1"; then - tmpdepfile="$tmpdepfile1" - else - tmpdepfile="$tmpdepfile2" - fi - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the []. - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -#nosideeffect) - # This comment above is used by automake to tell side-effect - # dependency tracking mechanisms from slower ones. - -dashmstdout) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - test -z "$dashmflag" && dashmflag=-M - # Require at least two characters before searching for `:' - # in the target name. This is to cope with DOS-style filenames: - # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. - "$@" $dashmflag | - sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - tr ' ' ' -' < "$tmpdepfile" | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -dashXmstdout) - # This case only exists to satisfy depend.m4. It is never actually - # run, as this mode is specially recognized in the preamble. - exit 1 - ;; - -makedepend) - "$@" || exit $? - # Remove any Libtool call - if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do - shift - done - shift - fi - # X makedepend - shift - cleared=no - for arg in "$@"; do - case $cleared in - no) - set ""; shift - cleared=yes ;; - esac - case "$arg" in - -D*|-I*) - set fnord "$@" "$arg"; shift ;; - # Strip any option that makedepend may not understand. Remove - # the object too, otherwise makedepend will parse it as a source file. - -*|$object) - ;; - *) - set fnord "$@" "$arg"; shift ;; - esac - done - obj_suffix="`echo $object | sed 's/^.*\././'`" - touch "$tmpdepfile" - ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - sed '1,2d' "$tmpdepfile" | tr ' ' ' -' | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" "$tmpdepfile".bak - ;; - -cpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - "$@" -E | - sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | - sed '$ s: \\$::' > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - cat < "$tmpdepfile" >> "$depfile" - sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvisualcpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o, - # because we must use -o when running libtool. - "$@" || exit $? - IFS=" " - for arg - do - case "$arg" in - "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") - set fnord "$@" - shift - shift - ;; - *) - set fnord "$@" "$arg" - shift - shift - ;; - esac - done - "$@" -E | - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" - echo " " >> "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -none) - exec "$@" - ;; - -*) - echo "Unknown depmode $depmode" 1>&2 - exit 1 - ;; -esac - -exit 0 - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff --git a/arid_examples/html-xml-utils-3.0/dtd.c b/arid_examples/html-xml-utils-3.0/dtd.c deleted file mode 100644 index 0121390ef..000000000 --- a/arid_examples/html-xml-utils-3.0/dtd.c +++ /dev/null @@ -1,246 +0,0 @@ -/* C code produced by gperf version 2.7 */ -/* Command-line: gperf -a -c -C -o -t -p -T -k 1,2,$ -N lookup_element dtd.hash */ /* -*-indented-text-*- */ - -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 5 Nov 1998 - * $Id: dtd.hash,v 1.11 2003/01/21 19:48:46 bbos Exp $ - * - * Input file for gperf, to generate a perfect hash function - * for all HTML tags, and to store each element's type. - * - * mixed = element accepts text content - * empty = element is empty - * stag = start tag is required - * etag = end tag is required - * pre = element is preformatted - * break_before, break_after = pretty-print with a newline before/after the elt - * parents = array of possible parents, first one is preferred parent - * - * The DTD is strict HTML 4.0 - * - */ -#include <config.h> -#include <string.h> -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" - -#define MAXNAMELEN 10 /* Max. len. of elt. name */ -EXPORTDEF(MAXNAMELEN) - -EXPORT typedef struct _ElementType { - char *name; - Boolean mixed, empty, stag, etag, pre, break_before, break_after; - char *parents[60]; -} ElementType; - -/* lookup_element -- look up the string in the hash table */ -EXPORT const ElementType * lookup_element(register const char *str, - register unsigned int len); - - - -#define TOTAL_KEYWORDS 78 -#define MIN_WORD_LENGTH 1 -#define MAX_WORD_LENGTH 10 -#define MIN_HASH_VALUE 1 -#define MAX_HASH_VALUE 168 -/* maximum key range = 168, duplicates = 0 */ - -#ifdef __GNUC__ -__inline -#endif -static unsigned int -hash (str, len) - register const char *str; - register unsigned int len; -{ - static const unsigned char asso_values[] = - { - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 0, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 20, - 25, 35, 40, 55, 30, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 0, 25, 70, - 5, 20, 45, 30, 10, 5, 169, 45, 15, 60, - 30, 0, 80, 10, 50, 30, 0, 15, 0, 169, - 169, 15, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169 - }; - register int hval = len; - - switch (hval) - { - default: - case 2: - hval += asso_values[(unsigned char)str[1]]; - case 1: - hval += asso_values[(unsigned char)str[0]]; - break; - } - return hval + asso_values[(unsigned char)str[len - 1]]; -} - -#ifdef __GNUC__ -__inline -#endif -const ElementType * -lookup_element (str, len) - register const char *str; - register unsigned int len; -{ - static const ElementType wordlist[] = - { - {""}, - {"a", 1, 0, 1, 1, 0, 0, 0, {"p", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"tt", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, {""}, {""}, - {"dt", 1, 0, 1, 0, 0, 1, 1, {"dl", NULL}}, - {""}, {""}, - {"%data", 1, 0, 1, 0, 0, 0, 0, {"p", NULL}}, - {"i", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"td", 1, 0, 1, 0, 0, 1, 1, {"tr", NULL}}, - {"div", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, {""}, {""}, - {"dd", 1, 0, 1, 0, 0, 1, 1, {"dl", NULL}}, - {""}, {""}, - {"thead", 0, 0, 1, 0, 0, 1, 1, {"table", NULL}}, - {"q", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"th", 1, 0, 1, 0, 0, 1, 1, {"tr", NULL}}, - {""}, {""}, - {"table", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, - {"li", 1, 0, 1, 0, 0, 1, 1, {"ul", "ol", NULL}}, - {"textarea", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"html", 0, 0, 0, 0, 0, 1, 1, {NULL, NULL}}, - {"title", 1, 0, 1, 1, 0, 1, 1, {"head", NULL}}, - {"object", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"ol", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"bdo", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"label", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"dl", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"noscript", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"head", 0, 0, 0, 0, 0, 1, 1, {"html", NULL}}, - {"input", 0, 1, 1, 0, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"address", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"del", 1, 0, 1, 1, 0, 0, 0, {"p", "body", "a", "abbr", "acronym", "address", "b", "bdo", "big", "blockquote", "button", "caption", "cite", "code", "colgroup", "dd", "dfn", "div", "dl", "dt", "em", "fieldset", "form", "h1", "h2", "h3", "h4", "h5", "h6", "i", "kbd", "label", "legend", "li", "map", "noscript", "object", "ol", "optgroup", "option", "pre", "q", "samp", "select", "small", "span", "strong", "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "tt", "ul", "var", NULL}}, - {"body", 0, 0, 0, 0, 0, 1, 1, {"html", NULL}}, - {"tbody", 0, 0, 0, 0, 0, 1, 1, {"table", NULL}}, - {"legend", 1, 0, 1, 1, 0, 1, 1, {"fieldset", NULL}}, - {"ul", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, - {"base", 0, 1, 1, 0, 0, 1, 1, {"head", NULL}}, - {"tfoot", 0, 0, 1, 0, 0, 1, 1, {"table", NULL}}, - {"b", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"h1", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"var", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"area", 0, 1, 1, 0, 0, 0, 0, {"map", NULL}}, - {"style", 1, 0, 1, 1, 1, 1, 1, {"head", NULL}}, - {"select", 0, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"fieldset", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, {""}, {""}, - {"h2", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"big", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, - {"strong", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"ins", 1, 0, 1, 1, 0, 0, 0, {"p", "body", "a", "abbr", "acronym", "address", "b", "bdo", "big", "blockquote", "button", "caption", "cite", "code", "colgroup", "dd", "dfn", "div", "dl", "dt", "em", "fieldset", "form", "h1", "h2", "h3", "h4", "h5", "h6", "i", "kbd", "label", "legend", "li", "map", "noscript", "object", "ol", "optgroup", "option", "pre", "q", "samp", "select", "small", "span", "strong", "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "tt", "ul", "var", NULL}}, - {"link", 0, 1, 1, 0, 0, 1, 1, {"head", NULL}}, - {"blockquote", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, - {"h6", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"sub", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, - {"button", 1, 0, 1, 1, 0, 1, 1, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"kbd", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"abbr", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, - {"h3", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"dfn", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"meta", 0, 1, 1, 0, 0, 1, 1, {"head", NULL}}, - {""}, {""}, {""}, - {"col", 0, 1, 1, 0, 0, 0, 0, {"colgroup", "table", NULL}}, - {""}, {""}, {""}, - {"h4", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, - {"code", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, {""}, - {"img", 0, 1, 1, 0, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"cite", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, - {"tr", 0, 0, 1, 0, 0, 1, 1, {"tbody", "tfoot", "thead", NULL}}, - {""}, {""}, {""}, - {"script", 1, 0, 1, 1, 1, 0, 0, {"p", "body", "a", "abbr", "acronym", "address", "b", "bdo", "big", "blockquote", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"caption", 1, 0, 1, 1, 0, 1, 1, {"table", NULL}}, - {""}, - {"form", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "dd", "del", "div", "fieldset", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"small", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"hr", 0, 1, 1, 0, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, - {"samp", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"option", 1, 0, 1, 0, 0, 1, 1, {"select", "optgroup", NULL}}, - {""}, {""}, {""}, {""}, {""}, - {"h5", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, {""}, {""}, {""}, - {"br", 0, 1, 1, 0, 0, 0, 1, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"sup", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {"acronym", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, {""}, {""}, - {"em", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"map", 0, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"span", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"param", 0, 1, 1, 0, 0, 1, 1, {"object", NULL}}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {"pre", 1, 0, 1, 1, 1, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, {""}, {""}, {""}, - {"colgroup", 0, 0, 1, 1, 0, 1, 1, {"table", NULL}}, - {""}, {""}, - {"p", 1, 0, 1, 0, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, {""}, {""}, {""}, {""}, {""}, - {"optgroup", 0, 0, 1, 1, 0, 1, 1, {"select", NULL}} - }; - - if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) - { - register int key = hash (str, len); - - if (key <= MAX_HASH_VALUE && key >= 0) - { - register const char *s = wordlist[key].name; - - if (*str == *s && !strncmp (str + 1, s + 1, len - 1)) - return &wordlist[key]; - } - } - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/dtd.e b/arid_examples/html-xml-utils-3.0/dtd.e deleted file mode 100644 index 32102cd9b..000000000 --- a/arid_examples/html-xml-utils-3.0/dtd.e +++ /dev/null @@ -1,8 +0,0 @@ -#define MAXNAMELEN 10 - typedef struct _ElementType { - char *name; - Boolean mixed, empty, stag, etag, pre, break_before, break_after; - char *parents[60]; -} ElementType; - const ElementType * lookup_element(register const char *str, - register unsigned int len); diff --git a/arid_examples/html-xml-utils-3.0/dtd.hash b/arid_examples/html-xml-utils-3.0/dtd.hash deleted file mode 100644 index e1c37acf7..000000000 --- a/arid_examples/html-xml-utils-3.0/dtd.hash +++ /dev/null @@ -1,130 +0,0 @@ -%{ /* -*-indented-text-*- */ - -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 5 Nov 1998 - * $Id: dtd.hash,v 1.11 2003/01/21 19:48:46 bbos Exp $ - * - * Input file for gperf, to generate a perfect hash function - * for all HTML tags, and to store each element's type. - * - * mixed = element accepts text content - * empty = element is empty - * stag = start tag is required - * etag = end tag is required - * pre = element is preformatted - * break_before, break_after = pretty-print with a newline before/after the elt - * parents = array of possible parents, first one is preferred parent - * - * The DTD is strict HTML 4.0 - * - */ -#include <config.h> -#include <string.h> -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" - -#define MAXNAMELEN 10 /* Max. len. of elt. name */ -EXPORTDEF(MAXNAMELEN) - -EXPORT typedef struct _ElementType { - char *name; - Boolean mixed, empty, stag, etag, pre, break_before, break_after; - char *parents[60]; -} ElementType; - -/* lookup_element -- look up the string in the hash table */ -EXPORT const ElementType * lookup_element(register const char *str, - register unsigned int len); - - -%} -ElementType {} - -%% -# name mixed empty stag etag pre b a parents -# ---- ----- ----- ---- ---- --- - - ------- -%data, 1, 0, 1, 0, 0, 0, 0, {"p", NULL} -a, 1, 0, 1, 1, 0, 0, 0, {"p", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -abbr, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -acronym, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -address, 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -area, 0, 1, 1, 0, 0, 0, 0, {"map", NULL} -b, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -base, 0, 1, 1, 0, 0, 1, 1, {"head", NULL} -bdo, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -big, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -blockquote, 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -body, 0, 0, 0, 0, 0, 1, 1, {"html", NULL} -br, 0, 1, 1, 0, 0, 0, 1, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -button, 1, 0, 1, 1, 0, 1, 1, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -caption, 1, 0, 1, 1, 0, 1, 1, {"table", NULL} -cite, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -code, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -col, 0, 1, 1, 0, 0, 0, 0, {"colgroup", "table", NULL} -colgroup, 0, 0, 1, 1, 0, 1, 1, {"table", NULL} -dd, 1, 0, 1, 0, 0, 1, 1, {"dl", NULL} -del, 1, 0, 1, 1, 0, 0, 0, {"p", "body", "a", "abbr", "acronym", "address", "b", "bdo", "big", "blockquote", "button", "caption", "cite", "code", "colgroup", "dd", "dfn", "div", "dl", "dt", "em", "fieldset", "form", "h1", "h2", "h3", "h4", "h5", "h6", "i", "kbd", "label", "legend", "li", "map", "noscript", "object", "ol", "optgroup", "option", "pre", "q", "samp", "select", "small", "span", "strong", "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "tt", "ul", "var", NULL} -dfn, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -div, 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -dl, 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -dt, 1, 0, 1, 0, 0, 1, 1, {"dl", NULL} -em, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -fieldset, 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -form, 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "dd", "del", "div", "fieldset", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -h1, 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -h2, 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -h3, 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -h4, 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -h5, 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -h6, 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -head, 0, 0, 0, 0, 0, 1, 1, {"html", NULL} -hr, 0, 1, 1, 0, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -html, 0, 0, 0, 0, 0, 1, 1, {NULL, NULL} -i, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -img, 0, 1, 1, 0, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -input, 0, 1, 1, 0, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -ins, 1, 0, 1, 1, 0, 0, 0, {"p", "body", "a", "abbr", "acronym", "address", "b", "bdo", "big", "blockquote", "button", "caption", "cite", "code", "colgroup", "dd", "dfn", "div", "dl", "dt", "em", "fieldset", "form", "h1", "h2", "h3", "h4", "h5", "h6", "i", "kbd", "label", "legend", "li", "map", "noscript", "object", "ol", "optgroup", "option", "pre", "q", "samp", "select", "small", "span", "strong", "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "tt", "ul", "var", NULL} -kbd, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -label, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -legend, 1, 0, 1, 1, 0, 1, 1, {"fieldset", NULL} -li, 1, 0, 1, 0, 0, 1, 1, {"ul", "ol", NULL} -link, 0, 1, 1, 0, 0, 1, 1, {"head", NULL} -map, 0, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -meta, 0, 1, 1, 0, 0, 1, 1, {"head", NULL} -noscript, 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -object, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -ol, 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -optgroup, 0, 0, 1, 1, 0, 1, 1, {"select", NULL} -option, 1, 0, 1, 0, 0, 1, 1, {"select", "optgroup", NULL} -p, 1, 0, 1, 0, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -param, 0, 1, 1, 0, 0, 1, 1, {"object", NULL} -pre, 1, 0, 1, 1, 1, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -q, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -samp, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -script, 1, 0, 1, 1, 1, 0, 0, {"p", "body", "a", "abbr", "acronym", "address", "b", "bdo", "big", "blockquote", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -select, 0, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -small, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -span, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -strong, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -style, 1, 0, 1, 1, 1, 1, 1, {"head", NULL} -sub, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -sup, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -table, 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -tbody, 0, 0, 0, 0, 0, 1, 1, {"table", NULL} -td, 1, 0, 1, 0, 0, 1, 1, {"tr", NULL} -textarea, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -tfoot, 0, 0, 1, 0, 0, 1, 1, {"table", NULL} -th, 1, 0, 1, 0, 0, 1, 1, {"tr", NULL} -thead, 0, 0, 1, 0, 0, 1, 1, {"table", NULL} -title, 1, 0, 1, 1, 0, 1, 1, {"head", NULL} -tr, 0, 0, 1, 0, 0, 1, 1, {"tbody", "tfoot", "thead", NULL} -tt, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -ul, 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL} -var, 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL} -%% diff --git a/arid_examples/html-xml-utils-3.0/dynamic_ps.sh b/arid_examples/html-xml-utils-3.0/dynamic_ps.sh deleted file mode 100755 index e079f04eb..000000000 --- a/arid_examples/html-xml-utils-3.0/dynamic_ps.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -make clean -./configure CPPFLAGS="-fno-stack-protector" -echo -echo "Making $1" -echo -make $1 -echo -echo "--------------------BEGIN PS-------------------------------" -echo "PS_analyzing $1" -echo -$PEASOUP_HOME/tools/ps_analyze.sh $1 $1.dynamic.protected - -echo "--------------------END PS-------------------------------" - diff --git a/arid_examples/html-xml-utils-3.0/errexit.c b/arid_examples/html-xml-utils-3.0/errexit.c deleted file mode 100644 index 8f738ae2a..000000000 --- a/arid_examples/html-xml-utils-3.0/errexit.c +++ /dev/null @@ -1,32 +0,0 @@ -/* errexit.c -- print message and exit - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 12 May 1998 - * Version: $Id: errexit.c,v 1.5 2003/01/21 19:44:39 bbos Exp $ - **/ -#include <config.h> -#include <stdarg.h> -#include <stdio.h> -#include <stdlib.h> -#ifdef HAVE_STRING_H -# include <string.h> -#elif HAVE_STRINGS_H -# include <strings.h> -#endif -#include "export.h" - -/* errexit -- print message and exit */ -EXPORT int errexit(char *format,...) -{ - va_list ap; - - va_start(ap, format); - vfprintf(stderr, format, ap); - va_end(ap); - exit(1); -} - - diff --git a/arid_examples/html-xml-utils-3.0/errexit.e b/arid_examples/html-xml-utils-3.0/errexit.e deleted file mode 100644 index d356f2bb0..000000000 --- a/arid_examples/html-xml-utils-3.0/errexit.e +++ /dev/null @@ -1 +0,0 @@ - int errexit(char *format,...); diff --git a/arid_examples/html-xml-utils-3.0/export.h b/arid_examples/html-xml-utils-3.0/export.h deleted file mode 100644 index 33afe4217..000000000 --- a/arid_examples/html-xml-utils-3.0/export.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * export.h -- header file for programs that use cexport - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * $Id: export.h,v 1.3 2003/04/09 09:39:31 bbos Exp $ - * - * Functions, type definitions, variable declarations can all be - * exported by putting EXPORT (uppercase only) in front of the - * declaration. The declarations must be ANSI-C. Macros can be - * exported with EXPORTDEF. Examples: - * - * EXPORT int sqr(int n) {...} -- exports function sqr() - * EXPORT typedef struct _Str * MyStr; -- exports type MyStr - * EXPORT int maximum; -- exports variable maximum - * #define max(a,b) ((a)>(b)?(a):(b)) - * EXPORTDEF(max(a,b)) -- exports macro max(a,b) - */ -#ifndef _EXPORT_H_ -#define _EXPORT_H_ - -#ifndef __export -#define EXPORT /* nothing */ -#define EXPORTDEF(x) /* nothing */ -#else -//#define EXPORTDEF(x) EXPORTDEF_##x x -#define EXPORTDEF(x) EXPORTDEF #x x -#endif - -#endif /* _EXPORT_H_ */ diff --git a/arid_examples/html-xml-utils-3.0/extract.c b/arid_examples/html-xml-utils-3.0/extract.c deleted file mode 100644 index 9ed581134..000000000 --- a/arid_examples/html-xml-utils-3.0/extract.c +++ /dev/null @@ -1,262 +0,0 @@ -/* - * Output all elements with a certain name and/or class. - * Input must be well-formed, since no HTML heuristics are applied. - * - * Copyright © 2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 20 Aug 2000 - * Version: $Id: extract.c,v 1.1 2000/08/20 16:33:42 bbos Exp $ - */ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include "export.h" -#include "types.e" -#include "html.e" -#include "heap.e" -#include "scan.e" -#include "openurl.e" -#include "class.e" - -#define INDEX "index" /* CLASS="... index..." */ - -#define MAXLINELEN 1024 /* In configfile */ - -static Boolean xml = False; /* Use <empty /> convention */ -static int copying = 0; /* Start by not copying */ -static string base = NULL; /* URL of each file */ -static string endtext = ""; /* Text to insert at end */ -static string targetelement = NULL; /* Element to extract */ -static string targetclass = NULL; /* Class to extract */ - - -/* get_id -- return the value of the ID attribute, or NULL */ -static const string get_id(pairlist attribs) -{ - pairlist p; - - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, "id") == 0) return p->value; - return NULL; -} - -/* add_href -- add an "href" attribute to a list of attributes */ -static void add_href(pairlist *attribs, const string base, const string id) -{ - pairlist p, q, h; - - /* Create new attribute and prepend to list */ - new(h); - h->name = newstring("href"); - newarray(h->value, strlen(base) + strlen(id) + 2); - sprintf(h->value, "%s#%s", base, id); - h->next = *attribs; - *attribs = h; - - /* Remove any other "href" attribute */ - for (p = h; p->next; p = p->next) { - if (strcasecmp(p->next->name, "href") == 0) { - q = p->next; - p->next = p->next->next; - dispose(q->name); - dispose(q->value); - dispose(q); - } - } -} - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *unused, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) {return NULL;} - -/* end -- called after the last event is reported */ -EXPORT void end(void *unused) {} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *unused, const string commenttext) {} - -/* handle_text -- called after a text chunk is parsed */ -EXPORT void handle_text(void *unused, const string text) -{ - if (copying > 0) fputs(text, stdout); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *unused, const string gi, - const string fpi, const string url) {} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *unused, const string pi_text) {} - -/* print_tag -- print a start- or empty tag */ -static void print_tag(const string name, pairlist attribs, Boolean empty) -{ - pairlist a; - string t, h; - - printf("<%s", name); - for (a = attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (strcasecmp(a->name, "class") == 0 && (t = contains(a->value, INDEX))) { - /* Print value excluding INDEX */ - printf("=\""); - for (h = a->value; h != t; h++) putchar(*h); - printf("%s\"", t + sizeof(INDEX) - 1); - } else { - if (a->value) printf("=\"%s\"", a->value); - } - } - printf((empty && xml) ? " />" : ">"); -} - -/* is_match check whether the element matches the target element and class */ -static Boolean is_match(const string name, pairlist attribs) -{ - return ((!targetelement || strcasecmp(name, targetelement) == 0) - && (!targetclass || has_class(attribs, targetclass))); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *unused, const string name, pairlist attribs) -{ - string id; - - if (copying || is_match(name, attribs)) { - if (!copying && (id = get_id(attribs))) add_href(&attribs, base, id); - if (!eq(name, "a") && !eq(name, "A")) print_tag(name, attribs, False); - copying++; - } -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *unused, const string name, - pairlist attribs) -{ - string id; - - if (copying || is_match(name, attribs)) { - if (!copying && (id = get_id(attribs))) add_href(&attribs, base, id); - if (!eq(name, "a") && !eq(name, "A")) print_tag(name, attribs, True); - } -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *unused, const string name) -{ - if (copying) { - if (!eq(name, "a") && !eq(name, "A")) printf("</%s>", name); - copying--; - } -} - -/* process_configfile -- read @chapter lines from config file */ -static void process_configfile(const string configfile) -{ - unsigned char line[MAXLINELEN], chapter[MAXLINELEN]; - FILE *f; - - if (! (f = fopenurl(configfile, "r"))) {perror(configfile); exit(2);} - - /* ToDo: accept quoted file names with spaces in their name */ - while (fgets(line, sizeof(line), f)) { - if (sscanf(line, " @chapter %s", chapter) == 1) { - if (!base) base = chapter; - yyin = fopenurl(chapter, "r"); - if (yyin == NULL) {perror(chapter); exit(2);} - if (yyparse() != 0) exit(3); - fclose(yyin); - base = NULL; - } - } - - fclose(f); -} - -/* usage -- print usage message and exit */ -static void usage(const string name) -{ - fprintf(stderr, "Version %s\n\ -Usage: %s [-x] [-s text] [-e text] [elem[.class]|.class] [-b base|file-or-URL|-c configfile]...\n", - VERSION, name); - exit(1); -} - -int main(int argc, char *argv[]) -{ - char *p; - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Loop over arguments; options may be in between file names */ - for (i = 1; i < argc; i++) { - if (eq(argv[i], "-h") || eq(argv[i], "-?")) { /* Usage */ - usage(argv[0]); - } else if (eq(argv[i], "-x")) { /* XML format */ - xml = True; - } else if (eq(argv[i], "-s")) { /* Insert text at start */ - printf("%s", argv[++i]); - } else if (eq(argv[i], "-e")) { /* Insert text at end */ - endtext = argv[++i]; - } else if (eq(argv[i], "-b")) { /* URL base */ - base = argv[++i]; - } else if (eq(argv[i], "-c")) { /* Config file */ - process_configfile(argv[++i]); - } else if (eq(argv[i], "-")) { /* "-" = stdin */ - if (!base) base = ""; - yyin = stdin; - if (yyparse() != 0) exit(3); - base = NULL; /* Reset base */ - } else if (targetelement || targetclass) { /* It's a file name or URL */ - if (!base) base = argv[i]; - yyin = fopenurl(argv[i], "r"); - if (yyin == NULL) {perror(argv[1]); exit(2);} - if (yyparse() != 0) exit(3); - fclose(yyin); - base = NULL; - } else if (argv[i][0] == '.') { /* Class name */ - targetclass = argv[i] + 1; - } else { /* Element name */ - targetelement = argv[i]; - if ((p = strchr(targetelement, '.'))) { - *p = '\0'; - targetclass = p + 1; - } - } - } - if (!targetelement && !targetclass) usage(argv[0]); - - printf("%s", endtext); /* Insert text at end */ - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/genid.c b/arid_examples/html-xml-utils-3.0/genid.c deleted file mode 100644 index e3e07266e..000000000 --- a/arid_examples/html-xml-utils-3.0/genid.c +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Generate unique IDs. - * - * Copyright © 2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 4 August 2000 - * Version: $Id: genid.c,v 1.5 2003/04/09 10:07:12 bbos Exp $ - **/ - -#include <config.h> -#include <assert.h> -#include <stdio.h> -#include <stdlib.h> -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#include <ctype.h> - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif - -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include <export.h> -#include "heap.e" -#include "types.e" -#include "tree.e" -#include "errexit.e" - - -#define MAXIDLEN 45 /* Max len of a generated ID */ -#define MINIDLEN 5 /* "the" or "a" isn't enough */ - - -static void *idtree = NULL; /* Sorted tree of IDs */ - - -/* storeID -- remember the existence of an ID (allocates a copy of the ID) */ -EXPORT void storeID(string id) -{ - (void) tsearch(newstring(id), &idtree, strcmp); -} - - -/* gen_id_r -- find some text suitable for an ID recursively */ -static void gen_id_r(Tree t, string s, int *len, int minlen, int maxlen) -{ - int i; - Tree h; - - assert(s); /* s at least maxlen long */ - - /* Loop over children looking for useful text */ - for (h = t->children; h && *len < maxlen - 1; h = h->sister) { - switch (h->tp) { - case Text: - assert(minlen < maxlen); - if (*len >= minlen) break; - /* Copy at least minlen characters, if avail, incl. spaces (as '-') */ - for (i = 0; *len < minlen && h->text[i]; i++) - if (isalpha(h->text[i])) s[(*len)++] = tolower(h->text[i]); - else if (*len == 0) ; /* Wait for a letter first */ - else if (h->text[i]=='-' || h->text[i]=='.') s[(*len)++]=h->text[i]; - else if (isdigit(h->text[i])) s[(*len)++] = h->text[i]; - else if (isspace(h->text[i]) && s[*len-1] != '-') s[(*len)++]='-'; - /* Then copy up to next space or up to maxlen */ - for (; *len < maxlen - 1 && h->text[i] && !isspace(h->text[i]); i++) - if (isalpha(h->text[i])) s[(*len)++] = tolower(h->text[i]); - else if (h->text[i]=='-' || h->text[i]=='.') s[(*len)++]=h->text[i]; - else if (isdigit(h->text[i])) s[(*len)++] = h->text[i]; - else if (isspace(h->text[i]) && s[*len-1] != '-') s[(*len)++]='-'; - break; - case Element: /* Recursive */ - if (*len < minlen) gen_id_r(h, s, len, minlen, maxlen); - break; - default: - break; - } - } - s[*len] = '\0'; -} - -/* gen_id -- try some heuristics to generate an ID for element t */ -EXPORT string gen_id(Tree t) -{ - string s; - int len = 0; - - if (! (s = malloc(MAXIDLEN + 1))) errexit("Out of memory\n"); - - assert(MAXIDLEN > 4); - gen_id_r(t, s, &len, MINIDLEN, MAXIDLEN - 4); - if (len == 0) s[len++] = 'x'; /* At least one character */ - if (tfind(s, &idtree, strcmp)) { - /* No suitable text found or text is already used elsewhere */ - int seqno = 0; - do { /* Try adding digits */ - sprintf(s + len, "%d", seqno); - seqno++; - } while (seqno != 10000 && tfind(s, &idtree, strcmp)); - if (seqno == 10000) { /* 10000 tried, giving up... */ - free(s); - return NULL; - } - } - (void) tsearch(s, &idtree, strcmp); /* Store it */ - return s; -} - diff --git a/arid_examples/html-xml-utils-3.0/genid.e b/arid_examples/html-xml-utils-3.0/genid.e deleted file mode 100644 index 50653d826..000000000 --- a/arid_examples/html-xml-utils-3.0/genid.e +++ /dev/null @@ -1,2 +0,0 @@ - void storeID(string id); - string gen_id(Tree t); diff --git a/arid_examples/html-xml-utils-3.0/hash.c b/arid_examples/html-xml-utils-3.0/hash.c deleted file mode 100644 index c09f38578..000000000 --- a/arid_examples/html-xml-utils-3.0/hash.c +++ /dev/null @@ -1,114 +0,0 @@ -#ifndef HAVE_SEARCH_H -/* - * hsearch() on Mac OS X 10.1.2 appears to be broken: there is no - * search.h; there is a search() in the C library, but it doesn't work - * properly. We include some hash functions here, protected by - * HAVE_SEARCH_H. Hopefully when search.h appears in Mac OS X, - * hsearch() will be fixed at the same time... - */ - -#include "config.h" -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "heap.e" - - -EXPORT typedef struct entry {char *key; void *data;} ENTRY; -EXPORT typedef enum {FIND, ENTER} ACTION; - -static ENTRY *htab; -static int *htab_index1, *htab_index2; -static unsigned int htab_size = 0; -static unsigned int htab_inited; - - -/* isprime -- test if n is a prime number */ -static int isprime(unsigned int n) -{ - /* Simplistic algorithm, probably good enough for now */ - unsigned int i; - assert(n % 2); /* n not even */ - for (i = 3; i * i < n; i += 2) if (n % i == 0) return 0; - return 1; -} - - -/* hcreate -- create a hash table for at least nel entries */ -EXPORT int hcreate(size_t nel) -{ - /* Change nel to next higher prime */ - for (nel |= 1; !isprime(nel); nel += 2) ; - - /* Allocate hash table and array to keep track of initialized entries */ - newarray(htab, nel); - newarray(htab_index1, nel); - newarray(htab_index2, nel); - if (!htab || !htab_index1 || !htab_index2) { - dispose(htab); - dispose(htab_index1); - dispose(htab_index2); - return 0; /* Out of memory */ - } - htab_inited = 0; - htab_size = nel; - return 1; -} - - -/* hdestroy -- deallocate hash table */ -EXPORT void hdestroy(void) -{ - assert(htab_size); - dispose(htab_index1); - dispose(htab_index2); - dispose(htab); - htab_size = 0; -} - - -/* hsearch -- search for and/or insert an entry in the hash table */ -EXPORT ENTRY *hsearch(ENTRY item, ACTION action) -{ - unsigned int hval, i; - char *p; - - assert(htab_size); /* There must be a hash table */ - - /* Compute a hash value */ -#if 1 - /* This function suggested by Dan Bernstein */ - for (hval = 5381, p = item.key; *p; p++) hval = (hval * 33) ^ *p; -#else - i = hval = strlen(item.key); - do {i--; hval = (hval << 1) + item.key[i];} while (i > 0); -#endif - hval %= htab_size; - /* if (action == ENTER) debug("%d\n", hval); */ - - /* Look for either an empty slot or an entry with the wanted key */ - i = hval; - while (htab_index1[i] < htab_inited - && htab_index2[htab_index1[i]] == i - && strcmp(htab[i].key, item.key) != 0) { - i = (i + 1) % htab_size; /* "Open" hash method */ - if (i == hval) return NULL; /* Made full round */ - } - /* Now we either have an empty slot or an entry with the same key */ - if (action == ENTER) { - htab[i].key = item.key; /* Put the item in this slot */ - htab[i].data = item.data; - if (htab_index1[i] >= htab_inited || htab_index2[htab_index1[i]] != i) { - /* Item was not yet used, mark it as used */ - htab_index1[i] = htab_inited; - htab_index2[htab_inited] = i; - htab_inited++; - } - return &htab[i]; - } else if (htab_index1[i] < htab_inited && htab_index2[htab_index1[i]] == i) - return &htab[i]; /* action == FIND, found key */ - - return NULL; /* Found empty slot */ -} - -#endif /* HAVE_SEARCH_H */ diff --git a/arid_examples/html-xml-utils-3.0/hash.e b/arid_examples/html-xml-utils-3.0/hash.e deleted file mode 100644 index dbd4a0713..000000000 --- a/arid_examples/html-xml-utils-3.0/hash.e +++ /dev/null @@ -1,5 +0,0 @@ - typedef struct entry {char *key; void *data;} ENTRY; - typedef enum {FIND, ENTER} ACTION; - int hcreate(size_t nel); - void hdestroy(void); - ENTRY *hsearch(ENTRY item, ACTION action); diff --git a/arid_examples/html-xml-utils-3.0/heap.c b/arid_examples/html-xml-utils-3.0/heap.c deleted file mode 100644 index 4796cba8e..000000000 --- a/arid_examples/html-xml-utils-3.0/heap.c +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright © 1994-2003 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: before 1995 - * Version: $Id: heap.c,v 1.7 2003/04/09 10:07:12 bbos Exp $ - **/ -#include <config.h> -#include <stdlib.h> -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include "export.h" - -#ifdef __export -//#define FILE / ## *"*/__FI ## LE__/*"* ## / -//#define LINE / ## *"*/__LI ## NE__/*"* ## / -#undef __FILE__ /* Don't expand while making the .e file */ -#undef __LINE__ /* Don't expand while making the .e file */ -#endif - -#define fatal(msg) fatal3(msg, __FILE__, __LINE__) -#define new(p) if (((p)=malloc(sizeof(*(p))))); else fatal("out of memory") -#define dispose(p) if (!(p)) ; else (free(p), (p) = (void*)0) -#define heapmax(p) 9999999 /* ? */ -#define newstring(s) heap_newstring(s, __FILE__, __LINE__) -#define newnstring(s,n) heap_newnstring(s, n, __FILE__, __LINE__) -#define newarray(p,n) \ - if (((p)=malloc((n)*sizeof(*(p))))); else fatal("out of memory") -#define renewarray(p,n) \ - if (((p)=realloc(p,(n)*sizeof(*(p))))); else fatal("out of memory") - -EXPORTDEF(fatal(msg)) -EXPORTDEF(new(p)) -EXPORTDEF(dispose(p)) -EXPORTDEF(heapmax(p)) -EXPORTDEF(newstring(s)) -EXPORTDEF(newnstring(s,n)) -EXPORTDEF(newarray(p,n)) -EXPORTDEF(renewarray(p,n)) - - -EXPORT void fatal3(const char *s, const char *file, const int line) -{ - fprintf(stderr, "%s (file %s, line %d)\n", s, file, line); - abort(); -} - - -EXPORT char * heap_newstring(const char *s, const char *file, const int line) -{ - char *t; - - if (!s) return NULL; - t = malloc((strlen(s) + 1) * sizeof(*t)); - if (!t) fatal3("out of memory", file, line); - strcpy(t, s); - return t; -} - -EXPORT char * heap_newnstring(const char *s, const size_t n, - const char *file, const int line) -{ - char *t; - - if (!s) return NULL; - t = malloc((n + 1) * sizeof(*t)); - if (!t) fatal3("out of memory", file, line); - strncpy(t, s, n); - t[n] = '\0'; - return t; -} diff --git a/arid_examples/html-xml-utils-3.0/heap.e b/arid_examples/html-xml-utils-3.0/heap.e deleted file mode 100644 index 636e4cb0e..000000000 --- a/arid_examples/html-xml-utils-3.0/heap.e +++ /dev/null @@ -1,12 +0,0 @@ -#define fatal(msg) fatal3(msg, __FILE__, __LINE__) -#define new(p) if (((p)=malloc(sizeof(*(p))))); else fatal3("out of memory", __FILE__, __LINE__) -#define dispose(p) if (!(p)) ; else (free(p), (p) = (void*)0) -#define heapmax(p) 9999999 -#define newstring(s) heap_newstring(s, __FILE__, __LINE__) -#define newnstring(s,n) heap_newnstring(s, n, __FILE__, __LINE__) -#define newarray(p,n) if (((p)=malloc((n)*sizeof(*(p))))); else fatal3("out of memory", __FILE__, __LINE__) -#define renewarray(p,n) if (((p)=realloc(p,(n)*sizeof(*(p))))); else fatal3("out of memory", __FILE__, __LINE__) - void fatal3(const char *s, const char *file, const int line); - char * heap_newstring(const char *s, const char *file, const int line); - char * heap_newnstring(const char *s, const size_t n, - const char *file, const int line); diff --git a/arid_examples/html-xml-utils-3.0/html.c b/arid_examples/html-xml-utils-3.0/html.c deleted file mode 100644 index 38cdc2a71..000000000 --- a/arid_examples/html-xml-utils-3.0/html.c +++ /dev/null @@ -1,1359 +0,0 @@ -/* A Bison parser, made from /0/w3c/bbos/Work/HTML/html.y, by GNU bison 1.75. */ - -/* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ - -/* Written by Richard Stallman by simplifying the original so called - ``semantic'' parser. */ - -/* All symbols defined below should begin with yy or YY, to avoid - infringing on user name space. This should be done even for local - variables, as they might otherwise be expanded by user macros. - There are some unavoidable exceptions within include files to - define necessary library symbols; they are noted "INFRINGES ON - USER NAME SPACE" below. */ - -/* Identify Bison output. */ -#define YYBISON 1 - -/* Pure parsers. */ -#define YYPURE 0 - -/* Using locations. */ -#define YYLSP_NEEDED 0 - - - -/* Tokens. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - TEXT = 258, - COMMENT = 259, - START = 260, - END = 261, - NAME = 262, - STRING = 263, - PROCINS = 264, - EMPTYEND = 265, - DOCTYPE = 266, - ENDINCL = 267 - }; -#endif -#define TEXT 258 -#define COMMENT 259 -#define START 260 -#define END 261 -#define NAME 262 -#define STRING 263 -#define PROCINS 264 -#define EMPTYEND 265 -#define DOCTYPE 266 -#define ENDINCL 267 - - - - -/* Copy the first part of user declarations. */ -#line 1 "html.y" - -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: html.y,v 1.17 2000/08/20 16:35:27 bbos Exp $ - **/ -#include <config.h> -#include <assert.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include "export.h" -#include "types.e" -#include "tree.e" - -/* The types of the various callback routines */ - -EXPORT typedef void (*html_handle_error_fn) - (void *clientdata, const string s, int lineno); -EXPORT typedef void* (*html_handle_start_fn) - (void); -EXPORT typedef void (*html_handle_end_fn) - (void *clientdata); -EXPORT typedef void (*html_handle_comment_fn) - (void *clientdata, const string commenttext); -EXPORT typedef void (*html_handle_text_fn) - (void *clientdata, const string text); -EXPORT typedef void (*html_handle_decl_fn) - (void *clientdata, const string gi, const string fpi, const string url); -EXPORT typedef void (*html_handle_pi_fn) - (void *clientdata, const string pi_text); -EXPORT typedef void (*html_handle_starttag_fn) - (void *clientdata, const string name, pairlist attribs); -EXPORT typedef void (*html_handle_emptytag_fn) - (void *clientdata, const string name, pairlist attribs); -EXPORT typedef void (*html_handle_endtag_fn) - (void *clientdata, const string name); -EXPORT typedef void (*html_handle_endincl_fn) - (void *clientdata); - -/* yyparse -- entry point for the parser */ -EXPORT extern int yyparse(void); - -/* Store client data */ -static void *data; - -/* All callback routines */ -static struct { - html_handle_error_fn error; - html_handle_start_fn start; - html_handle_end_fn end; - html_handle_comment_fn comment; - html_handle_text_fn text; - html_handle_decl_fn decl; - html_handle_pi_fn pi; - html_handle_starttag_fn starttag; - html_handle_emptytag_fn emptytag; - html_handle_endtag_fn endtag; - html_handle_endincl_fn endincl; -} handle = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL}; - -/* Routines to bind concrete routines to the callbacks */ -EXPORT void set_error_handler(html_handle_error_fn f) {handle.error = f;} -EXPORT void set_start_handler(html_handle_start_fn f) {handle.start = f;} -EXPORT void set_end_handler(html_handle_end_fn f) {handle.end = f;} -EXPORT void set_comment_handler(html_handle_comment_fn f) {handle.comment = f;} -EXPORT void set_text_handler(html_handle_text_fn f) {handle.text = f;} -EXPORT void set_decl_handler(html_handle_decl_fn f) {handle.decl = f;} -EXPORT void set_pi_handler(html_handle_pi_fn f) {handle.pi = f;} -EXPORT void set_starttag_handler(html_handle_starttag_fn f){handle.starttag=f;} -EXPORT void set_emptytag_handler(html_handle_emptytag_fn f){handle.emptytag=f;} -EXPORT void set_endtag_handler(html_handle_endtag_fn f) {handle.endtag = f;} -EXPORT void set_endincl_handler(html_handle_endincl_fn f) {handle.endincl = f;} - -extern int yylex(void); -extern int yylineno; - -static int nrerrors = 0; -#define MAX_ERRORS_REPORTED 20 - -/* yyerror -- report parse error */ -static void yyerror(const string s) -{ - nrerrors++; - if (nrerrors < MAX_ERRORS_REPORTED) - handle.error(data, s, yylineno); - else if (nrerrors == MAX_ERRORS_REPORTED) - handle.error(data, "too many errors", yylineno); - else - ; /* don't report any more errors */ -} - - - -/* Enabling traces. */ -#ifndef YYDEBUG -# define YYDEBUG 0 -#endif - -/* Enabling verbose error messages. */ -#ifdef YYERROR_VERBOSE -# undef YYERROR_VERBOSE -# define YYERROR_VERBOSE 1 -#else -# define YYERROR_VERBOSE 0 -#endif - -#ifndef YYSTYPE -#line 98 "html.y" -typedef union { - string s; - pairlist p; -} yystype; -/* Line 193 of /usr/local/bison/share/bison/yacc.c. */ -#line 199 "html.c" -# define YYSTYPE yystype -# define YYSTYPE_IS_TRIVIAL 1 -#endif - -#ifndef YYLTYPE -typedef struct yyltype -{ - int first_line; - int first_column; - int last_line; - int last_column; -} yyltype; -# define YYLTYPE yyltype -# define YYLTYPE_IS_TRIVIAL 1 -#endif - -/* Copy the second part of user declarations. */ - - -/* Line 213 of /usr/local/bison/share/bison/yacc.c. */ -#line 220 "html.c" - -#if ! defined (yyoverflow) || YYERROR_VERBOSE - -/* The parser invokes alloca or malloc; define the necessary symbols. */ - -# if YYSTACK_USE_ALLOCA -# define YYSTACK_ALLOC alloca -# else -# ifndef YYSTACK_USE_ALLOCA -# if defined (alloca) || defined (_ALLOCA_H) -# define YYSTACK_ALLOC alloca -# else -# ifdef __GNUC__ -# define YYSTACK_ALLOC __builtin_alloca -# endif -# endif -# endif -# endif - -# ifdef YYSTACK_ALLOC - /* Pacify GCC's `empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) -# else -# if defined (__STDC__) || defined (__cplusplus) -# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# endif -# define YYSTACK_ALLOC malloc -# define YYSTACK_FREE free -# endif -#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ - - -#if (! defined (yyoverflow) \ - && (! defined (__cplusplus) \ - || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) - -/* A type that is properly aligned for any stack member. */ -union yyalloc -{ - short yyss; - YYSTYPE yyvs; - }; - -/* The size of the maximum gap between one aligned stack and the next. */ -# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1) - -/* The size of an array large to enough to hold all stacks, each with - N elements. */ -# define YYSTACK_BYTES(N) \ - ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ - + YYSTACK_GAP_MAX) - -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - register YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (0) -# endif -# endif - -/* Relocate STACK from its old location to the new one. The - local variables YYSIZE and YYSTACKSIZE give the old and new number of - elements in the stack, and YYPTR gives the new location of the - stack. Advance YYPTR to a properly aligned location for the next - stack. */ -# define YYSTACK_RELOCATE(Stack) \ - do \ - { \ - YYSIZE_T yynewbytes; \ - YYCOPY (&yyptr->Stack, Stack, yysize); \ - Stack = &yyptr->Stack; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \ - yyptr += yynewbytes / sizeof (*yyptr); \ - } \ - while (0) - -#endif - -#if defined (__STDC__) || defined (__cplusplus) - typedef signed char yysigned_char; -#else - typedef short yysigned_char; -#endif - -/* YYFINAL -- State number of the termination state. */ -#define YYFINAL 3 -#define YYLAST 25 - -/* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 15 -/* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 9 -/* YYNRULES -- Number of rules. */ -#define YYNRULES 22 -/* YYNRULES -- Number of states. */ -#define YYNSTATES 32 - -/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ -#define YYUNDEFTOK 2 -#define YYMAXUTOK 267 - -#define YYTRANSLATE(X) \ - ((unsigned)(X) <= YYMAXUTOK ? yytranslate[X] : YYUNDEFTOK) - -/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ -static const unsigned char yytranslate[] = -{ - 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 14, 13, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, - 5, 6, 7, 8, 9, 10, 11, 12 -}; - -#if YYDEBUG -/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in - YYRHS. */ -static const unsigned char yyprhs[] = -{ - 0, 0, 3, 4, 7, 10, 13, 16, 19, 22, - 25, 28, 31, 32, 36, 40, 43, 44, 46, 50, - 54, 57, 64 -}; - -/* YYRHS -- A `-1'-separated list of the rules' RHS. */ -static const yysigned_char yyrhs[] = -{ - 16, 0, -1, -1, 17, 18, -1, 18, 4, -1, - 18, 3, -1, 18, 19, -1, 18, 22, -1, 18, - 23, -1, 18, 9, -1, 18, 12, -1, 18, 1, - -1, -1, 5, 20, 13, -1, 5, 20, 10, -1, - 21, 20, -1, -1, 7, -1, 7, 14, 7, -1, - 7, 14, 8, -1, 6, 13, -1, 11, 7, 7, - 8, 8, 13, -1, 11, 7, 7, 8, 13, -1 -}; - -/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ -static const unsigned char yyrline[] = -{ - 0, 111, 111, 111, 115, 116, 117, 118, 119, 120, - 121, 122, 123, 126, 127, 130, 131, 134, 137, 140, - 145, 148, 149 -}; -#endif - -#if YYDEBUG || YYERROR_VERBOSE -/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. - First, the terminals, then, starting at YYNTOKENS, nonterminals. */ -static const char *const yytname[] = -{ - "$end", "error", "$undefined", "TEXT", "COMMENT", "START", "END", "NAME", - "STRING", "PROCINS", "EMPTYEND", "DOCTYPE", "ENDINCL", "'>'", "'='", - "$accept", "start", "@1", "document", "starttag", "attributes", - "attribute", "endtag", "decl", 0 -}; -#endif - -# ifdef YYPRINT -/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to - token YYLEX-NUM. */ -static const unsigned short yytoknum[] = -{ - 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, - 265, 266, 267, 62, 61 -}; -# endif - -/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const unsigned char yyr1[] = -{ - 0, 15, 17, 16, 18, 18, 18, 18, 18, 18, - 18, 18, 18, 19, 19, 20, 20, 21, 21, 21, - 22, 23, 23 -}; - -/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ -static const unsigned char yyr2[] = -{ - 0, 2, 0, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 0, 3, 3, 2, 0, 1, 3, 3, - 2, 6, 5 -}; - -/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state - STATE-NUM when YYTABLE doesn't specify something else to do. Zero - means the default is an error. */ -static const unsigned char yydefact[] = -{ - 2, 0, 12, 1, 0, 11, 5, 4, 16, 0, - 9, 0, 10, 6, 7, 8, 17, 0, 16, 20, - 0, 0, 14, 13, 15, 0, 18, 19, 0, 0, - 22, 21 -}; - -/* YYDEFGOTO[NTERM-NUM]. */ -static const yysigned_char yydefgoto[] = -{ - -1, 1, 2, 4, 13, 17, 18, 14, 15 -}; - -/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing - STATE-NUM. */ -#define YYPACT_NINF -7 -static const yysigned_char yypact[] = -{ - -7, 8, -7, -7, 0, -7, -7, -7, 10, -3, - -7, 11, -7, -7, -7, -7, 5, 3, 10, -7, - 13, 7, -7, -7, -7, 14, -7, -7, -6, 12, - -7, -7 -}; - -/* YYPGOTO[NTERM-NUM]. */ -static const yysigned_char yypgoto[] = -{ - -7, -7, -7, -7, -7, 6, -7, -7, -7 -}; - -/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If - positive, shift that token. If negative, reduce the rule which - number is the opposite. If zero, do what YYDEFACT says. - If YYTABLE_NINF, parse error. */ -#define YYTABLE_NINF -4 -static const yysigned_char yytable[] = -{ - -3, 5, 29, 6, 7, 8, 9, 30, 3, 10, - 19, 11, 12, 22, 26, 27, 23, 16, 20, 21, - 25, 0, 28, 0, 24, 31 -}; - -static const yysigned_char yycheck[] = -{ - 0, 1, 8, 3, 4, 5, 6, 13, 0, 9, - 13, 11, 12, 10, 7, 8, 13, 7, 7, 14, - 7, -1, 8, -1, 18, 13 -}; - -/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing - symbol of state STATE-NUM. */ -static const unsigned char yystos[] = -{ - 0, 16, 17, 0, 18, 1, 3, 4, 5, 6, - 9, 11, 12, 19, 22, 23, 7, 20, 21, 13, - 7, 14, 10, 13, 20, 7, 7, 8, 8, 8, - 13, 13 -}; - -#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) -# define YYSIZE_T __SIZE_TYPE__ -#endif -#if ! defined (YYSIZE_T) && defined (size_t) -# define YYSIZE_T size_t -#endif -#if ! defined (YYSIZE_T) -# if defined (__STDC__) || defined (__cplusplus) -# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# endif -#endif -#if ! defined (YYSIZE_T) -# define YYSIZE_T unsigned int -#endif - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY -2 -#define YYEOF 0 - -#define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrlab1 - -/* Like YYERROR except do call yyerror. This remains here temporarily - to ease the transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ - -#define YYFAIL goto yyerrlab - -#define YYRECOVERING() (!!yyerrstatus) - -#define YYBACKUP(Token, Value) \ -do \ - if (yychar == YYEMPTY && yylen == 1) \ - { \ - yychar = (Token); \ - yylval = (Value); \ - yychar1 = YYTRANSLATE (yychar); \ - YYPOPSTACK; \ - goto yybackup; \ - } \ - else \ - { \ - yyerror ("syntax error: cannot back up"); \ - YYERROR; \ - } \ -while (0) - -#define YYTERROR 1 -#define YYERRCODE 256 - -/* YYLLOC_DEFAULT -- Compute the default location (before the actions - are run). */ - -#ifndef YYLLOC_DEFAULT -# define YYLLOC_DEFAULT(Current, Rhs, N) \ - Current.first_line = Rhs[1].first_line; \ - Current.first_column = Rhs[1].first_column; \ - Current.last_line = Rhs[N].last_line; \ - Current.last_column = Rhs[N].last_column; -#endif - -/* YYLEX -- calling `yylex' with the right arguments. */ - -#define YYLEX yylex () - -/* Enable debugging if requested. */ -#if YYDEBUG - -# ifndef YYFPRINTF -# include <stdio.h> /* INFRINGES ON USER NAME SPACE */ -# define YYFPRINTF fprintf -# endif - -# define YYDPRINTF(Args) \ -do { \ - if (yydebug) \ - YYFPRINTF Args; \ -} while (0) -# define YYDSYMPRINT(Args) \ -do { \ - if (yydebug) \ - yysymprint Args; \ -} while (0) -/* Nonzero means print parse trace. It is left uninitialized so that - multiple parsers can coexist. */ -int yydebug; -#else /* !YYDEBUG */ -# define YYDPRINTF(Args) -# define YYDSYMPRINT(Args) -#endif /* !YYDEBUG */ - -/* YYINITDEPTH -- initial size of the parser's stacks. */ -#ifndef YYINITDEPTH -# define YYINITDEPTH 200 -#endif - -/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only - if the built-in stack extension method is used). - - Do not make this value too large; the results are undefined if - SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) - evaluated with infinite-precision integer arithmetic. */ - -#if YYMAXDEPTH == 0 -# undef YYMAXDEPTH -#endif - -#ifndef YYMAXDEPTH -# define YYMAXDEPTH 10000 -#endif - - - -#if YYERROR_VERBOSE - -# ifndef yystrlen -# if defined (__GLIBC__) && defined (_STRING_H) -# define yystrlen strlen -# else -/* Return the length of YYSTR. */ -static YYSIZE_T -# if defined (__STDC__) || defined (__cplusplus) -yystrlen (const char *yystr) -# else -yystrlen (yystr) - const char *yystr; -# endif -{ - register const char *yys = yystr; - - while (*yys++ != '\0') - continue; - - return yys - yystr - 1; -} -# endif -# endif - -# ifndef yystpcpy -# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) -# define yystpcpy stpcpy -# else -/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in - YYDEST. */ -static char * -# if defined (__STDC__) || defined (__cplusplus) -yystpcpy (char *yydest, const char *yysrc) -# else -yystpcpy (yydest, yysrc) - char *yydest; - const char *yysrc; -# endif -{ - register char *yyd = yydest; - register const char *yys = yysrc; - - while ((*yyd++ = *yys++) != '\0') - continue; - - return yyd - 1; -} -# endif -# endif - -#endif /* !YYERROR_VERBOSE */ - - - -#if YYDEBUG -/*-----------------------------. -| Print this symbol on YYOUT. | -`-----------------------------*/ - -static void -#if defined (__STDC__) || defined (__cplusplus) -yysymprint (FILE* yyout, int yytype, YYSTYPE yyvalue) -#else -yysymprint (yyout, yytype, yyvalue) - FILE* yyout; - int yytype; - YYSTYPE yyvalue; -#endif -{ - /* Pacify ``unused variable'' warnings. */ - (void) yyvalue; - - if (yytype < YYNTOKENS) - { - YYFPRINTF (yyout, "token %s (", yytname[yytype]); -# ifdef YYPRINT - YYPRINT (yyout, yytoknum[yytype], yyvalue); -# endif - } - else - YYFPRINTF (yyout, "nterm %s (", yytname[yytype]); - - switch (yytype) - { - default: - break; - } - YYFPRINTF (yyout, ")"); -} -#endif /* YYDEBUG. */ - - -/*-----------------------------------------------. -| Release the memory associated to this symbol. | -`-----------------------------------------------*/ - -static void -#if defined (__STDC__) || defined (__cplusplus) -yydestruct (int yytype, YYSTYPE yyvalue) -#else -yydestruct (yytype, yyvalue) - int yytype; - YYSTYPE yyvalue; -#endif -{ - /* Pacify ``unused variable'' warnings. */ - (void) yyvalue; - - switch (yytype) - { - default: - break; - } -} - - - -/* The user can define YYPARSE_PARAM as the name of an argument to be passed - into yyparse. The argument should have type void *. - It should actually point to an object. - Grammar actions can access the variable by casting it - to the proper pointer type. */ - -#ifdef YYPARSE_PARAM -# if defined (__STDC__) || defined (__cplusplus) -# define YYPARSE_PARAM_ARG void *YYPARSE_PARAM -# define YYPARSE_PARAM_DECL -# else -# define YYPARSE_PARAM_ARG YYPARSE_PARAM -# define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; -# endif -#else /* !YYPARSE_PARAM */ -# define YYPARSE_PARAM_ARG -# define YYPARSE_PARAM_DECL -#endif /* !YYPARSE_PARAM */ - -/* Prevent warning if -Wstrict-prototypes. */ -#ifdef __GNUC__ -# ifdef YYPARSE_PARAM -int yyparse (void *); -# else -int yyparse (void); -# endif -#endif - - -/* The lookahead symbol. */ -int yychar; - -/* The semantic value of the lookahead symbol. */ -YYSTYPE yylval; - -/* Number of parse errors so far. */ -int yynerrs; - - -int -yyparse (YYPARSE_PARAM_ARG) - YYPARSE_PARAM_DECL -{ - - register int yystate; - register int yyn; - int yyresult; - /* Number of tokens to shift before error messages enabled. */ - int yyerrstatus; - /* Lookahead token as an internal (translated) token number. */ - int yychar1 = 0; - - /* Three stacks and their tools: - `yyss': related to states, - `yyvs': related to semantic values, - `yyls': related to locations. - - Refer to the stacks thru separate pointers, to allow yyoverflow - to reallocate them elsewhere. */ - - /* The state stack. */ - short yyssa[YYINITDEPTH]; - short *yyss = yyssa; - register short *yyssp; - - /* The semantic value stack. */ - YYSTYPE yyvsa[YYINITDEPTH]; - YYSTYPE *yyvs = yyvsa; - register YYSTYPE *yyvsp; - - - -#define YYPOPSTACK (yyvsp--, yyssp--) - - YYSIZE_T yystacksize = YYINITDEPTH; - - /* The variables used to return semantic value and location from the - action routines. */ - YYSTYPE yyval; - - - /* When reducing, the number of symbols on the RHS of the reduced - rule. */ - int yylen; - - YYDPRINTF ((stderr, "Starting parse\n")); - - yystate = 0; - yyerrstatus = 0; - yynerrs = 0; - yychar = YYEMPTY; /* Cause a token to be read. */ - - /* Initialize stack pointers. - Waste one element of value and location stack - so that they stay on the same level as the state stack. - The wasted elements are never initialized. */ - - yyssp = yyss; - yyvsp = yyvs; - - goto yysetstate; - -/*------------------------------------------------------------. -| yynewstate -- Push a new state, which is found in yystate. | -`------------------------------------------------------------*/ - yynewstate: - /* In all cases, when you get here, the value and location stacks - have just been pushed. so pushing a state here evens the stacks. - */ - yyssp++; - - yysetstate: - *yyssp = yystate; - - if (yyssp >= yyss + yystacksize - 1) - { - /* Get the current used size of the three stacks, in elements. */ - YYSIZE_T yysize = yyssp - yyss + 1; - -#ifdef yyoverflow - { - /* Give user a chance to reallocate the stack. Use copies of - these so that the &'s don't force the real ones into - memory. */ - YYSTYPE *yyvs1 = yyvs; - short *yyss1 = yyss; - - - /* Each stack pointer address is followed by the size of the - data in use in that stack, in bytes. This used to be a - conditional around just the two extra args, but that might - be undefined if yyoverflow is a macro. */ - yyoverflow ("parser stack overflow", - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), - - &yystacksize); - - yyss = yyss1; - yyvs = yyvs1; - } -#else /* no yyoverflow */ -# ifndef YYSTACK_RELOCATE - goto yyoverflowlab; -# else - /* Extend the stack our own way. */ - if (yystacksize >= YYMAXDEPTH) - goto yyoverflowlab; - yystacksize *= 2; - if (yystacksize > YYMAXDEPTH) - yystacksize = YYMAXDEPTH; - - { - short *yyss1 = yyss; - union yyalloc *yyptr = - (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); - if (! yyptr) - goto yyoverflowlab; - YYSTACK_RELOCATE (yyss); - YYSTACK_RELOCATE (yyvs); - -# undef YYSTACK_RELOCATE - if (yyss1 != yyssa) - YYSTACK_FREE (yyss1); - } -# endif -#endif /* no yyoverflow */ - - yyssp = yyss + yysize - 1; - yyvsp = yyvs + yysize - 1; - - - YYDPRINTF ((stderr, "Stack size increased to %lu\n", - (unsigned long int) yystacksize)); - - if (yyssp >= yyss + yystacksize - 1) - YYABORT; - } - - YYDPRINTF ((stderr, "Entering state %d\n", yystate)); - - goto yybackup; - -/*-----------. -| yybackup. | -`-----------*/ -yybackup: - -/* Do appropriate processing given the current state. */ -/* Read a lookahead token if we need one and don't already have one. */ -/* yyresume: */ - - /* First try to decide what to do without reference to lookahead token. */ - - yyn = yypact[yystate]; - if (yyn == YYPACT_NINF) - goto yydefault; - - /* Not known => get a lookahead token if don't already have one. */ - - /* yychar is either YYEMPTY or YYEOF - or a valid token in external form. */ - - if (yychar == YYEMPTY) - { - YYDPRINTF ((stderr, "Reading a token: ")); - yychar = YYLEX; - } - - /* Convert token to internal form (in yychar1) for indexing tables with. */ - - if (yychar <= 0) /* This means end of input. */ - { - yychar1 = 0; - yychar = YYEOF; /* Don't call YYLEX any more. */ - - YYDPRINTF ((stderr, "Now at end of input.\n")); - } - else - { - yychar1 = YYTRANSLATE (yychar); - - /* We have to keep this `#if YYDEBUG', since we use variables - which are defined only if `YYDEBUG' is set. */ - YYDPRINTF ((stderr, "Next token is ")); - YYDSYMPRINT ((stderr, yychar1, yylval)); - YYDPRINTF ((stderr, "\n")); - } - - /* If the proper action on seeing token YYCHAR1 is to reduce or to - detect an error, take that action. */ - yyn += yychar1; - if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yychar1) - goto yydefault; - yyn = yytable[yyn]; - if (yyn <= 0) - { - if (yyn == 0 || yyn == YYTABLE_NINF) - goto yyerrlab; - yyn = -yyn; - goto yyreduce; - } - - if (yyn == YYFINAL) - YYACCEPT; - - /* Shift the lookahead token. */ - YYDPRINTF ((stderr, "Shifting token %d (%s), ", - yychar, yytname[yychar1])); - - /* Discard the token being shifted unless it is eof. */ - if (yychar != YYEOF) - yychar = YYEMPTY; - - *++yyvsp = yylval; - - - /* Count tokens shifted since error; after three, turn off error - status. */ - if (yyerrstatus) - yyerrstatus--; - - yystate = yyn; - goto yynewstate; - - -/*-----------------------------------------------------------. -| yydefault -- do the default action for the current state. | -`-----------------------------------------------------------*/ -yydefault: - yyn = yydefact[yystate]; - if (yyn == 0) - goto yyerrlab; - goto yyreduce; - - -/*-----------------------------. -| yyreduce -- Do a reduction. | -`-----------------------------*/ -yyreduce: - /* yyn is the number of a rule to reduce with. */ - yylen = yyr2[yyn]; - - /* If YYLEN is nonzero, implement the default value of the action: - `$$ = $1'. - - Otherwise, the following line sets YYVAL to garbage. - This behavior is undocumented and Bison - users should not rely upon it. Assigning to YYVAL - unconditionally makes the parser a bit smaller, and it avoids a - GCC warning that YYVAL may be used uninitialized. */ - yyval = yyvsp[1-yylen]; - - - -#if YYDEBUG - /* We have to keep this `#if YYDEBUG', since we use variables which - are defined only if `YYDEBUG' is set. */ - if (yydebug) - { - int yyi; - - YYFPRINTF (stderr, "Reducing via rule %d (line %d), ", - yyn - 1, yyrline[yyn]); - - /* Print the symbols being reduced, and their result. */ - for (yyi = yyprhs[yyn]; yyrhs[yyi] >= 0; yyi++) - YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); - YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]); - } -#endif - switch (yyn) - { - case 2: -#line 111 "html.y" - {data = handle.start();} - break; - - case 3: -#line 112 "html.y" - {handle.end(data);} - break; - - case 4: -#line 115 "html.y" - {handle.comment(data, yyvsp[0].s);} - break; - - case 5: -#line 116 "html.y" - {handle.text(data, yyvsp[0].s);} - break; - - case 9: -#line 120 "html.y" - {handle.pi(data, yyvsp[0].s);} - break; - - case 10: -#line 121 "html.y" - {handle.endincl(data);} - break; - - case 13: -#line 126 "html.y" - {handle.starttag(data,yyvsp[-2].s,yyvsp[-1].p);} - break; - - case 14: -#line 127 "html.y" - {handle.emptytag(data,yyvsp[-2].s,yyvsp[-1].p);} - break; - - case 15: -#line 130 "html.y" - {yyval.p = yyvsp[-1].p; yyval.p->next = yyvsp[0].p;} - break; - - case 16: -#line 131 "html.y" - {yyval.p = NULL;} - break; - - case 17: -#line 134 "html.y" - {pairlist h = malloc(sizeof(*h)); - assert(h != NULL); h->name = yyvsp[0].s; - h->value=NULL; yyval.p = h;} - break; - - case 18: -#line 137 "html.y" - {pairlist h = malloc(sizeof(*h)); - assert(h != NULL); h->name = yyvsp[-2].s; - h->value = yyvsp[0].s; yyval.p = h;} - break; - - case 19: -#line 140 "html.y" - {pairlist h = malloc(sizeof(*h)); - assert(h != NULL); h->name = yyvsp[-2].s; - h->value = yyvsp[0].s; yyval.p = h;} - break; - - case 20: -#line 145 "html.y" - {handle.endtag(data, yyvsp[-1].s);} - break; - - case 21: -#line 148 "html.y" - {handle.decl(data, yyvsp[-4].s, yyvsp[-2].s, yyvsp[-1].s);} - break; - - case 22: -#line 149 "html.y" - {if (strcasecmp(yyvsp[-2].s, "public") == 0) - handle.decl(data, yyvsp[-3].s, yyvsp[-1].s, NULL); - else /* "system" */ - handle.decl(data, yyvsp[-3].s, NULL, yyvsp[-1].s);} - break; - - - } - -/* Line 1016 of /usr/local/bison/share/bison/yacc.c. */ -#line 1140 "html.c" - - yyvsp -= yylen; - yyssp -= yylen; - - -#if YYDEBUG - if (yydebug) - { - short *yyssp1 = yyss - 1; - YYFPRINTF (stderr, "state stack now"); - while (yyssp1 != yyssp) - YYFPRINTF (stderr, " %d", *++yyssp1); - YYFPRINTF (stderr, "\n"); - } -#endif - - *++yyvsp = yyval; - - - /* Now `shift' the result of the reduction. Determine what state - that goes to, based on the state we popped back to and the rule - number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; - if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTOKENS]; - - goto yynewstate; - - -/*------------------------------------. -| yyerrlab -- here on detecting error | -`------------------------------------*/ -yyerrlab: - /* If not already recovering from an error, report this error. */ - if (!yyerrstatus) - { - ++yynerrs; -#if YYERROR_VERBOSE - yyn = yypact[yystate]; - - if (YYPACT_NINF < yyn && yyn < YYLAST) - { - YYSIZE_T yysize = 0; - int yytype = YYTRANSLATE (yychar); - char *yymsg; - int yyx, yycount; - - yycount = 0; - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ - for (yyx = yyn < 0 ? -yyn : 0; - yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - yysize += yystrlen (yytname[yyx]) + 15, yycount++; - yysize += yystrlen ("parse error, unexpected ") + 1; - yysize += yystrlen (yytname[yytype]); - yymsg = (char *) YYSTACK_ALLOC (yysize); - if (yymsg != 0) - { - char *yyp = yystpcpy (yymsg, "parse error, unexpected "); - yyp = yystpcpy (yyp, yytname[yytype]); - - if (yycount < 5) - { - yycount = 0; - for (yyx = yyn < 0 ? -yyn : 0; - yyx < (int) (sizeof (yytname) / sizeof (char *)); - yyx++) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - { - const char *yyq = ! yycount ? ", expecting " : " or "; - yyp = yystpcpy (yyp, yyq); - yyp = yystpcpy (yyp, yytname[yyx]); - yycount++; - } - } - yyerror (yymsg); - YYSTACK_FREE (yymsg); - } - else - yyerror ("parse error; also virtual memory exhausted"); - } - else -#endif /* YYERROR_VERBOSE */ - yyerror ("parse error"); - } - goto yyerrlab1; - - -/*----------------------------------------------------. -| yyerrlab1 -- error raised explicitly by an action. | -`----------------------------------------------------*/ -yyerrlab1: - if (yyerrstatus == 3) - { - /* If just tried and failed to reuse lookahead token after an - error, discard it. */ - - /* Return failure if at end of input. */ - if (yychar == YYEOF) - { - /* Pop the error token. */ - YYPOPSTACK; - /* Pop the rest of the stack. */ - while (yyssp > yyss) - { - YYDPRINTF ((stderr, "Error: popping ")); - YYDSYMPRINT ((stderr, - yystos[*yyssp], - *yyvsp)); - YYDPRINTF ((stderr, "\n")); - yydestruct (yystos[*yyssp], *yyvsp); - YYPOPSTACK; - } - YYABORT; - } - - YYDPRINTF ((stderr, "Discarding token %d (%s).\n", - yychar, yytname[yychar1])); - yydestruct (yychar1, yylval); - yychar = YYEMPTY; - } - - /* Else will try to reuse lookahead token after shifting the error - token. */ - - yyerrstatus = 3; /* Each real token shifted decrements this. */ - - for (;;) - { - yyn = yypact[yystate]; - if (yyn != YYPACT_NINF) - { - yyn += YYTERROR; - if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) - { - yyn = yytable[yyn]; - if (0 < yyn) - break; - } - } - - /* Pop the current state because it cannot handle the error token. */ - if (yyssp == yyss) - YYABORT; - - YYDPRINTF ((stderr, "Error: popping ")); - YYDSYMPRINT ((stderr, - yystos[*yyssp], *yyvsp)); - YYDPRINTF ((stderr, "\n")); - - yydestruct (yystos[yystate], *yyvsp); - yyvsp--; - yystate = *--yyssp; - - -#if YYDEBUG - if (yydebug) - { - short *yyssp1 = yyss - 1; - YYFPRINTF (stderr, "Error: state stack now"); - while (yyssp1 != yyssp) - YYFPRINTF (stderr, " %d", *++yyssp1); - YYFPRINTF (stderr, "\n"); - } -#endif - } - - if (yyn == YYFINAL) - YYACCEPT; - - YYDPRINTF ((stderr, "Shifting error token, ")); - - *++yyvsp = yylval; - - - yystate = yyn; - goto yynewstate; - - -/*-------------------------------------. -| yyacceptlab -- YYACCEPT comes here. | -`-------------------------------------*/ -yyacceptlab: - yyresult = 0; - goto yyreturn; - -/*-----------------------------------. -| yyabortlab -- YYABORT comes here. | -`-----------------------------------*/ -yyabortlab: - yyresult = 1; - goto yyreturn; - -#ifndef yyoverflow -/*----------------------------------------------. -| yyoverflowlab -- parser overflow comes here. | -`----------------------------------------------*/ -yyoverflowlab: - yyerror ("parser stack overflow"); - yyresult = 2; - /* Fall through. */ -#endif - -yyreturn: -#ifndef yyoverflow - if (yyss != yyssa) - YYSTACK_FREE (yyss); -#endif - return yyresult; -} - - -#line 110 "html.y" - diff --git a/arid_examples/html-xml-utils-3.0/html.e b/arid_examples/html-xml-utils-3.0/html.e deleted file mode 100644 index 4ba32c7ca..000000000 --- a/arid_examples/html-xml-utils-3.0/html.e +++ /dev/null @@ -1,34 +0,0 @@ - typedef void (*html_handle_error_fn) - (void *clientdata, const string s, int lineno); - typedef void* (*html_handle_start_fn) - (void); - typedef void (*html_handle_end_fn) - (void *clientdata); - typedef void (*html_handle_comment_fn) - (void *clientdata, const string commenttext); - typedef void (*html_handle_text_fn) - (void *clientdata, const string text); - typedef void (*html_handle_decl_fn) - (void *clientdata, const string gi, const string fpi, const string url); - typedef void (*html_handle_pi_fn) - (void *clientdata, const string pi_text); - typedef void (*html_handle_starttag_fn) - (void *clientdata, const string name, pairlist attribs); - typedef void (*html_handle_emptytag_fn) - (void *clientdata, const string name, pairlist attribs); - typedef void (*html_handle_endtag_fn) - (void *clientdata, const string name); - typedef void (*html_handle_endincl_fn) - (void *clientdata); - extern int yyparse(void); - void set_error_handler(html_handle_error_fn f); - void set_start_handler(html_handle_start_fn f); - void set_end_handler(html_handle_end_fn f); - void set_comment_handler(html_handle_comment_fn f); - void set_text_handler(html_handle_text_fn f); - void set_decl_handler(html_handle_decl_fn f); - void set_pi_handler(html_handle_pi_fn f); - void set_starttag_handler(html_handle_starttag_fn f); - void set_emptytag_handler(html_handle_emptytag_fn f); - void set_endtag_handler(html_handle_endtag_fn f); - void set_endincl_handler(html_handle_endincl_fn f); diff --git a/arid_examples/html-xml-utils-3.0/html.h b/arid_examples/html-xml-utils-3.0/html.h deleted file mode 100644 index 85f62c469..000000000 --- a/arid_examples/html-xml-utils-3.0/html.h +++ /dev/null @@ -1,76 +0,0 @@ -/* A Bison parser, made from /0/w3c/bbos/Work/HTML/html.y, by GNU bison 1.75. */ - -/* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ - -#ifndef BISON_Y_TAB_H -# define BISON_Y_TAB_H - -/* Tokens. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - TEXT = 258, - COMMENT = 259, - START = 260, - END = 261, - NAME = 262, - STRING = 263, - PROCINS = 264, - EMPTYEND = 265, - DOCTYPE = 266, - ENDINCL = 267 - }; -#endif -#define TEXT 258 -#define COMMENT 259 -#define START 260 -#define END 261 -#define NAME 262 -#define STRING 263 -#define PROCINS 264 -#define EMPTYEND 265 -#define DOCTYPE 266 -#define ENDINCL 267 - - - - -#ifndef YYSTYPE -#line 98 "html.y" -typedef union { - string s; - pairlist p; -} yystype; -/* Line 1281 of /usr/local/bison/share/bison/yacc.c. */ -#line 69 "html.h" -# define YYSTYPE yystype -#endif - -extern YYSTYPE yylval; - - -#endif /* not BISON_Y_TAB_H */ - diff --git a/arid_examples/html-xml-utils-3.0/html.y b/arid_examples/html-xml-utils-3.0/html.y deleted file mode 100644 index 05e891af3..000000000 --- a/arid_examples/html-xml-utils-3.0/html.y +++ /dev/null @@ -1,153 +0,0 @@ -%{ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: html.y,v 1.17 2000/08/20 16:35:27 bbos Exp $ - **/ -#include <config.h> -#include <assert.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include "export.h" -#include "types.e" -#include "tree.e" - -/* The types of the various callback routines */ - -EXPORT typedef void (*html_handle_error_fn) - (void *clientdata, const string s, int lineno); -EXPORT typedef void* (*html_handle_start_fn) - (void); -EXPORT typedef void (*html_handle_end_fn) - (void *clientdata); -EXPORT typedef void (*html_handle_comment_fn) - (void *clientdata, const string commenttext); -EXPORT typedef void (*html_handle_text_fn) - (void *clientdata, const string text); -EXPORT typedef void (*html_handle_decl_fn) - (void *clientdata, const string gi, const string fpi, const string url); -EXPORT typedef void (*html_handle_pi_fn) - (void *clientdata, const string pi_text); -EXPORT typedef void (*html_handle_starttag_fn) - (void *clientdata, const string name, pairlist attribs); -EXPORT typedef void (*html_handle_emptytag_fn) - (void *clientdata, const string name, pairlist attribs); -EXPORT typedef void (*html_handle_endtag_fn) - (void *clientdata, const string name); -EXPORT typedef void (*html_handle_endincl_fn) - (void *clientdata); - -/* yyparse -- entry point for the parser */ -EXPORT extern int yyparse(void); - -/* Store client data */ -static void *data; - -/* All callback routines */ -static struct { - html_handle_error_fn error; - html_handle_start_fn start; - html_handle_end_fn end; - html_handle_comment_fn comment; - html_handle_text_fn text; - html_handle_decl_fn decl; - html_handle_pi_fn pi; - html_handle_starttag_fn starttag; - html_handle_emptytag_fn emptytag; - html_handle_endtag_fn endtag; - html_handle_endincl_fn endincl; -} handle = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL}; - -/* Routines to bind concrete routines to the callbacks */ -EXPORT void set_error_handler(html_handle_error_fn f) {handle.error = f;} -EXPORT void set_start_handler(html_handle_start_fn f) {handle.start = f;} -EXPORT void set_end_handler(html_handle_end_fn f) {handle.end = f;} -EXPORT void set_comment_handler(html_handle_comment_fn f) {handle.comment = f;} -EXPORT void set_text_handler(html_handle_text_fn f) {handle.text = f;} -EXPORT void set_decl_handler(html_handle_decl_fn f) {handle.decl = f;} -EXPORT void set_pi_handler(html_handle_pi_fn f) {handle.pi = f;} -EXPORT void set_starttag_handler(html_handle_starttag_fn f){handle.starttag=f;} -EXPORT void set_emptytag_handler(html_handle_emptytag_fn f){handle.emptytag=f;} -EXPORT void set_endtag_handler(html_handle_endtag_fn f) {handle.endtag = f;} -EXPORT void set_endincl_handler(html_handle_endincl_fn f) {handle.endincl = f;} - -extern int yylex(void); -extern int yylineno; - -static int nrerrors = 0; -#define MAX_ERRORS_REPORTED 20 - -/* yyerror -- report parse error */ -static void yyerror(const string s) -{ - nrerrors++; - if (nrerrors < MAX_ERRORS_REPORTED) - handle.error(data, s, yylineno); - else if (nrerrors == MAX_ERRORS_REPORTED) - handle.error(data, "too many errors", yylineno); - else - ; /* don't report any more errors */ -} - -%} - -%union { - string s; - pairlist p; -} - -%token <s> TEXT COMMENT START END NAME STRING PROCINS -%token EMPTYEND DOCTYPE ENDINCL - -%type <p> attribute attributes - -%% - -start - : {data = handle.start();} - document {handle.end(data);} - ; -document - : document COMMENT {handle.comment(data, $2);} - | document TEXT {handle.text(data, $2);} - | document starttag - | document endtag - | document decl - | document PROCINS {handle.pi(data, $2);} - | document ENDINCL {handle.endincl(data);} - | document error - | /* empty */ - ; -starttag - : START attributes '>' {handle.starttag(data,$1,$2);} - | START attributes EMPTYEND {handle.emptytag(data,$1,$2);} - ; -attributes - : attribute attributes {$$ = $1; $$->next = $2;} - | /* empty */ {$$ = NULL;} - ; -attribute - : NAME {pairlist h = malloc(sizeof(*h)); - assert(h != NULL); h->name = $1; - h->value=NULL; $$ = h;} - | NAME '=' NAME {pairlist h = malloc(sizeof(*h)); - assert(h != NULL); h->name = $1; - h->value = $3; $$ = h;} - | NAME '=' STRING {pairlist h = malloc(sizeof(*h)); - assert(h != NULL); h->name = $1; - h->value = $3; $$ = h;} - ; -endtag - : END '>' {handle.endtag(data, $1);} - ; -decl - : DOCTYPE NAME NAME STRING STRING '>' {handle.decl(data, $2, $4, $5);} - | DOCTYPE NAME NAME STRING '>' {if (strcasecmp($3, "public") == 0) - handle.decl(data, $2, $4, NULL); - else /* "system" */ - handle.decl(data, $2, NULL, $4);} - ; diff --git a/arid_examples/html-xml-utils-3.0/htmlclean.1 b/arid_examples/html-xml-utils-3.0/htmlclean.1 deleted file mode 100644 index 1e3a8f8e9..000000000 --- a/arid_examples/html-xml-utils-3.0/htmlclean.1 +++ /dev/null @@ -1,18 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 Mar 2000" -.SH NAME -htmlclean \- apply heuristics to correct an HTML file -.SH SYNOPSIS -.B htmlclean -.RI "[\| " file " \|]" -.SH DESCRIPTION -[ToDo] diff --git a/arid_examples/html-xml-utils-3.0/htmlclean.c b/arid_examples/html-xml-utils-3.0/htmlclean.c deleted file mode 100644 index f0be02fe1..000000000 --- a/arid_examples/html-xml-utils-3.0/htmlclean.c +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Clean up an HTML file: - * Insert missing tags. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * 16 September 1997 - * Bert Bos - * $Id: htmlclean.c,v 1.9 2003/01/21 19:26:03 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#include <stdlib.h> -#include "export.h" -#include "types.e" -#include "tree.e" -#include "html.e" -#include "scan.e" - -static Tree tree; - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last even is reported */ -void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a tex chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_pop -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - - -int main(int argc, char *argv[]) -{ - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - if (argc == 1) { - yyin = stdin; - } else if (argc == 2) { - yyin = fopen(argv[1], "r"); - if (yyin == NULL) { - perror(argv[1]); - exit(2); - } - } else { - fprintf(stderr, "Version %s\n", VERSION); - fprintf(stderr, "Usage: %s [html-file]\n", argv[0]); - exit(1); - } - if (yyparse() != 0) { - exit(3); - } - tree = get_root(tree); - dumptree(tree); - return 0; - -} diff --git a/arid_examples/html-xml-utils-3.0/htmlprune.1 b/arid_examples/html-xml-utils-3.0/htmlprune.1 deleted file mode 100644 index 94d64aee2..000000000 --- a/arid_examples/html-xml-utils-3.0/htmlprune.1 +++ /dev/null @@ -1,35 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 Mar 2000" -.SH NAME -htmlprune \- remove marked elements from an HTML file -.SH SYNOPSIS -.B htmlprune -.RB "[\| " \-c -.IR class " \|]" -.RB "[\| " \-x " \|]" -.RI "[\| " file " \|]" -.SH DESCRIPTION -.B htmlprune -removes specially marked elements (with their content and children) -from an HTML file. By default it removes elements with a class -attribute of "exclude". The class attribute is parsed as a -whitespace-separated list of words and if one of those words is -"exclude", the element is not copied to the output. -.PP -The option -.B \-c -can be used to specify a different word than "exclude". The option -.B \-x -forces output to be in XML-style, i.e., without short attributes and -with a slash (/) to mark empty elements. -.PP -[ToDo] diff --git a/arid_examples/html-xml-utils-3.0/htmlprune.c b/arid_examples/html-xml-utils-3.0/htmlprune.c deleted file mode 100644 index dde2f86bb..000000000 --- a/arid_examples/html-xml-utils-3.0/htmlprune.c +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Remove subtrees which have a certain class attribute. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos <bert@w3.org> - * Created Feb 2000 - * $Id: htmlprune.c,v 1.6 2000/08/20 16:37:24 bbos Exp $ - * - **/ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include "export.h" -#include "types.e" -#include "tree.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "class.e" - -#define EXCLUDE_CLASS "exclude" /* Default value for class */ - -static Tree tree; -static Boolean xml = False; /* Use <empty /> convention */ - - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last event is reported */ -EXPORT void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a tex chunk is parsed */ -EXPORT void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_pop -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - -/* prune -- write the tree, suppressing elements with a certain class */ -static void prune(Tree t, const string class) -{ - Tree h; - pairlist a; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: - printf("%s", h->text); - break; - case Comment: - printf("<!--%s-->", h->text); - break; - case Declaration: - printf("<!DOCTYPE %s", h->name); - if (h->text) printf(" PUBLIC \"%s\"", h->text); else printf(" SYSTEM"); - if (h->url) printf(" \"%s\"", h->url); - printf(">"); - break; - case Procins: - printf("<?%s>", h->text); - break; - case Element: - if (! has_class(h->attribs, class)) { - printf("<%s", h->name); - for (a = h->attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - else if (xml) printf("=\"%s\"", a->name); - } - if (is_empty(h->name)) { - assert(h->children == NULL); - printf(xml ? " />" : ">"); - } else { - printf(">"); - prune(h, class); - printf("</%s>", h->name); - } - } - break; - case Root: - assert(! "Cannot happen"); - break; - default: - assert(! "Cannot happen"); - } - } -} - -/* usage -- print usage message and exit */ -static void usage(string name) -{ - fprintf(stderr, "Usage: %s [-c class] [-x] [html-file]\n", name); - exit(1); -} - - -int main(int argc, char *argv[]) -{ - int i; - string class = EXCLUDE_CLASS; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - yyin = stdin; - for (i = 1; i < argc; i++) { - if (eq(argv[i], "-c")) { - if (i >= argc - 1) usage(argv[0]); - class = argv[++i]; - } else if (eq(argv[i], "-x")) { - xml = True; - } else { - yyin = fopenurl(argv[i], "r"); - if (yyin == NULL) { - perror(argv[1]); - exit(2); - } - } - } - - if (yyparse() != 0) { - exit(3); - } - tree = get_root(tree); - prune(tree, class); - tree_delete(tree); /* Just to test memory mgmt */ - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/incl.1 b/arid_examples/html-xml-utils-3.0/incl.1 deleted file mode 100644 index 436588178..000000000 --- a/arid_examples/html-xml-utils-3.0/incl.1 +++ /dev/null @@ -1,90 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "18 Mar 2000" -.SH NAME -incl \- expand included HTML or XML files -.SH SYNOPSIS -.B incl -.RB "[\| " \-x " \|]" -.RB "[\| " \-a -.IR attribute " \|]" -.RB "[\| " \-c -.IR class " \|]" -.RB "[\| " \-b -.IR base " \|]" -.RB "[\| " file\-or\-URL " \|]" -.SH DESCRIPTION -.LP -The -.B incl -command copies an HTML or XML file to standard output, looking for -elements with a certain attribute (by default a \fBclass\fP attribute -that includes the word "include"). Such an element is replaced by -the file whose name is given as the content of the element. For -example, the \fIspan\fP element in -.d - ...<span class="include">foo.html</span>... -.e -will be replaced by the content of the file \fIfoo.html\fP. -.SH OPTIONS -The following options are supported: -.TP 10 -.B \-x -Use XML conventions: empty elements are written with a slash at the -end: <IMG\ /> Also causes the name of the attribute (see option -\fB\-a\fP) to become case-sensitive. -.TP -.BI \-a " attribute" -Sets the name of the attribute to look for. Default is \fBclass\fP. -Note that the name is case-insensitive, unless option \fB\-x\fP is -given. -.TP -.BI \-c " class" -Sets the keyword to look for. Default is \fBinclude\fP. The attribute -is considered to contain a space-separated list of words. If one of -those words is the given \fIclass\fP, the element is replaced by the -file whose name is given as the element's content. -.TP -.BI \-b " base" -Sets the base URL for resolving relative URLs. By default the file -given as argument is the base URL. -.SH OPERANDS -The following operand is supported: -.TP 10 -.I file\-or\-URL -The name of an HTML or XML file or the URL of one. If absent, standard -input is read instead. -.SH "EXIT STATUS" -The following exit values are returned: -.TP 10 -.B 0 -Successful completion. -.TP -.B >0 -An error occurred in the parsing of one of the HTML or XML files. -.SH "SEE ALSO" -.BR xml2asc (1), -.BR UTF-8 -(RFC 2279), -.BR normalize (1), -.BR num (1), -.BR toc (1), -.BR htmlprune (1). -.BR unent (1) -.BR asc2xml (1) -.SH BUGS -.LP -Assumes UTF-8 as input. Doesn't expand character entities. Instead -pipe the input through -.BR unent (1) -and -.BR asc2xml (1) -to convert it to UTF-8. diff --git a/arid_examples/html-xml-utils-3.0/incl.c b/arid_examples/html-xml-utils-3.0/incl.c deleted file mode 100644 index 95e94119e..000000000 --- a/arid_examples/html-xml-utils-3.0/incl.c +++ /dev/null @@ -1,329 +0,0 @@ -/* - * incl - expand included files - * - * Searches for <!--include "file"--> and expands the referenced file - * in place. File may be a URL. Works recursively. Other acepted - * syntaxes: - * - * <!--include "file"--> - * <!--include 'file'--> - * <!--include file--> - * <!--begin-include "file"-->...<!--end-include--> - * <!--begin-include 'file'-->...<!--end-include--> - * <!--begin-include file-->...<!--end-include--> - * - * If there are no quotes, the file name may not include whitespace. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos - * Created: 2 Dec 1998 - * Version: $Id: incl.c,v 1.10 2003/09/04 14:18:46 bbos Exp $ - * - **/ -#include <config.h> -#include <stdio.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <ctype.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "heap.e" -#include "url.e" - -#define INCLUDE "include" -#define BEGIN "begin-include" -#define END "end-include" - -typedef struct _stack { - Boolean skipping; - struct _stack *next; -} *stack; - -typedef enum {KNone, KIncl, KBegin, KEnd} Key; - -extern int yylineno; /* From scan.l */ - -static Boolean do_xml = False; -static Boolean has_error = False; -static string base = NULL; -static stack skipping = NULL; - - -/* push -- push a skipping state on the stack */ -static void push(stack *skipping, Boolean s) -{ - stack h; - - new(h); - h->next = *skipping; - h->skipping = s; - *skipping = h; -} - -/* pop -- pop a skipping state off the stack */ -static void pop(stack *skipping) -{ - stack h; - - assert(*skipping); - h = *skipping; - *skipping = (*skipping)->next; - dispose(h); -} - -/* top -- return value of top of skipping stack */ -static Boolean top(stack skipping) -{ - assert(skipping); - return skipping->skipping; -} - -/* word_to_key -- check whether word s is one of the recognized keywords */ -static Key word_to_key(const string s, int len) -{ - if (len == sizeof(END) - 1 && strncmp(s, END, len)== 0) return KEnd; - if (len == sizeof(INCLUDE) - 1 && strncmp(s, INCLUDE, len)== 0) return KIncl; - if (len == sizeof(BEGIN) - 1 && strncmp(s, BEGIN, len)== 0) return KBegin; - return KNone; -} - -/* --------------- implements interface api.h -------------------------- */ - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_error = True; -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - push(&skipping, False); /* Start by not skipping */ - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - assert(clientdata == NULL); - assert(top(skipping) == False); - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - /* A push() occurs at <!--begin-include...--> and at include_file() */ - /* A pop() occurs at <!--end-include...--> and at ENDINCL */ - int i, j; - string s, url; - FILE *f; - Key key; - - i = strspn(commenttext, " \t\n\r\f"); /* Skip whitespace */ - j = strcspn(commenttext + i, " \t\n\r\f"); /* First word */ - key = word_to_key(commenttext + i, j); - - if (key == KEnd) { /* <!--end-include...--> */ - - /* Don't print anything, just pop a level */ - pop(&skipping); - - } else if (top(skipping)) { /* Are we already skipping? */ - - /* Don't print anything; push a level if this is a begin-include */ - if (key == KBegin) push(&skipping, True); - - } else if (key == KNone) { /* Unrecognized comment? */ - - /* Print the comment verbatim */ - printf("<!--%s-->", commenttext); - - } else { /* include or begin-include */ - - /* Push a level if this is a begin-include */ - if (key == KBegin) push(&skipping, True); - - /* Find start of file name */ - i += j; - i += strspn(commenttext + i, " \t\n\r\f"); /* Skip whitespace */ - - /* Accept either "...", '...", or any string without spaces */ - if (commenttext[i] == '"') { - j = strcspn(commenttext + i + 1, "\""); - url = newnstring(commenttext + i + 1, j); - } else if (commenttext[i] == '\'') { - j = strcspn(commenttext + (++i), "'"); - url = newnstring(commenttext + i + 1, j); - } else { - j = strcspn(commenttext + i, " \t\n\r\f"); - url = newnstring(commenttext + i, j); - } - - /* Get the file and recursively parse it */ - s = URL_s_absolutize(base, url); - if (!(f = fopenurl(s, "r"))) - perror(url); - else { - printf("<!--%s %s-->", BEGIN, commenttext + i); - push(&skipping, False); - include_file(f); - } - dispose(url); - dispose(s); - } - - free(commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - if (top(skipping) == False) printf("%s", text); - free(text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, string fpi, string url) -{ - printf("<!DOCTYPE %s", gi); - if (!fpi) printf(" SYSTEM \"%s\">", url); - else if (!url) printf(" PUBLIC \"%s\">", fpi); - else printf(" PUBLIC \"%s\" \"%s\">", fpi, url); - free(gi); - free(fpi); - free(url); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - if (top(skipping) == False) printf("<?%s>", pi_text); - free(pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - if (top(skipping) == False) { - printf("<%s", name); - for (p = attribs; p; p = p->next) { - if (p->value != NULL) printf(" %s=\"%s\"", p->name, p->value); - else if (do_xml) printf(" %s=\"%s\"", p->name, p->name); - else printf(" %s", p->name); - } - printf(">"); - } - free(name); - pairlist_delete(attribs); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - if (top(skipping) == False) { - printf("<%s", name); - for (p = attribs; p; p = p->next) { - if (p->value != NULL) printf(" %s=\"%s\"", p->name, p->value); - else if (do_xml) printf(" %s=\"%s\"", p->name, p->name); - else printf(" %s", p->name); - } - printf(do_xml ? " />" : ">"); - } - free(name); - pairlist_delete(attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - if (top(skipping) == False) printf("</%s>", name); - free(name); -} - -/* handle_endincl -- called after the end of an included file is reached */ -void handle_endincl(void *clientdata) -{ - pop(&skipping); - - /* Mark the end of the inclusion */ - printf("<!--%s-->", END); -} - -/* --------------------------------------------------------------------- */ - -/* usage -- print usage message and exit */ -static void usage(string prog) -{ - fprintf(stderr, "Version %s\nUsage: %s [-x] [-b base] [file-or-url]\n", - VERSION, prog); - exit(2); -} - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - set_endincl_handler(handle_endincl); - - /* Parse command line arguments */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'x': do_xml = True; break; - case 'b': base = argv[++i]; break; - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) { - yyin = stdin; - base = "."; - } else if (i == argc - 1) { - yyin = fopenurl(argv[i], "r"); - if (!base) base = argv[i]; - } else { - usage(argv[0]); - } - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) exit(3); - - return has_error ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/index.1 b/arid_examples/html-xml-utils-3.0/index.1 deleted file mode 100644 index 79f607062..000000000 --- a/arid_examples/html-xml-utils-3.0/index.1 +++ /dev/null @@ -1,162 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "11 Sep 2001" -.SH NAME -index \- insert an index into an HTML document -.SH SYNOPSIS -.B index -.RB "[\| " \-t " \|]" -.RB "[\| " \-x " \|]" -.RB "[\| " \-b -.IR base " \|]" -.RB "[\| " \-i -.IR indexdb " \|]" -.RB "[--]" -.RB "[\| " file\-or\-URL " \|]" -.SH DESCRIPTION -.LP -The -.B index -looks for terms to be indexed in a document, collects them, turns them -into target anchors and creates a sorted index as an HTML list, which -is inserted at the place of a placeholder in the document. The -resulting document is written to standard output. -.LP -The index is inserted at the place of a comment of the form -.d -<!--index--> -.e -or between two comments of the form -.d -<!--begin-index--> -... -<!--end-index--> -.e -In the latter case, all existing content between the two comments is -removed first. -.LP -Index terms are either elements of type \fI<dfn>\fP or elements with a -class attribute of \fI"index".\fP (For backward compatibility, also -class attributes \fI"index-inst"\fP and \fI"index-def"\fP are -recognized.) \fI<dfn>\fP elements (and class \fI"index-def"\fP) are -considered more important than elements with class \fI"index"\fP and -will appear in bold in the generated index. -.LP -By default, the contents of the element are taken as the index term. -Here are two examples of occurences of the index term "shoe": -.d -... A <dfn>shoe</dfn> is a piece of clothing that... -... completed by a leather <span class="index">shoe</span>... -.e -.LP -If the term to be indexed is not equal to the contents of the element, -the \fItitle\fP attribute can be used to give the correct term: -.d -... <dfn title="shoe">Shoes</dfn> are pieces of clothing that... -... with two leather <span class="index" title="shoe">shoes</span>... -.e -.LP -The \fItitle\fP attribute must also be used when the index term is a -subterm of another. Subterms appear indented in the index, under their -head term. To define a subterm, use a \fItitle\fP attribute with an -exclamation mark ("!") between the term and the subterm, like this: -.d -<dfn title="shoe!leather">...</dfn> -<dfn title="shoe!invention of">...</dfn> -<em class="index" title="shoe!protective!steel nosed">...</em> -.e -As the last example above shows, there can be multiple levels of -sub-subterms. -.LP -The \fItitle\fP attribute also allows multiple index terms to be -assiciated with a single occurrence. The multiple terms are separated -with a vertical bar ("|"). Compare the following examples with the -ones above: -.d -<dfn title="shoe|boot">...</dfn> -<dfn title="shoe!invention of|inventions!shoe">...</dfn> -.e -These two elements both insert two terms into the index. Note that the -second example above combines subterms and multiple terms. -.LP -It is possible to run index on a file that already has an index. The -old target anchors and the old index will be removed before being -re-generated. -.SH OPTIONS -The following options are supported: -.TP 10 -.B \-t -By default, -.B index -adds an ID attribute to the element that contains the occurrence of a -term and also inserts an \fI<a>\fP element inside it with a \fIname\fP -attribute equal to the ID. This is to allow old browsers that ignore -ID attributes, such as -Netscape 4, to find the target as well. The -.B \-t -option suppresses the \fI<a>\fP element. -.TP -.B \-x -This option turns on XML syntax conventions: empty elements will end -in \fI/>\fP instead of \fI>\fP as in HTML. -.B \-x -implies -.B \-t. -.TP -.BI \-i " indexdb" -.B index -can read an initial index from a file and write the merged collection -of index terms back to that file. This allows an index to span several -documents. The -.B \-i -option is used to give the name of the file that contains the index. -.TP -.BI \-b " base" -This option is useful in combination with -.B \-i -to give the base URL reference of the document. By default, -.B index -will store links to occurrences in the \fIindexdb\fP file in the form -\fIfilename#anchor\fP, but when -.B \-b -is given, the links will look like \fIbase#anchor\fP instead. -.SH OPERANDS -The following operand is supported: -.TP 10 -.I file\-or\-URL -The name of an HTML or XML file or the URL of one. If absent, or if -the file is "-", standard input is read instead. -.SH "EXIT STATUS" -The following exit values are returned: -.TP 10 -.B 0 -Successful completion. -.TP -.B >0 -An error occurred in the parsing the HTML file. -.SH "SEE ALSO" -.BR xml2asc (1), -.BR UTF-8 -(RFC 2279), -.BR normalize (1), -.BR num (1), -.BR toc (1), -.BR htmlprune (1). -.BR unent (1) -.BR asc2xml (1) -.SH BUGS -.LP -Assumes UTF-8 as input. Doesn't expand character entities. Instead -pipe the input through -.BR unent (1) -and -.BR asc2xml (1) -to convert it to UTF-8. diff --git a/arid_examples/html-xml-utils-3.0/index.c b/arid_examples/html-xml-utils-3.0/index.c deleted file mode 100644 index 27b8e1bd8..000000000 --- a/arid_examples/html-xml-utils-3.0/index.c +++ /dev/null @@ -1,605 +0,0 @@ -/* - * Insert an index between "<!--begin-index-->" and "<!--end-index-->", - * or replacing the comment "<!--index-->" - * - * The index links to elements with ID attributes as well as with - * empty <A NAME> elements. - * - * Any <A> tags with a class of "bctarget" are not copied, but - * regenerated. They are assumed to be backwards-compatible versions - * of ID attributes on their parent elements. But if the option -t or - * -x are given, those <A> elements are removed. - * - * There's a limit of 100000 index terms (10^(MAXIDLEN-1)). - * - * Index terms are elements with a class of "index", "index-inst" or - * "index-def", as well as all <dfn> elements. The contents of the - * element is the index term, unless the element has a title - * attribute. The title attribute can contain "|" and "!!": - * - * "term" - * "term1|term2|term3|..." - * "term!!subterm!!subsubterm!!..." - * "term1!!subterm1|term2!!subterm2|..." - * etc. - * - * For backward compatibility with an earlier Perl program, "::" is - * accepted as an alternative for "!!", but it is better not to use - * both separators in the same project, since the sorting maybe - * adversely affected. - * - * Class "index-def" results in a bold entry in the index, "index" in - * a normal one. "index-inst" is an alias for "index", provided for - * backward compatibility. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 11 Apr 2000 - * Version: $Id: index.c,v 1.16 2003/04/09 10:07:12 bbos Exp $ - * - **/ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#ifdef HAVE_ERRNO_H -# include <errno.h> -#else -extern int errno; -char *strerror(int errnum); -int strerror_r(int errnum, char *buf, size_t n); -#endif - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif - -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif -#include "export.h" -#include "types.e" -#include "heap.e" -#include "tree.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "genid.e" -#include "errexit.e" -#include "class.e" - - -#define BEGIN_INDEX "begin-index" /* <!--begin-index--> */ -#define END_INDEX "end-index" /* <!--end-index--> */ -#define INDEX "index" /* <!--index--> */ -#define INDEX_INST "index-inst" /* class="index-inst" */ -#define INDEX_DEF "index-def" /* class="index-def" */ -#define TARGET "bctarget" /* CLASS="...bctarget..." */ - -#define MAXSTR 2048 /* Max. length of URL + term */ -#define MAXSUBS 20 /* Max. depth of subterms */ - -typedef struct _indexterm { - string term, url; - int importance; /* 1 (low) or 2 (high) */ -} *Indexterm; - -static Tree tree; -static Boolean xml = False; /* Use <empty /> convention */ -static string base = NULL; /* (Rel.) URL of output file */ -static string indexdb = NULL; /* Persistent store of terms */ -static FILE *globalfile; /* Must be global for twalk */ -static string globalprevious; /* Must be global for twalk */ -static Boolean bctarget = True; /* Add <A name=> after IDs */ - - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *clientdata, const string s, int lineno) -{ - (void) fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last event is reported */ -EXPORT void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a tex chunk is parsed */ -EXPORT void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - tree = html_push(tree, name, attribs); - - /* If it has an ID, store it (so we don't accidentally generate it) */ - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, "id") == 0 && p->value) storeID(p->value); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - -/* indent -- print newline and n times 2 spaces */ -static void indent(int n) -{ - putchar('\n'); - for (; n > 0; n--) printf(" "); -} - -/* write_index_item -- write one item in the list of index terms */ -static void write_index_item(const void *term1, const VISIT which, - const int depth) -{ - string sub[MAXSUBS], oldsub[MAXSUBS]; - string p; - Indexterm term = *(Indexterm*)term1; - int i, j, n, oldn; - - if (which != postorder && which != leaf) return; - - p = term->term; - n = 0; - while (p) { - sub[n] = p; - p = strstr(sub[n], "!!"); - if (!p) p = strstr(sub[n], "::"); /* Backwards compatibility */ - if (p) p += 2; - n++; - } - sub[n] = sub[n-1] + strlen(sub[n-1]) + 2; - - p = globalprevious; - oldn = 0; - while (p) { - oldsub[oldn] = p; - p = strstr(oldsub[oldn], "!!"); - if (!p) p = strstr(oldsub[oldn], "::"); /* Backwards compatibility */ - if (p) p += 2; - oldn++; - } - oldsub[oldn] = oldsub[oldn-1] + strlen(oldsub[oldn-1]) + 2; - - /* Count how many subterms are equal to the previous entry */ - for (i = 0; i < min(n, oldn) - && sub[i+1] - sub[i] == oldsub[i+1] - oldsub[i] - && strncasecmp(sub[i], oldsub[i], sub[i+1] - sub[i] - 2) == 0; - i++) ; - - for (j = oldn - 1; j > i; j--) {indent(j); printf("</ul>");} - if (n > oldn && oldn == i) {indent(i); printf("<ul>");} - - /* Print new (sub)terms */ - for (j = i; j < n; j++) { - indent(j); printf("<li>"); - for (p = sub[j]; p != sub[j+1] - 2; p++) putchar(*p); - if (j != n - 1) {indent(j+1); printf("<ul>");} - } - - /* Print a link */ - switch (term->importance) { - case 1: printf(", <a href=\"%s\">#</a>", term->url); break; - case 2: printf(", <a href=\"%s\"><strong>#</strong></a>",term->url); break; - default: assert(! "Cannot happen\n"); - } - - /* Remember this term */ - globalprevious = term->term; -} - -/* mkindex -- write out an index */ -static void mkindex(Indexterm terms) -{ - string p, h; - - printf("<ul class=\"indexlist\">"); - globalprevious = ""; - twalk(terms, write_index_item); - - /* Close all open lists */ - p = globalprevious; - while (p) { - printf("\n</ul>"); - h = p; - p = strstr(h, "!!"); - if (!p) p = strstr(h, "::"); /* Backwards compatibility */ - if (p) p += 2; - } -} - -/* expand -- write the tree, add <A NAME> if needed and replace <!--index--> */ -static void expand(Tree t, Boolean *write, Indexterm terms) -{ - Tree h; - pairlist a; - string val; - Boolean do_tag; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: - if (*write) printf("%s", h->text); - break; - case Comment: - /* To do: trim whitespace first */ - if (eq(h->text, INDEX) || eq(h->text, BEGIN_INDEX)) { - printf("<!--%s-->\n", BEGIN_INDEX); - mkindex(terms); - printf("<!--%s-->", END_INDEX); - if (eq(h->text, BEGIN_INDEX)) *write = False; /* Skip old index */ - } else if (eq(h->text, END_INDEX)) { - *write = True; - } else { - printf("<!--%s-->", h->text); - } - break; - case Declaration: - printf("<!DOCTYPE %s", h->name); - if (h->text) printf(" PUBLIC \"%s\"", h->text); else printf(" SYSTEM"); - if (h->url) printf(" \"%s\"", h->url); - printf(">"); - break; - case Procins: - if (*write) printf("<?%s>", h->text); - break; - case Element: - if (*write) { - /* If an <a> was inserted by index itself, remove it */ - do_tag = !eq(h->name, "a") || !has_class(h->attribs, TARGET); - if (do_tag) { - printf("<%s", h->name); - for (a = h->attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - } - assert(! is_empty(h->name) || h->children == NULL); - printf(xml && is_empty(h->name) ? " />" : ">"); - /* Insert an <A NAME> if element has an ID and is not <A> */ - if (bctarget && is_mixed(h->name) && get_attrib(h, "id", &val) - && !eq(h->name, "a") && ! xml) - printf("<a class=\"%s\" name=\"%s\"></a>", TARGET, val); - } - expand(h, write, terms); - if (do_tag && ! is_empty(h->name)) printf("</%s>", h->name); - } - break; - case Root: - assert(! "Cannot happen"); - break; - default: - assert(! "Cannot happen"); - } - } -} - -/* termcmp -- comparison routine for Indexterms */ -static int termcmp(const void *a1, const void *b1) -{ - Indexterm a = (Indexterm)a1, b = (Indexterm)b1; - string p, q; - - assert(a); - assert(b); - assert(a->term); - assert(b->term); - assert(a->url); - assert(b->url); - - for (p = a->term, q = b->term;; p++, q++) { - while (*p && !isalnum(*p)) p++; /* Skip punctuation */ - while (*q && !isalnum(*q)) q++; /* Skip punctuation */ - if (tolower(*p) < tolower(*q)) return -1; /* a before b */ - if (tolower(*p) > tolower(*q)) return 1; /* b before a */ - if (!*p) break; /* Same up till the end */ - } - - /* Terms are the same; sort on URL instead */ - return strcmp(a->url, b->url); -} - -/* copy_contents -- recursively expand contents of element t into a string */ -static void copy_contents(Tree t, string *s) -{ - Tree h; - int i; - pairlist a; - string p; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: - i = *s ? strlen(*s) : 0; - renewarray(*s, i + strlen(h->text) + 1); - /* Copy, but transform all whitespace to spaces */ - for (p = h->text; *p; p++, i++) (*s)[i] = isspace(*p) ? ' ' : *p; - (*s)[i] = '\0'; - break; - case Comment: break; - case Declaration: break; - case Procins: break; - case Element: - /* Only certain tags are retained */ - if (eq(h->name, "span") || eq(h->name, "code") || eq(h->name, "tt") - || eq(h->name, "acronym") || eq(h->name, "abbr") - || eq(h->name, "bdo") || eq(h->name, "kbd") || eq(h->name, "samp") - || eq(h->name, "sub") || eq(h->name, "sup") - || eq(h->name, "var")) { - strapp(s, "<", h->name, NULL); - for (a = h->attribs; a != NULL; a = a->next) { - if (! a->value) strapp(s, " ", a->name, NULL); - else strapp(s, " ", a->name, "=\"", a->value, "\"", NULL); - } - assert(! is_empty(h->name) || h->children == NULL); - if (is_empty(h->name)) { - strapp(s, xml ? " />" : ">", NULL); - } else { - strapp(s, ">", NULL); - copy_contents(h, s); - strapp(s, "</", h->name, ">", NULL); - } - } else { /* Ignore tag, copy contents */ - copy_contents(h, s); - } - break; - case Root: assert(! "Cannot happen"); break; - default: assert(! "Cannot happen"); - } - } -} - -/* copy_to_index -- copy the contents of element h to the index db */ -static void copy_to_index(Tree t, Indexterm *terms, int importance) -{ - string id, title; - Indexterm term; - int i, n; - - assert(get_attrib(t, "id", NULL)); - get_attrib(t, "id", &id); - - if (get_attrib(t, "title", &title)) { /* Parse title, not contents */ - - i = 0; - while (title[i]) { - n = strcspn(title + i, "|"); /* Find | or \0 */ - new(term); - term->importance = importance; - term->url = NULL; - strapp(&term->url, base, "#", id, NULL); - term->term = newnstring(title + i, n); - if (! tsearch(term, (void**)terms, termcmp)) - errexit("Out of memory while parsing term %s\n", term->term); - i += n; - if (title[i]) i++; /* Skip '|' */ - } - - } else { /* Recursively copy contents */ - - new(term); - term->importance = importance; - term->url = term->term = NULL; - strapp(&term->url, base, "#", id, NULL); - copy_contents(t, &term->term); - if (term->term) /* Non-empty contents */ - if (! tsearch(term, (void**)terms, termcmp)) - errexit("Out of memory while parsing term %s\n", term->term); - - } -} - -/* collect -- collect index terms, add IDs where needed */ -static void collect(Tree t, Indexterm *terms) -{ - int importance; - Tree h; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: case Comment: case Declaration: case Procins: break; - case Element: - if (eq(h->name, "dfn")) importance = 2; - else if (has_class(h->attribs,INDEX)||has_class(h->attribs,INDEX_INST)) - importance = 1; - else if (has_class(h->attribs, INDEX_DEF)) importance = 2; - else importance = 0; - if (importance != 0) { - /* Give it an ID, if it doesn't have one */ - if (! get_attrib(h, "id", NULL)) set_attrib(h, "id", gen_id(h)); - copy_to_index(h, terms, importance); - } else { - collect(h, terms); - } - break; - case Root: assert(! "Cannot happen"); break; - default: assert(! "Cannot happen"); - } - } -} - -/* load_index -- read persistent term db from file */ -static void load_index(const string indexdb, Indexterm *terms) -{ - FILE *f; - int n; - char line[MAXSTR]; - Indexterm term; - - if (! (f = fopen(indexdb, "r"))) return; /* Assume file not found... */ - - while (fgets(line, sizeof(line), f)) { - chomp(line); - n = strcspn(line, "\t"); - if (line[n] != '\t') errexit("Illegal syntax in %s\n", indexdb); - new(term); - term->term = newnstring(line, n); - switch (line[n + 1]) { - case '1': term->importance = 1; break; - case '2': term->importance = 2; break; - default: errexit("Error in %s (column 2 must be '1' or '2')\n", indexdb); - } - if (line[n+2] != '\t') errexit("Illegal syntax in %s\n", indexdb); - term->url = newstring(line + n + 3); - if (! tsearch(term, (void**)terms, termcmp)) - errexit("Out of memory while loading %s\n", indexdb); - } - - fclose(f); -} - -/* save_a_term -- write one term to globalfile */ -static void save_a_term(const void *term1, const VISIT which, const int dp) -{ - Indexterm term = *(Indexterm*)term1; - - if (which == endorder || which == leaf) - fprintf(globalfile, "%s\t%d\t%s\n", term->term,term->importance,term->url); -} - -/* save_index -- write terms to file */ -static void save_index(const string indexdb, Indexterm terms) -{ - if (! (globalfile = fopen(indexdb, "w"))) - errexit("%s: %s\n", indexdb, strerror(errno)); - twalk(terms, save_a_term); - fclose(globalfile); -} - -/* usage -- print usage message and exit */ -static void usage(string name) -{ - errexit("Version %s\nUsage: %s [-i indexdb] [-b base] [-x] [-t] [html-file]\n", - VERSION, name); -} - - -int main(int argc, char *argv[]) -{ - int i; - Boolean write = True; - Indexterm termtree = NULL; /* Sorted tree of terms */ - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - yyin = NULL; - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 't': /* Don't write <a name> after each ID */ - bctarget = False; - break; - case 'x': /* Output as XML */ - xml = True; - break; - case 'b': /* Set base of URL */ - base = strdup(argv[i][2] ? argv[i] + 2 : argv[++i]); - break; - case 'i': /* Set name of index db */ - indexdb = strdup(argv[i][2] ? argv[i] + 2 : argv[++i]); - break; - case '\0': - yyin = stdin; - break; - default: - usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) {if (!yyin) yyin = stdin;} - else if (i == argc - 1 && eq(argv[i], "-")) yyin = stdin; - else if (i == argc - 1) yyin = fopenurl(argv[i], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (!base && i == argc - 1) base = newstring(argv[i]); - if (!base) base = newstring(""); - - /* Read the index DB into memory */ - if (indexdb) load_index(indexdb, &termtree); - - /* Parse, build tree, collect existing IDs */ - if (yyparse() != 0) exit(3); - - /* Scan for index terms, add them to the tree, add IDs where needed */ - collect(get_root(tree), &termtree); - - /* Write out the document, adding <A NAME> and replacing <!--index--> */ - expand(get_root(tree), &write, termtree); - - /* Store terms to file */ - if (indexdb) save_index(indexdb, termtree); - - fclose(yyin); -#if 0 - tree_delete(tree); /* Just to test memory mgmt */ -#endif - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/install-sh b/arid_examples/html-xml-utils-3.0/install-sh deleted file mode 100755 index 77bc38144..000000000 --- a/arid_examples/html-xml-utils-3.0/install-sh +++ /dev/null @@ -1,316 +0,0 @@ -#!/bin/sh -# install - install a program, script, or datafile - -scriptversion=2004-02-15.20 - -# This originates from X11R5 (mit/util/scripts/install.sh), which was -# later released in X11R6 (xc/config/util/install.sh) with the -# following copyright and license. -# -# Copyright (C) 1994 X Consortium -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- -# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# -# Except as contained in this notice, the name of the X Consortium shall not -# be used in advertising or otherwise to promote the sale, use or other deal- -# ings in this Software without prior written authorization from the X Consor- -# tium. -# -# -# FSF changes to this file are in the public domain. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. It can only install one file at a time, a restriction -# shared with many OS's install programs. - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit="${DOITPROG-}" - -# put in absolute paths if you don't have them in your path; or use env. vars. - -mvprog="${MVPROG-mv}" -cpprog="${CPPROG-cp}" -chmodprog="${CHMODPROG-chmod}" -chownprog="${CHOWNPROG-chown}" -chgrpprog="${CHGRPPROG-chgrp}" -stripprog="${STRIPPROG-strip}" -rmprog="${RMPROG-rm}" -mkdirprog="${MKDIRPROG-mkdir}" - -transformbasename= -transform_arg= -instcmd="$mvprog" -chmodcmd="$chmodprog 0755" -chowncmd= -chgrpcmd= -stripcmd= -rmcmd="$rmprog -f" -mvcmd="$mvprog" -src= -dst= -dir_arg= - -usage="Usage: $0 [OPTION]... SRCFILE DSTFILE - or: $0 [OPTION]... SRCFILES... DIRECTORY - or: $0 -d DIRECTORIES... - -In the first form, install SRCFILE to DSTFILE, removing SRCFILE by default. -In the second, create the directory path DIR. - -Options: --b=TRANSFORMBASENAME --c copy source (using $cpprog) instead of moving (using $mvprog). --d create directories instead of installing files. --g GROUP $chgrp installed files to GROUP. --m MODE $chmod installed files to MODE. --o USER $chown installed files to USER. --s strip installed files (using $stripprog). --t=TRANSFORM ---help display this help and exit. ---version display version info and exit. - -Environment variables override the default commands: - CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG -" - -while test -n "$1"; do - case $1 in - -b=*) transformbasename=`echo $1 | sed 's/-b=//'` - shift - continue;; - - -c) instcmd=$cpprog - shift - continue;; - - -d) dir_arg=true - shift - continue;; - - -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; - - --help) echo "$usage"; exit 0;; - - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; - - -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -s) stripcmd=$stripprog - shift - continue;; - - -t=*) transformarg=`echo $1 | sed 's/-t=//'` - shift - continue;; - - --version) echo "$0 $scriptversion"; exit 0;; - - *) # When -d is used, all remaining arguments are directories to create. - test -n "$dir_arg" && break - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dstarg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dstarg" - shift # fnord - fi - shift # arg - dstarg=$arg - done - break;; - esac -done - -if test -z "$1"; then - if test -z "$dir_arg"; then - echo "$0: no input file specified." >&2 - exit 1 - fi - # It's OK to call `install-sh -d' without argument. - # This can happen when creating conditional directories. - exit 0 -fi - -for src -do - # Protect names starting with `-'. - case $src in - -*) src=./$src ;; - esac - - if test -n "$dir_arg"; then - dst=$src - src= - - if test -d "$dst"; then - instcmd=: - chmodcmd= - else - instcmd=$mkdirprog - fi - else - # Waiting for this to be detected by the "$instcmd $src $dsttmp" command - # might cause directories to be created, which would be especially bad - # if $src (and thus $dsttmp) contains '*'. - if test ! -f "$src" && test ! -d "$src"; then - echo "$0: $src does not exist." >&2 - exit 1 - fi - - if test -z "$dstarg"; then - echo "$0: no destination specified." >&2 - exit 1 - fi - - dst=$dstarg - # Protect names starting with `-'. - case $dst in - -*) dst=./$dst ;; - esac - - # If destination is a directory, append the input filename; won't work - # if double slashes aren't ignored. - if test -d "$dst"; then - dst=$dst/`basename "$src"` - fi - fi - - # This sed command emulates the dirname command. - dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` - - # Make sure that the destination directory exists. - - # Skip lots of stat calls in the usual case. - if test ! -d "$dstdir"; then - defaultIFS=' - ' - IFS="${IFS-$defaultIFS}" - - oIFS=$IFS - # Some sh's can't handle IFS=/ for some reason. - IFS='%' - set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` - IFS=$oIFS - - pathcomp= - - while test $# -ne 0 ; do - pathcomp=$pathcomp$1 - shift - if test ! -d "$pathcomp"; then - $mkdirprog "$pathcomp" || lasterr=$? - # mkdir can fail with a `File exist' error in case several - # install-sh are creating the directory concurrently. This - # is OK. - test ! -d "$pathcomp" && { (exit ${lasterr-1}); exit; } - fi - pathcomp=$pathcomp/ - done - fi - - if test -n "$dir_arg"; then - $doit $instcmd "$dst" \ - && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ - && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } - - else - # If we're going to rename the final executable, determine the name now. - if test -z "$transformarg"; then - dstfile=`basename "$dst"` - else - dstfile=`basename "$dst" $transformbasename \ - | sed $transformarg`$transformbasename - fi - - # don't allow the sed command to completely eliminate the filename. - test -z "$dstfile" && dstfile=`basename "$dst"` - - # Make a couple of temp file names in the proper directory. - dsttmp=$dstdir/_inst.$$_ - rmtmp=$dstdir/_rm.$$_ - - # Trap to clean up those temp files at exit. - trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 - trap '(exit $?); exit' 1 2 13 15 - - # Move or copy the file name to the temp name - $doit $instcmd "$src" "$dsttmp" && - - # and set any options; do chmod last to preserve setuid bits. - # - # If any of these fail, we abort the whole thing. If we want to - # ignore errors from any of these, just make sure not to ignore - # errors from the above "$doit $instcmd $src $dsttmp" command. - # - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ - && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && - - # Now remove or move aside any old file at destination location. We - # try this two ways since rm can't unlink itself on some systems and - # the destination file might be busy for other reasons. In this case, - # the final cleanup might fail but the new file should still install - # successfully. - { - if test -f "$dstdir/$dstfile"; then - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ - || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ - || { - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 - (exit 1); exit - } - else - : - fi - } && - - # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" - fi || { (exit 1); exit; } -done - -# The final little trick to "correctly" pass the exit status to the exit trap. -{ - (exit 0); exit -} - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff --git a/arid_examples/html-xml-utils-3.0/malloc.c b/arid_examples/html-xml-utils-3.0/malloc.c deleted file mode 100644 index 0165d8866..000000000 --- a/arid_examples/html-xml-utils-3.0/malloc.c +++ /dev/null @@ -1,19 +0,0 @@ -#if HAVE_CONFIG_H -# include <config.h> -#endif -#undef malloc - -#include <sys/types.h> - -void *malloc (); - -/* Allocate an N-byte block of memory from the heap. - If N is zero, allocate a 1-byte block. */ - -void * -rpl_malloc (size_t n) -{ - if (n == 0) - n = 1; - return malloc (n); -} diff --git a/arid_examples/html-xml-utils-3.0/missing b/arid_examples/html-xml-utils-3.0/missing deleted file mode 100755 index e7ef83a1c..000000000 --- a/arid_examples/html-xml-utils-3.0/missing +++ /dev/null @@ -1,360 +0,0 @@ -#! /bin/sh -# Common stub for a few missing GNU programs while installing. - -scriptversion=2003-09-02.23 - -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 -# Free Software Foundation, Inc. -# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program 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 General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -if test $# -eq 0; then - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 -fi - -run=: - -# In the cases where this matters, `missing' is being run in the -# srcdir already. -if test -f configure.ac; then - configure_ac=configure.ac -else - configure_ac=configure.in -fi - -msg="missing on your system" - -case "$1" in ---run) - # Try to run requested program, and just exit if it succeeds. - run= - shift - "$@" && exit 0 - # Exit code 63 means version mismatch. This often happens - # when the user try to use an ancient version of a tool on - # a file that requires a minimum version. In this case we - # we should proceed has if the program had been absent, or - # if --run hadn't been passed. - if test $? = 63; then - run=: - msg="probably too old" - fi - ;; -esac - -# If it does not exist, or fails to run (possibly an outdated version), -# try to emulate it. -case "$1" in - - -h|--h|--he|--hel|--help) - echo "\ -$0 [OPTION]... PROGRAM [ARGUMENT]... - -Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an -error status if there is no known handling for PROGRAM. - -Options: - -h, --help display this help and exit - -v, --version output version information and exit - --run try to run the given command, and emulate it if it fails - -Supported PROGRAM values: - aclocal touch file \`aclocal.m4' - autoconf touch file \`configure' - autoheader touch file \`config.h.in' - automake touch all \`Makefile.in' files - bison create \`y.tab.[ch]', if possible, from existing .[ch] - flex create \`lex.yy.c', if possible, from existing .c - help2man touch the output file - lex create \`lex.yy.c', if possible, from existing .c - makeinfo touch the output file - tar try tar, gnutar, gtar, then tar without non-portable flags - yacc create \`y.tab.[ch]', if possible, from existing .[ch] - -Send bug reports to <bug-automake@gnu.org>." - ;; - - -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing $scriptversion (GNU Automake)" - ;; - - -*) - echo 1>&2 "$0: Unknown \`$1' option" - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 - ;; - - aclocal*) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acinclude.m4' or \`${configure_ac}'. You might want - to install the \`Automake' and \`Perl' packages. Grab them from - any GNU archive site." - touch aclocal.m4 - ;; - - autoconf) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`${configure_ac}'. You might want to install the - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU - archive site." - touch configure - ;; - - autoheader) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acconfig.h' or \`${configure_ac}'. You might want - to install the \`Autoconf' and \`GNU m4' packages. Grab them - from any GNU archive site." - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` - test -z "$files" && files="config.h" - touch_files= - for f in $files; do - case "$f" in - *:*) touch_files="$touch_files "`echo "$f" | - sed -e 's/^[^:]*://' -e 's/:.*//'`;; - *) touch_files="$touch_files $f.in";; - esac - done - touch $touch_files - ;; - - automake*) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. - You might want to install the \`Automake' and \`Perl' packages. - Grab them from any GNU archive site." - find . -type f -name Makefile.am -print | - sed 's/\.am$/.in/' | - while read f; do touch "$f"; done - ;; - - autom4te) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is needed, but is $msg. - You might have modified some files without having the - proper tools for further handling them. - You can get \`$1' as part of \`Autoconf' from any GNU - archive site." - - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo "#! /bin/sh" - echo "# Created by GNU Automake missing as a replacement of" - echo "# $ $@" - echo "exit 0" - chmod +x $file - exit 1 - fi - ;; - - bison|yacc) - echo 1>&2 "\ -WARNING: \`$1' $msg. You should only need it if - you modified a \`.y' file. You may need the \`Bison' package - in order for those modifications to take effect. You can get - \`Bison' from any GNU archive site." - rm -f y.tab.c y.tab.h - if [ $# -ne 1 ]; then - eval LASTARG="\${$#}" - case "$LASTARG" in - *.y) - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if [ -f "$SRCFILE" ]; then - cp "$SRCFILE" y.tab.c - fi - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if [ -f "$SRCFILE" ]; then - cp "$SRCFILE" y.tab.h - fi - ;; - esac - fi - if [ ! -f y.tab.h ]; then - echo >y.tab.h - fi - if [ ! -f y.tab.c ]; then - echo 'main() { return 0; }' >y.tab.c - fi - ;; - - lex|flex) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.l' file. You may need the \`Flex' package - in order for those modifications to take effect. You can get - \`Flex' from any GNU archive site." - rm -f lex.yy.c - if [ $# -ne 1 ]; then - eval LASTARG="\${$#}" - case "$LASTARG" in - *.l) - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if [ -f "$SRCFILE" ]; then - cp "$SRCFILE" lex.yy.c - fi - ;; - esac - fi - if [ ! -f lex.yy.c ]; then - echo 'main() { return 0; }' >lex.yy.c - fi - ;; - - help2man) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a dependency of a manual page. You may need the - \`Help2man' package in order for those modifications to take - effect. You can get \`Help2man' from any GNU archive site." - - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` - fi - if [ -f "$file" ]; then - touch $file - else - test -z "$file" || exec >$file - echo ".ab help2man is required to generate this page" - exit 1 - fi - ;; - - makeinfo) - if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then - # We have makeinfo, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.texi' or \`.texinfo' file, or any other file - indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy \`make' (AIX, - DU, IRIX). You might want to install the \`Texinfo' package or - the \`GNU make' package. Grab either from any GNU archive site." - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` - fi - touch $file - ;; - - tar) - shift - if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" - exit 1 - fi - - # We have already tried tar in the generic part. - # Look for gnutar/gtar before invocation to avoid ugly error - # messages. - if (gnutar --version > /dev/null 2>&1); then - gnutar "$@" && exit 0 - fi - if (gtar --version > /dev/null 2>&1); then - gtar "$@" && exit 0 - fi - firstarg="$1" - if shift; then - case "$firstarg" in - *o*) - firstarg=`echo "$firstarg" | sed s/o//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - case "$firstarg" in - *h*) - firstarg=`echo "$firstarg" | sed s/h//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - fi - - echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. - You may want to install GNU tar or Free paxutils, or check the - command line arguments." - exit 1 - ;; - - *) - echo 1>&2 "\ -WARNING: \`$1' is needed, and is $msg. - You might have modified some files without having the - proper tools for further handling them. Check the \`README' file, - it often tells you about the needed prerequisites for installing - this package. You may also peek at any GNU archive site, in case - some other package would contain this missing \`$1' program." - exit 1 - ;; -esac - -exit 0 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff --git a/arid_examples/html-xml-utils-3.0/mkbib.1 b/arid_examples/html-xml-utils-3.0/mkbib.1 deleted file mode 100644 index 6b0bef128..000000000 --- a/arid_examples/html-xml-utils-3.0/mkbib.1 +++ /dev/null @@ -1,309 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "20 Mar 2000" -.SH NAME -mkbib \- create bibliography from a template -.SH SYNOPSIS -.B mkbib -.RB "[\| " \-s -.IR separator " \|]" -.RB "[\| " \-a -.IR auxfile " \|]" -.RB "[\| " \-n -.IR maxauthors " \|]" -.RB "[\| " \-r -.IR moreauthors " \|]" -.IR bibfile " [\| " templatefile " \|]" -.SH DESCRIPTION -.LP -The -.B mkbib -commands reads a list of bibliographic keys (labels) from -.IR auxfile , -finds the corresponding entries in -.I bibfile -and creates a bibliography, using -.I templatefile -as a model. The -.I auxfile -may, e.g., have been created by -.BR cite (1). -It consists of labels, one per line. The -.I bibfile -is a -.BR refer (1) -style database. -.B mkbib -looks for entries with a -.B %L -field equal to a key in the -.IR auxfile . -.PP -The -.I templatefile -consists of three parts: -.TP 10 -.B preamble -The preamble is the part up to the first occurrence of -.BR %{ . -The preamble is copied to the output unchanged, except for occurrences -of -.BR % . -To create a single % in the output, there must be two in the preamble -(%%). All other occurrences of % followed by another letter are not -copied, but are collected into a string called the "sort order." and -use to sort the entries, as explained below. -.TP -.B template -The template starts with -.B %{L: -and ends with a matching -.BR %} . -The text in between is copied as often as there are bibliographic -entries in -.I bibfile -that correspond to keys in -.IR auxfile . -Variables in the template are replaced by the corresponding field in -the bibliographic entry: all occurrences of -.BI % x -will be replaced by the field -.BI % x -of the entry. Parts of the text may be enclosed in -.BI %{ x : -and -.BR %} . -This means that the text in between should only be output if the -current entry has a field -.IR x . -Text that is enclosed in -.BI %{! x : -and -.B %} -will only be output if the entry does -.B not -have a field -.IR x . -Both kinds of conditional sections may also be nested. -.TP -.B postamble -The text after the -.B %} -is copied unchanged to the output, after all bibliographic entries -have been processed. -.PP -By default bibliographic entries are copied to the output in the order -of the keys in -.IR auxfile , -except that keys that occur more than once are only used once. If the -preamble contains occurrences of -.BI % x -(where -.I x -is neither "%" nor "{") then these together determine the sort order. -E.g., if the preamble contains %A%D then the entries will be sorted -first on field A (author) and then on field D (date). -.PP -Here is an example of template file that creates a bibliography in -HTML format: -.d -<html> -<title>Bibliography</title> -<!--%A%D sorted on author, then date --> -<dl> -%{L: -<dt id="%L">%{A:A%}%{!A:%{E:E%}%{!E:%{Q:Q%}%{!Q:-%}%}%}</dt> -<dd>%{B:"%T" - in: %{E:%E (eds) - %}<cite>%B.</cite>%{V: %V.%} - %}%{J:"%T" - in: %{E:%E (eds) - %}<cite>%J.</cite>%{V: %V.%}%{N: %N.%}%{P: pp. %P.%} - %}%{!B:%{!J:<cite>%T.</cite> - %}%}%{I:%I. - %}%{D:%D. - %}%{C:%C. - %}%{R:%R. - %}%{S:%S. - %}%{O:%O - %}%{U:<a href="%U">%U</a> - %}</dd> -%} -</dl> -</html> -.e -This template starts with four lines of preample, including the sort -string %A%D on line 3. The sort string itself will not be output, but -the rest of the comment will. -.PP -From the line -.B %{L: -to the line -.B %} -is the template. E.g., the line that -starts with -.B <dt id=... -contains a complex conditional text that prints the authors (%A) if -there are any, otherwise the editors (%E) if there are any, otherwise -the institution that is the author (%Q), if any, and a dash otherwise. -Note how the parts are nested, Most of the text is inside -.BR %{!A:...%} , -meaning that that part will only be effective if there is no author -field (%A). -.PP -The final two lines are the postamble and will simply be copied -unchanged. -.PP -A bibliographic entry that looks like this in -.IR bibfile : -.d -%L Java -%A Gosling, James -%A Joy, Bill -%A Steele, Guy -%T The Java language specification -%D 1998 -%I Addison-Wesley -%U http://java.sun.com/docs/books/jls/index.html -.e -will be printed by the template above as: -.d -<dt id="Java">Gosling, James; Joy, Bill; Steele, Guy</dt> -<dd><cite>The Java language specification.</cite> - Addison-Wesley. - 1998. - <a href="http://java.sun.com/docs/books/jls/index.html">http://java.sun.com/docs/books/jls/index.html</a> - </dd> -.e -.SH OPTIONS -The following options are supported: -.TP 10 -.BI \-a " auxfile" -The file that contains the list of keys (labels) for which -bibliogrphic entries should be printed. If the option is absent, the -name of this file is formed from the -.I templatefile -argument by removing the last extension and adding -.BR .aux . -If no -.I templatefile -is given, the default -.I auxfile -is -.BR aux.aux . -.TP -.BI \-s " separator" -If there are multiple authors or editors in an entry, their names will -be listed with a separator in between. By default the separator is "; -" (i.e., a semicolon and a space). With this option the separator can -be changed. -.BI \-n " maxauthors" -If there are more than -.I maxauthors -authors in an entry, only the first author will be printed and the -others will be replaced by the string -.IR moreauthors . -The default is 3. -.BI \-r moreauthors -The string to print if there are more than -.I maxauthors -authors. The default is "et al.". -.SH OPERANDS -The following operands are supported: -.TP 10 -.I bibfile -The name of a bibliographic database must be given. It must be a file -in -.BR refer (1) -format and every entry must have at least a -.B %L -field, which is used as key. (Entries without such a field will be -ignored.) -.TP -.I templatefile -The name of the input file is optional. If absent, -.B mkbib -will read the template from stdin. -.SH "EXIT STATUS" -The following exit values are returned: -.TP 10 -.B 0 -Successful completion. -.TP -.B > 0 -An error occurred. Usually this is because a file could not be opened -or because the %{ and %} pairs are not properly nested. -Very rarely it may also be an out of memory error. Some of the -possible error messages: -.TP -.I missing ':' in pattern -.B mkbib -found a %{ but the second or third letter after it was not a colon. -.TP -.I no '%{' in template file -The template file is unusable, because it contains no template. -.TP -.I unbalanced %{..%} in pattern -There are more %{ than %}. -.SH "SEE ALSO" -.BR cite (1), -.BR xml2asc (1), -.BR UTF-8 -(RFC 2279), -.BR normalize (1), -.BR num (1), -.BR toc (1), -.BR htmlprune (1). -.BR unent (1) -.BR asc2xml (1) -.SH BUGS -Sorting is primitive: the program doesn't parse dates or names and -simply sorts "Jan 2000" under the letter "J" and "Albert Camus" under -the lettr "A". For the moment the only work-around is to put names in -the -.I bibfile -as "Camus, Albert". -.PP -The program simply lists all authors or editors. There is no way to -generate an "et. al." after the third one. The work-around is to put -the "et. al." in the -.IR bibfile . -Putting commas between the first authors and the word "and" before the -final one is also not possible. -.PP -The program doesn't try to interpret names of authors or editors and -they cannot be reformatted. It is impossible to write a name that is -specified as "Sartre, Jean-Paul" in the -.I bibfile -as "J. Sartre" or as "Jean-Paul Sartre" in the output. -.PP -There is no way to suppress a period after a field if the field -already ends with a period. E.g., the template "%{A:A.%}" may generate -"A. Person Jr.." if the author is "A. Person Jr." The only option is -to either not put periods in the -.IR bibfile -or not put periods in the template. -.PP -Entries in the -.I bibfile -can only be used if they have a -.B %L -(label) field. The program cannot find entries by searching for -keywords, like -.BR refer (1). -.PP -.B mkbib -will replace any ampersands (&) and less-than (<) and greater-than (>) -signs that occur in the -.I bibfile -by their XML entities & < > on the assumption that the -template is HTML/XML. This may not be appropriate for other formats. - diff --git a/arid_examples/html-xml-utils-3.0/mkbib.c b/arid_examples/html-xml-utils-3.0/mkbib.c deleted file mode 100644 index e96f7cc32..000000000 --- a/arid_examples/html-xml-utils-3.0/mkbib.c +++ /dev/null @@ -1,550 +0,0 @@ -/* - * mkbib - extract database entries from a db and format them - * - * mkbib reads a refer-style database of bibliographic entries, a list - * of keys and a pattern file and outputs a list of citations - * formatted according to the pattern and optionally sorted. - * - * The keys must correspond to %L fields in the refer database. - * - * The pattern file has the following structure: - * - * pattern: PREAMBLE entry POSTAMBLE; - * entry: "{L:" [ TEXT | FIELD | conditional ]* "}"; - * conditional: "{" !"? F ":" [ TEXT | FIELD | conditional ]* "}"; - * - * In the output, the entry will be repeated as often as there are - * unique keys. A FIELD is of the form "%x" and wil be replaced by - * field x of the entry. - * - * A part of the form "{x:ZZZ}" will be replaced by ZZZ if field x - * exists and by nothing otherwise. A part of the form "{!x:ZZZ}" will - * be replaced by ZZZ if field x does not exist. - * - * Occurrences of %x in the preamble (where x is a field name) will - * not be output, but serve to build up the sort order. The default - * sort order is to keep entries in the order they occur in the - * auxfile, but if, e.g., "%A%D%T" occurs in the preamble, entries - * will be sorted on author, date and title. - * - * To insert a literal "{", "}" or "%" in the preamble or in an entry, - * prefix them with "%": "%{", "%}" and "%%". - * - * Usage: mkbib [-a auxfile] bibfile [inputfile] - * - * bibfile is a refer-style database. - * - * inputfile is the file that serves as template. If absent, stdin - * is read. - * - * -a auxfile gives the name of the list of keys. If absent, the name - * will be the same as inputfile with the extension (if any) - * changed to ".aux". If no inputfile is given the default auxfile - * is "aux.aux". Duplicate keys will only be used once. - * - * Note: When the "{x:" and "}" are inside an HTML file, they may be - * in places where data is not allowed. To make the input file - * itself valid HTML, it may be necessary to put them inside comments: - * <!--{x:--> and <!--}-->. If one of them is put inside a comment, - * the other must be as well. - * - * Here is an example of an input file: - * - * <html> - * <title>Bibliography</title> - * <!-- sort order is Author, Date, Title %A%D%T--> - * <dl> - * <!--{L:--><dt id="%L">%L - * <dd>{A:%A.} <em>{T:%T.}</em> {D:%D. } - * <!--}--></dl> - * </html> - * - * To do: if the template has a period after a field and the field ends - * in a period as well, only output one of the two. - * - * To do: if there are more than three authors or editors, only output - * the first and add a string like "et al." or "and others" - * (configurable). - * - * To do: if the template adds something like "(eds)", allow it to be - * changed to "(ed)" if there is only one editor. - * - * Copyright © 1994-2004 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 19 March 2000 - * Version: $Id: mkbib.c,v 1.25 2004/04/29 15:48:56 bbos Exp $ - **/ -#include <config.h> -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <stdlib.h> -#include <assert.h> - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "hash.e" /* Use our own implementation */ -#endif - -#include <ctype.h> -#include "heap.e" -#include "types.e" -#include "errexit.e" - - -#define LINESIZE 32768 -#define INCR 25 -/* Warning: arbitrary limit! */ -#define HASHSIZE 4096 /* Size of hash table */ - -static string prog; /* argv[0] */ -static string sortorder = NULL; /* Default is unsorted */ -static string separator = "; "; /* Separates authors */ -static int et_al_limit = 3; /* Max # of authors to print */ -static string et_al = "et al."; /* String if more authors */ - - -/* escape -- print a string, escaping characters dangerous for XML/HTML */ -static void escape(const string s, char *last) -{ - int i; - - for (i = 0; s[i]; i++) - switch (s[i]) { - case '<': printf("<"); break; - case '>': printf(">"); break; - case '&': printf("&"); break; - case '"': printf("""); break; - default: putchar(s[i]); - } - if (i > 0) *last = s[i-1]; -} - - -/* put_field -- copy field field of entry with label key */ -static void put_field(const string key, unsigned char field, char *last) -{ - ENTRY *e, e1 = {key, NULL}; - string *lines; - int i, j, nrfields; - - /* ToDo: escape dangerous characters */ - /* ToDo: print "et. al." if more than N authors */ - /* ToDo: for fields other than %A and %E use only the last occurrence */ - /* ToDo: interpret and pretty-print dates in a consistent manner */ - - if (field == '%' || field == '{' || field == '}') { /* Literal */ - putchar(field); - *last = '\0'; - return; - } - - /* Find the entry for key */ - if (! (e = hsearch(e1, FIND))) { - fprintf(stderr, "%s: entry for key %s not found\n", prog, key); - return; - } - - /* Count how many occurences of %field there are in the entry */ - lines = (string*)e->data; /* Type cast */ - for (i = 0, nrfields = 0; lines[i]; i++) - if (lines[i][1] == field) nrfields++; - - /* Check that there is indeed a field */ - if (nrfields == 0) { - fprintf(stderr, "%s: entry %s has no field %%%c\n", prog, key, field); - return; - } - - /* Check that there are no duplicate fields, other than for A and E */ - if (nrfields != 1 && ! (field == 'A' || field == 'E')) { - fprintf(stderr, "%s: entry %s has duplicate field %%%c\n", - prog, key, field); - return; - } - - /* Now print the field(s) */ - if (nrfields > et_al_limit) { /* Print only the first */ - for (i = 0; lines[i][1] != field; i++); /* Find the first */ - escape(lines[i] + 3, last); /* Print with entities */ - printf("%s%s", separator, et_al); - *last = et_al[strlen(et_al) - 1]; - } else { /* Print all fields */ - for (i = 0, j = 0; lines[i]; i++) { - if (lines[i][1] == field) { /* Found it */ - if (j != 0) printf("%s", separator); /* Multiple fields */ - escape(lines[i] + 3, last); /* Print with entities */ - j++; - } - } - } -} - - -/* get_field -- check that entry for key has a field f, return ptr to field */ -static string get_field(const string key, const unsigned char f) -{ - ENTRY *e, e1 = {key, NULL}; - string *lines; - int i; - - /* Find the entry for key */ - e = hsearch(e1, FIND); - assert(e != NULL); - assert(e->data != NULL); - - /* Find a line that starts with %field */ - lines = (string*)e->data; /* Type cast */ - for (i = 0; lines[i] && lines[i][1] != f; i++) ; - - assert(! lines[i] || (lines[i][0] == '%' && lines[i][2] == ' ')); - return lines[i]; -} - - -/* compare_keys -- return the relative sort order for two keys: -1, 0, 1 */ -static int compare_keys(const void *aptr, const void *bptr) -{ - ENTRY e, *ae, *be; - int c, i; - string af, bf, a = *(string*)aptr, b = *(string*)bptr; - - /* Get the entry for key a */ - e.key = a; - ae = hsearch(e, FIND); - assert(ae != NULL); - - /* Get the entry for key b */ - e.key = b; - be = hsearch(e, FIND); - assert(be != NULL); - - /* Loop over sortorder, stop as soon as entries a and b are unequal */ - for (i = 0, c = 0; c == 0 && sortorder[i]; i++) { - af = get_field(a, sortorder[i]); - bf = get_field(b, sortorder[i]); - c = strcmp(af ? af : (string)"", bf ? bf : (string)""); - } - - return c; -} - - -/* sort_keys -- sort the keys according to the sort order given */ -static void sort_keys(string *keys, const int n) -{ - assert(sortorder != NULL); - qsort(keys, n, sizeof(*keys), compare_keys); -} - - -/* conditional -- conditionally copy a %{...%} segment */ -static int conditional(const string pattern, const string key, char *last) -{ - Boolean on; - int level, i = 1; - - /* Pattern starts with '{' */ - assert(pattern[0] == '{' && pattern[1] != '\0'); - - /* Check the condition */ - if (pattern[i] == '!') on = !get_field(key, pattern[++i]); - else on = get_field(key, pattern[i]) != NULL; - - if (pattern[i+1] != ':') errexit("%s: missing ':' in pattern\n", prog); - - /* Skip or copy until matching '%}' */ - if (! on) { /* Skip until matching '}' */ - for (i += 2, level = 1; level != 0; i++) - if (pattern[i] == '%') { - if (pattern[++i] == '{') level++; - else if (pattern[i] == '}') level--; - } - i--; /* i points to '}' */ - } else { /* Recursively copy segment */ - for (i += 2; True; i++) - if (pattern[i] == '%') { - if (pattern[++i] == '{') i += conditional(pattern + i, key, last); - else if (pattern[i] == '}') break; - else if (pattern[i] == '%') {putchar('%'); *last = '\0';} - else put_field(key, pattern[i], last); - } else if (*last != '.' || pattern[i] != '.') { - putchar(pattern[i]); - *last = '\0'; - } else { - *last = '\0'; /* Don't print this '.' */ - } - } - - return i; /* Points at '}' */ -} - - -/* copy -- copy pattern, expanding fields. (May sort keys) */ -static void copy(const string pattern, string *keys, const int n) -{ - int j, start, end, level, slen = 0; - char last = '\0'; /* Last char of field */ - - assert(sortorder == NULL); - - /* ToDo: Find a way to declare the separator in the source. Maybe {&:...} */ - - /* Find first '%{'. Also look for sort order */ - for (start = 0; pattern[start]; start++) { - if (pattern[start] == '%') { /* Special character */ - if (pattern[++start] == '{') { /* Start of template */ - break; - } else if ('A' <= pattern[start] && pattern[start] <= 'Z') { - renewarray(sortorder, slen + 2); /* Sort order */ - sortorder[slen] = pattern[start]; - sortorder[++slen] = '\0'; - } else { - putchar('%'); /* Not special */ - putchar(pattern[start]); - } - } else { /* Normal character */ - putchar(pattern[start]); - } - } - if (!pattern[start]) { - fprintf(stderr, "%s: warning: no '%%{' in input file\n", prog); - return; /* Nothing more to copy */ - } - - /* Sort the keys if there was a sort order */ - if (sortorder) sort_keys(keys, n); - - /* Start now points to '{'. Find matching '%}' */ - for (end = start + 1, level = 1; pattern[end] && level != 0; end++) { - if (pattern[end] == '%') { - if (pattern[++end] == '}') level--; - else if (pattern[end] == '{') level++; - } - } - if (level != 0) errexit("%s: unbalanced %{..%} in pattern\n", prog); - - /* End now points just after '}'. Loop over keys */ - for (j = 0; j < n; j++) - conditional(pattern + start, keys[j], &last); - - /* Copy postamble */ - printf("%s", pattern + end); -} - - -/* in_list -- check if s is in the list of strings */ -static Boolean in_list(const string s, const string *list, const int n) -{ - int i; - - for (i = 0; i < n && strcmp(s, list[i]) != 0; i++) ; - return i < n; -} - - -/* read_keys -- read the list of keys from file f */ -static string *read_keys(FILE *f, int *number) -{ - int i, e, n = 0; - unsigned char line[LINESIZE]; - string *keys = NULL; - - clearerr(f); - while (fgets(line, sizeof(line), f)) { - - /* Remove trailing \n and other whitespace */ - for (i = strlen(line); i > 0 && isspace(line[i-1]); i--) ; - line[i] = '\0'; - - /* ToDo: linear search fast enough? Books don't have 1000's of refs... */ - if (! in_list(line, keys, n)) { - renewarray(keys, INCR * ((n + 1)/INCR + 1)); - keys[n++] = newstring(line); - } - } - if ((e = ferror(f))) errexit("%s: %s\n", prog, strerror(e)); - - *number = n; - return keys; -} - - -/* check_and_store_entry -- check if we need this entry and if so store it */ -static void check_and_store_entry(const string key, string *lines, int n) -{ - ENTRY e, *e1; - - renewarray(lines, INCR * ((n + 1)/INCR + 1)); - lines[n] = NULL; /* Mark end of entry */ - if (key) { /* Does it have a key at all */ - e.key = key; - if ((e1 = hsearch(e, FIND))) /* Do we need this entry? */ - e1->data = (char*)lines; /* Replace its data field */ - } -} - - -/* read_entries -- read the relevant entries from the refer database */ -static void read_entries(FILE *f, const string *keys, const int n) -{ - unsigned char line[LINESIZE]; - string *lines = NULL; - string key = NULL; - ENTRY e, *e1; - int i, j, fe; - - /* First enter all keys into the hash table without any data */ - for (i = 0; i < n; i++) { - e.key = newstring(keys[i]); - e.data = NULL; - if (! hsearch(e, ENTER)) errexit("%s: %s\n", prog, strerror(errno)); - } - - /* Now read entries from the database */ - clearerr(f); - i = 0; - while (fgets(line, sizeof(line), f)) { - - if (line[0] != '%') { /* Separator line */ - if (i != 0) { /* We were in an entry */ - check_and_store_entry(key, lines, i); - i = 0; /* Reset */ - key = NULL; /* Reset */ - lines = NULL; /* Reset */ - } - } else { /* This line is a field */ - for (j = strlen(line); j > 0 && isspace(line[j-1]); j--) ; - line[j] = '\0'; /* Remove trailing spaces */ - renewarray(lines, INCR * ((i + 1)/INCR + 1)); - lines[i] = newstring(line); - if (strncmp(lines[i], "%L ", 3) == 0) key = lines[i] + 3; - i++; - } - } - if ((fe = ferror(f))) errexit("%s: %s\n", prog, strerror(fe)); - - /* Check if last entry was already stored */ - if (i != 0) /* We were still in an entry */ - check_and_store_entry(key, lines, i); - - /* Check that we found all keys */ - for (i = 0; i < n; i++) { - e.key = keys[i]; - e1 = hsearch(e, FIND); - assert(e1); - if (! e1->data) errexit("%s: entry for \"%s\" not found\n", prog, keys[i]); - } - -} - - -/* read_pattern -- read the input file into memory */ -static string read_pattern(FILE *f) -{ - string p = NULL; - int n, len = 0; - - /* ToDo: use ferror to check for errors */ - do { - renewarray(p, len + LINESIZE + 1); - n = fread(p + len, sizeof(*p), LINESIZE, f); - len += n; - } while (! feof(f)); - p[len] = '\0'; - return p; -} - - -/* usage -- print usage message and exit */ -static void usage(void) -{ - errexit("Version %s\nUsage: %s [-a auxfile] [-s sep] [-n maxauthors] [-r moreauthors] bibfile [inputfile]\n", - VERSION, prog); -} - - -/* main - main body */ -int main(int argc, char *argv[]) -{ - string auxfile = NULL, pattern, inputfile = NULL, dbfile, h; - string *keys = NULL; - FILE *f, *db, *aux; - int i, n; - - /* Parse command line */ - prog = argv[0]; - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'a': auxfile = argv[++i]; break; - case 's': separator = argv[++i]; break; - case 'n': et_al_limit = atoi(argv[++i]); break; - case 'r': et_al = argv[++i]; break; - default: usage(); - } - } - if (i < argc && eq(argv[i], "--")) i++; - if (i == argc || argc > i + 2) usage(); - - /* First argument is refer database */ - dbfile = argv[i++]; - - /* Optional second argument is input file */ - if (i != argc) inputfile = argv[i]; - - /* If we don't have an explicit auxfile yet, derive its name */ - if (! auxfile) { - if (! inputfile) { - auxfile = "aux.aux"; - } else { - newarray(auxfile, strlen(argv[i]) + 5); - strcpy(auxfile, argv[i]); - if ((h = strrchr(auxfile, '.'))) *h = '\0'; - strcat(auxfile, ".aux"); - } - } - - /* Create a hash table */ - if (! hcreate(HASHSIZE)) errexit("%s: not enough memory for hash table\n", prog); - - /* Read keys from aux file */ - if (! (aux = fopen(auxfile, "r"))) - errexit("%s: %s: %s\n", prog, auxfile, strerror(errno)); - keys = read_keys(aux, &n); - if (fclose(aux) != 0) - errexit("%s: %s: %s\n", prog, auxfile, strerror(errno)); - - /* Read the entries we need from the database */ - if (! (db = fopen(dbfile, "r"))) - errexit("%s: %s: %s\n", prog, dbfile, strerror(errno)); - read_entries(db, keys, n); - if (fclose(db) != 0) - errexit("%s: %s: %s\n", prog, dbfile, strerror(errno)); - - /* Read pattern into memory */ - if (! (f = inputfile ? fopen(inputfile, "r") : stdin)) - errexit("%s: %s: %s\n", prog, inputfile, strerror(errno)); - pattern = read_pattern(f); - if (fclose(f) != 0) - errexit("%s: %s: %s\n", prog, inputfile, strerror(errno)); - - /* Copy and expand the pattern */ - copy(pattern, keys, n); - - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/multitoc.1 b/arid_examples/html-xml-utils-3.0/multitoc.1 deleted file mode 100644 index 42906a1f9..000000000 --- a/arid_examples/html-xml-utils-3.0/multitoc.1 +++ /dev/null @@ -1,31 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 Mar 2000" -.SH NAME -multitoc \- create a table of content for a set of HTML files -.SH SYNOPSIS -.B multitoc -.RB "[\| " \-x " \|]" -.RB "[\| " \-s -.IR preample " \|]" -.RB "[\| " \-e -.IR postample " \|]" -.RB "[\| " \-l -.IR low -.RB " | " \-h -.IR high -.RB " | " \-b -.IR base -.RB " | " \-c -.IR configfile -.RI " | " file " \|] ..." -.SH DESCRIPTION -[ToDo] diff --git a/arid_examples/html-xml-utils-3.0/multitoc.c b/arid_examples/html-xml-utils-3.0/multitoc.c deleted file mode 100644 index 8981e9943..000000000 --- a/arid_examples/html-xml-utils-3.0/multitoc.c +++ /dev/null @@ -1,287 +0,0 @@ -/* - * Output a table of content of all the headers in all the files - * given on the command line. - * - * Headers with class "no-toc" will not be listed in the ToC. - * - * The ToC links to elements with ID attributes as well as with - * empty <A NAME> elements. - * - * Tags for a <SPAN> with class "index" are assumed to be used by - * a cross-reference generator and will not be copied to the ToC. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos <bert@w3.org> - * Created Sep 1997 - * $Id: multitoc.c,v 1.15 2002/02/05 18:53:50 bbos Exp $ - */ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "class.e" - -#define NO_TOC "no-toc" /* CLASS="... no-toc..." */ -#define INDEX "index" /* CLASS="... index..." */ - -#define MAXLINELEN 1024 /* In configfile */ - -#define EXPAND True -#define NO_EXPAND False -#define KEEP_ANCHORS True -#define REMOVE_ANCHORS False - -static int toc_low = 1, toc_high = 6; /* Which headers to include */ -static Boolean xml = False; /* Use <empty /> convention */ -static Boolean copying = False; /* Start by not copying */ -static int curlevel = 0; /* Level of previous heading */ -static string base = NULL; /* URL of each file */ -static string endtext = ""; /* Text to insert at end */ - - -/* attval -- get value of a specific attribute, or NULL */ -static const string attval(pairlist attribs, const string name) -{ - pairlist p; - - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, name) == 0) return p->value ? p->value : p->name; - return NULL; -} - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) {return NULL;} - -/* end -- called after the last event is reported */ -EXPORT void end(void *clientdata) {} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *clientdata, const string commenttext) {} - -/* handle_text -- called after a text chunk is parsed */ -EXPORT void handle_text(void *clientdata, const string text) -{ - if (copying) fputs(text, stdout); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *clientdata, const string gi, - const string fpi, const string url) {} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *clientdata, const string pi_text) {} - -/* handle_header -- handle a H? start tag */ -static void handle_header(int level, pairlist attribs) -{ - string id; - - if (has_class(attribs, NO_TOC)) return; - if (level < toc_low || level > toc_high) return; - for (; curlevel > level; curlevel--) printf("</ul>\n"); - for (; curlevel < level - 1; curlevel++) printf("<li><ul class=\"toc\">\n"); - if (curlevel == level - 1) {printf("<ul class=\"toc\">\n"); curlevel++;} - id = attval(attribs, "id"); - printf("<li><a href=\"%s#%s\">", base, id ? id : (string) ""); - copying = True; -} - -/* handle_span -- print a <span> starttag but without class=index */ -static void handle_span(pairlist attribs) -{ - pairlist a; - string t, h; - - printf("<span"); - for (a = attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (strcasecmp(a->name, "class") == 0 && (t = contains(a->value, INDEX))) { - /* Print value excluding INDEX */ - printf("=\""); - for (h = a->value; h != t; h++) putchar(*h); - printf("%s\"", t + sizeof(INDEX) - 1); - } else { - if (a->value) printf("=\"%s\"", a->value); - } - } - printf(">"); -} - -/* finalize -- close any open lists */ -static void finalize(void) -{ - for (; curlevel >= toc_low; curlevel--) printf("</ul>\n"); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *clientdata, const string name, - pairlist attribs) -{ - pairlist a; - - if (eq(name, "h1") || eq(name, "H1")) handle_header(1, attribs); - else if (eq(name, "h2") || eq(name, "H2")) handle_header(2, attribs); - else if (eq(name, "h3") || eq(name, "H3")) handle_header(3, attribs); - else if (eq(name, "h4") || eq(name, "H4")) handle_header(4, attribs); - else if (eq(name, "h5") || eq(name, "H5")) handle_header(5, attribs); - else if (eq(name, "h6") || eq(name, "H6")) handle_header(6, attribs); - else if (eq(name, "a") || eq(name, "A")) ; /* Skip anchors */ - else if (copying && !strcasecmp(name, "span")) handle_span(attribs); - else if (copying) { /* Copy the tag */ - printf("<%s", name); - for (a = attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - } - printf(">"); - } -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *clientdata, const string name, - pairlist attribs) -{ - pairlist a; - - if (copying && !eq(name, "a") && !eq(name, "A")) { /* Copy the tag */ - printf("<%s", name); - for (a = attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - } - printf(xml ? " />" : ">"); - } -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *clientdata, const string name) -{ - if (copying) { - if (eq(name, "h1") || eq(name, "H1") || eq(name, "h2") - || eq(name, "H2") || eq(name, "h3") || eq(name, "H3") - || eq(name, "h4") || eq(name, "H4") || eq(name, "h5") - || eq(name, "H5") || eq(name, "h6") || eq(name, "H6")) { - printf("</a>\n"); - copying = False; - } else if (eq(name, "a") || eq(name, "A")) { - /* skip anchors */ - } else { - printf("</%s>", name); - } - } -} - -/* process_configfile -- read @chapter lines from config file */ -static void process_configfile(const string configfile) -{ - unsigned char line[MAXLINELEN], chapter[MAXLINELEN]; - FILE *f; - - if (! (f = fopenurl(configfile, "r"))) {perror(configfile); exit(2);} - - /* ToDo: accept quoted file names with spaces in their name */ - while (fgets(line, sizeof(line), f)) { - if (sscanf(line, " @chapter %s", chapter) == 1) { - if (!base) base = chapter; - yyin = fopenurl(chapter, "r"); - if (yyin == NULL) {perror(chapter); exit(2);} - if (yyparse() != 0) exit(3); - fclose(yyin); - base = NULL; - } - } - - fclose(f); -} - -/* usage -- print usage message and exit */ -static void usage(const string name) -{ - fprintf(stderr, "Version %s\n\ -Usage: %s [-x] [-s text ] [-e text ] [-l low | -h high | -b base | html-file \ -| -c configfile]+\n", - VERSION, name); - exit(1); -} - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Loop over arguments; options may be in between file names */ - for (i = 1; i < argc; i++) { - if (eq(argv[i], "-l")) { - if (i >= argc - 1) usage(argv[0]); - toc_low = atoi(argv[++i]); - curlevel = toc_low - 1; - if (toc_low < 1) toc_low = 1; - } else if (eq(argv[i], "-h")) { - if (i >= argc - 1) usage(argv[0]); - toc_high = atoi(argv[++i]); - if (toc_high > 6) toc_high = 6; - } else if (eq(argv[i], "-x")) { /* XML format */ - xml = True; - } else if (eq(argv[i], "-s")) { /* Insert text at start */ - printf("%s", argv[++i]); - } else if (eq(argv[i], "-e")) { /* Insert text at end */ - endtext = argv[++i]; - } else if (eq(argv[i], "-b")) { - base = argv[++i]; - } else if (eq(argv[i], "-c")) { /* Config file */ - process_configfile(argv[++i]); - } else if (eq(argv[i], "-")) { - if (!base) base = ""; - yyin = stdin; - if (yyparse() != 0) exit(3); - base = NULL; /* Reset base */ - } else { - if (!base) base = argv[i]; - yyin = fopenurl(argv[i], "r"); - if (yyin == NULL) {perror(argv[1]); exit(2);} - if (yyparse() != 0) exit(3); - fclose(yyin); - base = NULL; - } - } - finalize(); - printf("%s", endtext); /* Insert text at end */ - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/native_build.dynamic.sh b/arid_examples/html-xml-utils-3.0/native_build.dynamic.sh deleted file mode 100755 index f47ac8ad9..000000000 --- a/arid_examples/html-xml-utils-3.0/native_build.dynamic.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -make clean -./configure CPPFLAGS="-fno-stack-protector" -echo Making $1 -make $1 -echo - - diff --git a/arid_examples/html-xml-utils-3.0/native_build.static.sh b/arid_examples/html-xml-utils-3.0/native_build.static.sh deleted file mode 100755 index 435e7c96d..000000000 --- a/arid_examples/html-xml-utils-3.0/native_build.static.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -make clean -./configure CPPFLAGS="-fno-stack-protector" LDFLAGS="-static" -echo Making $1 -echo -make $1 - - diff --git a/arid_examples/html-xml-utils-3.0/normalize.1 b/arid_examples/html-xml-utils-3.0/normalize.1 deleted file mode 100644 index 22a769a5f..000000000 --- a/arid_examples/html-xml-utils-3.0/normalize.1 +++ /dev/null @@ -1,77 +0,0 @@ -.TH man 1 "2 Dec 1998" -.SH NAME -normalize \- pretty-print an HTML file -.SH SYNOPSIS -.B normalize -.RB "[\| " \-x " \|]" -.RB "[\| " \-e " \|]" -.RB "[\| " \-d " \|]" -.RB "[\| " \-i -.IR indent " \|]" -.RB "[\| " \-l -.IR line\-length " \|]" -.RB "[\| " file " \|]" -.SH DESCRIPTION -.LP -The -.B normalize -command pretty-prints an HTML file, and also tries to fix small -errors. The output is the same HTML, but with a maximum line length -and with optional indentation to indicate the nesting level of each -line. -.SH OPTIONS -The following options are supported: -.TP 10 -.B \-x -Use XML conventions: empty elements are written with a slash at the -end: <IMG\ />. Implies \-e. -.TP -.B \-e -Always insert endtags, even if HTML does not require them. (For -example, </p> and </li>.) -.TP -.B \-d -Omit the DOCTYPE from the output. -.TP -.BI \-i " indent" -Set the number of spaces to indent each nesting level. Default is 2. -Not all elements cause an indent. In general, elements that can occur -in a block environment are started on a new line and cause an indent, -but inline elements, such as EM and SPAN do not cause an indent. -.TP -.BI \-l " line\-length" -Sets the maximum length of lines. -.B normalize -will wrap lines so that all lines are as long as possible, but no -longer than this length. Default is 72. Words that are longer than the -line length will not be broken, and will extend past this length. A -\"word\" is a sequence of characters delimited by white space.) The -content of the STYLE, SCRIPT and PRE elements will not be -line-wrapped. -.SH OPERANDS -The following operand is supported: -.TP 10 -.I file -The name of an HTML file. If absent, standard input is read instead. -.SH "EXIT STATUS" -The following exit values are returned: -.TP 10 -.B 0 -Successful completion. -.TP -.B >0 -An error occurred in the parsing of the HTML file. -.B normalize -will try to correct the error and produce output anyway. -.SH "SEE ALSO" -.BR xml2asc (1), -.BR UTF-8 -(RFC 2279) -.SH BUGS -.LP -The error recovery for incorrect HTML is primitive. -.LP -.B normalize -will not omit an end tag if the white space after it could possibly be -significant. E.g., it will not remove the first </p> from -"<div><p>text</p> <p>text</p></div>". diff --git a/arid_examples/html-xml-utils-3.0/normalize.c b/arid_examples/html-xml-utils-3.0/normalize.c deleted file mode 100644 index b579de0f0..000000000 --- a/arid_examples/html-xml-utils-3.0/normalize.c +++ /dev/null @@ -1,282 +0,0 @@ -/* - * Format an HTML source in a consistent manner. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Created 9 May 1998 - * Bert Bos <bert@w3.org> - * $Id: normalize.c,v 1.23 2003/12/02 18:19:24 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#include <ctype.h> -#include <stdlib.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#ifdef HAVE_STRING_H -# include <string.h> -#elif HAVE_STRINGS_H -# include <strings.h> -#endif -#include <assert.h> -#include "export.h" -#include "types.e" -#include "tree.e" -#include "html.e" -#include "scan.e" -#include "textwrap.e" -#include "openurl.e" - -static Tree tree; -static Boolean do_xml = False; -static Boolean do_endtag = False; -static Boolean has_errors = False; -static Boolean do_doctype = True; - - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_errors = True; -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); - free(name); -} - -/* insert -- insert an attribute into a sorted list of attributes */ -static pairlist insert(pairlist x, pairlist list) -{ - if (! list) { /* Empty list */ - x->next = NULL; - return x; - } else if (strcmp(x->name, list->name) <= 0) { /* Insert at head */ - x->next = list; - return x; - } else { /* Insert not at head */ - list->next = insert(x, list->next); - return list; - } -} - -/* sort_list -- sort a linked list of attributes, return reordered list */ -static pairlist sort_list(pairlist list) -{ - /* Insertion sort should be fast enough... */ - if (! list) return NULL; - else return insert(list, sort_list(list->next)); -} - -/* only_space -- check if s contains only whitespace */ -static Boolean only_space(string s) -{ - while (*s == ' ' || *s == '\n' || *s == '\r' || *s == '\t' || *s == '\f') - s++; - return *s == '\0'; -} - -/* pp -- print the document normalized */ -static void pp(Tree n, Boolean preformatted, Boolean allow_text) -{ - Boolean pre, mixed; - string s; - pairlist h; - size_t i; - Tree l; - - switch (n->tp) { - case Text: - if (!allow_text) { - assert(only_space(n->text)); - } else { - s = n->text; - i = strlen(s); -#if 0 - if (s[0] == '\r' && s[1] == '\n') {s += 2; i -= 2;} - else if (s[0] == '\n' || s[0] == '\r') {s++; i--;} - if (i > 1 && s[i-1] == '\n' && s[i-2] == '\r') i -= 2; - else if (i > 0 && (s[i-1] == '\r' || s[i-1] == '\n')) i--; -#endif - outn(s, i, preformatted); - } - break; - case Comment: - out("<!--", True); out(n->text, True); - if (allow_text || preformatted) out("-->", True); - else outln("-->", preformatted); - break; - case Declaration: - if (do_doctype) { - out("<!DOCTYPE ", False); - out(n->name, False); - if (n->text) { - out(" PUBLIC \"", False); - out(n->text, False); - out("\"", False); - } else - out(" SYSTEM", False); - if (n->url) { - out(" \"", False); - out(n->url, False); - out("\"", False); - } - outln(">", False); - } - break; - case Procins: - out("<?", False); out(n->text, True); - if (allow_text || preformatted) out(">", False); - else outln(">", False); - break; - case Element: - if (!preformatted && break_before(n->name)) outln(NULL, False); - out("<", preformatted); out(n->name, preformatted); - if (break_before(n->name)) inc_indent(); - n->attribs = sort_list(n->attribs); - for (h = n->attribs; h != NULL; h = h->next) { - out(" ", preformatted); out(h->name, preformatted); - if (h->value != NULL) { - out("=\"", preformatted); - out(h->value, preformatted); - outc('"', preformatted); - } else if (do_xml) { - out("=\"", preformatted); - out(h->name, preformatted); - outc('"', preformatted); - } - } - if (is_empty(n->name)) { - assert(n->children == NULL); - out(do_xml ? " />" : ">", True); - if (break_before(n->name)) dec_indent(); - if (!preformatted && break_after(n->name)) outln(NULL, False); - } else { - out(">", preformatted); - pre = preformatted || is_pre(n->name); - mixed = is_mixed(n->name); - for (l = n->children; l != NULL; l = l->sister) - pp(l, pre, mixed); - if (break_before(n->name)) dec_indent(); - if (do_xml || do_endtag || need_etag(n->name) - /* If followed by text, rather than an elt, add an end tag: */ - || (n->sister && n->sister->tp == Text)) { - out("</", preformatted); out(n->name, preformatted); - out(">", preformatted); - } - if (!preformatted && break_after(n->name)) outbreak(); - } - break; - default: - assert(!"Cannot happen"); - } -} - -/* prettyprint -- print the tree normalized */ -static void prettyprint(Tree t) -{ - Tree h; - assert(t->tp == Root); - for (h = t->children; h != NULL; h = h->sister) pp(h, False, False); - flush(); -} - -/* usage -- print usage message and exit */ -static void usage(string prog) -{ - fprintf(stderr, "%s version %s\n\ -Usage: %s [-e] [-d] [-x] [-i indent] [-l linelen] [file_or_url]\n", - prog, VERSION, prog); - exit(1); -} - -/* main -- main body */ -int main(int argc, char *argv[]) -{ - int c; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - while ((c = getopt(argc, argv, "edxi:l:")) != -1) - switch (c) { - case 'e': do_endtag = True; break; - case 'x': do_xml = True; break; - case 'd': do_doctype = False; break; - case 'i': set_indent(atoi(optarg)); break; - case 'l': set_linelen(atoi(optarg)); break; - default: usage(argv[0]); - } - if (optind == argc) yyin = stdin; - else if (optind == argc - 1) yyin = fopenurl(argv[optind], "r"); - else usage(argv[0]); - if (yyin == NULL) {perror(argv[optind]); exit(2);} - if (yyparse() != 0) {exit(3);} - tree = get_root(tree); - prettyprint(tree); - return has_errors ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/num.1 b/arid_examples/html-xml-utils-3.0/num.1 deleted file mode 100644 index 0ebd45102..000000000 --- a/arid_examples/html-xml-utils-3.0/num.1 +++ /dev/null @@ -1,15 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 Mar 2000" -.SH NAME -num \- number section headings in an HTML file -.SH SYNOPSIS -[ToDo. Try num -?] diff --git a/arid_examples/html-xml-utils-3.0/num.c b/arid_examples/html-xml-utils-3.0/num.c deleted file mode 100644 index 501ecb0d5..000000000 --- a/arid_examples/html-xml-utils-3.0/num.c +++ /dev/null @@ -1,347 +0,0 @@ -/* - * Number headers. Counters are inserted at the start - * of H1 to H6. CLASS="no-num" suppresses numbering for - * that heading. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos - * Created Sep 1997 - * $Id: num.c,v 1.16 2000/08/07 12:28:44 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <ctype.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" - -#define SECNO "secno" /* class attribute */ -#define NO_NUM "no-num" /* class-attribute */ - -static int h[] = {-1, 0, 0, 0, 0, 0, 0}; /* Counters for each level */ -static int low = 1; /* First counter to use */ -static int high = 6; /* Last counter to use */ -static unsigned char *format[7] = { /* Format for each counter */ - NULL, "%d.", "%d.%d.", "%d.%d.%d.", "%d.%d.%d.%d.", - "%d.%d.%d.%d.%d.", "%d.%d.%d.%d.%d.%d."}; -static int skipping = 0; /* >0 to suppress output */ - - -/* romannumeral -- generate roman numeral for 1 <= n <= 4000 */ -static unsigned char* romannumeral(int n) -{ - static unsigned char buf[30]; - int len = 0; - - while (n >= 1000) {buf[len++] = 'M'; n -= 1000;} - if (n >= 500) {buf[len++] = 'D'; n -= 500;} - while (n >= 100) {buf[len++] = 'C'; n -= 100;} - if (n >= 50) {buf[len++] = 'L'; n -= 50;} - while (n >= 10) {buf[len++] = 'X'; n -= 10;} - if (n >= 9) {buf[len++] = 'I'; buf[len++] = 'X'; n -= 9;} - if (n >= 5) {buf[len++] = 'V'; n -= 5;} - if (n >= 4) {buf[len++] = 'I'; buf[len++] = 'V'; n -= 4;} - while (n >= 1) {buf[len++] = 'I'; n -= 1;} - buf[len] = '\0'; - return buf; -} - -/* down -- convert a string to lowercase, return pointer to start of string */ -static unsigned char* down(unsigned char *t) -{ - unsigned char *s; - for (s = t; *s; s++) *s = tolower(*s); - return t; -} - -/* --------------- implements interface api.h -------------------------- */ - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, unsigned char *commenttext) -{ - printf("<!--%s-->", commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, unsigned char *text) -{ - if (skipping == 0) fputs(text, stdout); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, unsigned char *gi, - unsigned char *fpi, unsigned char *url) -{ - if (skipping == 0) { - printf("<!DOCTYPE %s ", gi); - if (fpi) printf("PUBLIC \"%s\"\n", fpi); else printf("SYSTEM"); - if (url) printf(" \"%s\"", url); - printf(">"); - } -} - -/* handle_proc_instr -- called after a PI is parsed */ -void handle_pi(void *clientdata, unsigned char *pi_text) -{ - if (skipping == 0) printf("<?%s>", pi_text); -} - -/* contains -- check if string contains a certain word, return pointer */ -static unsigned char* contains(unsigned char *s, unsigned char *word) -{ - unsigned char c, *t; - t = strstr(s, word); - if (t == NULL) - return NULL; /* Not found */ - if (t != s && !isspace(*(t - 1))) - return NULL; /* Not beginning of word */ - if ((c = *(t + strlen(word))) != '\0' && !isspace(c)) - return NULL; /* Not end of word */ - return t; -} - -/* Check for class=secno in list of attributes */ -static Boolean class_contains_secno(pairlist attribs) -{ - pairlist p; - - for (p = attribs; p != NULL; p = p->next) { - if (strcasecmp(p->name, "class") == 0 && contains(p->value, SECNO)) - return True; - } - return False; -} - -/* Check for class=no-num in list of attributes */ -static Boolean class_contains_no_num(pairlist attribs) -{ - pairlist p; - - for (p = attribs; p != NULL; p = p->next) { - if (strcasecmp(p->name, "class") == 0 && contains(p->value, NO_NUM)) - return True; - } - return False; -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, unsigned char *name, pairlist attribs) -{ - pairlist p; - int lev, i; - unsigned char *s; - - /* Skip everything inside <span class=secno> */ - if (skipping > 0) { - skipping++; - return; - } - - /* Check for old counters, skip them */ - if (strcasecmp(name, "span") == 0 && class_contains_secno(attribs)) { - skipping = 1; - return; - } - - /* Print tag and attributes */ - printf("<%s", name); - for (p = attribs; p != NULL; p = p->next) { - printf(" %s", p->name); - if (p->value != NULL) printf("=\"%s\"", p->value); - } - printf(">"); - - /* If header, insert counters */ - if (eq("h1", name) || eq("H1", name)) lev = 1; - else if (eq("h2", name) || eq("H2", name)) lev = 2; - else if (eq("h3", name) || eq("H3", name)) lev = 3; - else if (eq("h4", name) || eq("H4", name)) lev = 4; - else if (eq("h5", name) || eq("H5", name)) lev = 5; - else if (eq("h6", name) || eq("H6", name)) lev = 6; - else lev = 0; - - /* Don't number headers with class "no-num" */ - if (lev > 0 && class_contains_no_num(attribs)) lev = 0; - - if (low <= lev && lev <= high) { - h[lev]++; - for (i = lev + 1; i <= high; i++) h[i] = 0; - printf("<span class=\"%s\">", SECNO); - for (i = low, s = format[lev]; *s; s++) { - if (*s == '%') { - s++; - switch (*s) { - case 'n': i++; break; /* No number */ - case 'd': printf("%d", h[i++]); break; /* Decimal */ - case 'a': printf("%c", 'a' + (h[i++] - 1)); break; /* Lowercase */ - case 'A': printf("%c", 'A' + (h[i++] - 1)); break; /* Uppercase */ - case 'i': printf("%s", down(romannumeral(h[i++]))); break; - case 'I': printf("%s", romannumeral(h[i++])); break; /* Roman */ - default: putchar(*s); /* Escaped char */ - } - } else { - putchar(*s); - } - } - printf(" </span>"); - } -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, unsigned char *name, pairlist attribs) -{ - pairlist p; - - if (skipping == 0) { - printf("<%s", name); - for (p = attribs; p != NULL; p = p->next) { - printf(" %s", p->name); - if (p->value != NULL) printf("=\"%s\"", p->value); - } - printf(" />"); - } -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, unsigned char *name) -{ - if (skipping == 0) printf("</%s>", name); - else skipping--; -} - -/* --------------------------------------------------------------------- */ - -/* usage -- print usage message and exit */ -static void usage(unsigned char *prog) -{ - fprintf(stderr, "Version %s\n\ -Usage: %s [-l low] [-h high] [-1 format] [-2 format] [-3 format]\n\ - [-4 format] [-5 format] [-6 format] [html-file]\n", VERSION, prog); - exit(2); -} - -/* help -- print help */ -static void help(void) -{ - printf("Version %s\n", VERSION); - printf("Options:\n"); - printf(" -l low lowest header level to number (1-6) [default 1]\n"); - printf(" -h high highest header level to number (1-6) [default 6]\n"); - printf(" -n start number of first heading [default: 1]\n"); - printf(" -1 format format for level 1 [default \"%%d.\"]\n"); - printf(" -2 format format for level 2 [default \"%%d.%%d.\"]\n"); - printf(" -3 format format for level 3 [default \"%%d.%%d.%%d.\"]\n"); - printf(" -4 format format for level 4 [default \"%%d.%%d.%%d.%%d.\"]\n"); - printf(" -5 format format for level 5 [default \"%%d.%%d.%%d.%%d.%%d.\"]\n"); - printf(" -6 format format for level 6 [default \"%%d.%%d.%%d.%%d.%%d.%%d.\"]\n"); - printf(" -? this help\n"); - printf("The format strings may contain:\n"); - printf(" %%d replaced by decimal number\n"); - printf(" %%a replaced by letter a, b, c,..., z\n"); - printf(" %%A replaced by letter A, B, C,..., Z\n"); - printf(" %%i replaced by lowercase roman numeral i, ii, iii,...\n"); - printf(" %%I replaced by roman numeral I, II, III,...\n"); - printf(" %%n replaced by nothing, but skips a level\n"); - printf(" %%%% replaced by a %%\n"); - printf("The first %% in the format is replaced by the counter for level\n"); - printf("low, the second by the counter for low+1, etc.\n"); - exit(0); -} - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* First find -l and -h */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'l': low = atoi(argv[++i]); break; - case 'h': high = atoi(argv[++i]); break; - default: ; - } - } - /* If -l and/or -h have been set, the default formats are different */ - if (low != 1 || high != 6) { - for (i = high; i >= low; i--) format[i] = format[i-low+1]; - for (i = high + 1; i <= 6; i++) format[i] = ""; - } - /* Then treat other options */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'l': i++; break; /* Already handled */ - case 'h': i++; break; /* Already handled */ - case 'n': h[low] = atoi(argv[++i]) - 1; break; - case '1': format[1] = argv[++i]; break; - case '2': format[2] = argv[++i]; break; - case '3': format[3] = argv[++i]; break; - case '4': format[4] = argv[++i]; break; - case '5': format[5] = argv[++i]; break; - case '6': format[6] = argv[++i]; break; - case '?': help(); break; - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) yyin = stdin; - else if (i == argc - 1 && eq(argv[i], "-")) yyin = stdin; - else if (i == argc - 1) yyin = fopenurl(argv[i], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) { - exit(3); - } - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/openurl.c b/arid_examples/html-xml-utils-3.0/openurl.c deleted file mode 100644 index dc2142c6c..000000000 --- a/arid_examples/html-xml-utils-3.0/openurl.c +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Routines to open a URL instead of a local file - * - * int openurl(const char *path) - * FILE *fopenurl(const char *path) - * - * ToDo: Add arguments for PUT, POST; parse and return headers. - * - * Uses http_proxy and ftp_proxy environment variables. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 7 March 1999 - * Version: $Id: openurl.c,v 1.8 2003/01/21 19:26:03 bbos Exp $ - */ -#include <config.h> -#include <stdlib.h> -#include <sys/types.h> -#include <sys/stat.h> -#ifdef HAVE_FCNTL_H -# include <fcntl.h> -#endif -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#include <stdio.h> -#include <sys/socket.h> -#include <sys/types.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <string.h> -#include "export.h" -#include "heap.e" -#include "types.e" -#include "url.e" -#include "connectsock.e" - -#define MAXBUF 4096 /* Max len of header lines */ - -static URL http_proxy = NULL, ftp_proxy = NULL; -static int http_proxy_init = 0, ftp_proxy_init = 0; - - -/* open_via_proxy -- open a URL via a proxy server */ -static FILE *open_via_proxy(const char *url, const URL proxy) -{ - char line[MAXBUF]; - int fd, n; - char *s; - FILE *f; - - /* Connect */ - if ((fd = connectTCP(proxy->machine, - proxy->port ? proxy->port : (string)"80")) == -1) - return NULL; - - /* Send request */ - newarray(s, strlen(url) + 18); - n = sprintf(s, "GET %s HTTP/1.0\r\n\r\n", url); - if (write(fd, s, n) != n) {close(fd); return NULL;} - dispose(s); -#if 0 - shutdown(fd, 1); /* No more output to server */ -#endif - - /* Read headers */ - if (! (f = fdopen(fd, "r"))) {close(fd); return NULL;} - clearerr(f); - while (fgets(line, sizeof(line), f) && line[0] && line[0] != '\r' && line[0] != '\n') { - /* ToDo: recombine continuation lines and store headers somewhere... */ - /* fprintf(stderr, "%s", line); */ - } - if (ferror(f)) {fclose(f); return NULL;} - - /* Return the body of the stream */ - return f; -} - -/* open_http -- open resource via HTTP; return file pointer or NULL */ -static FILE *open_http(const URL url) -{ - char line[MAXBUF]; - int fd, n; - char *s, *proxy; - FILE *f; - - if (! http_proxy_init) { - if ((proxy = getenv("http_proxy"))) http_proxy = URL_new(proxy); - http_proxy_init = 1; - } - - /* Check for proxy */ - if (http_proxy) return open_via_proxy(url->full, http_proxy); - - /* Connect */ - if ((fd = connectTCP(url->machine, - url->port ? url->port : (string)"80")) == -1) - return NULL; - - /* Send request */ - newarray(s, strlen(url->full) + 16); /* Should be long enough... */ - n = sprintf(s, "GET %s HTTP/1.0\r\n", url->path ? url->path : (string)"/"); - if (write(fd, s, n) != n) {close(fd); return NULL;} - n = sprintf(s, "Host: %s:%s\r\n", url->machine, - url->port ? url->port : (string)"80"); - if (write(fd, s, n) != n) {close(fd); return NULL;} - n = sprintf(s, "\r\n"); - if (write(fd, s, n) != n) {close(fd); return NULL;} - dispose(s); - shutdown(fd, 1); /* No more output to server */ - - /* Read headers */ - f = fdopen(fd, "r"); - while (fgets(line, sizeof(line), f) && line[0] && line[0] != '\r' && line[0] != '\n') { - /* ToDo: recombine continuation lines and store headers somewhere... */ - } - - /* Return the body of the stream */ - return f; -} - -/* open_ftp -- open resource via FTP; return file pointer or NULL */ -static FILE *open_ftp(const URL url) -{ - char *proxy; - - if (! ftp_proxy_init) { - if ((proxy = getenv("ftp_proxy"))) ftp_proxy = URL_new(proxy); - ftp_proxy_init = 1; - } - if (ftp_proxy) return open_via_proxy(url->full, ftp_proxy); - - /* Can only work via proxy for now... */ - errno = ENOSYS; - return NULL; -} - -/* open_file -- open resource as local file or FTP; return file ptr or NULL */ -static FILE *open_file(const URL url) -{ - FILE *f = NULL; - - if (! url->machine || eq(url->machine, "localhost")) { - f = fopen(url->path, "r"); - } - if (! f) f = open_ftp(url); - return f; -} - -/* fopenurl -- like fopen, but takes a URL; HTTP headers are parsed */ -EXPORT FILE *fopenurl(char *path, char* mode) -{ - URL url; - FILE *f; - - /* NOT IMPLEMENTED YET: mode = "w" (= PUT) and "a" (= POST) */ - if (! eq(mode, "r")) {errno = ENOSYS; return NULL;} - - url = URL_new(path); - if (! url) {errno = EACCES; return NULL;} /* Invalid URL */ - if (! url->proto) f = fopen(path, "r"); /* Assume it's a local file */ - else if (eq(url->proto, "http")) f = open_http(url); - else if (eq(url->proto, "ftp")) f = open_ftp(url); - else if (eq(url->proto, "file")) f = open_file(url); - else {errno = EACCES; f = NULL;} /* Unimplemented protocol */ - URL_dispose(url); - return f; -} diff --git a/arid_examples/html-xml-utils-3.0/openurl.e b/arid_examples/html-xml-utils-3.0/openurl.e deleted file mode 100644 index 3f7def50c..000000000 --- a/arid_examples/html-xml-utils-3.0/openurl.e +++ /dev/null @@ -1 +0,0 @@ - FILE *fopenurl(char *path, char* mode); diff --git a/arid_examples/html-xml-utils-3.0/pipe.1 b/arid_examples/html-xml-utils-3.0/pipe.1 deleted file mode 100644 index ae9e17964..000000000 --- a/arid_examples/html-xml-utils-3.0/pipe.1 +++ /dev/null @@ -1,20 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 Mar 2000" -.SH NAME -pipe \- convert XML file to a format easier to parse with Perl or AWK -.SH SYNOPSIS -.B pipe -.RB "[\| " \-l " \|]" -.RB "[\| " \-\- " \|]" -.RI "[\| " file " \|]" -.SH DESCRIPTION -[ToDo] diff --git a/arid_examples/html-xml-utils-3.0/pipe.c b/arid_examples/html-xml-utils-3.0/pipe.c deleted file mode 100644 index fd929511a..000000000 --- a/arid_examples/html-xml-utils-3.0/pipe.c +++ /dev/null @@ -1,281 +0,0 @@ -/* - * pipe - output HTML/XML in canonical ("sgmls" form - * - * Parse HTML/XML and output in approximate "nsgmls" format. Some of - * the differences are that comments are also printed (see * below), - * that implied attributes are not, and that entities are left - * unexpanded. Use "unent" to expand entities to UTF-8. - * - * The program doesn't interpret the source in any way, and doesn't - * read DTDs. That means that, e.g., end tags are not automatically - * added. Pipe the source through normalize(1) first in order to - * convert HTML to XML and infer missing tags. - * - * The possible command characters and arguments are as follows: - * - * (gi - * - * The start of an element whose generic identifier is gi. - * Any attributes for this element will have been speci- fied - * with A commands. - * - * )gi - * - * The end of an element whose generic identifier is gi. - * - * |gi - * - * An empty element (an element whose tag in the source ended - * with a slash). Any attributes will have been specified - * with A commands. (Note that this distinguishes empty - * elements from elements that happen to have no content, - * even though XML doesn't.) - * - * -data - * - * Data. - * - * ?pi - * - * A processing instruction with data pi. - * - * *comment - * - * A comment - * - * Aname type val - * - * The next element to start has an attribute name with value - * val and type type. Implied attribute are not shown. All - * attributes are assumed to be of type CDATA, since pipe - * doesn't read DTDs. - * - * !root "fpi" url - * !root "fpi" - * !root "" url - * - * A document type declaration. The fpi (public identifier) - * is a quoted string. If there is no fpi, the string is - * empty: "". If there is no url, itis omitted. - * - * Llineno - * - * Set the current line number. This will be output only if - * the -l option has been given. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos - * Created: 2 Dec 1998 - * Version: $Id: pipe.c,v 1.14 2000/08/07 12:28:44 bbos Exp $ - * - **/ -#include <config.h> -#include <stdio.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <ctype.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" - -extern int yylineno; /* From scan.l */ - -static Boolean has_error = False; -static Boolean in_text = False; -static Boolean linenumbering = False; - - -/* escape -- print a string with certain characters escaped */ -static void escape(const string t) -{ - string s; - - for (s = t; *s; s++) - switch (*s) { - case '\r': printf("\\r"); break; - case '\t': printf("\\t"); break; - case '\n': printf("\\n"); break; - case '\\': printf("\\\\"); break; - default: putchar(*s); - } -} - - -/* --------------- implements interface api.h -------------------------- */ - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_error = True; -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - if (in_text) {putchar('\n'); in_text = False;} -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - if (in_text) {putchar('\n'); in_text = False;} - if (linenumbering) printf("L%d\n", yylineno); - putchar('*'); - escape(commenttext); - putchar('\n'); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - /* There may be several consecutive calls to this routine. The - * variable 'in_text' is used to put the text of all of them on the - * same line. - **/ - if (! in_text) { - if (linenumbering) printf("L%d\n", yylineno); - putchar('-'); - in_text = True; - } - escape(text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, string fpi, - string url) -{ - if (in_text) {putchar('\n'); in_text = False;} - if (linenumbering) printf("L%d\n", yylineno); - putchar('!'); - printf("%s \"%s\"", gi, fpi); - if (url) printf(" %s", url); - putchar('\n'); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - if (in_text) {putchar('\n'); in_text = False;} - if (linenumbering) printf("L%d\n", yylineno); - putchar('?'); - escape(pi_text); - putchar('\n'); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - if (in_text) {putchar('\n'); in_text = False;} - for (p = attribs; p; p = p->next) { - putchar('A'); - /* down(p->name); */ - printf("%s", p->name); - if (strcmp(p->name, "id") == 0) printf(" ID "); else printf(" CDATA "); - if (p->value) escape(p->value); else printf("%s", p->name); - putchar('\n'); - } - if (linenumbering) printf("L%d\n", yylineno); - putchar('('); - printf("%s", name); - putchar('\n'); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - if (in_text) {putchar('\n'); in_text = False;} - for (p = attribs; p; p = p->next) { - putchar('A'); - /* down(p->name); */ - printf("%s", p->name); - if (strcmp(p->name, "id") == 0) printf(" ID "); else printf(" CDATA "); - if (p->value) escape(p->value); else printf("%s", p->name); - putchar('\n'); - } - if (linenumbering) printf("L%d\n", yylineno); - putchar('|'); - printf("%s", name); - putchar('\n'); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - if (in_text) {putchar('\n'); in_text = False;} - if (linenumbering) printf("L%d\n", yylineno); - putchar(')'); - printf("%s", name); - putchar('\n'); -} - -/* --------------------------------------------------------------------- */ - -/* usage -- print usage message and exit */ -static void usage(string prog) -{ - fprintf(stderr, "Version %s\nUsage: %s [-l] [html-file-or-url]\n", VERSION, prog); - exit(2); -} - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Parse command line arguments */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'l': linenumbering = True;; break; - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) yyin = stdin; - else if (i == argc - 1 && eq(argv[i], "-")) yyin = stdin; - else if (i == argc - 1) yyin = fopenurl(argv[i], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) exit(3); - - return has_error ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/printlinks b/arid_examples/html-xml-utils-3.0/printlinks deleted file mode 100755 index 021c7199a..000000000 --- a/arid_examples/html-xml-utils-3.0/printlinks +++ /dev/null @@ -1,142 +0,0 @@ -#! /usr/bin/perl - -# Script to collect all <A> links in an HTML file, number them, and -# print a list of them at the end of the file. - -# Author: Bert Bos <bert@w3.org> -# Created: 1 Feb 2001 -# Version: $Id: printlinks,v 1.2 2001/02/04 18:04:46 bbos Exp $ - -use Getopt::Std; -use strict; - -sub START { 0 } -sub SEEN_A { 1 } # After "<a" -sub SEEN_HREF { 2 } # After "<a" and "href" -sub SEEN_EQ { 3 } # After "<a", "href" and "=" -sub SEEN_URL { 4 } # After "<a", "href", "=" and a URL - -# urlexpand -- expands a relative URL to an absolute one -sub urlexpand($$) { - my ($url, $base) = @_; - my $result; - if ($url =~ /^\w+:/) { # Already absolute - $result = $url; # Keep as is - } elsif ($url =~ /^\//o) { # Starts with '/' - $base =~ /^\w+:(\/\/[^\/]*)?/o; - $result = $&.$url; # Prefix protocol and possibly machine - } elsif ($url =~ /^[\#?]/o) { # URL is fragment or query - $result = $base.$url; # Combine base and fragment/query - } else { # Starts with path segment - $base =~ /[^\/:]*$/; - $result = $`.$url; # Prefix everything except last segment - $result =~ s/\/[^\/]*\/\.\.//go; # Remove ".." where possible - } - return $result; -} - -# print_links -- print OL list of URLs -sub print_links($$@) { - my ($base, $n, @urls) = @_; - print "\n<ol>\n"; - for (my $i = 1; $i <= $n; $i++) { - print "<li>"; - print defined $base ? urlexpand($urls[$i], $base) : $urls[$i]; - print "</li>\n"; - } - print "</ol>\n"; -} - -my $state = START; # State machine -my $url; # Most recent URL -my $n = 0; # Length of @urls -my @urls; # All URLs seen so far -my %options; # Command line options -my $base; # Base URL to make URLs absolute - -my $PROG = substr($0, rindex($0, "/") + 1); -my $USAGE = "Usage: $PROG [-b base] [file]\n"; - -getopts('b:', \%options) || die $USAGE; -$base = $options{b} if defined $options{b}; - -while (<>) { # Loop over lines - while (/./) { # Loop over tokens in a line - if ($state == START) { - if (/<a\b\s*/io) { - print $`, $&; - $_ = $'; - $state = SEEN_A; - } elsif (/<\/body|<\/html/io) { - print $`; - print_links($base, $n, @urls) if ($n); - $n = 0; # Avoid printing list twice - print $&; - $_ = $'; - } else { - print; - $_ = ''; - } - } elsif ($state == SEEN_A) { - if (/[^>]*\bhref\b\s*/io) { - print $`, $&; - $_ = $'; - $state = SEEN_HREF; - } elsif (/[^>]*>/o) { - print $`, $&; - $_ = $'; - $state = START; - } else { - print; - $_ = ''; - } - } elsif ($state == SEEN_HREF) { - if (/\s*=\s*/o) { - print $`, $&; - $_ = $'; - $state = SEEN_EQ; - } elsif (/[^>]*>/o) { - print $`, $&; - $_ = $'; - $state = START; - } else { - print; - $_ = ''; - } - } elsif ($state == SEEN_EQ) { - if (/\s*\"([^\"]*)\"\s*/o) { - $url = $1; - print $`, $&; - $_ = $'; - $state = SEEN_URL; - } elsif (/\s*\'([^\']*)\'\s*/o) { - $url = $1; - print $`, $&; - $_ = $'; - $state = SEEN_URL; - } elsif (/[^>]*>/o) { - print $`, $&; - $_ = $'; - $state = START; - } else { - print; - $_ = ''; - } - } elsif ($state == SEEN_URL) { - if (/[^>]*>/o) { - print $`, $&; - print "[", ++$n, "]"; - $urls[$n] = $url; - $_ = $'; - $state = START; - } else { - print; - $_ = ''; - } - } else { - die "Cannot happen"; - } - } -} - -print_links($base, $n, @urls) if ($n); # Seen no </body> or </html> diff --git a/arid_examples/html-xml-utils-3.0/scan.c b/arid_examples/html-xml-utils-3.0/scan.c deleted file mode 100644 index d81a9a3f7..000000000 --- a/arid_examples/html-xml-utils-3.0/scan.c +++ /dev/null @@ -1,2359 +0,0 @@ -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include <stdio.h> - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include <stdlib.h> -#include <unistd.h> - -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -#if __STDC__ - -#define YY_USE_PROTOS -#define YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include <io.h> -#include <stdlib.h> -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - YY_RESTORE_YY_MORE_OFFSET \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - - -#define yywrap() 1 -#define YY_SKIP_YYWRAP -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext -static yyconst short yy_nxt[][28] = - { - { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 16 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 16 - }, - - { - 11, 17, 18, 19, 20, 17, 17, 17, 21, 21, - - 22, 23, 24, 25, 17, 21, 21, 21, 21, 21, - 21, 21, 21, 26, 17, 17, 17, 17 - }, - - { - 11, 17, 18, 19, 20, 17, 17, 17, 21, 21, - 22, 23, 24, 25, 17, 21, 21, 21, 21, 21, - 21, 21, 21, 26, 17, 17, 17, 17 - }, - - { - 11, 27, 28, 29, 30, 27, 31, 32, 27, 27, - 27, 17, 17, 17, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27 - }, - - { - 11, 27, 28, 29, 30, 27, 31, 32, 27, 27, - 27, 17, 17, 17, 27, 27, 27, 27, 27, 27, - - 27, 27, 27, 27, 27, 27, 27, 27 - }, - - { - 11, 17, 33, 34, 35, 17, 36, 37, 38, 38, - 17, 17, 17, 39, 17, 38, 38, 38, 38, 38, - 38, 38, 38, 40, 17, 17, 17, 17 - }, - - { - 11, 17, 33, 34, 35, 17, 36, 37, 38, 38, - 17, 17, 17, 39, 17, 38, 38, 38, 38, 38, - 38, 38, 38, 40, 17, 17, 17, 17 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12 - - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12 - }, - - { - -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, - -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, - -11, -11, -11, -11, -11, -11, -11, -11 - }, - - { - 11, 41, 41, -12, -12, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41 - }, - - { - 11, -13, -13, -13, -13, -13, -13, -13, -13, -13, - - -13, -13, -13, -13, -13, -13, -13, -13, -13, -13, - -13, -13, -13, -13, -13, -13, -13, -13 - }, - - { - 11, -14, -14, 43, -14, -14, -14, -14, -14, -14, - -14, -14, -14, -14, -14, -14, -14, -14, -14, -14, - -14, -14, -14, -14, -14, -14, -14, -14 - }, - - { - 11, 41, 41, 41, 41, 44, 41, 41, 45, 45, - 46, 41, 41, 41, 47, 48, 48, 48, 48, 48, - 48, 48, 48, 49, 41, 41, 41, 41 - }, - - { - 11, 41, 41, -16, -16, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - - 41, 41, 41, 41, 41, 50, 41, 41 - }, - - { - 11, -17, -17, -17, -17, -17, -17, -17, -17, -17, - -17, -17, -17, -17, -17, -17, -17, -17, -17, -17, - -17, -17, -17, -17, -17, -17, -17, -17 - }, - - { - 11, -18, 51, -18, -18, -18, -18, -18, -18, -18, - -18, -18, -18, -18, -18, -18, -18, -18, -18, -18, - -18, -18, -18, -18, -18, -18, -18, -18 - }, - - { - 11, -19, -19, -19, -19, -19, -19, -19, -19, -19, - -19, -19, -19, -19, -19, -19, -19, -19, -19, -19, - -19, -19, -19, -19, -19, -19, -19, -19 - - }, - - { - 11, -20, -20, 52, -20, -20, -20, -20, -20, -20, - -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, - -20, -20, -20, -20, -20, -20, -20, -20 - }, - - { - 11, -21, -21, -21, -21, -21, -21, -21, 53, 53, - -21, -21, -21, -21, -21, 53, 53, 53, 53, 53, - 53, 53, 53, -21, -21, -21, -21, -21 - }, - - { - 11, -22, -22, -22, -22, -22, -22, -22, -22, -22, - -22, -22, -22, 54, -22, -22, -22, -22, -22, -22, - -22, -22, -22, -22, -22, -22, -22, -22 - }, - - { - 11, -23, -23, -23, -23, -23, -23, -23, -23, -23, - - -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, - -23, -23, -23, -23, -23, -23, -23, -23 - }, - - { - 11, -24, -24, -24, -24, -24, -24, -24, -24, -24, - -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, - -24, -24, -24, -24, -24, -24, -24, -24 - }, - - { - 11, -25, -25, -25, -25, -25, -25, -25, -25, -25, - -25, -25, -25, -25, -25, -25, -25, -25, -25, -25, - -25, -25, -25, -25, -25, -25, -25, -25 - }, - - { - 11, 55, -26, -26, -26, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - - 55, 55, 55, 55, 56, 55, 55, 55 - }, - - { - 11, 57, -27, -27, -27, 57, -27, -27, 57, 57, - 57, -27, -27, -27, 57, 57, 57, 57, 57, 57, - 57, 57, 57, 57, 57, 57, 57, 57 - }, - - { - 11, -28, 58, -28, -28, -28, -28, -28, -28, -28, - -28, -28, -28, -28, -28, -28, -28, -28, -28, -28, - -28, -28, -28, -28, -28, -28, -28, -28 - }, - - { - 11, -29, -29, -29, -29, -29, -29, -29, -29, -29, - -29, -29, -29, -29, -29, -29, -29, -29, -29, -29, - -29, -29, -29, -29, -29, -29, -29, -29 - - }, - - { - 11, -30, -30, 59, -30, -30, -30, -30, -30, -30, - -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, - -30, -30, -30, -30, -30, -30, -30, -30 - }, - - { - 11, 60, 60, 60, 60, 60, 61, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60 - }, - - { - 11, 62, 62, 62, 62, 62, 62, 63, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62 - }, - - { - 11, -33, 64, -33, -33, -33, -33, -33, -33, -33, - - -33, -33, -33, -33, -33, -33, -33, -33, -33, -33, - -33, -33, -33, -33, -33, -33, -33, -33 - }, - - { - 11, -34, -34, -34, -34, -34, -34, -34, -34, -34, - -34, -34, -34, -34, -34, -34, -34, -34, -34, -34, - -34, -34, -34, -34, -34, -34, -34, -34 - }, - - { - 11, -35, -35, 65, -35, -35, -35, -35, -35, -35, - -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, - -35, -35, -35, -35, -35, -35, -35, -35 - }, - - { - 11, 66, 66, 66, 66, 66, 67, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - - 66, 66, 66, 66, 66, 66, 66, 66 - }, - - { - 11, 68, 68, 68, 68, 68, 68, 69, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68 - }, - - { - 11, -38, -38, -38, -38, -38, -38, -38, 70, 70, - -38, -38, -38, -38, -38, 70, 70, 70, 70, 70, - 70, 70, 70, -38, -38, -38, -38, -38 - }, - - { - 11, -39, -39, -39, -39, -39, -39, -39, -39, -39, - -39, -39, -39, -39, -39, -39, -39, -39, -39, -39, - -39, -39, -39, -39, -39, -39, -39, -39 - - }, - - { - 11, 71, -40, -40, -40, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 72, 71, 71, 71 - }, - - { - 11, 41, 41, -41, -41, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41 - }, - - { - 11, 41, 41, 41, 41, -42, 41, 41, 41, 41, - -42, 41, 41, 41, -42, -42, -42, -42, -42, -42, - -42, -42, -42, -42, 41, 41, 41, 41 - }, - - { - 11, -43, -43, -43, -43, -43, -43, -43, -43, -43, - - -43, -43, -43, -43, -43, -43, -43, -43, -43, -43, - -43, -43, -43, -43, -43, -43, -43, -43 - }, - - { - 11, -44, -44, -44, -44, -44, -44, -44, 73, -44, - -44, -44, -44, -44, -44, -44, -44, 74, -44, -44, - -44, -44, -44, -44, -44, -44, -44, -44 - }, - - { - 11, 41, 41, -45, -45, 41, 41, 41, 45, 45, - 41, 42, 41, 41, 41, 45, 45, 45, 45, 45, - 45, 45, 45, 41, 41, 41, 41, 41 - }, - - { - 11, -46, -46, -46, -46, -46, -46, -46, 75, 75, - -46, -46, -46, -46, -46, 75, 75, 75, 75, 75, - - 75, 75, 75, 76, -46, -46, -46, -46 - }, - - { - 11, 77, 77, 77, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 77, 77, 77, 77, 77 - }, - - { - 11, -48, -48, -48, -48, -48, -48, -48, 48, 48, - -48, -48, -48, -48, -48, 48, 48, 48, 48, 48, - 48, 48, 48, -48, -48, -48, -48, -48 - }, - - { - 11, 79, -49, -49, -49, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 80, 79, 79, 79 - - }, - - { - 11, 41, 41, -50, -50, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 81, 41 - }, - - { - 11, -51, 51, -51, -51, -51, -51, -51, -51, -51, - -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, - -51, -51, -51, -51, -51, -51, -51, -51 - }, - - { - 11, -52, -52, -52, -52, -52, -52, -52, -52, -52, - -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, - -52, -52, -52, -52, -52, -52, -52, -52 - }, - - { - 11, -53, -53, -53, -53, -53, -53, -53, 53, 53, - - -53, -53, -53, -53, -53, 53, 53, 53, 53, 53, - 53, 53, 53, -53, -53, -53, -53, -53 - }, - - { - 11, -54, -54, -54, -54, -54, -54, -54, -54, -54, - -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, - -54, -54, -54, -54, -54, -54, -54, -54 - }, - - { - 11, 55, -55, -55, -55, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 56, 55, 55, 55 - }, - - { - 11, -56, -56, -56, -56, -56, -56, -56, 82, 82, - -56, -56, -56, -56, -56, 82, 82, 82, 82, 82, - - 82, 82, 82, -56, -56, -56, -56, -56 - }, - - { - 11, 57, -57, -57, -57, 57, -57, -57, 57, 57, - 57, -57, -57, -57, 57, 57, 57, 57, 57, 57, - 57, 57, 57, 57, 57, 57, 57, 57 - }, - - { - 11, -58, 58, -58, -58, -58, -58, -58, -58, -58, - -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, - -58, -58, -58, -58, -58, -58, -58, -58 - }, - - { - 11, -59, -59, -59, -59, -59, -59, -59, -59, -59, - -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, - -59, -59, -59, -59, -59, -59, -59, -59 - - }, - - { - 11, 60, 60, 60, 60, 60, 61, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60 - }, - - { - 11, -61, -61, -61, -61, -61, -61, -61, -61, -61, - -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, - -61, -61, -61, -61, -61, -61, -61, -61 - }, - - { - 11, 62, 62, 62, 62, 62, 62, 63, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62 - }, - - { - 11, -63, -63, -63, -63, -63, -63, -63, -63, -63, - - -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, - -63, -63, -63, -63, -63, -63, -63, -63 - }, - - { - 11, -64, 64, -64, -64, -64, -64, -64, -64, -64, - -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, - -64, -64, -64, -64, -64, -64, -64, -64 - }, - - { - 11, -65, -65, -65, -65, -65, -65, -65, -65, -65, - -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, - -65, -65, -65, -65, -65, -65, -65, -65 - }, - - { - 11, 66, 66, 66, 66, 66, 67, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - - 66, 66, 66, 66, 66, 66, 66, 66 - }, - - { - 11, -67, -67, -67, -67, -67, -67, -67, -67, -67, - -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, - -67, -67, -67, -67, -67, -67, -67, -67 - }, - - { - 11, 68, 68, 68, 68, 68, 68, 69, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68 - }, - - { - 11, -69, -69, -69, -69, -69, -69, -69, -69, -69, - -69, -69, -69, -69, -69, -69, -69, -69, -69, -69, - -69, -69, -69, -69, -69, -69, -69, -69 - - }, - - { - 11, -70, -70, -70, -70, -70, -70, -70, 70, 70, - -70, -70, -70, -70, -70, 70, 70, 70, 70, 70, - 70, 70, 70, -70, -70, -70, -70, -70 - }, - - { - 11, 71, -71, -71, -71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 72, 71, 71, 71 - }, - - { - 11, -72, -72, -72, -72, -72, -72, -72, 83, 83, - -72, -72, -72, -72, -72, 83, 83, 83, 83, 83, - 83, 83, 83, -72, -72, -72, -72, -72 - }, - - { - 11, -73, -73, -73, -73, -73, -73, -73, 84, -73, - - -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, - -73, -73, -73, -73, -73, -73, -73, -73 - }, - - { - 11, -74, -74, -74, -74, -74, -74, -74, -74, -74, - -74, -74, -74, -74, -74, -74, -74, -74, -74, 85, - -74, -74, -74, -74, -74, -74, -74, -74 - }, - - { - 11, -75, -75, -75, -75, -75, -75, -75, 75, 75, - -75, -75, -75, -75, -75, 75, 75, 75, 75, 75, - 75, 75, 75, -75, -75, -75, -75, -75 - }, - - { - 11, 86, -76, -76, -76, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - - 86, 86, 86, 86, 87, 86, 86, 86 - }, - - { - 11, 77, 77, 77, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 77, 77, 77, 77, 77 - }, - - { - 11, -78, -78, -78, -78, -78, -78, -78, -78, -78, - -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, - -78, -78, -78, -78, -78, -78, -78, -78 - }, - - { - 11, 79, -79, -79, -79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 80, 79, 79, 79 - - }, - - { - 11, -80, -80, -80, -80, -80, -80, -80, 88, 88, - -80, -80, -80, -80, -80, 88, 88, 88, 88, 88, - 88, 88, 88, -80, -80, -80, -80, -80 - }, - - { - 11, 41, 41, -81, -81, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41 - }, - - { - 11, -82, -82, -82, -82, -82, -82, -82, 82, 82, - -82, -82, -82, -82, -82, 82, 82, 82, 82, 82, - 82, 82, 82, -82, -82, -82, -82, -82 - }, - - { - 11, -83, -83, -83, -83, -83, -83, -83, 83, 83, - - -83, -83, -83, -83, -83, 83, 83, 83, 83, 83, - 83, 83, 83, -83, -83, -83, -83, -83 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 90, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - }, - - { - 11, -85, -85, -85, -85, -85, -85, -85, -85, -85, - -85, -85, -85, -85, -85, -85, 91, -85, -85, -85, - -85, -85, -85, -85, -85, -85, -85, -85 - }, - - { - 11, 86, -86, -86, -86, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - - 86, 86, 86, 86, 87, 86, 86, 86 - }, - - { - 11, -87, -87, -87, -87, -87, -87, -87, 92, 92, - -87, -87, -87, -87, -87, 92, 92, 92, 92, 92, - 92, 92, 92, -87, -87, -87, -87, -87 - }, - - { - 11, -88, -88, -88, -88, -88, -88, -88, 88, 88, - -88, -88, -88, -88, -88, 88, 88, 88, 88, 88, - 88, 88, 88, -88, -88, -88, -88, -88 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 90, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 93, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - }, - - { - 11, -91, -91, -91, -91, -91, -91, -91, -91, -91, - -91, -91, -91, -91, -91, -91, -91, -91, -91, -91, - -91, 94, -91, -91, -91, -91, -91, -91 - }, - - { - 11, -92, -92, -92, -92, -92, -92, -92, 92, 92, - -92, -92, -92, -92, -92, 92, 92, 92, 92, 92, - 92, 92, 92, -92, -92, -92, -92, -92 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 89, 89, - - 89, 89, 89, 95, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - }, - - { - 11, -94, -94, -94, -94, -94, -94, -94, -94, -94, - -94, -94, -94, -94, -94, -94, -94, -94, -94, -94, - -94, -94, 96, -94, -94, -94, -94, -94 - }, - - { - 11, -95, -95, -95, -95, -95, -95, -95, -95, -95, - -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, - -95, -95, -95, -95, -95, -95, -95, -95 - }, - - { - 11, -96, -96, -96, -96, -96, -96, -96, -96, -96, - -96, -96, -96, -96, -96, -96, -96, -96, -96, -96, - - 97, -96, -96, -96, -96, -96, -96, -96 - }, - - { - 11, -97, -97, -97, -97, -97, -97, -97, -97, -97, - -97, -97, -97, -97, -97, -97, -97, -97, 98, -97, - -97, -97, -97, -97, -97, -97, -97, -97 - }, - - { - 11, -98, 99, 99, 99, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -98, -98 - }, - - { - 11, -99, -99, -99, -99, -99, -99, -99, -99, -99, - -99, -99, -99, -99, -99, -99, -99, -99, -99, -99, - -99, -99, -99, -99, -99, -99, -99, -99 - - }, - - } ; - - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 28 -#define YY_END_OF_BUFFER 29 -static yyconst short int yy_accept[100] = - { 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 29, 4, 5, 5, 27, 4, 27, 11, 12, 12, - 9, 27, 15, 10, 13, 27, 18, 16, 17, 17, - 27, 27, 22, 23, 23, 27, 27, 21, 26, 27, - 4, 0, 5, 0, 2, 3, 0, 2, 0, 4, - 11, 12, 9, 14, 0, 0, 18, 16, 17, 0, - 19, 0, 20, 22, 23, 0, 24, 0, 25, 21, - 0, 0, 0, 0, 3, 0, 0, 8, 0, 0, - 1, 9, 21, 0, 0, 0, 0, 2, 0, 0, - 0, 3, 0, 0, 6, 0, 0, 0, 7 - - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 2, 4, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 5, 6, 1, 1, 1, 1, 7, 1, - 1, 1, 1, 1, 8, 9, 10, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 1, 11, - 12, 13, 14, 1, 15, 15, 16, 17, 18, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 19, 20, - 15, 15, 15, 21, 15, 15, 15, 15, 22, 15, - 1, 1, 1, 1, 9, 1, 15, 15, 16, 17, - - 18, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 19, 20, 15, 15, 15, 21, 15, 15, 15, 15, - 22, 15, 23, 1, 24, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 25, 1, 1, 1, - 26, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 27, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -#define YY_RESTORE_YY_MORE_OFFSET -char *yytext; -#line 1 "scan.l" -#define INITIAL 0 -/* %option yylineno */ -#line 5 "scan.l" -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: scan.l,v 1.27 2004/04/26 12:34:10 bbos Exp $ - **/ -#include <config.h> -#include <assert.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRDUP -# include "strdup.e" -# endif -#endif -#include <stdlib.h> -#include <ctype.h> -#include "export.h" -#include "types.e" -#include "heap.e" -#include "html.h" -#include "errexit.e" - - -EXPORT extern FILE *yyin; -EXPORT int yylineno = 1; - -typedef struct _Stack { - YY_BUFFER_STATE buf; - FILE *f; - struct _Stack *next; -} *Stack; - -static Stack stack = NULL; - - -/* include_file -- stack current file and switch to another one */ -EXPORT void include_file(FILE *f) -{ - Stack h; - - new(h); - h->buf = YY_CURRENT_BUFFER; - h->f = f; - h->next = stack; - stack = h; - yy_switch_to_buffer(yy_create_buffer(f, YY_BUF_SIZE)); -} - -/* pop_file -- back to previous input file */ -static Boolean pop_file(void) -{ - Stack h; - - if (!stack) { - return False; - } else { - h = stack; - yy_delete_buffer(YY_CURRENT_BUFFER); - fclose(h->f); - yy_switch_to_buffer(h->buf); - stack = h->next; - dispose(h); - return True; - } -} - -/* esc -- remove outer quotes, escape ", remove \n, return malloc'ed string */ -static unsigned char* esc(unsigned char* s) -{ - int i, j; - unsigned char *u; - - /* Find new length */ - for (i = 0, j = 1; s[j] != s[0]; i++, j++) { - if (s[j] == '"') i+= 4; - } - /* Copy and expand */ - u = malloc(i + 1); - if (!u) errexit("Out of memory\n"); - for (i = 0, j = 1; s[j] != s[0]; i++, j++) { - if (s[j] == '"') {strcpy(u + i, """); i += 4;} - else if (s[j] == '\n') u[i] = ' '; /* \n */ - else if (s[j] == '\r' && s[j+1] == '\n') {u[i] = ' '; j++;} /* \r\n */ - else if (s[j] == '\r') {u[i] = ' ';} /* \r */ - else u[i] = s[j]; - } - u[i] = '\0'; - return u; -} - -/* strndup -- allocate a string, copy n characters into it and add \0 */ -static unsigned char* u_strndup(const unsigned char *s, size_t n) -{ - unsigned char *t = malloc(n + 1); - if (!t) errexit("Out of memory\n"); - strncpy(t, s, n); - t[n] = '\0'; - return t; -} - -/* lns -- count newlines */ -static void lns(const unsigned char *s) -{ - while (*s) { - if (*s == '\n') yylineno++; - else if (*s != '\r') ; - else if (*(s+1) == '\n') {yylineno++; s++;} - else yylineno++; - s++; - } -} - -/* thing is rather too permissive, but it will accept <img src=/path>... */ -#define MARKUP 1 -#define VALUE 2 -#define DECL 3 -#define INIT 4 - -#line 1112 "scan.c" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -static void yyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen YY_PROTO(( yyconst char * )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -#if YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include <stdlib.h> -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 139 "scan.l" - - - -#line 1267 "scan.c" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - while ( (yy_current_state = yy_nxt[yy_current_state][yy_ec[YY_SC_TO_UI(*yy_cp)]]) > 0 ) - { - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - - ++yy_cp; - } - - yy_current_state = -yy_current_state; - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos + 1; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 142 "scan.l" -{BEGIN(INIT); /* Byte Order Mark is ignored */} - YY_BREAK -case 2: -YY_RULE_SETUP -#line 144 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext+1); return START;} - YY_BREAK -case 3: -YY_RULE_SETUP -#line 145 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext+2); return END;} - YY_BREAK -case 4: -YY_RULE_SETUP -#line 146 "scan.l" -{yylval.s=strdup(yytext); return TEXT;} - YY_BREAK -case 5: -YY_RULE_SETUP -#line 147 "scan.l" -{yylval.s=strdup(yytext); yylineno++; return TEXT;} - YY_BREAK -case 6: -YY_RULE_SETUP -#line 148 "scan.l" -{yylval.s=u_strndup(yytext+4,yyleng-7); lns(yytext); return COMMENT;} - YY_BREAK -case 7: -YY_RULE_SETUP -#line 149 "scan.l" -{BEGIN(DECL); lns(yytext+9); return DOCTYPE;} - YY_BREAK -case 8: -YY_RULE_SETUP -#line 150 "scan.l" -{yylval.s=u_strndup(yytext+2,yyleng-3); lns(yytext); return PROCINS;} - YY_BREAK -case 9: -YY_RULE_SETUP -#line 152 "scan.l" -{yylval.s = strdup(yytext); return NAME;} - YY_BREAK -case 10: -YY_RULE_SETUP -#line 153 "scan.l" -{BEGIN(VALUE); return '=';} - YY_BREAK -case 11: -YY_RULE_SETUP -#line 154 "scan.l" -{; /* skip */} - YY_BREAK -case 12: -YY_RULE_SETUP -#line 155 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 13: -YY_RULE_SETUP -#line 156 "scan.l" -{BEGIN(INIT); return '>';} - YY_BREAK -case 14: -YY_RULE_SETUP -#line 157 "scan.l" -{BEGIN(INIT); return EMPTYEND;} - YY_BREAK -case 15: -YY_RULE_SETUP -#line 158 "scan.l" -{BEGIN(INIT); yyless(0); return '>'; /* Implicit ">" */} - YY_BREAK -case 16: -YY_RULE_SETUP -#line 160 "scan.l" -{; /* skip */} - YY_BREAK -case 17: -YY_RULE_SETUP -#line 161 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 18: -YY_RULE_SETUP -#line 162 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext); return NAME;} - YY_BREAK -case 19: -#line 164 "scan.l" -case 20: -YY_RULE_SETUP -#line 164 "scan.l" -{BEGIN(MARKUP); yylval.s=esc(yytext); lns(yytext); return STRING;} - YY_BREAK -case 21: -YY_RULE_SETUP -#line 166 "scan.l" -{yylval.s = strdup(yytext); return NAME;} - YY_BREAK -case 22: -YY_RULE_SETUP -#line 167 "scan.l" -{; /* skip */} - YY_BREAK -case 23: -YY_RULE_SETUP -#line 168 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 24: -#line 170 "scan.l" -case 25: -YY_RULE_SETUP -#line 170 "scan.l" -{lns(yytext); yylval.s = esc(yytext); return STRING;} - YY_BREAK -case 26: -YY_RULE_SETUP -#line 171 "scan.l" -{BEGIN(INIT); return '>';} - YY_BREAK -case 27: -YY_RULE_SETUP -#line 173 "scan.l" -{return *yytext; /* illegal char, in fact */} - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(MARKUP): -case YY_STATE_EOF(VALUE): -case YY_STATE_EOF(DECL): -case YY_STATE_EOF(INIT): -#line 175 "scan.l" -{if (pop_file()) return ENDINCL; else yyterminate();} - YY_BREAK -case 28: -YY_RULE_SETUP -#line 177 "scan.l" -YY_FATAL_ERROR( "flex scanner jammed" ); - YY_BREAK -#line 1480 "scan.c" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - YY_RESTORE_YY_MORE_OFFSET - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_current_buffer->yy_n_chars = yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - yy_current_state = yy_nxt[yy_current_state][(*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - yy_current_state = yy_nxt[yy_current_state][1]; - yy_is_jam = (yy_current_state <= 0); - - if ( ! yy_is_jam ) - { - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - } - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifndef YY_NO_UNPUT -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_current_buffer->yy_n_chars = - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } -#endif /* ifndef YY_NO_UNPUT */ - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - int offset = yy_c_buf_p - yytext_ptr; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - yyrestart( yyin ); - - /* fall through */ - - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - return EOF; - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + offset; - break; - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( ! b ) - return; - - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#if YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#if YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - if ( ! b ) - return; - - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) -#else -YY_BUFFER_STATE yy_scan_string( yy_str ) -yyconst char *yy_str; -#endif - { - int len; - for ( len = 0; yy_str[len]; ++len ) - ; - - return yy_scan_bytes( yy_str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -yyconst char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( yyconst char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -yyconst char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - -#ifdef YY_NEED_STRLEN -#ifdef YY_USE_PROTOS -static int yy_flex_strlen( yyconst char *s ) -#else -static int yy_flex_strlen( s ) -yyconst char *s; -#endif - { - register int n; - for ( n = 0; s[n]; ++n ) - ; - - return n; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#if YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 177 "scan.l" - -/* - * Local variables: - * mode: indented-text - * End: - */ diff --git a/arid_examples/html-xml-utils-3.0/scan.c.bk b/arid_examples/html-xml-utils-3.0/scan.c.bk deleted file mode 100644 index cbf767aca..000000000 --- a/arid_examples/html-xml-utils-3.0/scan.c.bk +++ /dev/null @@ -1,2725 +0,0 @@ - -#line 3 "scan.c" - -#define YY_INT_ALIGNED short int - -/* A lexical scanner generated by flex */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 -#define YY_FLEX_SUBMINOR_VERSION 35 -#if YY_FLEX_SUBMINOR_VERSION > 0 -#define FLEX_BETA -#endif - -/* First, we deal with platform-specific or compiler-specific issues. */ - -/* begin standard C headers. */ -#include <stdio.h> -#include <string.h> -#include <errno.h> -#include <stdlib.h> - -/* end standard C headers. */ - -/* flex integer type definitions */ - -#ifndef FLEXINT_H -#define FLEXINT_H - -/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ - -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L - -/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, - * if you want the limit (max/min) macros for int types. - */ -#ifndef __STDC_LIMIT_MACROS -#define __STDC_LIMIT_MACROS 1 -#endif - -#include <inttypes.h> -typedef int8_t flex_int8_t; -typedef uint8_t flex_uint8_t; -typedef int16_t flex_int16_t; -typedef uint16_t flex_uint16_t; -typedef int32_t flex_int32_t; -typedef uint32_t flex_uint32_t; -#else -typedef signed char flex_int8_t; -typedef short int flex_int16_t; -typedef int flex_int32_t; -typedef unsigned char flex_uint8_t; -typedef unsigned short int flex_uint16_t; -typedef unsigned int flex_uint32_t; - -/* Limits of integral types. */ -#ifndef INT8_MIN -#define INT8_MIN (-128) -#endif -#ifndef INT16_MIN -#define INT16_MIN (-32767-1) -#endif -#ifndef INT32_MIN -#define INT32_MIN (-2147483647-1) -#endif -#ifndef INT8_MAX -#define INT8_MAX (127) -#endif -#ifndef INT16_MAX -#define INT16_MAX (32767) -#endif -#ifndef INT32_MAX -#define INT32_MAX (2147483647) -#endif -#ifndef UINT8_MAX -#define UINT8_MAX (255U) -#endif -#ifndef UINT16_MAX -#define UINT16_MAX (65535U) -#endif -#ifndef UINT32_MAX -#define UINT32_MAX (4294967295U) -#endif - -#endif /* ! C99 */ - -#endif /* ! FLEXINT_H */ - -#ifdef __cplusplus - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -/* C99 requires __STDC__ to be defined as 1. */ -#if defined (__STDC__) - -#define YY_USE_CONST - -#endif /* defined (__STDC__) */ -#endif /* ! __cplusplus */ - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN (yy_start) = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START (((yy_start) - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart(yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#ifndef YY_BUF_SIZE -#ifdef __ia64__ -/* On IA-64, the buffer size is 16k, not 8k. - * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. - * Ditto for the __ia64__ case accordingly. - */ -#define YY_BUF_SIZE 32768 -#else -#define YY_BUF_SIZE 16384 -#endif /* __ia64__ */ -#endif - -/* The state buf must be large enough to hold one state per character in the main buffer. - */ -#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) - -#ifndef YY_TYPEDEF_YY_BUFFER_STATE -#define YY_TYPEDEF_YY_BUFFER_STATE -typedef struct yy_buffer_state *YY_BUFFER_STATE; -#endif - -extern int yyleng; - -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - - #define YY_LESS_LINENO(n) - -/* Return all but the first "n" matched characters back to the input stream. */ -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - *yy_cp = (yy_hold_char); \ - YY_RESTORE_YY_MORE_OFFSET \ - (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, (yytext_ptr) ) - -#ifndef YY_TYPEDEF_YY_SIZE_T -#define YY_TYPEDEF_YY_SIZE_T -typedef size_t yy_size_t; -#endif - -#ifndef YY_STRUCT_YY_BUFFER_STATE -#define YY_STRUCT_YY_BUFFER_STATE -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - int yy_bs_lineno; /**< The line count. */ - int yy_bs_column; /**< The column count. */ - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; - -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - - }; -#endif /* !YY_STRUCT_YY_BUFFER_STATE */ - -/* Stack of input buffers. */ -static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ -static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ -static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - * - * Returns the top of the stack, or NULL. - */ -#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ - ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ - : NULL) - -/* Same as previous macro, but useful when we know that the buffer stack is not - * NULL or when we need an lvalue. For internal use only. - */ -#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; -static int yy_n_chars; /* number of characters read into yy_ch_buf */ -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 0; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart (FILE *input_file ); -void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); -YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); -void yy_delete_buffer (YY_BUFFER_STATE b ); -void yy_flush_buffer (YY_BUFFER_STATE b ); -void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); -void yypop_buffer_state (void ); - -static void yyensure_buffer_stack (void ); -static void yy_load_buffer_state (void ); -static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); - -#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) - -YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); -YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); -YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); - -void *yyalloc (yy_size_t ); -void *yyrealloc (void *,yy_size_t ); -void yyfree (void * ); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! YY_CURRENT_BUFFER ){ \ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer(yyin,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! YY_CURRENT_BUFFER ){\ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer(yyin,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) - -/* Begin user sect3 */ - -#define yywrap(n) 1 -#define YY_SKIP_YYWRAP - -typedef unsigned char YY_CHAR; - -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; - -typedef int yy_state_type; - -extern int yylineno; - -int yylineno = 1; - -extern char *yytext; -#define yytext_ptr yytext -static yyconst flex_int16_t yy_nxt[][35] = - { - { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 16 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - - 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 16 - }, - - { - 11, 17, 18, 19, 20, 17, 17, 17, 21, 21, - 22, 23, 24, 25, 17, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, - 26, 17, 17, 17, 17 - }, - - { - 11, 17, 18, 19, 20, 17, 17, 17, 21, 21, - 22, 23, 24, 25, 17, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, - 26, 17, 17, 17, 17 - - }, - - { - 11, 27, 28, 29, 30, 27, 31, 32, 27, 27, - 27, 17, 17, 17, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27 - }, - - { - 11, 27, 28, 29, 30, 27, 31, 32, 27, 27, - 27, 17, 17, 17, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27 - }, - - { - 11, 17, 33, 34, 35, 17, 36, 37, 38, 38, - 17, 17, 17, 39, 17, 38, 38, 38, 38, 38, - - 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, - 40, 17, 17, 17, 17 - }, - - { - 11, 17, 33, 34, 35, 17, 36, 37, 38, 38, - 17, 17, 17, 39, 17, 38, 38, 38, 38, 38, - 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, - 40, 17, 17, 17, 17 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12 - - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12 - }, - - { - -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, - -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, - -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, - -11, -11, -11, -11, -11 - }, - - { - 11, 41, 41, -12, -12, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - - 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41 - }, - - { - 11, -13, -13, -13, -13, -13, -13, -13, -13, -13, - -13, -13, -13, -13, -13, -13, -13, -13, -13, -13, - -13, -13, -13, -13, -13, -13, -13, -13, -13, -13, - -13, -13, -13, -13, -13 - }, - - { - 11, -14, -14, 43, -14, -14, -14, -14, -14, -14, - -14, -14, -14, -14, -14, -14, -14, -14, -14, -14, - -14, -14, -14, -14, -14, -14, -14, -14, -14, -14, - -14, -14, -14, -14, -14 - - }, - - { - 11, 41, 41, 41, 41, 44, 41, 41, 45, 45, - 46, 41, 41, 41, 47, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 49, 41, 41, 41, 41 - }, - - { - 11, 41, 41, -16, -16, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 50, 41, 41 - }, - - { - 11, -17, -17, -17, -17, -17, -17, -17, -17, -17, - -17, -17, -17, -17, -17, -17, -17, -17, -17, -17, - - -17, -17, -17, -17, -17, -17, -17, -17, -17, -17, - -17, -17, -17, -17, -17 - }, - - { - 11, -18, 51, -18, -18, -18, -18, -18, -18, -18, - -18, -18, -18, -18, -18, -18, -18, -18, -18, -18, - -18, -18, -18, -18, -18, -18, -18, -18, -18, -18, - -18, -18, -18, -18, -18 - }, - - { - 11, -19, -19, -19, -19, -19, -19, -19, -19, -19, - -19, -19, -19, -19, -19, -19, -19, -19, -19, -19, - -19, -19, -19, -19, -19, -19, -19, -19, -19, -19, - -19, -19, -19, -19, -19 - - }, - - { - 11, -20, -20, 52, -20, -20, -20, -20, -20, -20, - -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, - -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, - -20, -20, -20, -20, -20 - }, - - { - 11, -21, -21, -21, -21, -21, -21, -21, 53, 53, - -21, -21, -21, -21, -21, 53, 53, 53, 53, 53, - 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, - -21, -21, -21, -21, -21 - }, - - { - 11, -22, -22, -22, -22, -22, -22, -22, -22, -22, - -22, -22, -22, 54, -22, -22, -22, -22, -22, -22, - - -22, -22, -22, -22, -22, -22, -22, -22, -22, -22, - -22, -22, -22, -22, -22 - }, - - { - 11, -23, -23, -23, -23, -23, -23, -23, -23, -23, - -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, - -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, - -23, -23, -23, -23, -23 - }, - - { - 11, -24, -24, -24, -24, -24, -24, -24, -24, -24, - -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, - -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, - -24, -24, -24, -24, -24 - - }, - - { - 11, -25, -25, -25, -25, -25, -25, -25, -25, -25, - -25, -25, -25, -25, -25, -25, -25, -25, -25, -25, - -25, -25, -25, -25, -25, -25, -25, -25, -25, -25, - -25, -25, -25, -25, -25 - }, - - { - 11, 55, -26, -26, -26, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - 55, 56, 55, 55, 55 - }, - - { - 11, 57, -27, -27, -27, 57, -27, -27, 57, 57, - 57, -27, -27, -27, 57, 57, 57, 57, 57, 57, - - 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, - 57, 57, 57, 57, 57 - }, - - { - 11, -28, 58, -28, -28, -28, -28, -28, -28, -28, - -28, -28, -28, -28, -28, -28, -28, -28, -28, -28, - -28, -28, -28, -28, -28, -28, -28, -28, -28, -28, - -28, -28, -28, -28, -28 - }, - - { - 11, -29, -29, -29, -29, -29, -29, -29, -29, -29, - -29, -29, -29, -29, -29, -29, -29, -29, -29, -29, - -29, -29, -29, -29, -29, -29, -29, -29, -29, -29, - -29, -29, -29, -29, -29 - - }, - - { - 11, -30, -30, 59, -30, -30, -30, -30, -30, -30, - -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, - -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, - -30, -30, -30, -30, -30 - }, - - { - 11, 60, 60, 60, 60, 60, 61, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 60, 60, 60, 60, 60 - }, - - { - 11, 62, 62, 62, 62, 62, 62, 63, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62 - }, - - { - 11, -33, 64, -33, -33, -33, -33, -33, -33, -33, - -33, -33, -33, -33, -33, -33, -33, -33, -33, -33, - -33, -33, -33, -33, -33, -33, -33, -33, -33, -33, - -33, -33, -33, -33, -33 - }, - - { - 11, -34, -34, -34, -34, -34, -34, -34, -34, -34, - -34, -34, -34, -34, -34, -34, -34, -34, -34, -34, - -34, -34, -34, -34, -34, -34, -34, -34, -34, -34, - -34, -34, -34, -34, -34 - - }, - - { - 11, -35, -35, 65, -35, -35, -35, -35, -35, -35, - -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, - -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, - -35, -35, -35, -35, -35 - }, - - { - 11, 66, 66, 66, 66, 66, 67, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66 - }, - - { - 11, 68, 68, 68, 68, 68, 68, 69, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, - - 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, - 68, 68, 68, 68, 68 - }, - - { - 11, -38, -38, -38, -38, -38, -38, -38, 70, 70, - -38, -38, -38, -38, -38, 70, 70, 70, 70, 70, - 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, - -38, -38, -38, -38, -38 - }, - - { - 11, -39, -39, -39, -39, -39, -39, -39, -39, -39, - -39, -39, -39, -39, -39, -39, -39, -39, -39, -39, - -39, -39, -39, -39, -39, -39, -39, -39, -39, -39, - -39, -39, -39, -39, -39 - - }, - - { - 11, 71, -40, -40, -40, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, - 71, 72, 71, 71, 71 - }, - - { - 11, 41, 41, -41, -41, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41 - }, - - { - 11, 41, 41, 41, 41, -42, 41, 41, 41, 41, - -42, 41, 41, 41, -42, -42, -42, -42, -42, -42, - - -42, -42, -42, -42, -42, -42, -42, -42, -42, -42, - -42, 41, 41, 41, 41 - }, - - { - 11, -43, -43, -43, -43, -43, -43, -43, -43, -43, - -43, -43, -43, -43, -43, -43, -43, -43, -43, -43, - -43, -43, -43, -43, -43, -43, -43, -43, -43, -43, - -43, -43, -43, -43, -43 - }, - - { - 11, -44, -44, -44, -44, -44, -44, -44, 73, -44, - -44, -44, -44, -44, -44, -44, -44, 74, -44, -44, - -44, -44, -44, -44, 74, -44, -44, -44, -44, -44, - -44, -44, -44, -44, -44 - - }, - - { - 11, 41, 41, -45, -45, 41, 41, 41, 45, 45, - 41, 42, 41, 41, 41, 45, 45, 45, 45, 45, - 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, - 41, 41, 41, 41, 41 - }, - - { - 11, -46, -46, -46, -46, -46, -46, -46, 75, 75, - -46, -46, -46, -46, -46, 75, 75, 75, 75, 75, - 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, - 76, -46, -46, -46, -46 - }, - - { - 11, 77, 77, 77, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, - - 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 77, 77 - }, - - { - 11, -48, -48, -48, -48, -48, -48, -48, 48, 48, - -48, -48, -48, -48, -48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - -48, -48, -48, -48, -48 - }, - - { - 11, 79, -49, -49, -49, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, - 79, 80, 79, 79, 79 - - }, - - { - 11, 41, 41, -50, -50, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 81, 41 - }, - - { - 11, -51, 51, -51, -51, -51, -51, -51, -51, -51, - -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, - -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, - -51, -51, -51, -51, -51 - }, - - { - 11, -52, -52, -52, -52, -52, -52, -52, -52, -52, - -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, - - -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, - -52, -52, -52, -52, -52 - }, - - { - 11, -53, -53, -53, -53, -53, -53, -53, 53, 53, - -53, -53, -53, -53, -53, 53, 53, 53, 53, 53, - 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, - -53, -53, -53, -53, -53 - }, - - { - 11, -54, -54, -54, -54, -54, -54, -54, -54, -54, - -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, - -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, - -54, -54, -54, -54, -54 - - }, - - { - 11, 55, -55, -55, -55, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - 55, 56, 55, 55, 55 - }, - - { - 11, -56, -56, -56, -56, -56, -56, -56, 82, 82, - -56, -56, -56, -56, -56, 82, 82, 82, 82, 82, - 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, - -56, -56, -56, -56, -56 - }, - - { - 11, 57, -57, -57, -57, 57, -57, -57, 57, 57, - 57, -57, -57, -57, 57, 57, 57, 57, 57, 57, - - 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, - 57, 57, 57, 57, 57 - }, - - { - 11, -58, 58, -58, -58, -58, -58, -58, -58, -58, - -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, - -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, - -58, -58, -58, -58, -58 - }, - - { - 11, -59, -59, -59, -59, -59, -59, -59, -59, -59, - -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, - -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, - -59, -59, -59, -59, -59 - - }, - - { - 11, 60, 60, 60, 60, 60, 61, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 60, 60, 60, 60, 60 - }, - - { - 11, -61, -61, -61, -61, -61, -61, -61, -61, -61, - -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, - -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, - -61, -61, -61, -61, -61 - }, - - { - 11, 62, 62, 62, 62, 62, 62, 63, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62 - }, - - { - 11, -63, -63, -63, -63, -63, -63, -63, -63, -63, - -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, - -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, - -63, -63, -63, -63, -63 - }, - - { - 11, -64, 64, -64, -64, -64, -64, -64, -64, -64, - -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, - -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, - -64, -64, -64, -64, -64 - - }, - - { - 11, -65, -65, -65, -65, -65, -65, -65, -65, -65, - -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, - -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, - -65, -65, -65, -65, -65 - }, - - { - 11, 66, 66, 66, 66, 66, 67, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66 - }, - - { - 11, -67, -67, -67, -67, -67, -67, -67, -67, -67, - -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, - - -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, - -67, -67, -67, -67, -67 - }, - - { - 11, 68, 68, 68, 68, 68, 68, 69, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, - 68, 68, 68, 68, 68 - }, - - { - 11, -69, -69, -69, -69, -69, -69, -69, -69, -69, - -69, -69, -69, -69, -69, -69, -69, -69, -69, -69, - -69, -69, -69, -69, -69, -69, -69, -69, -69, -69, - -69, -69, -69, -69, -69 - - }, - - { - 11, -70, -70, -70, -70, -70, -70, -70, 70, 70, - -70, -70, -70, -70, -70, 70, 70, 70, 70, 70, - 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, - -70, -70, -70, -70, -70 - }, - - { - 11, 71, -71, -71, -71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, - 71, 72, 71, 71, 71 - }, - - { - 11, -72, -72, -72, -72, -72, -72, -72, 83, 83, - -72, -72, -72, -72, -72, 83, 83, 83, 83, 83, - - 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, - -72, -72, -72, -72, -72 - }, - - { - 11, -73, -73, -73, -73, -73, -73, -73, 84, -73, - -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, - -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, - -73, -73, -73, -73, -73 - }, - - { - 11, -74, -74, -74, -74, -74, -74, -74, -74, -74, - -74, -74, -74, -74, -74, -74, -74, -74, -74, 85, - -74, -74, -74, -74, -74, -74, 85, -74, -74, -74, - -74, -74, -74, -74, -74 - - }, - - { - 11, -75, -75, -75, -75, -75, -75, -75, 75, 75, - -75, -75, -75, -75, -75, 75, 75, 75, 75, 75, - 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, - -75, -75, -75, -75, -75 - }, - - { - 11, 86, -76, -76, -76, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - 86, 87, 86, 86, 86 - }, - - { - 11, 77, 77, 77, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, - - 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 77, 77 - }, - - { - 11, -78, -78, -78, -78, -78, -78, -78, -78, -78, - -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, - -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, - -78, -78, -78, -78, -78 - }, - - { - 11, 79, -79, -79, -79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, - 79, 80, 79, 79, 79 - - }, - - { - 11, -80, -80, -80, -80, -80, -80, -80, 88, 88, - -80, -80, -80, -80, -80, 88, 88, 88, 88, 88, - 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, - -80, -80, -80, -80, -80 - }, - - { - 11, 41, 41, -81, -81, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41 - }, - - { - 11, -82, -82, -82, -82, -82, -82, -82, 82, 82, - -82, -82, -82, -82, -82, 82, 82, 82, 82, 82, - - 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, - -82, -82, -82, -82, -82 - }, - - { - 11, -83, -83, -83, -83, -83, -83, -83, 83, 83, - -83, -83, -83, -83, -83, 83, 83, 83, 83, 83, - 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, - -83, -83, -83, -83, -83 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 90, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89 - - }, - - { - 11, -85, -85, -85, -85, -85, -85, -85, -85, -85, - -85, -85, -85, -85, -85, -85, 91, -85, -85, -85, - -85, -85, -85, 91, -85, -85, -85, -85, -85, -85, - -85, -85, -85, -85, -85 - }, - - { - 11, 86, -86, -86, -86, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - 86, 87, 86, 86, 86 - }, - - { - 11, -87, -87, -87, -87, -87, -87, -87, 92, 92, - -87, -87, -87, -87, -87, 92, 92, 92, 92, 92, - - 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, - -87, -87, -87, -87, -87 - }, - - { - 11, -88, -88, -88, -88, -88, -88, -88, 88, 88, - -88, -88, -88, -88, -88, 88, 88, 88, 88, 88, - 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, - -88, -88, -88, -88, -88 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 90, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89 - - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 93, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89 - }, - - { - 11, -91, -91, -91, -91, -91, -91, -91, -91, -91, - -91, -91, -91, -91, -91, -91, -91, -91, -91, -91, - -91, 94, -91, -91, -91, -91, -91, -91, 94, -91, - -91, -91, -91, -91, -91 - }, - - { - 11, -92, -92, -92, -92, -92, -92, -92, 92, 92, - -92, -92, -92, -92, -92, 92, 92, 92, 92, 92, - - 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, - -92, -92, -92, -92, -92 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 95, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89 - }, - - { - 11, -94, -94, -94, -94, -94, -94, -94, -94, -94, - -94, -94, -94, -94, -94, -94, -94, -94, -94, -94, - -94, -94, 96, -94, -94, -94, -94, -94, -94, 96, - -94, -94, -94, -94, -94 - - }, - - { - 11, -95, -95, -95, -95, -95, -95, -95, -95, -95, - -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, - -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, - -95, -95, -95, -95, -95 - }, - - { - 11, -96, -96, -96, -96, -96, -96, -96, -96, -96, - -96, -96, -96, -96, -96, -96, -96, -96, -96, -96, - 97, -96, -96, -96, -96, -96, -96, 97, -96, -96, - -96, -96, -96, -96, -96 - }, - - { - 11, -97, -97, -97, -97, -97, -97, -97, -97, -97, - -97, -97, -97, -97, -97, -97, -97, -97, 98, -97, - - -97, -97, -97, -97, -97, 98, -97, -97, -97, -97, - -97, -97, -97, -97, -97 - }, - - { - 11, -98, 99, 99, 99, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98 - }, - - { - 11, -99, -99, -99, -99, -99, -99, -99, -99, -99, - -99, -99, -99, -99, -99, -99, -99, -99, -99, -99, - -99, -99, -99, -99, -99, -99, -99, -99, -99, -99, - -99, -99, -99, -99, -99 - - }, - - } ; - -static yy_state_type yy_get_previous_state (void ); -static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); -static int yy_get_next_buffer (void ); -static void yy_fatal_error (yyconst char msg[] ); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - (yytext_ptr) = yy_bp; \ - yyleng = (size_t) (yy_cp - yy_bp); \ - (yy_hold_char) = *yy_cp; \ - *yy_cp = '\0'; \ - (yy_c_buf_p) = yy_cp; - -#define YY_NUM_RULES 28 -#define YY_END_OF_BUFFER 29 -/* This struct is not used in this scanner, - but its presence is necessary. */ -struct yy_trans_info - { - flex_int32_t yy_verify; - flex_int32_t yy_nxt; - }; -static yyconst flex_int16_t yy_accept[100] = - { 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 29, 4, 5, 5, 27, 4, 27, 11, 12, 12, - 9, 27, 15, 10, 13, 27, 18, 16, 17, 17, - 27, 27, 22, 23, 23, 27, 27, 21, 26, 27, - 4, 0, 5, 0, 2, 3, 0, 2, 0, 4, - 11, 12, 9, 14, 0, 0, 18, 16, 17, 0, - 19, 0, 20, 22, 23, 0, 24, 0, 25, 21, - 0, 0, 0, 0, 3, 0, 0, 8, 0, 0, - 1, 9, 21, 0, 0, 0, 0, 2, 0, 0, - 0, 3, 0, 0, 6, 0, 0, 0, 7 - - } ; - -static yyconst flex_int32_t yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 2, 4, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 5, 6, 1, 1, 1, 1, 7, 1, - 1, 1, 1, 1, 8, 9, 10, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 1, 11, - 12, 13, 14, 1, 15, 15, 16, 17, 18, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 19, 20, - 15, 15, 15, 21, 15, 15, 15, 15, 22, 15, - 1, 1, 1, 1, 9, 1, 15, 15, 23, 24, - - 25, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 26, 27, 15, 15, 15, 28, 15, 15, 15, 15, - 29, 15, 30, 1, 31, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 32, 1, 1, 1, - 33, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 34, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -extern int yy_flex_debug; -int yy_flex_debug = 0; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -#define YY_RESTORE_YY_MORE_OFFSET -char *yytext; -#line 1 "scan.l" -/* %option yylineno */ -#line 5 "scan.l" -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: scan.l,v 1.27 2004/04/26 12:34:10 bbos Exp $ - **/ -#include <config.h> -#include <assert.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRDUP -# include "strdup.e" -# endif -#endif -#include <stdlib.h> -#include <ctype.h> -#include "export.h" -#include "types.e" -#include "heap.e" -#include "html.h" -#include "errexit.e" - - -EXPORT extern FILE *yyin; -EXPORT int yylineno = 1; - -typedef struct _Stack { - YY_BUFFER_STATE buf; - FILE *f; - struct _Stack *next; -} *Stack; - -static Stack stack = NULL; - - -/* include_file -- stack current file and switch to another one */ -EXPORT void include_file(FILE *f) -{ - Stack h; - - new(h); - h->buf = YY_CURRENT_BUFFER; - h->f = f; - h->next = stack; - stack = h; - yy_switch_to_buffer(yy_create_buffer(f,YY_BUF_SIZE)); -} - -/* pop_file -- back to previous input file */ -static Boolean pop_file(void) -{ - Stack h; - - if (!stack) { - return False; - } else { - h = stack; - yy_delete_buffer(YY_CURRENT_BUFFER); - fclose(h->f); - yy_switch_to_buffer(h->buf); - stack = h->next; - dispose(h); - return True; - } -} - -/* esc -- remove outer quotes, escape ", remove \n, return malloc'ed string */ -static unsigned char* esc(unsigned char* s) -{ - int i, j; - unsigned char *u; - - /* Find new length */ - for (i = 0, j = 1; s[j] != s[0]; i++, j++) { - if (s[j] == '"') i+= 4; - } - /* Copy and expand */ - u = malloc(i + 1); - if (!u) errexit("Out of memory\n"); - for (i = 0, j = 1; s[j] != s[0]; i++, j++) { - if (s[j] == '"') {strcpy(u + i, """); i += 4;} - else if (s[j] == '\n') u[i] = ' '; /* \n */ - else if (s[j] == '\r' && s[j+1] == '\n') {u[i] = ' '; j++;} /* \r\n */ - else if (s[j] == '\r') {u[i] = ' ';} /* \r */ - else u[i] = s[j]; - } - u[i] = '\0'; - return u; -} - -/* u_strndup -- allocate a string, copy n characters into it and add \0 */ -static unsigned char* u_strndup(const unsigned char *s, size_t n) -{ - unsigned char *t = malloc(n + 1); - if (!t) errexit("Out of memory\n"); - strncpy(t, s, n); - t[n] = '\0'; - return t; -} - -/* lns -- count newlines */ -static void lns(const unsigned char *s) -{ - while (*s) { - if (*s == '\n') yylineno++; - else if (*s != '\r') ; - else if (*(s+1) == '\n') {yylineno++; s++;} - else yylineno++; - s++; - } -} - -/* thing is rather too permissive, but it will accept <img src=/path>... */ - -#line 1312 "scan.c" - -#define INITIAL 0 -#define MARKUP 1 -#define VALUE 2 -#define DECL 3 -#define INIT 4 - -#ifndef YY_NO_UNISTD_H -/* Special case for "unistd.h", since it is non-ANSI. We include it way - * down here because we want the user's section 1 to have been scanned first. - * The user has a chance to override it with an option. - */ -#include <unistd.h> -#endif - -#ifndef YY_EXTRA_TYPE -#define YY_EXTRA_TYPE void * -#endif - -static int yy_init_globals (void ); - -/* Accessor methods to globals. - These are made visible to non-reentrant scanners for convenience. */ - -int yylex_destroy (void ); - -int yyget_debug (void ); - -void yyset_debug (int debug_flag ); - -YY_EXTRA_TYPE yyget_extra (void ); - -void yyset_extra (YY_EXTRA_TYPE user_defined ); - -FILE *yyget_in (void ); - -void yyset_in (FILE * in_str ); - -FILE *yyget_out (void ); - -void yyset_out (FILE * out_str ); - -int yyget_leng (void ); - -char *yyget_text (void ); - -int yyget_lineno (void ); - -void yyset_lineno (int line_number ); - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap (void ); -#else -extern int yywrap (void ); -#endif -#endif - - static void yyunput (int c,char *buf_ptr ); - -#ifndef yytext_ptr -static void yy_flex_strncpy (char *,yyconst char *,int ); -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * ); -#endif - -#ifndef YY_NO_INPUT - -#ifdef __cplusplus -static int yyinput (void ); -#else -static int input (void ); -#endif - -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#ifdef __ia64__ -/* On IA-64, the buffer size is 16k, not 8k */ -#define YY_READ_BUF_SIZE 16384 -#else -#define YY_READ_BUF_SIZE 8192 -#endif /* __ia64__ */ -#endif - -/* Copy whatever the last rule matched to the standard output. */ -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ - { \ - int c = '*'; \ - size_t n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else \ - { \ - errno=0; \ - while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ - { \ - if( errno != EINTR) \ - { \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - break; \ - } \ - errno=0; \ - clearerr(yyin); \ - } \ - }\ -\ - -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* end tables serialization structures and prototypes */ - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL_IS_OURS 1 - -extern int yylex (void); - -#define YY_DECL int yylex (void) -#endif /* !YY_DECL */ - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -/** The main scanner function which does all the work. - */ -YY_DECL -{ - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 139 "scan.l" - - - -#line 1507 "scan.c" - - if ( !(yy_init) ) - { - (yy_init) = 1; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! (yy_start) ) - (yy_start) = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! YY_CURRENT_BUFFER ) { - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer(yyin,YY_BUF_SIZE ); - } - - yy_load_buffer_state( ); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = (yy_c_buf_p); - - /* Support of yytext. */ - *yy_cp = (yy_hold_char); - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = (yy_start); -yy_match: - while ( (yy_current_state = yy_nxt[yy_current_state][ yy_ec[YY_SC_TO_UI(*yy_cp)] ]) > 0 ) - { - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - - ++yy_cp; - } - - yy_current_state = -yy_current_state; - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - - YY_DO_BEFORE_ACTION; - -do_action: /* This label is used only to access EOF actions. */ - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = (yy_hold_char); - yy_cp = (yy_last_accepting_cpos) + 1; - yy_current_state = (yy_last_accepting_state); - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 142 "scan.l" -{BEGIN(INIT); /* Byte Order Mark is ignored */} - YY_BREAK -case 2: -YY_RULE_SETUP -#line 144 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext+1); return START;} - YY_BREAK -case 3: -YY_RULE_SETUP -#line 145 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext+2); return END;} - YY_BREAK -case 4: -/* rule 4 can match eol */ -YY_RULE_SETUP -#line 146 "scan.l" -{yylval.s=strdup(yytext); return TEXT;} - YY_BREAK -case 5: -/* rule 5 can match eol */ -YY_RULE_SETUP -#line 147 "scan.l" -{yylval.s=strdup(yytext); yylineno++; return TEXT;} - YY_BREAK -case 6: -/* rule 6 can match eol */ -YY_RULE_SETUP -#line 148 "scan.l" -{yylval.s=u_strndup(yytext+4,yyleng-7); lns(yytext); return COMMENT;} - YY_BREAK -case 7: -/* rule 7 can match eol */ -YY_RULE_SETUP -#line 149 "scan.l" -{BEGIN(DECL); lns(yytext+9); return DOCTYPE;} - YY_BREAK -case 8: -/* rule 8 can match eol */ -YY_RULE_SETUP -#line 150 "scan.l" -{yylval.s=u_strndup(yytext+2,yyleng-3); lns(yytext); return PROCINS;} - YY_BREAK -case 9: -YY_RULE_SETUP -#line 152 "scan.l" -{yylval.s = strdup(yytext); return NAME;} - YY_BREAK -case 10: -YY_RULE_SETUP -#line 153 "scan.l" -{BEGIN(VALUE); return '=';} - YY_BREAK -case 11: -YY_RULE_SETUP -#line 154 "scan.l" -{; /* skip */} - YY_BREAK -case 12: -/* rule 12 can match eol */ -YY_RULE_SETUP -#line 155 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 13: -YY_RULE_SETUP -#line 156 "scan.l" -{BEGIN(INIT); return '>';} - YY_BREAK -case 14: -YY_RULE_SETUP -#line 157 "scan.l" -{BEGIN(INIT); return EMPTYEND;} - YY_BREAK -case 15: -YY_RULE_SETUP -#line 158 "scan.l" -{BEGIN(INIT); yyless(0); return '>'; /* Implicit ">" */} - YY_BREAK -case 16: -YY_RULE_SETUP -#line 160 "scan.l" -{; /* skip */} - YY_BREAK -case 17: -/* rule 17 can match eol */ -YY_RULE_SETUP -#line 161 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 18: -YY_RULE_SETUP -#line 162 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext); return NAME;} - YY_BREAK -case 19: -/* rule 19 can match eol */ -#line 164 "scan.l" -case 20: -/* rule 20 can match eol */ -YY_RULE_SETUP -#line 164 "scan.l" -{BEGIN(MARKUP); yylval.s=esc(yytext); lns(yytext); return STRING;} - YY_BREAK -case 21: -YY_RULE_SETUP -#line 166 "scan.l" -{yylval.s = strdup(yytext); return NAME;} - YY_BREAK -case 22: -YY_RULE_SETUP -#line 167 "scan.l" -{; /* skip */} - YY_BREAK -case 23: -/* rule 23 can match eol */ -YY_RULE_SETUP -#line 168 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 24: -/* rule 24 can match eol */ -#line 170 "scan.l" -case 25: -/* rule 25 can match eol */ -YY_RULE_SETUP -#line 170 "scan.l" -{lns(yytext); yylval.s = esc(yytext); return STRING;} - YY_BREAK -case 26: -YY_RULE_SETUP -#line 171 "scan.l" -{BEGIN(INIT); return '>';} - YY_BREAK -case 27: -YY_RULE_SETUP -#line 173 "scan.l" -{return *yytext; /* illegal char, in fact */} - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(MARKUP): -case YY_STATE_EOF(VALUE): -case YY_STATE_EOF(DECL): -case YY_STATE_EOF(INIT): -#line 175 "scan.l" -{if (pop_file()) return ENDINCL; else yyterminate();} - YY_BREAK -case 28: -YY_RULE_SETUP -#line 177 "scan.l" -YY_FATAL_ERROR( "flex scanner jammed" ); - YY_BREAK -#line 1732 "scan.c" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = (yy_hold_char); - YY_RESTORE_YY_MORE_OFFSET - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between YY_CURRENT_BUFFER and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++(yy_c_buf_p); - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = (yy_c_buf_p); - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_END_OF_FILE: - { - (yy_did_buffer_switch_on_eof) = 0; - - if ( yywrap( ) ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = - (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - (yy_c_buf_p) = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ -} /* end of yylex */ - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ -static int yy_get_next_buffer (void) -{ - register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - register char *source = (yytext_ptr); - register int number_to_move, i; - int ret_val; - - if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; - - else - { - int num_to_read = - YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = YY_CURRENT_BUFFER; - - int yy_c_buf_p_offset = - (int) ((yy_c_buf_p) - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - - number_to_move - 1; - - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), (size_t) num_to_read ); - - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - if ( (yy_n_chars) == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart(yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { - /* Extend the array by 50%, plus the number we really need. */ - yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); - if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); - } - - (yy_n_chars) += number_to_move; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; - - (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; - - return ret_val; -} - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - - static yy_state_type yy_get_previous_state (void) -{ - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = (yy_start); - - for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) - { - yy_current_state = yy_nxt[yy_current_state][(*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1)]; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - } - - return yy_current_state; -} - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) -{ - register int yy_is_jam; - register char *yy_cp = (yy_c_buf_p); - - yy_current_state = yy_nxt[yy_current_state][1]; - yy_is_jam = (yy_current_state <= 0); - - if ( ! yy_is_jam ) - { - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - } - - return yy_is_jam ? 0 : yy_current_state; -} - - static void yyunput (int c, register char * yy_bp ) -{ - register char *yy_cp; - - yy_cp = (yy_c_buf_p); - - /* undo effects of setting up yytext */ - *yy_cp = (yy_hold_char); - - if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = (yy_n_chars) + 2; - register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ - YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; - register char *source = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; - - while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; - - if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - (yytext_ptr) = yy_bp; - (yy_hold_char) = *yy_cp; - (yy_c_buf_p) = yy_cp; -} - -#ifndef YY_NO_INPUT -#ifdef __cplusplus - static int yyinput (void) -#else - static int input (void) -#endif - -{ - int c; - - *(yy_c_buf_p) = (yy_hold_char); - - if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - /* This was really a NUL. */ - *(yy_c_buf_p) = '\0'; - - else - { /* need more input */ - int offset = (yy_c_buf_p) - (yytext_ptr); - ++(yy_c_buf_p); - - switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - yyrestart(yyin ); - - /*FALLTHROUGH*/ - - case EOB_ACT_END_OF_FILE: - { - if ( yywrap( ) ) - return EOF; - - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = (yytext_ptr) + offset; - break; - } - } - } - - c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ - *(yy_c_buf_p) = '\0'; /* preserve yytext */ - (yy_hold_char) = *++(yy_c_buf_p); - - return c; -} -#endif /* ifndef YY_NO_INPUT */ - -/** Immediately switch to a different input stream. - * @param input_file A readable stream. - * - * @note This function does not reset the start condition to @c INITIAL . - */ - void yyrestart (FILE * input_file ) -{ - - if ( ! YY_CURRENT_BUFFER ){ - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer(yyin,YY_BUF_SIZE ); - } - - yy_init_buffer(YY_CURRENT_BUFFER,input_file ); - yy_load_buffer_state( ); -} - -/** Switch to a different input buffer. - * @param new_buffer The new input buffer. - * - */ - void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) -{ - - /* TODO. We should be able to replace this entire function body - * with - * yypop_buffer_state(); - * yypush_buffer_state(new_buffer); - */ - yyensure_buffer_stack (); - if ( YY_CURRENT_BUFFER == new_buffer ) - return; - - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - YY_CURRENT_BUFFER_LVALUE = new_buffer; - yy_load_buffer_state( ); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - (yy_did_buffer_switch_on_eof) = 1; -} - -static void yy_load_buffer_state (void) -{ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; - yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; - (yy_hold_char) = *(yy_c_buf_p); -} - -/** Allocate and initialize an input buffer state. - * @param file A readable stream. - * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. - * - * @return the allocated buffer state. - */ - YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) -{ - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer(b,file ); - - return b; -} - -/** Destroy the buffer. - * @param b a buffer created with yy_create_buffer() - * - */ - void yy_delete_buffer (YY_BUFFER_STATE b ) -{ - - if ( ! b ) - return; - - if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ - YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yyfree((void *) b->yy_ch_buf ); - - yyfree((void *) b ); -} - -#ifndef __cplusplus -extern int isatty (int ); -#endif /* __cplusplus */ - -/* Initializes or reinitializes a buffer. - * This function is sometimes called more than once on the same buffer, - * such as during a yyrestart() or at EOF. - */ - static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) - -{ - int oerrno = errno; - - yy_flush_buffer(b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - - /* If b is the current buffer, then yy_init_buffer was _probably_ - * called from yyrestart() or through yy_get_next_buffer. - * In that case, we don't want to reset the lineno or column. - */ - if (b != YY_CURRENT_BUFFER){ - b->yy_bs_lineno = 1; - b->yy_bs_column = 0; - } - - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; - - errno = oerrno; -} - -/** Discard all buffered characters. On the next scan, YY_INPUT will be called. - * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. - * - */ - void yy_flush_buffer (YY_BUFFER_STATE b ) -{ - if ( ! b ) - return; - - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == YY_CURRENT_BUFFER ) - yy_load_buffer_state( ); -} - -/** Pushes the new state onto the stack. The new state becomes - * the current state. This function will allocate the stack - * if necessary. - * @param new_buffer The new state. - * - */ -void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) -{ - if (new_buffer == NULL) - return; - - yyensure_buffer_stack(); - - /* This block is copied from yy_switch_to_buffer. */ - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - /* Only push if top exists. Otherwise, replace top. */ - if (YY_CURRENT_BUFFER) - (yy_buffer_stack_top)++; - YY_CURRENT_BUFFER_LVALUE = new_buffer; - - /* copied from yy_switch_to_buffer. */ - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; -} - -/** Removes and deletes the top of the stack, if present. - * The next element becomes the new top. - * - */ -void yypop_buffer_state (void) -{ - if (!YY_CURRENT_BUFFER) - return; - - yy_delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - if ((yy_buffer_stack_top) > 0) - --(yy_buffer_stack_top); - - if (YY_CURRENT_BUFFER) { - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; - } -} - -/* Allocates the stack if it does not exist. - * Guarantees space for at least one push. - */ -static void yyensure_buffer_stack (void) -{ - int num_to_alloc; - - if (!(yy_buffer_stack)) { - - /* First allocation is just for 2 elements, since we don't know if this - * scanner will even need a stack. We use 2 instead of 1 to avoid an - * immediate realloc on the next call. - */ - num_to_alloc = 1; - (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc - (num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - - memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); - - (yy_buffer_stack_max) = num_to_alloc; - (yy_buffer_stack_top) = 0; - return; - } - - if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ - - /* Increase the buffer to prepare for a possible push. */ - int grow_size = 8 /* arbitrary grow size */; - - num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc - ((yy_buffer_stack), - num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - - /* zero only the new slots.*/ - memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); - (yy_buffer_stack_max) = num_to_alloc; - } -} - -/** Setup the input buffer state to scan directly from a user-specified character buffer. - * @param base the character buffer - * @param size the size in bytes of the character buffer - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) -{ - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer(b ); - - return b; -} - -/** Setup the input buffer state to scan a string. The next call to yylex() will - * scan from a @e copy of @a str. - * @param yystr a NUL-terminated string to scan - * - * @return the newly allocated buffer state object. - * @note If you want to scan bytes that may contain NUL values, then use - * yy_scan_bytes() instead. - */ -YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) -{ - - return yy_scan_bytes(yystr,strlen(yystr) ); -} - -/** Setup the input buffer state to scan the given bytes. The next call to yylex() will - * scan from a @e copy of @a bytes. - * @param yybytes the byte buffer to scan - * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) -{ - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = _yybytes_len + 2; - buf = (char *) yyalloc(n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < _yybytes_len; ++i ) - buf[i] = yybytes[i]; - - buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer(buf,n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; -} - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -static void yy_fatal_error (yyconst char* msg ) -{ - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); -} - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - yytext[yyleng] = (yy_hold_char); \ - (yy_c_buf_p) = yytext + yyless_macro_arg; \ - (yy_hold_char) = *(yy_c_buf_p); \ - *(yy_c_buf_p) = '\0'; \ - yyleng = yyless_macro_arg; \ - } \ - while ( 0 ) - -/* Accessor methods (get/set functions) to struct members. */ - -/** Get the current line number. - * - */ -int yyget_lineno (void) -{ - - return yylineno; -} - -/** Get the input stream. - * - */ -FILE *yyget_in (void) -{ - return yyin; -} - -/** Get the output stream. - * - */ -FILE *yyget_out (void) -{ - return yyout; -} - -/** Get the length of the current token. - * - */ -int yyget_leng (void) -{ - return yyleng; -} - -/** Get the current token. - * - */ - -char *yyget_text (void) -{ - return yytext; -} - -/** Set the current line number. - * @param line_number - * - */ -void yyset_lineno (int line_number ) -{ - - yylineno = line_number; -} - -/** Set the input stream. This does not discard the current - * input buffer. - * @param in_str A readable stream. - * - * @see yy_switch_to_buffer - */ -void yyset_in (FILE * in_str ) -{ - yyin = in_str ; -} - -void yyset_out (FILE * out_str ) -{ - yyout = out_str ; -} - -int yyget_debug (void) -{ - return yy_flex_debug; -} - -void yyset_debug (int bdebug ) -{ - yy_flex_debug = bdebug ; -} - -static int yy_init_globals (void) -{ - /* Initialization is the same as for the non-reentrant scanner. - * This function is called from yylex_destroy(), so don't allocate here. - */ - - (yy_buffer_stack) = 0; - (yy_buffer_stack_top) = 0; - (yy_buffer_stack_max) = 0; - (yy_c_buf_p) = (char *) 0; - (yy_init) = 0; - (yy_start) = 0; - -/* Defined in main.c */ -#ifdef YY_STDINIT - yyin = stdin; - yyout = stdout; -#else - yyin = (FILE *) 0; - yyout = (FILE *) 0; -#endif - - /* For future reference: Set errno on error, since we are called by - * yylex_init() - */ - return 0; -} - -/* yylex_destroy is for both reentrant and non-reentrant scanners. */ -int yylex_destroy (void) -{ - - /* Pop the buffer stack, destroying each element. */ - while(YY_CURRENT_BUFFER){ - yy_delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - yypop_buffer_state(); - } - - /* Destroy the stack itself. */ - yyfree((yy_buffer_stack) ); - (yy_buffer_stack) = NULL; - - /* Reset the globals. This is important in a non-reentrant scanner so the next time - * yylex() is called, initialization will occur. */ - yy_init_globals( ); - - return 0; -} - -/* - * Internal utility routines. - */ - -#ifndef yytext_ptr -static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) -{ - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; -} -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * s ) -{ - register int n; - for ( n = 0; s[n]; ++n ) - ; - - return n; -} -#endif - -void *yyalloc (yy_size_t size ) -{ - return (void *) malloc( size ); -} - -void *yyrealloc (void * ptr, yy_size_t size ) -{ - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); -} - -void yyfree (void * ptr ) -{ - free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ -} - -#define YYTABLES_NAME "yytables" - -#line 177 "scan.l" - - -/* - * Local variables: - * mode: indented-text - * End: - */ - diff --git a/arid_examples/html-xml-utils-3.0/scan.c.good b/arid_examples/html-xml-utils-3.0/scan.c.good deleted file mode 100644 index d81a9a3f7..000000000 --- a/arid_examples/html-xml-utils-3.0/scan.c.good +++ /dev/null @@ -1,2359 +0,0 @@ -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include <stdio.h> - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include <stdlib.h> -#include <unistd.h> - -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -#if __STDC__ - -#define YY_USE_PROTOS -#define YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include <io.h> -#include <stdlib.h> -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - YY_RESTORE_YY_MORE_OFFSET \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - - -#define yywrap() 1 -#define YY_SKIP_YYWRAP -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext -static yyconst short yy_nxt[][28] = - { - { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 16 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 16 - }, - - { - 11, 17, 18, 19, 20, 17, 17, 17, 21, 21, - - 22, 23, 24, 25, 17, 21, 21, 21, 21, 21, - 21, 21, 21, 26, 17, 17, 17, 17 - }, - - { - 11, 17, 18, 19, 20, 17, 17, 17, 21, 21, - 22, 23, 24, 25, 17, 21, 21, 21, 21, 21, - 21, 21, 21, 26, 17, 17, 17, 17 - }, - - { - 11, 27, 28, 29, 30, 27, 31, 32, 27, 27, - 27, 17, 17, 17, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27 - }, - - { - 11, 27, 28, 29, 30, 27, 31, 32, 27, 27, - 27, 17, 17, 17, 27, 27, 27, 27, 27, 27, - - 27, 27, 27, 27, 27, 27, 27, 27 - }, - - { - 11, 17, 33, 34, 35, 17, 36, 37, 38, 38, - 17, 17, 17, 39, 17, 38, 38, 38, 38, 38, - 38, 38, 38, 40, 17, 17, 17, 17 - }, - - { - 11, 17, 33, 34, 35, 17, 36, 37, 38, 38, - 17, 17, 17, 39, 17, 38, 38, 38, 38, 38, - 38, 38, 38, 40, 17, 17, 17, 17 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12 - - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12 - }, - - { - -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, - -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, - -11, -11, -11, -11, -11, -11, -11, -11 - }, - - { - 11, 41, 41, -12, -12, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41 - }, - - { - 11, -13, -13, -13, -13, -13, -13, -13, -13, -13, - - -13, -13, -13, -13, -13, -13, -13, -13, -13, -13, - -13, -13, -13, -13, -13, -13, -13, -13 - }, - - { - 11, -14, -14, 43, -14, -14, -14, -14, -14, -14, - -14, -14, -14, -14, -14, -14, -14, -14, -14, -14, - -14, -14, -14, -14, -14, -14, -14, -14 - }, - - { - 11, 41, 41, 41, 41, 44, 41, 41, 45, 45, - 46, 41, 41, 41, 47, 48, 48, 48, 48, 48, - 48, 48, 48, 49, 41, 41, 41, 41 - }, - - { - 11, 41, 41, -16, -16, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - - 41, 41, 41, 41, 41, 50, 41, 41 - }, - - { - 11, -17, -17, -17, -17, -17, -17, -17, -17, -17, - -17, -17, -17, -17, -17, -17, -17, -17, -17, -17, - -17, -17, -17, -17, -17, -17, -17, -17 - }, - - { - 11, -18, 51, -18, -18, -18, -18, -18, -18, -18, - -18, -18, -18, -18, -18, -18, -18, -18, -18, -18, - -18, -18, -18, -18, -18, -18, -18, -18 - }, - - { - 11, -19, -19, -19, -19, -19, -19, -19, -19, -19, - -19, -19, -19, -19, -19, -19, -19, -19, -19, -19, - -19, -19, -19, -19, -19, -19, -19, -19 - - }, - - { - 11, -20, -20, 52, -20, -20, -20, -20, -20, -20, - -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, - -20, -20, -20, -20, -20, -20, -20, -20 - }, - - { - 11, -21, -21, -21, -21, -21, -21, -21, 53, 53, - -21, -21, -21, -21, -21, 53, 53, 53, 53, 53, - 53, 53, 53, -21, -21, -21, -21, -21 - }, - - { - 11, -22, -22, -22, -22, -22, -22, -22, -22, -22, - -22, -22, -22, 54, -22, -22, -22, -22, -22, -22, - -22, -22, -22, -22, -22, -22, -22, -22 - }, - - { - 11, -23, -23, -23, -23, -23, -23, -23, -23, -23, - - -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, - -23, -23, -23, -23, -23, -23, -23, -23 - }, - - { - 11, -24, -24, -24, -24, -24, -24, -24, -24, -24, - -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, - -24, -24, -24, -24, -24, -24, -24, -24 - }, - - { - 11, -25, -25, -25, -25, -25, -25, -25, -25, -25, - -25, -25, -25, -25, -25, -25, -25, -25, -25, -25, - -25, -25, -25, -25, -25, -25, -25, -25 - }, - - { - 11, 55, -26, -26, -26, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - - 55, 55, 55, 55, 56, 55, 55, 55 - }, - - { - 11, 57, -27, -27, -27, 57, -27, -27, 57, 57, - 57, -27, -27, -27, 57, 57, 57, 57, 57, 57, - 57, 57, 57, 57, 57, 57, 57, 57 - }, - - { - 11, -28, 58, -28, -28, -28, -28, -28, -28, -28, - -28, -28, -28, -28, -28, -28, -28, -28, -28, -28, - -28, -28, -28, -28, -28, -28, -28, -28 - }, - - { - 11, -29, -29, -29, -29, -29, -29, -29, -29, -29, - -29, -29, -29, -29, -29, -29, -29, -29, -29, -29, - -29, -29, -29, -29, -29, -29, -29, -29 - - }, - - { - 11, -30, -30, 59, -30, -30, -30, -30, -30, -30, - -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, - -30, -30, -30, -30, -30, -30, -30, -30 - }, - - { - 11, 60, 60, 60, 60, 60, 61, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60 - }, - - { - 11, 62, 62, 62, 62, 62, 62, 63, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62 - }, - - { - 11, -33, 64, -33, -33, -33, -33, -33, -33, -33, - - -33, -33, -33, -33, -33, -33, -33, -33, -33, -33, - -33, -33, -33, -33, -33, -33, -33, -33 - }, - - { - 11, -34, -34, -34, -34, -34, -34, -34, -34, -34, - -34, -34, -34, -34, -34, -34, -34, -34, -34, -34, - -34, -34, -34, -34, -34, -34, -34, -34 - }, - - { - 11, -35, -35, 65, -35, -35, -35, -35, -35, -35, - -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, - -35, -35, -35, -35, -35, -35, -35, -35 - }, - - { - 11, 66, 66, 66, 66, 66, 67, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - - 66, 66, 66, 66, 66, 66, 66, 66 - }, - - { - 11, 68, 68, 68, 68, 68, 68, 69, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68 - }, - - { - 11, -38, -38, -38, -38, -38, -38, -38, 70, 70, - -38, -38, -38, -38, -38, 70, 70, 70, 70, 70, - 70, 70, 70, -38, -38, -38, -38, -38 - }, - - { - 11, -39, -39, -39, -39, -39, -39, -39, -39, -39, - -39, -39, -39, -39, -39, -39, -39, -39, -39, -39, - -39, -39, -39, -39, -39, -39, -39, -39 - - }, - - { - 11, 71, -40, -40, -40, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 72, 71, 71, 71 - }, - - { - 11, 41, 41, -41, -41, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41 - }, - - { - 11, 41, 41, 41, 41, -42, 41, 41, 41, 41, - -42, 41, 41, 41, -42, -42, -42, -42, -42, -42, - -42, -42, -42, -42, 41, 41, 41, 41 - }, - - { - 11, -43, -43, -43, -43, -43, -43, -43, -43, -43, - - -43, -43, -43, -43, -43, -43, -43, -43, -43, -43, - -43, -43, -43, -43, -43, -43, -43, -43 - }, - - { - 11, -44, -44, -44, -44, -44, -44, -44, 73, -44, - -44, -44, -44, -44, -44, -44, -44, 74, -44, -44, - -44, -44, -44, -44, -44, -44, -44, -44 - }, - - { - 11, 41, 41, -45, -45, 41, 41, 41, 45, 45, - 41, 42, 41, 41, 41, 45, 45, 45, 45, 45, - 45, 45, 45, 41, 41, 41, 41, 41 - }, - - { - 11, -46, -46, -46, -46, -46, -46, -46, 75, 75, - -46, -46, -46, -46, -46, 75, 75, 75, 75, 75, - - 75, 75, 75, 76, -46, -46, -46, -46 - }, - - { - 11, 77, 77, 77, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 77, 77, 77, 77, 77 - }, - - { - 11, -48, -48, -48, -48, -48, -48, -48, 48, 48, - -48, -48, -48, -48, -48, 48, 48, 48, 48, 48, - 48, 48, 48, -48, -48, -48, -48, -48 - }, - - { - 11, 79, -49, -49, -49, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 80, 79, 79, 79 - - }, - - { - 11, 41, 41, -50, -50, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 81, 41 - }, - - { - 11, -51, 51, -51, -51, -51, -51, -51, -51, -51, - -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, - -51, -51, -51, -51, -51, -51, -51, -51 - }, - - { - 11, -52, -52, -52, -52, -52, -52, -52, -52, -52, - -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, - -52, -52, -52, -52, -52, -52, -52, -52 - }, - - { - 11, -53, -53, -53, -53, -53, -53, -53, 53, 53, - - -53, -53, -53, -53, -53, 53, 53, 53, 53, 53, - 53, 53, 53, -53, -53, -53, -53, -53 - }, - - { - 11, -54, -54, -54, -54, -54, -54, -54, -54, -54, - -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, - -54, -54, -54, -54, -54, -54, -54, -54 - }, - - { - 11, 55, -55, -55, -55, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 56, 55, 55, 55 - }, - - { - 11, -56, -56, -56, -56, -56, -56, -56, 82, 82, - -56, -56, -56, -56, -56, 82, 82, 82, 82, 82, - - 82, 82, 82, -56, -56, -56, -56, -56 - }, - - { - 11, 57, -57, -57, -57, 57, -57, -57, 57, 57, - 57, -57, -57, -57, 57, 57, 57, 57, 57, 57, - 57, 57, 57, 57, 57, 57, 57, 57 - }, - - { - 11, -58, 58, -58, -58, -58, -58, -58, -58, -58, - -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, - -58, -58, -58, -58, -58, -58, -58, -58 - }, - - { - 11, -59, -59, -59, -59, -59, -59, -59, -59, -59, - -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, - -59, -59, -59, -59, -59, -59, -59, -59 - - }, - - { - 11, 60, 60, 60, 60, 60, 61, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60 - }, - - { - 11, -61, -61, -61, -61, -61, -61, -61, -61, -61, - -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, - -61, -61, -61, -61, -61, -61, -61, -61 - }, - - { - 11, 62, 62, 62, 62, 62, 62, 63, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62 - }, - - { - 11, -63, -63, -63, -63, -63, -63, -63, -63, -63, - - -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, - -63, -63, -63, -63, -63, -63, -63, -63 - }, - - { - 11, -64, 64, -64, -64, -64, -64, -64, -64, -64, - -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, - -64, -64, -64, -64, -64, -64, -64, -64 - }, - - { - 11, -65, -65, -65, -65, -65, -65, -65, -65, -65, - -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, - -65, -65, -65, -65, -65, -65, -65, -65 - }, - - { - 11, 66, 66, 66, 66, 66, 67, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - - 66, 66, 66, 66, 66, 66, 66, 66 - }, - - { - 11, -67, -67, -67, -67, -67, -67, -67, -67, -67, - -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, - -67, -67, -67, -67, -67, -67, -67, -67 - }, - - { - 11, 68, 68, 68, 68, 68, 68, 69, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68 - }, - - { - 11, -69, -69, -69, -69, -69, -69, -69, -69, -69, - -69, -69, -69, -69, -69, -69, -69, -69, -69, -69, - -69, -69, -69, -69, -69, -69, -69, -69 - - }, - - { - 11, -70, -70, -70, -70, -70, -70, -70, 70, 70, - -70, -70, -70, -70, -70, 70, 70, 70, 70, 70, - 70, 70, 70, -70, -70, -70, -70, -70 - }, - - { - 11, 71, -71, -71, -71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 72, 71, 71, 71 - }, - - { - 11, -72, -72, -72, -72, -72, -72, -72, 83, 83, - -72, -72, -72, -72, -72, 83, 83, 83, 83, 83, - 83, 83, 83, -72, -72, -72, -72, -72 - }, - - { - 11, -73, -73, -73, -73, -73, -73, -73, 84, -73, - - -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, - -73, -73, -73, -73, -73, -73, -73, -73 - }, - - { - 11, -74, -74, -74, -74, -74, -74, -74, -74, -74, - -74, -74, -74, -74, -74, -74, -74, -74, -74, 85, - -74, -74, -74, -74, -74, -74, -74, -74 - }, - - { - 11, -75, -75, -75, -75, -75, -75, -75, 75, 75, - -75, -75, -75, -75, -75, 75, 75, 75, 75, 75, - 75, 75, 75, -75, -75, -75, -75, -75 - }, - - { - 11, 86, -76, -76, -76, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - - 86, 86, 86, 86, 87, 86, 86, 86 - }, - - { - 11, 77, 77, 77, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 77, 77, 77, 77, 77 - }, - - { - 11, -78, -78, -78, -78, -78, -78, -78, -78, -78, - -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, - -78, -78, -78, -78, -78, -78, -78, -78 - }, - - { - 11, 79, -79, -79, -79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 80, 79, 79, 79 - - }, - - { - 11, -80, -80, -80, -80, -80, -80, -80, 88, 88, - -80, -80, -80, -80, -80, 88, 88, 88, 88, 88, - 88, 88, 88, -80, -80, -80, -80, -80 - }, - - { - 11, 41, 41, -81, -81, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41 - }, - - { - 11, -82, -82, -82, -82, -82, -82, -82, 82, 82, - -82, -82, -82, -82, -82, 82, 82, 82, 82, 82, - 82, 82, 82, -82, -82, -82, -82, -82 - }, - - { - 11, -83, -83, -83, -83, -83, -83, -83, 83, 83, - - -83, -83, -83, -83, -83, 83, 83, 83, 83, 83, - 83, 83, 83, -83, -83, -83, -83, -83 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 90, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - }, - - { - 11, -85, -85, -85, -85, -85, -85, -85, -85, -85, - -85, -85, -85, -85, -85, -85, 91, -85, -85, -85, - -85, -85, -85, -85, -85, -85, -85, -85 - }, - - { - 11, 86, -86, -86, -86, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - - 86, 86, 86, 86, 87, 86, 86, 86 - }, - - { - 11, -87, -87, -87, -87, -87, -87, -87, 92, 92, - -87, -87, -87, -87, -87, 92, 92, 92, 92, 92, - 92, 92, 92, -87, -87, -87, -87, -87 - }, - - { - 11, -88, -88, -88, -88, -88, -88, -88, 88, 88, - -88, -88, -88, -88, -88, 88, 88, 88, 88, 88, - 88, 88, 88, -88, -88, -88, -88, -88 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 90, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 93, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - }, - - { - 11, -91, -91, -91, -91, -91, -91, -91, -91, -91, - -91, -91, -91, -91, -91, -91, -91, -91, -91, -91, - -91, 94, -91, -91, -91, -91, -91, -91 - }, - - { - 11, -92, -92, -92, -92, -92, -92, -92, 92, 92, - -92, -92, -92, -92, -92, 92, 92, 92, 92, 92, - 92, 92, 92, -92, -92, -92, -92, -92 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 89, 89, - - 89, 89, 89, 95, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - }, - - { - 11, -94, -94, -94, -94, -94, -94, -94, -94, -94, - -94, -94, -94, -94, -94, -94, -94, -94, -94, -94, - -94, -94, 96, -94, -94, -94, -94, -94 - }, - - { - 11, -95, -95, -95, -95, -95, -95, -95, -95, -95, - -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, - -95, -95, -95, -95, -95, -95, -95, -95 - }, - - { - 11, -96, -96, -96, -96, -96, -96, -96, -96, -96, - -96, -96, -96, -96, -96, -96, -96, -96, -96, -96, - - 97, -96, -96, -96, -96, -96, -96, -96 - }, - - { - 11, -97, -97, -97, -97, -97, -97, -97, -97, -97, - -97, -97, -97, -97, -97, -97, -97, -97, 98, -97, - -97, -97, -97, -97, -97, -97, -97, -97 - }, - - { - 11, -98, 99, 99, 99, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -98, -98 - }, - - { - 11, -99, -99, -99, -99, -99, -99, -99, -99, -99, - -99, -99, -99, -99, -99, -99, -99, -99, -99, -99, - -99, -99, -99, -99, -99, -99, -99, -99 - - }, - - } ; - - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 28 -#define YY_END_OF_BUFFER 29 -static yyconst short int yy_accept[100] = - { 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 29, 4, 5, 5, 27, 4, 27, 11, 12, 12, - 9, 27, 15, 10, 13, 27, 18, 16, 17, 17, - 27, 27, 22, 23, 23, 27, 27, 21, 26, 27, - 4, 0, 5, 0, 2, 3, 0, 2, 0, 4, - 11, 12, 9, 14, 0, 0, 18, 16, 17, 0, - 19, 0, 20, 22, 23, 0, 24, 0, 25, 21, - 0, 0, 0, 0, 3, 0, 0, 8, 0, 0, - 1, 9, 21, 0, 0, 0, 0, 2, 0, 0, - 0, 3, 0, 0, 6, 0, 0, 0, 7 - - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 2, 4, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 5, 6, 1, 1, 1, 1, 7, 1, - 1, 1, 1, 1, 8, 9, 10, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 1, 11, - 12, 13, 14, 1, 15, 15, 16, 17, 18, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 19, 20, - 15, 15, 15, 21, 15, 15, 15, 15, 22, 15, - 1, 1, 1, 1, 9, 1, 15, 15, 16, 17, - - 18, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 19, 20, 15, 15, 15, 21, 15, 15, 15, 15, - 22, 15, 23, 1, 24, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 25, 1, 1, 1, - 26, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 27, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -#define YY_RESTORE_YY_MORE_OFFSET -char *yytext; -#line 1 "scan.l" -#define INITIAL 0 -/* %option yylineno */ -#line 5 "scan.l" -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: scan.l,v 1.27 2004/04/26 12:34:10 bbos Exp $ - **/ -#include <config.h> -#include <assert.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRDUP -# include "strdup.e" -# endif -#endif -#include <stdlib.h> -#include <ctype.h> -#include "export.h" -#include "types.e" -#include "heap.e" -#include "html.h" -#include "errexit.e" - - -EXPORT extern FILE *yyin; -EXPORT int yylineno = 1; - -typedef struct _Stack { - YY_BUFFER_STATE buf; - FILE *f; - struct _Stack *next; -} *Stack; - -static Stack stack = NULL; - - -/* include_file -- stack current file and switch to another one */ -EXPORT void include_file(FILE *f) -{ - Stack h; - - new(h); - h->buf = YY_CURRENT_BUFFER; - h->f = f; - h->next = stack; - stack = h; - yy_switch_to_buffer(yy_create_buffer(f, YY_BUF_SIZE)); -} - -/* pop_file -- back to previous input file */ -static Boolean pop_file(void) -{ - Stack h; - - if (!stack) { - return False; - } else { - h = stack; - yy_delete_buffer(YY_CURRENT_BUFFER); - fclose(h->f); - yy_switch_to_buffer(h->buf); - stack = h->next; - dispose(h); - return True; - } -} - -/* esc -- remove outer quotes, escape ", remove \n, return malloc'ed string */ -static unsigned char* esc(unsigned char* s) -{ - int i, j; - unsigned char *u; - - /* Find new length */ - for (i = 0, j = 1; s[j] != s[0]; i++, j++) { - if (s[j] == '"') i+= 4; - } - /* Copy and expand */ - u = malloc(i + 1); - if (!u) errexit("Out of memory\n"); - for (i = 0, j = 1; s[j] != s[0]; i++, j++) { - if (s[j] == '"') {strcpy(u + i, """); i += 4;} - else if (s[j] == '\n') u[i] = ' '; /* \n */ - else if (s[j] == '\r' && s[j+1] == '\n') {u[i] = ' '; j++;} /* \r\n */ - else if (s[j] == '\r') {u[i] = ' ';} /* \r */ - else u[i] = s[j]; - } - u[i] = '\0'; - return u; -} - -/* strndup -- allocate a string, copy n characters into it and add \0 */ -static unsigned char* u_strndup(const unsigned char *s, size_t n) -{ - unsigned char *t = malloc(n + 1); - if (!t) errexit("Out of memory\n"); - strncpy(t, s, n); - t[n] = '\0'; - return t; -} - -/* lns -- count newlines */ -static void lns(const unsigned char *s) -{ - while (*s) { - if (*s == '\n') yylineno++; - else if (*s != '\r') ; - else if (*(s+1) == '\n') {yylineno++; s++;} - else yylineno++; - s++; - } -} - -/* thing is rather too permissive, but it will accept <img src=/path>... */ -#define MARKUP 1 -#define VALUE 2 -#define DECL 3 -#define INIT 4 - -#line 1112 "scan.c" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -static void yyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen YY_PROTO(( yyconst char * )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -#if YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include <stdlib.h> -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 139 "scan.l" - - - -#line 1267 "scan.c" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - while ( (yy_current_state = yy_nxt[yy_current_state][yy_ec[YY_SC_TO_UI(*yy_cp)]]) > 0 ) - { - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - - ++yy_cp; - } - - yy_current_state = -yy_current_state; - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos + 1; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 142 "scan.l" -{BEGIN(INIT); /* Byte Order Mark is ignored */} - YY_BREAK -case 2: -YY_RULE_SETUP -#line 144 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext+1); return START;} - YY_BREAK -case 3: -YY_RULE_SETUP -#line 145 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext+2); return END;} - YY_BREAK -case 4: -YY_RULE_SETUP -#line 146 "scan.l" -{yylval.s=strdup(yytext); return TEXT;} - YY_BREAK -case 5: -YY_RULE_SETUP -#line 147 "scan.l" -{yylval.s=strdup(yytext); yylineno++; return TEXT;} - YY_BREAK -case 6: -YY_RULE_SETUP -#line 148 "scan.l" -{yylval.s=u_strndup(yytext+4,yyleng-7); lns(yytext); return COMMENT;} - YY_BREAK -case 7: -YY_RULE_SETUP -#line 149 "scan.l" -{BEGIN(DECL); lns(yytext+9); return DOCTYPE;} - YY_BREAK -case 8: -YY_RULE_SETUP -#line 150 "scan.l" -{yylval.s=u_strndup(yytext+2,yyleng-3); lns(yytext); return PROCINS;} - YY_BREAK -case 9: -YY_RULE_SETUP -#line 152 "scan.l" -{yylval.s = strdup(yytext); return NAME;} - YY_BREAK -case 10: -YY_RULE_SETUP -#line 153 "scan.l" -{BEGIN(VALUE); return '=';} - YY_BREAK -case 11: -YY_RULE_SETUP -#line 154 "scan.l" -{; /* skip */} - YY_BREAK -case 12: -YY_RULE_SETUP -#line 155 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 13: -YY_RULE_SETUP -#line 156 "scan.l" -{BEGIN(INIT); return '>';} - YY_BREAK -case 14: -YY_RULE_SETUP -#line 157 "scan.l" -{BEGIN(INIT); return EMPTYEND;} - YY_BREAK -case 15: -YY_RULE_SETUP -#line 158 "scan.l" -{BEGIN(INIT); yyless(0); return '>'; /* Implicit ">" */} - YY_BREAK -case 16: -YY_RULE_SETUP -#line 160 "scan.l" -{; /* skip */} - YY_BREAK -case 17: -YY_RULE_SETUP -#line 161 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 18: -YY_RULE_SETUP -#line 162 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext); return NAME;} - YY_BREAK -case 19: -#line 164 "scan.l" -case 20: -YY_RULE_SETUP -#line 164 "scan.l" -{BEGIN(MARKUP); yylval.s=esc(yytext); lns(yytext); return STRING;} - YY_BREAK -case 21: -YY_RULE_SETUP -#line 166 "scan.l" -{yylval.s = strdup(yytext); return NAME;} - YY_BREAK -case 22: -YY_RULE_SETUP -#line 167 "scan.l" -{; /* skip */} - YY_BREAK -case 23: -YY_RULE_SETUP -#line 168 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 24: -#line 170 "scan.l" -case 25: -YY_RULE_SETUP -#line 170 "scan.l" -{lns(yytext); yylval.s = esc(yytext); return STRING;} - YY_BREAK -case 26: -YY_RULE_SETUP -#line 171 "scan.l" -{BEGIN(INIT); return '>';} - YY_BREAK -case 27: -YY_RULE_SETUP -#line 173 "scan.l" -{return *yytext; /* illegal char, in fact */} - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(MARKUP): -case YY_STATE_EOF(VALUE): -case YY_STATE_EOF(DECL): -case YY_STATE_EOF(INIT): -#line 175 "scan.l" -{if (pop_file()) return ENDINCL; else yyterminate();} - YY_BREAK -case 28: -YY_RULE_SETUP -#line 177 "scan.l" -YY_FATAL_ERROR( "flex scanner jammed" ); - YY_BREAK -#line 1480 "scan.c" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - YY_RESTORE_YY_MORE_OFFSET - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_current_buffer->yy_n_chars = yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - yy_current_state = yy_nxt[yy_current_state][(*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - yy_current_state = yy_nxt[yy_current_state][1]; - yy_is_jam = (yy_current_state <= 0); - - if ( ! yy_is_jam ) - { - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - } - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifndef YY_NO_UNPUT -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_current_buffer->yy_n_chars = - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } -#endif /* ifndef YY_NO_UNPUT */ - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - int offset = yy_c_buf_p - yytext_ptr; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - yyrestart( yyin ); - - /* fall through */ - - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - return EOF; - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + offset; - break; - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( ! b ) - return; - - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#if YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#if YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - if ( ! b ) - return; - - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) -#else -YY_BUFFER_STATE yy_scan_string( yy_str ) -yyconst char *yy_str; -#endif - { - int len; - for ( len = 0; yy_str[len]; ++len ) - ; - - return yy_scan_bytes( yy_str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -yyconst char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( yyconst char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -yyconst char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - -#ifdef YY_NEED_STRLEN -#ifdef YY_USE_PROTOS -static int yy_flex_strlen( yyconst char *s ) -#else -static int yy_flex_strlen( s ) -yyconst char *s; -#endif - { - register int n; - for ( n = 0; s[n]; ++n ) - ; - - return n; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#if YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 177 "scan.l" - -/* - * Local variables: - * mode: indented-text - * End: - */ diff --git a/arid_examples/html-xml-utils-3.0/scan.e b/arid_examples/html-xml-utils-3.0/scan.e deleted file mode 100644 index e6a0b53ec..000000000 --- a/arid_examples/html-xml-utils-3.0/scan.e +++ /dev/null @@ -1,3 +0,0 @@ - extern FILE *yyin; - int yylineno ; - void include_file(FILE *f); diff --git a/arid_examples/html-xml-utils-3.0/scan.l b/arid_examples/html-xml-utils-3.0/scan.l deleted file mode 100644 index c2cd417f0..000000000 --- a/arid_examples/html-xml-utils-3.0/scan.l +++ /dev/null @@ -1,182 +0,0 @@ -%option 8bit caseless nodefault noyywrap -/* %option yylineno */ - -%{ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: scan.l,v 1.27 2004/04/26 12:34:10 bbos Exp $ - **/ -#include <config.h> -#include <assert.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRDUP -# include "strdup.e" -# endif -#endif -#include <stdlib.h> -#include <ctype.h> -#include "export.h" -#include "types.e" -#include "heap.e" -#include "html.h" -#include "errexit.e" - - -EXPORT extern FILE *yyin; -EXPORT int yylineno = 1; - -typedef struct _Stack { - YY_BUFFER_STATE buf; - FILE *f; - struct _Stack *next; -} *Stack; - -static Stack stack = NULL; - - -/* include_file -- stack current file and switch to another one */ -EXPORT void include_file(FILE *f) -{ - Stack h; - - new(h); - h->buf = YY_CURRENT_BUFFER; - h->f = f; - h->next = stack; - stack = h; - yy_switch_to_buffer(yy_create_buffer(f, YY_BUF_SIZE)); -} - -/* pop_file -- back to previous input file */ -static Boolean pop_file(void) -{ - Stack h; - - if (!stack) { - return False; - } else { - h = stack; - yy_delete_buffer(YY_CURRENT_BUFFER); - fclose(h->f); - yy_switch_to_buffer(h->buf); - stack = h->next; - dispose(h); - return True; - } -} - -/* esc -- remove outer quotes, escape ", remove \n, return malloc'ed string */ -static unsigned char* esc(unsigned char* s) -{ - int i, j; - unsigned char *u; - - /* Find new length */ - for (i = 0, j = 1; s[j] != s[0]; i++, j++) { - if (s[j] == '"') i+= 4; - } - /* Copy and expand */ - u = malloc(i + 1); - if (!u) errexit("Out of memory\n"); - for (i = 0, j = 1; s[j] != s[0]; i++, j++) { - if (s[j] == '"') {strcpy(u + i, """); i += 4;} - else if (s[j] == '\n') u[i] = ' '; /* \n */ - else if (s[j] == '\r' && s[j+1] == '\n') {u[i] = ' '; j++;} /* \r\n */ - else if (s[j] == '\r') {u[i] = ' ';} /* \r */ - else u[i] = s[j]; - } - u[i] = '\0'; - return u; -} - -/* u_strndup -- allocate a string, copy n characters into it and add \0 */ -static unsigned char* u_strndup(const unsigned char *s, size_t n) -{ - unsigned char *t = malloc(n + 1); - if (!t) errexit("Out of memory\n"); - strncpy(t, s, n); - t[n] = '\0'; - return t; -} - -/* lns -- count newlines */ -static void lns(const unsigned char *s) -{ - while (*s) { - if (*s == '\n') yylineno++; - else if (*s != '\r') ; - else if (*(s+1) == '\n') {yylineno++; s++;} - else yylineno++; - s++; - } -} - -%} - -/* thing is rather too permissive, but it will accept <img src=/path>... */ - -delim [ \t\r\n\f="'<>] -nondelim [^ \t\r\n\f="'<>] -name [a-z0-9:._-]+|"{"[^} \t\r\n\f]*"}"[a-z0-9:._-]+ -thing {nondelim}+ -comment "<!--"([^-]|-[^-]|--[^>])*"-->" -data ([^<\r\n]|<[^a-z/?!{])+ -doctype "<!doctype"[ \t\r\n\f] -nl \n|\r\n|\r - -%s MARKUP VALUE DECL INIT - -%% - - -<INITIAL>\357\273\277 {BEGIN(INIT); /* Byte Order Mark is ignored */} - -<INITIAL,INIT>"<"{name} {BEGIN(MARKUP); yylval.s=strdup(yytext+1); return START;} -<INITIAL,INIT>"</"({name})? {BEGIN(MARKUP); yylval.s=strdup(yytext+2); return END;} -<INITIAL,INIT>{data} {yylval.s=strdup(yytext); return TEXT;} -<INITIAL,INIT>{nl} {yylval.s=strdup(yytext); yylineno++; return TEXT;} -<INITIAL,INIT>{comment} {yylval.s=u_strndup(yytext+4,yyleng-7); lns(yytext); return COMMENT;} -<INITIAL,INIT>{doctype} {BEGIN(DECL); lns(yytext+9); return DOCTYPE;} -<INITIAL,INIT>"<?"[^>]*">" {yylval.s=u_strndup(yytext+2,yyleng-3); lns(yytext); return PROCINS;} - -<MARKUP>{name} {yylval.s = strdup(yytext); return NAME;} -<MARKUP>"=" {BEGIN(VALUE); return '=';} -<MARKUP>[ \t\f]+ {; /* skip */} -<MARKUP>{nl} {yylineno++; /* skip */} -<MARKUP>">" {BEGIN(INIT); return '>';} -<MARKUP>"/>" {BEGIN(INIT); return EMPTYEND;} -<MARKUP>"<" {BEGIN(INIT); yyless(0); return '>'; /* Implicit ">" */} - -<VALUE>[ \t\f]+ {; /* skip */} -<VALUE>{nl} {yylineno++; /* skip */} -<VALUE>{thing} {BEGIN(MARKUP); yylval.s=strdup(yytext); return NAME;} -<VALUE>\"[^"]*\" | -<VALUE>\'[^']*\' {BEGIN(MARKUP); yylval.s=esc(yytext); lns(yytext); return STRING;} - -<DECL>{name} {yylval.s = strdup(yytext); return NAME;} -<DECL>[ \t\f]+ {; /* skip */} -<DECL>{nl} {yylineno++; /* skip */} -<DECL>\"[^"]*\" | -<DECL>\'[^']*\' {lns(yytext); yylval.s = esc(yytext); return STRING;} -<DECL>">" {BEGIN(INIT); return '>';} - -. {return *yytext; /* illegal char, in fact */} - -<<EOF>> {if (pop_file()) return ENDINCL; else yyterminate();} - -%% -/* - * Local variables: - * mode: indented-text - * End: - */ diff --git a/arid_examples/html-xml-utils-3.0/selector.c b/arid_examples/html-xml-utils-3.0/selector.c deleted file mode 100644 index addc42480..000000000 --- a/arid_examples/html-xml-utils-3.0/selector.c +++ /dev/null @@ -1,691 +0,0 @@ -/* - * Type definitions and a parser for CSS selectors. - * - * Only parses selectors that allow incremental rendering - * of a document. - * - * The Selector type is a linked list of simple selectors, with the - * subject at the head, and its context linked from the "context" - * field. The "combinator" field is the relation between this simple - * selector and its context. - * - * To do: backslash escapes elsewhere than in element names. - * - * Author: Bert Bos <bert@w3.org> - * Created: 8 July 2001 - * Version: $Id: selector.c,v 1.6 2003/01/21 19:44:51 bbos Exp $ - **/ - -#include <config.h> -#include <assert.h> -#include <stdlib.h> -#include <stdio.h> -#include <ctype.h> -#ifdef HAVE_STRING_H -# include <string.h> -#elif HAVE_STRINGS_H -# include <strings.h> -#endif -#include "export.h" -#include "heap.e" -#include "types.e" -#include "errexit.e" - -EXPORT typedef enum { /* Pseudo-classes */ - Root, NthChild, NthOfType, FirstChild, FirstOfType, Lang -} PseudoType; - -EXPORT typedef struct _PseudoCond { - PseudoType type; - int a, b; /* :nth-child(an+b) */ - string s; /* :lang(s) */ - struct _PseudoCond *next; -} PseudoCond; - -EXPORT typedef enum { /* =, ~=, ^=, $= *= |= */ - Exists, Equals, Includes, StartsWith, EndsWidth, Contains, LangMatch, - HasClass, HasID /* ".foo", "#foo" */ -} Operator; - -EXPORT typedef struct _AttribCond { - Operator op; - string name; /* If not HasClass/ID */ - string value; /* If op!=Exists */ - struct _AttribCond *next; -} AttribCond; - -EXPORT typedef enum { - Descendant, Child, Adjacent, Sibling -} Combinator; - -EXPORT typedef struct _SimpleSelector { - string name; /* NULL is "*" */ - AttribCond *attribs; - PseudoCond *pseudos; - Combinator combinator; /* If context not NULL */ - struct _SimpleSelector *context; -} SimpleSelector, *Selector; - -typedef enum { - INIT, SLASH, START_SIMPLE, START_CLASS, START_ID, COMMENT, - AFTER_SIMPLE, COMMENT_STAR, START_ATTR, START_PSEUDO, ESC0, - TYPE, AFTER_TYPE, ESCAPE, CLASS, ID, ATTR, AFTER_ATTR, EQ, - START_VALUE, DSTRING, SSTRING, VALUE, HASH, AFTER_VALUE, PSEUDO_R, - PSEUDO_RO, PSEUDO_ROO, PSEUDO_ROOT, PSEUDO_F, PSEUDO_FI, PSEUDO_FIR, - PSEUDO_FIRS, PSEUDO_FIRST, PSEUDO_FIRST_, PSEUDO_FIRST_C, - PSEUDO_FIRST_CH, PSEUDO_FIRST_CHI, PSEUDO_FIRST_CHIL, - PSEUDO_FIRST_CHILD, PSEUDO_FIRST_CHILD_, PSEUDO_N, PSEUDO_NT, - PSEUDO_NTH, PSEUDO_NTH_, PSEUDO_NTH_C, PSEUDO_NTH_CH, - PSEUDO_NTH_CHI, PSEUDO_NTH_CHIL, PSEUDO_NTH_CHILD, PSEUDO_NTH_CHILD_, - PSEUDO_L, PSEUDO_LA, PSEUDO_NTH_LAN, PSEUDO_NTH_LANG, PSEUDO_NTH_LANG_, - PSEUDO_NTH_O, PSEUDO_NTH_OF, PSEUDO_NTH_OF_, PSEUDO_NTH_OF_T, - PSEUDO_NTH_OF_TY, PSEUDO_NTH_OF_TYP, PSEUDO_NTH_OF_TYPE, - PSEUDO_NTH_OF_TYPE_, PSEUDO_FIRST_O, PSEUDO_FIRST_OF, - PSEUDO_FIRST_OF_, PSEUDO_FIRST_OF_T, PSEUDO_FIRST_OF_TY, - PSEUDO_FIRST_OF_TYP, PSEUDO_FIRST_OF_TYPE, END_PSEUDO, - START_INT, INT, PSEUDO_LAN, PSEUDO_LANG, PSEUDO_LANG_, LANG, - AFTER_MUL, AFTER_MUL_N, AFTER_MUL_NPLUS, PSEUDO__O, - PSEUDO__OD, PSEUDO__ODD, PSEUDO__E, - PSEUDO__EV, PSEUDO__EVE, PSEUDO__EVEN, PSEUDO__MINUS, PSEUDO__NEG - -} State; - - -/* strappc -- append a character to a malloc'ed string */ -static void strappc(string *s, unsigned char c) -{ - int len = strlen(*s); - renewarray(*s, len + 2); - (*s)[len] = c; - (*s)[len+1] = '\0'; -} - -/* pseudos_to_string -- convert pseudo-class selectors to a string */ -static string pseudos_to_string(const PseudoCond *p) -{ - string h, s = newstring(""); - unsigned char t1[30], t2[30]; - - sprintf(t1, "%d", p->a); - sprintf(t2, "%d", p->b); - switch (p->type) { - case Root: - strapp(&s, ":root", NULL); break; - case NthChild: - strapp(&s, ":nth-child(", t1, "n+", t2, ")", NULL); break; - case NthOfType: - strapp(&s, ":nth-of-type(", t1, "n+", t2, ")", NULL); break; - case Lang: - strapp(&s, ":lang(", p->s, ")", NULL); break; - case FirstChild: - strapp(&s, ":first-child", NULL); break; - case FirstOfType: - strapp(&s, ":first-of-type", NULL); break; - default: - assert(!"Cannot happen"); - } - if (p->next) { - strapp(&s, (h = pseudos_to_string(p->next)), NULL); - dispose(h); - } - return s; -} - -/* attribs_to_string -- convert attribute selectors to a string */ -static string attribs_to_string(const AttribCond *a) -{ - string h, s = newstring(""); - - /* To do: escape illegal characters */ - switch (a->op) { - case HasClass: - strapp(&s, ".", a->value, NULL); break; - case HasID: - strapp(&s, "#", a->value, NULL); break; - case Exists: - strapp(&s, "[", a->name, "]", NULL); break; - case Equals: - strapp(&s, "[", a->name, "=\"", a->value, "\"]", NULL); break; - case Includes: - strapp(&s, "[", a->name, "~=\"", a->value, "\"]", NULL); break; - case StartsWith: - strapp(&s, "[", a->name, "^=\"", a->value, "\"]", NULL); break; - case EndsWidth: - strapp(&s, "[", a->name, "$=\"", a->value, "\"]", NULL); break; - case LangMatch: - strapp(&s, "[", a->name, "|=\"", a->value, "\"]", NULL); break; - case Contains: - strapp(&s, "[", a->name, "*=\"", a->value, "\"]", NULL); break; - default: - assert(!"Cannot happen"); - } - if (a->next) { - strapp(&s, (h = attribs_to_string(a->next)), NULL); - dispose(h); - } - return s; -} - -/* selector_to_string -- convert selector back to a string */ -EXPORT string selector_to_string(const Selector selector) -{ - string h, s = newstring(""); - - strapp(&s, selector->name ? selector->name : (string)"*", NULL); - if (selector->attribs) { - h = attribs_to_string(selector->attribs); - strapp(&s, h, NULL); - dispose(h); - } - if (selector->pseudos) { - h = pseudos_to_string(selector->pseudos); - strapp(&s, h, NULL); - dispose(h); - } - if (selector->context) { - h = s; - s = selector_to_string(selector->context); - switch (selector->combinator) { - case Descendant: strapp(&s, " ", h, NULL); break; - case Child: strapp(&s, " > ", h, NULL); break; - case Adjacent: strapp(&s, " + ", h, NULL); break; - case Sibling: strapp(&s, " ~ ", h, NULL); break; - default: assert(!"Cannot happen"); - } - dispose(h); - } - return s; -} - -/* push_sel -- allocate memory for a new selector; initialize */ -static void push_sel(Selector *selector, Combinator combinator) -{ - Selector h; - - new(h); - h->name = NULL; - h->attribs = NULL; - h->pseudos = NULL; - h->context = *selector; - h->combinator = combinator; - *selector = h; -} - -/* isnmstart -- check if a character can start an identifier */ -static Boolean isnmstart(unsigned int c) -{ - return ('a' <= c && c <= 'z') - || ('A' <= c && c <= 'Z') - || (c == '_') - || (c >= '\200'); -} - -/* isnmchar -- check if a character can be inside an identifier */ -static Boolean isnmchar(unsigned int c) -{ - return ('a' <= c && c <= 'z') - || ('A' <= c && c <= 'Z') - || ('0' <= c && c <= '9') - || (c == '_') - || (c == '-') - || (c >= '\200'); -} - -/* parse_selector -- parse the selector in s */ -EXPORT Selector parse_selector(const string selector) -{ - State saved_state, state = INIT; - string s = selector; - AttribCond *attsel; - PseudoCond *pseudosel; - Selector sel = NULL; - int n, esc; - - /* To do: pseudos should be case-insensitive */ - - push_sel(&sel, Descendant); - - while (*s) { - switch (state) { - case INIT: /* Expect a simple sel */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = INIT; state = SLASH;} - else state = START_SIMPLE; - break; - case AFTER_SIMPLE: /* Expect a combinator */ - if (isspace(*s)) {s++;} - else if (*s == '/') {s++; saved_state = AFTER_SIMPLE; state=SLASH;} - else if (*s == '+') {s++; push_sel(&sel, Adjacent); state = INIT;} - else if (*s == '>') {s++; push_sel(&sel, Child); state = INIT;} - else if (*s == '~') {s++; push_sel(&sel, Sibling); state = INIT;} - else {push_sel(&sel, Descendant); state = START_SIMPLE;} - break; - case SLASH: /* Expect a '*' */ - if (*s == '*') {s++; state = COMMENT;} - else errexit("Syntax error in selector at '/'\n"); - break; - case COMMENT: /* Inside comment */ - if (*s == '*') state = COMMENT_STAR; - s++; - break; - case COMMENT_STAR: /* Maybe end comment */ - if (*s == '/') state = saved_state; - else if (*s != '*') state = COMMENT; - s++; - break; - case START_SIMPLE: /* Start simple sel */ - if (*s == '*') {s++; state = AFTER_TYPE;} /* Universal selector */ - else if (*s == '.') {s++; state = START_CLASS;} - else if (*s == '#') {s++; state = START_ID;} - else if (*s == '[') {s++; state = START_ATTR;} - else if (*s == ':') {s++; state = START_PSEUDO;} - else if (*s == '\\') {sel->name = newstring(""); s++; state=ESC0;} - else if (isnmstart(*s)) {sel->name = newstring(""); state = TYPE;} - else errexit("Syntax error at \"%c\"\n", *s); - break; - case TYPE: /* Type selector */ - if (*s == '\\') {s++; state = ESC0;} - else if (isnmchar(*s)) {strappc(&sel->name, *s); s++;} - else state = AFTER_TYPE; - break; - case ESC0: /* Just seen a '\' */ - if (isxdigit(*s)) {esc = 0; state = ESCAPE;} - else {strappc(&sel->name, *s); s++; state = TYPE;} - break; - case ESCAPE: /* Hex escape */ - if ('a' <= *s && *s <= 'f') {esc = 16 * esc + *s - 'a' + 10; s++;} - else if ('A'<=*s && *s<='F') {esc = 16 * esc + *s - 'A' + 10; s++;} - else if ('0'<=*s && *s<='9') {esc = 16 * esc + *s - '0'; s++;} - else if (isspace(*s)) {strappc(&sel->name, esc); s++; state=TYPE;} - else {strappc(&sel->name, esc); state = TYPE;} - break; - case AFTER_TYPE: /* After a type sel */ - if (*s == '.') {s++; state = START_CLASS;} - else if (*s == '#') {s++; state = START_ID;} - else if (*s == '[') {s++; state = START_ATTR;} - else if (*s == ':') {s++; state = START_PSEUDO;} - else state = AFTER_SIMPLE; - break; - case START_CLASS: /* Just seen a '.' */ - if (isnmstart(*s)) { - new(attsel); - attsel->op = HasClass; - attsel->value = newstring(""); - attsel->next = sel->attribs; - sel->attribs = attsel; - strappc(&sel->attribs->value, *s); - s++; - state = CLASS; - } else errexit("Expected letter instead of \"%c\" after \".\"",*s); - break; - case CLASS: /* Inside class name */ - if (isnmchar(*s)) {strappc(&sel->attribs->value, *s); s++;} - else state = AFTER_TYPE; - break; - case START_ID: /* Just seen a '#' */ - if (isnmchar(*s)) { - new(attsel); - attsel->op = HasID; - attsel->value = newstring(""); - attsel->next = sel->attribs; - sel->attribs = attsel; - strappc(&sel->attribs->value, *s); - s++; - state = ID; - } else errexit("Expected letter instead of \"%c\" after \".\"",*s); - break; - case ID: /* Inside name of ID */ - if (isnmchar(*s)) {strappc(&sel->attribs->value, *s); s++;} - else state = AFTER_TYPE; - break; - case START_ATTR: /* Just seen a '[' */ - if (isspace(*s)) s++; - else if (*s == '/') {saved_state = START_ATTR; state = SLASH; s++;} - else if (isnmstart(*s)) { - new(attsel); - attsel->name = newstring(""); - attsel->next = sel->attribs; - sel->attribs = attsel; - strappc(&sel->attribs->name, *s); - s++; - state = ATTR; - } else errexit("Expected letter instead of \"%c\" after \"[\"",*s); - break; - case ATTR: /* Inside attrib name */ - if (isnmchar(*s)) {strappc(&sel->attribs->name, *s); s++;} - else state = AFTER_ATTR; - break; - case AFTER_ATTR: - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = AFTER_ATTR; state = SLASH;} - else if (*s == ']') {s++; sel->attribs->op = Exists; state = AFTER_TYPE;} - else if (*s == '~') {s++; sel->attribs->op = Includes; state = EQ;} - else if (*s == '|') {s++; sel->attribs->op = LangMatch; state=EQ;} - else if (*s == '^') {s++; sel->attribs->op = StartsWith; state=EQ;} - else if (*s == '$') {s++; sel->attribs->op = EndsWidth; state=EQ;} - else if (*s == '*') {s++; sel->attribs->op = Contains; state = EQ;} - else {sel->attribs->op = Equals; state = EQ;} - break; - case EQ: /* Expect '=' */ - if (*s != '=') errexit("Expected '=' instead of \"%c\"", *s); - else {s++; sel->attribs->value = newstring(""); state=START_VALUE;} - break; - case START_VALUE: /* After '=' */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = START_VALUE; state=SLASH;} - else if (*s == '"') {s++; state = DSTRING;} - else if (*s == '\'') {s++; state = SSTRING;} - else if (!isnmstart(*s)) errexit("Syntax error at \"%c\"\n", *s); - else {strappc(&sel->attribs->value, *s); s++; state = VALUE;} - break; - case DSTRING: /* Inside "..." */ - if (*s == '"') {s++; state = AFTER_VALUE;} - else {strappc(&sel->attribs->value, *s); s++;} - break; - case SSTRING: /* Inside "..." */ - if (*s == '\'') {s++; state = AFTER_VALUE;} - else {strappc(&sel->attribs->value, *s); s++;} - break; - case VALUE: /* Inside keyword */ - if (isnmchar(*s)) {strappc(&sel->attribs->value, *s); s++;} - else state = AFTER_VALUE; - break; - case AFTER_VALUE: /* Expect ']' */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = AFTER_VALUE; state = HASH;} - else if (*s == ']') {s++; state = AFTER_TYPE;} - else errexit("Expected ']' instead of \"%c\"\n", *s); - break; - case START_PSEUDO: /* After ':' */ - new(pseudosel); - pseudosel->next = sel->pseudos; - sel->pseudos = pseudosel; - if (*s == 'r' || *s == 'R') {s++; state = PSEUDO_R;} - else if (*s == 'n' || *s == 'N') {s++; state = PSEUDO_N;} - else if (*s == 'f' || *s == 'F') {s++; state = PSEUDO_F;} - else if (*s == 'l' || *s == 'L') {s++; state = PSEUDO_L;} - else errexit("Unknown pseudo-class \":%c...\"\n", *s); - break; - case PSEUDO_R: /* After ':r' */ - if (*s == 'o' || *s == 'O') {s++; state = PSEUDO_RO;} - else errexit("Unknown pseudo-class \":r%c...\"\n", *s); - break; - case PSEUDO_RO: /* After ':ro' */ - if (*s == 'o' || *s == 'O') {s++; state = PSEUDO_ROO;} - else errexit("Unknown pseudo-class \":ro%c...\"\n", *s); - break; - case PSEUDO_ROO: /* After ':roo' */ - if (*s == 't' || *s == 'T') {sel->pseudos->type = Root; s++; state=PSEUDO_ROOT;} - else errexit("Unknown pseudo-class \":roo%c...\"\n", *s); - break; - case PSEUDO_ROOT: /* After ':root' */ - if (!isnmchar(*s)) state = AFTER_TYPE; - else errexit("Unknown pseudo-class \":root%c...\"\n", *s); - break; - case PSEUDO_N: /* After ':n' */ - if (*s == 't' || *s == 'T') {s++; state = PSEUDO_NT;} - else errexit("Unknown pseudo-class \":n%c...\"\n", *s); - break; - case PSEUDO_NT: /* After ':nt' */ - if (*s == 'h' || *s == 'H') {s++; state = PSEUDO_NTH;} - else errexit("Unknown pseudo-class \":nt%c...\"\n", *s); - break; - case PSEUDO_NTH: /* After ':nth' */ - if (*s == '-') {s++; state = PSEUDO_NTH_;} - else errexit("Unknown pseudo-class \":nth%c...\"\n", *s); - break; - case PSEUDO_NTH_: /* After ':nth_' */ - if (*s == 'c' || *s == 'C') {s++; state = PSEUDO_NTH_C;} - else if (*s == 'o' || *s == 'O') {s++; state = PSEUDO_NTH_O;} - else errexit("Unknown pseudo-class \":nth_%c...\"\n", *s); - break; - case PSEUDO_NTH_C: /* After ':nth_c' */ - if (*s == 'h' || *s == 'H') {s++; state = PSEUDO_NTH_CH;} - else errexit("Unknown pseudo-class \":nth_c%c...\"\n", *s); - break; - case PSEUDO_NTH_CH: /* After ':nth_ch' */ - if (*s == 'i' || *s == 'I') {s++; state = PSEUDO_NTH_CHI;} - else errexit("Unknown pseudo-class \":nth_ch%c...\"\n", *s); - break; - case PSEUDO_NTH_CHI: /* After ':nth_chi' */ - if (*s == 'l' || *s == 'L') {s++; state = PSEUDO_NTH_CHIL;} - else errexit("Unknown pseudo-class \":nth_chi%c...\"\n", *s); - break; - case PSEUDO_NTH_CHIL: /* After ':nth_chil' */ - if (*s == 'd' || *s == 'D') {s++; state = PSEUDO_NTH_CHILD;} - else errexit("Unknown pseudo-class \":nth_chil%c...\"\n", *s); - break; - case PSEUDO_NTH_CHILD: /* After ':nth_child' */ - if (*s == '(') {s++; state = PSEUDO_NTH_CHILD_;} - else errexit("Unknown pseudo-class \":nth_child%c...\"\n", *s); - break; - case PSEUDO_NTH_CHILD_: /* After ':nth_child(' */ - sel->pseudos->type = NthChild; sel->pseudos->a = 0; - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (isdigit(*s)) {saved_state = AFTER_MUL; state = START_INT;} - else if (*s == '-') {s++; state = PSEUDO__MINUS;} - else if (*s == 'o' || *s == 'O') {s++; state = PSEUDO__O;} - else if (*s == 'e' || *s == 'E') {s++; state = PSEUDO__E;} - else if (*s == 'n' || *s == 'N') {s++; sel->pseudos->a = 1; - state=AFTER_MUL_N;} - else errexit("Expected digit after \"nth-child(\" at \"%c\"\n",*s); - break; - case PSEUDO__MINUS: /* After :nth-...(- */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (isdigit(*s)) {saved_state = PSEUDO__NEG; state=START_INT;} - else if (*s == 'n' || *s == 'N') {s++; sel->pseudos->a = -1; - state=AFTER_MUL_N;} - else errexit("Expected digit after \":nth-...(\" at \"%c\"\n",*s); - break; - case PSEUDO__NEG: /* After -<num> */ - sel->pseudos->b = -sel->pseudos->b; state = AFTER_MUL; - break; - case PSEUDO__O: /* After :nth...(o */ - if (*s == 'd' || *s == 'D') {s++; state = PSEUDO__OD;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__OD: /* After :nth...(od */ - if (*s == 'd' || *s == 'D') {s++; state = PSEUDO__ODD;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__ODD: /* After :nth-...(odd */ - if (!isnmchar(*s)) {state = END_PSEUDO; - sel->pseudos->a = 2; sel->pseudos->b = 1;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__E: /* After :nth-...(e */ - if (*s == 'v' || *s == 'V') {s++; state = PSEUDO__EV;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__EV: /* After :nth-...(ev */ - if (*s == 'e' || *s == 'E') {s++; state = PSEUDO__EVE;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__EVE: /* After :nth-...(eve */ - if (*s == 'n' || *s == 'N') {s++; state = PSEUDO__EVEN;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__EVEN: /* Afte :nth-...(even */ - if (!isnmchar(*s)) {state = END_PSEUDO; - sel->pseudos->a = 2; sel->pseudos->b = 0;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case START_INT: /* At a digit */ - n = *s - '0'; s++; state = INT; - break; - case INT: /* Inside number */ - if (isdigit(*s)) {n = 10 * n + *s - '0'; s++;} - else {sel->pseudos->b = n; state = saved_state;} - break; - case AFTER_MUL: /* After "...(<num>" */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (*s == ')') {s++; state = AFTER_TYPE;} - else if (*s == 'n' || *s == 'N') {s++; state = AFTER_MUL_N; - sel->pseudos->a = sel->pseudos->b; sel->pseudos->b = 0;} - else errexit("Illegal character \"%c\"\n", *s); - break; - case AFTER_MUL_N: /* After "...(<num>N" */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (*s == '+') {s++; state = AFTER_MUL_NPLUS;} - else if (*s == ')') {s++; state = AFTER_TYPE;} - else errexit("Illegal character \"%c\"\n", *s); - break; - case AFTER_MUL_NPLUS: /* After "...(<num>N+" */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (isdigit(*s)) {saved_state = END_PSEUDO; state=START_INT;} - else errexit("Expected a digit after \"+\" at \"%c\"\n", *s); - break; - case END_PSEUDO: /* Expect ')' */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = END_PSEUDO; state = SLASH;} - else if (*s == ')') {s++; state = AFTER_TYPE;} - else errexit("Illegal character \"%c\"\n", *s); - break; - case PSEUDO_NTH_O: /* After ':nth_o' */ - if (*s == 'f' || *s == 'F') {s++; state = PSEUDO_NTH_OF;} - else errexit("Unknown pseudo-class \":nth_o%c...\"", *s); - break; - case PSEUDO_NTH_OF: /* After ':nth_of' */ - if (*s == '-') {s++; state = PSEUDO_NTH_OF_;} - else errexit("Unknown pseudo-class \":nth_of%c...\"", *s); - break; - case PSEUDO_NTH_OF_: /* After ':nth_of_' */ - if (*s == 't' || *s == 'T') {s++; state = PSEUDO_NTH_OF_T;} - else errexit("Unknown pseudo-class \":nth_of_%c...\"", *s); - break; - case PSEUDO_NTH_OF_T: /* After ':nth_of_t' */ - if (*s == 'y' || *s == 'Y') {s++; state = PSEUDO_NTH_OF_TY;} - else errexit("Unknown pseudo-class \":nth_of_t%c...\"", *s); - break; - case PSEUDO_NTH_OF_TY: /* After ':nth_of_ty' */ - if (*s == 'p' || *s == 'P') {s++; state = PSEUDO_NTH_OF_TYP;} - else errexit("Unknown pseudo-class \":nth_of_ty%c...\"", *s); - break; - case PSEUDO_NTH_OF_TYP: /* After ':nth_of_typ' */ - if (*s == 'e' || *s == 'E') {s++; state = PSEUDO_NTH_OF_TYPE;} - else errexit("Unknown pseudo-class \":nth_of_typ%c...\"", *s); - break; - case PSEUDO_NTH_OF_TYPE: /* After :nth_of_type */ - if (*s == '(') {s++; state = PSEUDO_NTH_OF_TYPE_;} - else errexit("Unknown pseudo-class \":nth_of_type%c...\"", *s); - break; - case PSEUDO_NTH_OF_TYPE_: /* After :nth_of_type( */ - sel->pseudos->type = NthChild; sel->pseudos->a = 0; - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (isdigit(*s)) {saved_state = AFTER_MUL; state = START_INT;} - else if (*s == '-') {s++; state = PSEUDO__MINUS;} - else if (*s == 'o' || *s=='O') {s++; state = PSEUDO__O;} - else if (*s == 'e' || *s=='E') {s++; state = PSEUDO__E;} - else if (*s == 'n' || *s=='N') {s++; sel->pseudos->a=1;state=AFTER_MUL_N;} - else errexit("Expected digit after \":nth-of_type(\" at \"%c\"\n",*s); - break; - case PSEUDO_F: /* After ':f' */ - if (*s == 'i' || *s == 'I') {s++; state = PSEUDO_FI;} - else errexit("Unknown pseudo-class \":f%c...\"", *s); - break; - case PSEUDO_FI: /* After ':fi' */ - if (*s == 'r' || *s == 'R') {s++; state = PSEUDO_FIR;} - else errexit("Unknown pseudo-class \":fi%c...\"", *s); - break; - case PSEUDO_FIR: /* After ':fir' */ - if (*s == 's' || *s == 'S') {s++; state = PSEUDO_FIRS;} - else errexit("Unknown pseudo-class \":fir%c...\"", *s); - break; - case PSEUDO_FIRS: /* After ':firs' */ - if (*s == 't' || *s == 'T') {s++; state = PSEUDO_FIRST;} - else errexit("Unknown pseudo-class \":firs%c...\"", *s); - break; - case PSEUDO_FIRST: /* After ':first' */ - if (*s == '-') {s++; state = PSEUDO_FIRST_;} - else errexit("Unknown pseudo-class \":first%c...\"", *s); - break; - case PSEUDO_FIRST_: /* After ':first_' */ - if (*s == 'c' || *s == 'C') {s++; state = PSEUDO_FIRST_C;} - else if (*s == 'o') {s++; state = PSEUDO_FIRST_O;} - else errexit("Unknown pseudo-class \":first_%c...\"", *s); - break; - case PSEUDO_FIRST_C: /* After ':first_c' */ - if (*s == 'h' || *s == 'H') {s++; state = PSEUDO_FIRST_CH;} - else errexit("Unknown pseudo-class \":first_c%c...\"", *s); - break; - case PSEUDO_FIRST_CH: /* After ':first_ch' */ - if (*s == 'i' || *s == 'I') {s++; state = PSEUDO_FIRST_CHI;} - else errexit("Unknown pseudo-class \":first_ch%c...\"", *s); - break; - case PSEUDO_FIRST_CHI: /* After ':first_chi' */ - if (*s == 'l' || *s == 'L') {s++; state = PSEUDO_FIRST_CHIL;} - else errexit("Unknown pseudo-class \":first_chi%c...\"", *s); - break; - case PSEUDO_FIRST_CHIL: /* After ':first_chil' */ - if (*s != 'd' && *s != 'D') errexit("Unknown pseudo-class \":first_chil%c...\"", *s); - else {sel->pseudos->type = FirstChild; s++; state = PSEUDO_FIRST_CHILD;} - break; - case PSEUDO_FIRST_CHILD: /* After ':first_child' */ - if (!isnmchar(*s)) {state = AFTER_TYPE;} - else errexit("Unknown pseudo-class \":first_child%c...\"", *s); - break; - case PSEUDO_FIRST_O: /* After ':first_o' */ - if (*s == 'f' || *s == 'F') {s++; state = PSEUDO_FIRST_OF;} - else errexit("Unknown pseudo-class \":first_o%c...\"", *s); - case PSEUDO_FIRST_OF: /* After ':first_of' */ - if (*s == '-') {s++; state = PSEUDO_FIRST_OF_;} - else errexit("Unknown pseudo-class \":first_of%c...\"", *s); - case PSEUDO_FIRST_OF_: /* After ':first_of_' */ - if (*s == 't' || *s == 'T') {s++; state = PSEUDO_FIRST_OF_T;} - else errexit("Unknown pseudo-class \":first_of_%c...\"", *s); - case PSEUDO_FIRST_OF_T: /* After ':first_of_t' */ - if (*s == 'y' || *s == 'Y') {s++; state = PSEUDO_FIRST_OF_TY;} - else errexit("Unknown pseudo-class \":first_of_t%c...\"", *s); - case PSEUDO_FIRST_OF_TY: /* After ':first_of_ty' */ - if (*s == 'p' || *s == 'P') {s++; state = PSEUDO_FIRST_OF_TYP;} - else errexit("Unknown pseudo-class \":first_of_ty%c...\"", *s); - case PSEUDO_FIRST_OF_TYP: /* After ':first_of_typ' */ - if (*s == 'e' || *s == 'E') {s++; state = PSEUDO_FIRST_OF_TYPE;} - else errexit("Unknown pseudo-class \":first_of_typ%c...\"", *s); - case PSEUDO_FIRST_OF_TYPE: /* After ':first_of_type' */ - if (!isnmchar(*s)) {sel->pseudos->type = FirstOfType; state =AFTER_TYPE;} - else errexit("Unknown pseudo-class \":first_of_type%c...\"", *s); - case PSEUDO_L: /* After ':l' */ - if (*s == 'a' || *s == 'A') {s++; state = PSEUDO_LA;} - else errexit("Unknown pseudo-class \":l%c...\"", *s); - break; - case PSEUDO_LA: /* After ':la' */ - if (*s == 'n' || *s == 'N') {s++; state = PSEUDO_LAN;} - else errexit("Unknown pseudo-class \":la%c...\"", *s); - break; - case PSEUDO_LAN: /* After ':lan' */ - if (*s == 'g' || *s == 'G') {s++; state = PSEUDO_LANG;} - else errexit("Unknown pseudo-class \":lan%c...\"", *s); - break; - case PSEUDO_LANG: /* After ':lang' */ - if (*s == '(') {s++; state = PSEUDO_LANG_;} - else errexit("Unknown pseudo-class \":lang%c...\"", *s); - break; - case PSEUDO_LANG_: /* After ':lang(' */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = PSEUDO_LANG_; state = SLASH;} - else if (!isnmstart(*s)) errexit("Incorrect \":lang(\" at \"%c\"\n", *s); - else { - sel->pseudos->type = Lang; - sel->pseudos->s = newstring(""); - strappc(&sel->pseudos->s, *s); - s++; - state = LANG; - } - break; - case LANG: /* Inside a language code */ - if (isnmchar(*s)) {strappc(&sel->pseudos->s, *s); s++;} - else state = END_PSEUDO; - break; - default: - assert(!"Cannot happen"); - } - } - return sel; -} diff --git a/arid_examples/html-xml-utils-3.0/selector.e b/arid_examples/html-xml-utils-3.0/selector.e deleted file mode 100644 index 8ade641a1..000000000 --- a/arid_examples/html-xml-utils-3.0/selector.e +++ /dev/null @@ -1,31 +0,0 @@ - typedef enum { - Root, NthChild, NthOfType, FirstChild, FirstOfType, Lang -} PseudoType; - typedef struct _PseudoCond { - PseudoType type; - int a, b; - string s; - struct _PseudoCond *next; -} PseudoCond; - typedef enum { - Exists, Equals, Includes, StartsWith, EndsWidth, Contains, LangMatch, - HasClass, HasID -} Operator; - typedef struct _AttribCond { - Operator op; - string name; - string value; - struct _AttribCond *next; -} AttribCond; - typedef enum { - Descendant, Child, Adjacent, Sibling -} Combinator; - typedef struct _SimpleSelector { - string name; - AttribCond *attribs; - PseudoCond *pseudos; - Combinator combinator; - struct _SimpleSelector *context; -} SimpleSelector, *Selector; - string selector_to_string(const Selector selector); - Selector parse_selector(const string selector); diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/help.css b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/help.css deleted file mode 100644 index c6fbb2897..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/help.css +++ /dev/null @@ -1,22 +0,0 @@ -dl { - float: left; - width: 100%; -} - -dt { - border-top: 1px solid #808080; - float: left; - font-weight: bold; - margin: 0; - padding: 1em; - width: 20%; -} - -dd { - border-top: 1px solid #808080; - float: left; - font-style: italic; - margin: 0; - padding: 1em; - width: 60%; -} diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/main.css b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/main.css deleted file mode 100644 index 952dd2156..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/main.css +++ /dev/null @@ -1,131 +0,0 @@ -@import url("help.css"); -@import url("source-viewer.css"); -@import url("tooltip.css"); - -.hidden { - display: none; -} - -a.dfn { - border-bottom: 1px dotted #00aa00; - cursor: help; -} - -a.dfn:active, a.dfn:link, a.dfn:visited { - color: #000000; - text-decoration: none; -} - -a.dfn:hover { - color: #0000ff; - text-decoration: none; -} - -body { - font-family: verdana, arial, helvetica; -} - -h1, h2, h3, h4, h5, h6 { - margin-bottom: 0.5em; -} - -h5 { - margin-top: 0.5em; -} - -div.footer { - font-size: 68%; - margin-top: 1.5em; -} - -div.percentgraph -{ - background-color: #f02020; - border: #808080 1px solid; - height: 1.3em; - magin: 0px; - padding: 0px; - width: 100px; -} - -div.percentgraph div.greenbar -{ - background-color: #00f000; - height: 1.3em; - magin: 0px; - padding: 0px; -} - -div.percentgraph div.na -{ - background-color: #eaeaea; - height: 1.3em; - magin: 0px; - padding: 0px; -} - -div.percentgraph span.text -{ - display: block; - position: absolute; - text-align: center; - width: 100px; -} - -div.separator { - height: 10px; -} - -table tr td, table tr th { - font-size: 68%; -} - -td.value table tr td { - font-size: 11px; -} - -table.percentgraph { - border: 0px; - font-size: 130%; - margin: 0px; - margin-left: auto; - margin-right: 0px; - padding: 0px; -} - -table.percentgraph tr.percentgraph { - border: 0px; - margin: 0px; - padding: 0px; -} - -table.percentgraph td.percentgraph { - border: 0px; - margin: 0px; - padding: 0px; - padding-left: 4px; -} - -table.report { - border-collapse: collapse; - width: 100%; -} - -table.report td { - border: #d0d0d0 1px solid; -} - -table.report td.heading { - background: #dcecff; - font-weight: bold; - text-align: center; -} - -table.report td.heading:hover { - background: #c0ffc0; - cursor: pointer; -} - -table.report td.value { - text-align: right; -} diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/sortabletable.css b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/sortabletable.css deleted file mode 100644 index 970e2b55c..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/sortabletable.css +++ /dev/null @@ -1,50 +0,0 @@ -.sort-table { - font: Icon; - border: 1px Solid ThreeDShadow; - background: Window; - color: WindowText; -} - -.sort-table thead { - background: ButtonFace; -} - -.sort-table td { - padding: 2px 5px; -} - -.sort-table thead td { - border: 1px solid; - border-color: ButtonHighlight ButtonShadow - ButtonShadow ButtonHighlight; - cursor: default; -} - -.sort-table thead td:active { - border-color: ButtonShadow ButtonHighlight - ButtonHighlight ButtonShadow; - padding: 3px 4px 1px 6px; -} - -.sort-table thead td[_sortType=None]:active { - border-color: ButtonHighlight ButtonShadow - ButtonShadow ButtonHighlight; - padding: 2px 5px; -} - -.sort-arrow { - width: 11px; - height: 11px; - background-position: center center; - background-repeat: no-repeat; - margin: 0 2px; -} - -.sort-arrow.descending { - background-image: url("../images/downsimple.png"); - -} - -.sort-arrow.ascending { - background-image: url("../images/upsimple.png"); -} \ No newline at end of file diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/source-viewer.css b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/source-viewer.css deleted file mode 100644 index 4b8b6aa0d..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/source-viewer.css +++ /dev/null @@ -1,74 +0,0 @@ -pre.src { - background: #ffffff; - margin-top: 0px; - margin-bottom: 0px; -} - -table.src { - border: #dcdcdc 1px solid; - font-size: 16px; -} - -td.numLine { - background: #f0f0f0; - border-right: #dcdcdc 1px solid; - padding-right: 3px; - text-align: right; -} - -td.numLineCover { - background: #80ff80; - border-right: #dcdcdc 1px solid; - padding-right: 3px; - text-align: right; -} - -td.nbHits { - background: #f0f0f0; - border-right: #dcdcdc 1px solid; - padding-right: 3px; - text-align: right; -} - -td.nbHitsCovered { - background: #80ff80; - border-right: #dcdcdc 1px solid; - padding-right: 3px; - text-align: right; -} - -td.nbHitsUncovered { - background: #ff9090; - border-right: #dcdcdc 1px solid; - font-weight: bold; - padding-right: 3px; - text-align: right; -} - -td.src { - width: 100%; -} - -span.comment { - color: #b22222; - font-style: italic; -} - -span.keyword { - color: #2020bf; - font-weight: bold; -} - -span.srcUncovered { - background: #ff9090; - font-weight: bold; -} - -span.string { - color: #2a00ff; -} - -span.text_italic { - font-size: 12px; - font-style: italic; -} diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/tooltip.css b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/tooltip.css deleted file mode 100644 index c790d8104..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/css/tooltip.css +++ /dev/null @@ -1,49 +0,0 @@ -a.hastooltip { - border-bottom: 1px dotted #00aa00; - color: #000000; - cursor: help; - font-style: normal; - position: relative; /* This is the key */ - text-decoration: none; - z-index: 24; /* What does this do? */ -} - -a.hastooltip:active { - color: #000000; - text-decoration: none; -} - -a.hastooltip:link { - color: #000000; - text-decoration: none; -} - -a.hastooltip:hover { - background-color: #a0b8ff; - color: #000000; - text-decoration: none; - z-index: 25; -} - -a.hastooltip:visited { - color: #000000; - text-decoration: none; -} - -a.hastooltip span { - display: none; -} - -a.hastooltip:hover span { - background-color: #eeeeee; - border: 1px solid #000000; - color: #000000; - display: block; - padding: 5px; - left: -15.2em; - position: absolute; - text-align: center; - text-decoration: none; - top: 2em; - width: 20em; -} diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-packages.html b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-packages.html deleted file mode 100644 index 9a3a3f3af..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-packages.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css" /> -</head> -<body> -<h5>Packages</h5> -<table width="100%"> -<tr> -<td nowrap="nowrap"><a href="frame-summary.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles.html"' target="summary">All</a></td> -</tr> -<tr> -<td nowrap="nowrap"><a href="frame-summary-test.first.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.first.html"' target="summary">test.first</a></td> -</tr> -<tr> -<td nowrap="nowrap"><a href="frame-summary-test.second.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.second.html"' target="summary">test.second</a></td> -</tr> -</table> -</body> -</html> diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles-test.first.html b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles-test.first.html deleted file mode 100644 index e47a6bbab..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles-test.first.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report Classes</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -</head> -<body> -<h5> -test.first -</h5> -<div class="separator"> </div> -<h5>Classes</h5> -<table width="100%"> -<tbody> -<tr> -<td nowrap="nowrap"><a target="summary" href="test.first.A.html">A</a> <i>(0%)</i></td> -</tr> -</tbody> -</table> -</body> -</html> diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles-test.second.html b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles-test.second.html deleted file mode 100644 index 61faf1b35..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles-test.second.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report Classes</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -</head> -<body> -<h5> -test.second -</h5> -<div class="separator"> </div> -<h5>Classes</h5> -<table width="100%"> -<tbody> -<tr> -<td nowrap="nowrap"><a target="summary" href="test.second.A.html">A</a> <i>(0%)</i></td> -</tr> -</tbody> -</table> -</body> -</html> diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles.html b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles.html deleted file mode 100644 index 3422aa9eb..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-sourcefiles.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report Classes</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -</head> -<body> -<h5> -All Packages -</h5> -<div class="separator"> </div> -<h5>Classes</h5> -<table width="100%"> -<tbody> -<tr> -<td nowrap="nowrap"><a target="summary" href="test.first.A.html">A</a> <i>(0%)</i></td> -</tr> -<tr> -<td nowrap="nowrap"><a target="summary" href="test.second.A.html">A</a> <i>(0%)</i></td> -</tr> -</tbody> -</table> -</body> -</html> diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary-test.first.html b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary-test.first.html deleted file mode 100644 index 89aca87a1..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary-test.first.html +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<link title="Style" type="text/css" rel="stylesheet" href="css/sortabletable.css"/> -<script type="text/javascript" src="js/popup.js"></script> -<script type="text/javascript" src="js/sortabletable.js"></script> -<script type="text/javascript" src="js/customsorttypes.js"></script> -</head> -<body> -<h5>Coverage Report - test.first</h5> -<div class="separator"> </div> -<table class="report" id="packageResults"> -<thead><tr> <td class="heading">Package</td> <td class="heading"># Classes</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> -<tbody> - <tr><td><a href="frame-summary-test.first.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.first.html"'>test.first</a></td><td class="value">1</td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> -</tbody> -</table> -<script type="text/javascript"> -var packageTable = new SortableTable(document.getElementById("packageResults"), - ["String", "Number", "Percentage", "Percentage", "FormattedNumber"]); -packageTable.sort(0); -</script> -<div class="separator"> </div> -<table class="report" id="classResults"> -<thead><tr> <td class="heading">Classes in this Package</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> -<tbody> - <tr><td><a href="test.first.A.html">A</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - -</tbody> -</table> -<script type="text/javascript"> -var classTable = new SortableTable(document.getElementById("classResults"), - ["String", "Percentage", "Percentage", "FormattedNumber"]); -classTable.sort(0); -</script> -<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> null on 8/10/11 5:10 PM.</div> -</body> -</html> diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary-test.second.html b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary-test.second.html deleted file mode 100644 index 3581a9e2d..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary-test.second.html +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<link title="Style" type="text/css" rel="stylesheet" href="css/sortabletable.css"/> -<script type="text/javascript" src="js/popup.js"></script> -<script type="text/javascript" src="js/sortabletable.js"></script> -<script type="text/javascript" src="js/customsorttypes.js"></script> -</head> -<body> -<h5>Coverage Report - test.second</h5> -<div class="separator"> </div> -<table class="report" id="packageResults"> -<thead><tr> <td class="heading">Package</td> <td class="heading"># Classes</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> -<tbody> - <tr><td><a href="frame-summary-test.second.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.second.html"'>test.second</a></td><td class="value">1</td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> -</tbody> -</table> -<script type="text/javascript"> -var packageTable = new SortableTable(document.getElementById("packageResults"), - ["String", "Number", "Percentage", "Percentage", "FormattedNumber"]); -packageTable.sort(0); -</script> -<div class="separator"> </div> -<table class="report" id="classResults"> -<thead><tr> <td class="heading">Classes in this Package</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> -<tbody> - <tr><td><a href="test.second.A.html">A</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - -</tbody> -</table> -<script type="text/javascript"> -var classTable = new SortableTable(document.getElementById("classResults"), - ["String", "Percentage", "Percentage", "FormattedNumber"]); -classTable.sort(0); -</script> -<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> null on 8/10/11 5:10 PM.</div> -</body> -</html> diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary.html b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary.html deleted file mode 100644 index fd471f782..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/frame-summary.html +++ /dev/null @@ -1,31 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<link title="Style" type="text/css" rel="stylesheet" href="css/sortabletable.css"/> -<script type="text/javascript" src="js/popup.js"></script> -<script type="text/javascript" src="js/sortabletable.js"></script> -<script type="text/javascript" src="js/customsorttypes.js"></script> -</head> -<body> -<h5>Coverage Report - All Packages</h5> -<div class="separator"> </div> -<table class="report" id="packageResults"> -<thead><tr> <td class="heading">Package</td> <td class="heading"># Classes</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> -<tbody> - <tr><td><b>All Packages</b></td><td class="value">2</td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/20</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - <tr><td><a href="frame-summary-test.first.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.first.html"'>test.first</a></td><td class="value">1</td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - <tr><td><a href="frame-summary-test.second.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.second.html"'>test.second</a></td><td class="value">1</td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> -</tbody> -</table> -<script type="text/javascript"> -var packageTable = new SortableTable(document.getElementById("packageResults"), - ["String", "Number", "Percentage", "Percentage", "FormattedNumber"]); -packageTable.sort(0); -</script> -<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> null on 8/10/11 5:10 PM.</div> -</body> -</html> diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/help.html b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/help.html deleted file mode 100644 index 4c518dcd3..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/help.html +++ /dev/null @@ -1,31 +0,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" xml:lang="en" lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<title>Coverage Report - Help</title> -</head> - -<body> - -<dl> - -<dt>Line Coverage</dt> -<dd>The percent of lines executed by this test run.</dd> - -<dt>Branch Coverage</dt> -<dd>The percent of branches executed by this test run.</dd> - -<dt>Complexity</dt> -<dd>Average McCabe's cyclomatic code complexity for all methods. This is basically a count of the number of different code paths in a method (incremented by 1 for each if statement, while loop, etc.)</dd> - -<dt>N/A</dt> -<dd>Line coverage and branch coverage will appear as "Not Applicable" when Cobertura can not find line number information in the .class file. This happens for stub and skeleton classes, interfaces, or when the class was not compiled with "debug=true."</dd> - -</dl> - -</body> - -</html> diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/blank.png b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/blank.png deleted file mode 100644 index cee9cd37a10ebe8d7fe6a6ed0d8d74a2889f6e9f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 144 zcmeAS@N?(olHy`uVBq!ia0vp^!ayv*$P6UUaa~gcQtTz3zOL*Scz7A*wL3%Pb^(Pr z3p^r=85p=efH0%e8j~47LAC&&5LY1m|NsA`H|O64vY1MO{DS{8Jl$^K1?2I2x;TbZ j+)DoO|34!$s|3ToYTbu_uiJV9r5HS2{an^LB{Ts5Dp4nx diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/downsimple.png b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/downsimple.png deleted file mode 100644 index 4accf927bed9f998040ada65a35695bb758c78f1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^96-#@!3-ps+W+JLDVB6cUq=Rp^(V|(yIunMk|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5XI0Jk_T>t<7-_p_o<lWUhu@*=% zmjw9*|NqZ${S+_IKn8P97srr_TS*Bm3~UVyNeL-T%wU>nv&0MrCXRCq913h|0^A-< nECO>F1soiX9N|!6VB%rmQep^;zw7l7Xas|&tDnm{r-UW|t_U_c diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/upsimple.png b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/images/upsimple.png deleted file mode 100644 index c82b76ffe2c9d41a2f38a1c1115013cc0852f522..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^96-#@!3-ps+W+JLDVB6cUq=Rp^(V|(yIunMk|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5XI0Jk_Tw7XN{{R0E<UJ0b{uxLy zmjw9*0|l<1;sqMWVD9PS7*cU7DIqB-DS<_Zf$<2#l9@9abQ&0%j2W0Z7+snp7#La7 o8CV3EXRvJoiZlvxF);BkaQicapRMMX0~*2L>FVdQ&MBb@01yl}4*&oF diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/index.html b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/index.html deleted file mode 100644 index 573719b81..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/index.html +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -</head> - -<frameset cols="20%,80%"> - <frameset rows="30%,70%"> - <frame src="frame-packages.html" name="packageList" title="All Packages"/> - <frame src="frame-sourcefiles.html" name="sourceFileList" title="All classes and interfaces (except non-static nested types)"/> - </frameset> - <frame src="frame-summary.html" name="summary" title="Package, class and interface descriptions" scrolling="yes"/> - - <noframes> - <body> - <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a frame-incapable web client.</p> - <p><a href="frame-summary.html">Click here to view a non-frame version.</a></p> - </body> - </noframes> -</frameset> - -</html> diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/customsorttypes.js b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/customsorttypes.js deleted file mode 100644 index 1fe955903..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/customsorttypes.js +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Cobertura - http://cobertura.sourceforge.net/ - * - * Copyright (C) 2005 Mark Doliner - * Copyright (C) 2005 Olivier Parent - * - * Cobertura is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, - * or (at your option) any later version. - * - * Cobertura 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 - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Cobertura; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA - */ - - - -function percentageSortType( s ) -{ - var ret; - var i = s.indexOf( "%" ); - - if (i != -1) { - s = s.substr( 0, i ); - } - ret = parseFloat(s); - if (isNaN(ret)) { - ret = -1; - } - - return ret; -} - -SortableTable.prototype.addSortType( "Percentage", percentageSortType ); - - - -// This is needed for correctly sorting numbers in different -// locales. The stock number converter only expects to sort -// numbers which use a period as a separator instead of a -// comma (like French). -function formattedNumberSortType( s ) -{ - var ret; - var i = s.indexOf(';'); - - if (i != -1) { - s = s.substring(0, i); - } - ret = parseFloat(s); - if (isNaN(ret)) { - return -1; - } - - return ret; -} - -SortableTable.prototype.addSortType( "FormattedNumber", formattedNumberSortType ); diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/popup.js b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/popup.js deleted file mode 100644 index 4a0907226..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/popup.js +++ /dev/null @@ -1,8 +0,0 @@ -var newwindow; -function popupwindow(url) -{ - newwindow=window.open(url,'name','height=500,width=500,resizable=yes,scrollbars=yes'); - if (window.focus) { - newwindow.focus() - } -} diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/sortabletable.js b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/sortabletable.js deleted file mode 100644 index 0dad65724..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/sortabletable.js +++ /dev/null @@ -1,455 +0,0 @@ - -/*----------------------------------------------------------------------------\ -| Sortable Table 1.12 | -|-----------------------------------------------------------------------------| -| Created by Erik Arvidsson | -| (http://webfx.eae.net/contact.html#erik) | -| For WebFX (http://webfx.eae.net/) | -|-----------------------------------------------------------------------------| -| A DOM 1 based script that allows an ordinary HTML table to be sortable. | -|-----------------------------------------------------------------------------| -| Copyright (c) 1998 - 2004 Erik Arvidsson | -|-----------------------------------------------------------------------------| -| This software is provided "as is", without warranty of any kind, express or | -| implied, including but not limited to the warranties of merchantability, | -| fitness for a particular purpose and noninfringement. In no event shall the | -| authors or copyright holders be liable for any claim, damages or other | -| liability, whether in an action of contract, tort or otherwise, arising | -| from, out of or in connection with the software or the use or other | -| dealings in the software. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| This software is available under the three different licenses mentioned | -| below. To use this software you must chose, and qualify, for one of those. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| The WebFX Non-Commercial License http://webfx.eae.net/license.html | -| Permits anyone the right to use the software in a non-commercial context | -| free of charge. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| The WebFX Commercial license http://webfx.eae.net/commercial.html | -| Permits the license holder the right to use the software in a commercial | -| context. Such license must be specifically obtained, however it's valid for | -| any number of implementations of the licensed software. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| GPL - The GNU General Public License http://www.gnu.org/licenses/gpl.txt | -| Permits anyone the right to use and modify the software without limitations | -| as long as proper credits are given and the original and modified source | -| code are included. Requires that the final product, software derivate from | -| the original source or any software utilizing a GPL component, such as | -| this, is also licensed under the GPL license. | -|-----------------------------------------------------------------------------| -| 2003-01-10 | First version | -| 2003-01-19 | Minor changes to the date parsing | -| 2003-01-28 | JScript 5.0 fixes (no support for 'in' operator) | -| 2003-02-01 | Sloppy typo like error fixed in getInnerText | -| 2003-07-04 | Added workaround for IE cellIndex bug. | -| 2003-11-09 | The bDescending argument to sort was not correctly working | -| | Using onclick DOM0 event if no support for addEventListener | -| | or attachEvent | -| 2004-01-13 | Adding addSortType and removeSortType which makes it a lot | -| | easier to add new, custom sort types. | -| 2004-01-27 | Switch to use descending = false as the default sort order. | -| | Change defaultDescending to suit your needs. | -| 2004-03-14 | Improved sort type None look and feel a bit | -| 2004-08-26 | Made the handling of tBody and tHead more flexible. Now you | -| | can use another tHead or no tHead, and you can chose some | -| | other tBody. | -|-----------------------------------------------------------------------------| -| Created 2003-01-10 | All changes are in the log above. | Updated 2004-08-26 | -\----------------------------------------------------------------------------*/ - - -function SortableTable(oTable, oSortTypes) { - - this.sortTypes = oSortTypes || []; - - this.sortColumn = null; - this.descending = null; - - var oThis = this; - this._headerOnclick = function (e) { - oThis.headerOnclick(e); - }; - - if (oTable) { - this.setTable( oTable ); - this.document = oTable.ownerDocument || oTable.document; - } - else { - this.document = document; - } - - - // only IE needs this - var win = this.document.defaultView || this.document.parentWindow; - this._onunload = function () { - oThis.destroy(); - }; - if (win && typeof win.attachEvent != "undefined") { - win.attachEvent("onunload", this._onunload); - } -} - -SortableTable.gecko = navigator.product == "Gecko"; -SortableTable.msie = /msie/i.test(navigator.userAgent); -// Mozilla is faster when doing the DOM manipulations on -// an orphaned element. MSIE is not -SortableTable.removeBeforeSort = SortableTable.gecko; - -SortableTable.prototype.onsort = function () {}; - -// default sort order. true -> descending, false -> ascending -SortableTable.prototype.defaultDescending = false; - -// shared between all instances. This is intentional to allow external files -// to modify the prototype -SortableTable.prototype._sortTypeInfo = {}; - -SortableTable.prototype.setTable = function (oTable) { - if ( this.tHead ) - this.uninitHeader(); - this.element = oTable; - this.setTHead( oTable.tHead ); - this.setTBody( oTable.tBodies[0] ); -}; - -SortableTable.prototype.setTHead = function (oTHead) { - if (this.tHead && this.tHead != oTHead ) - this.uninitHeader(); - this.tHead = oTHead; - this.initHeader( this.sortTypes ); -}; - -SortableTable.prototype.setTBody = function (oTBody) { - this.tBody = oTBody; -}; - -SortableTable.prototype.setSortTypes = function ( oSortTypes ) { - if ( this.tHead ) - this.uninitHeader(); - this.sortTypes = oSortTypes || []; - if ( this.tHead ) - this.initHeader( this.sortTypes ); -}; - -// adds arrow containers and events -// also binds sort type to the header cells so that reordering columns does -// not break the sort types -SortableTable.prototype.initHeader = function (oSortTypes) { - if (!this.tHead) return; - var cells = this.tHead.rows[0].cells; - var doc = this.tHead.ownerDocument || this.tHead.document; - this.sortTypes = oSortTypes || []; - var l = cells.length; - var img, c; - for (var i = 0; i < l; i++) { - c = cells[i]; - if (this.sortTypes[i] != null && this.sortTypes[i] != "None") { - img = doc.createElement("IMG"); - img.src = "images/blank.png"; - c.appendChild(img); - if (this.sortTypes[i] != null) - c._sortType = this.sortTypes[i]; - if (typeof c.addEventListener != "undefined") - c.addEventListener("click", this._headerOnclick, false); - else if (typeof c.attachEvent != "undefined") - c.attachEvent("onclick", this._headerOnclick); - else - c.onclick = this._headerOnclick; - } - else - { - c.setAttribute( "_sortType", oSortTypes[i] ); - c._sortType = "None"; - } - } - this.updateHeaderArrows(); -}; - -// remove arrows and events -SortableTable.prototype.uninitHeader = function () { - if (!this.tHead) return; - var cells = this.tHead.rows[0].cells; - var l = cells.length; - var c; - for (var i = 0; i < l; i++) { - c = cells[i]; - if (c._sortType != null && c._sortType != "None") { - c.removeChild(c.lastChild); - if (typeof c.removeEventListener != "undefined") - c.removeEventListener("click", this._headerOnclick, false); - else if (typeof c.detachEvent != "undefined") - c.detachEvent("onclick", this._headerOnclick); - c._sortType = null; - c.removeAttribute( "_sortType" ); - } - } -}; - -SortableTable.prototype.updateHeaderArrows = function () { - if (!this.tHead) return; - var cells = this.tHead.rows[0].cells; - var l = cells.length; - var img; - for (var i = 0; i < l; i++) { - if (cells[i]._sortType != null && cells[i]._sortType != "None") { - img = cells[i].lastChild; - if (i == this.sortColumn) - img.className = "sort-arrow " + (this.descending ? "descending" : "ascending"); - else - img.className = "sort-arrow"; - } - } -}; - -SortableTable.prototype.headerOnclick = function (e) { - // find TD element - var el = e.target || e.srcElement; - while (el.tagName != "TD") - el = el.parentNode; - - this.sort(SortableTable.msie ? SortableTable.getCellIndex(el) : el.cellIndex); -}; - -// IE returns wrong cellIndex when columns are hidden -SortableTable.getCellIndex = function (oTd) { - var cells = oTd.parentNode.childNodes - var l = cells.length; - var i; - for (i = 0; cells[i] != oTd && i < l; i++) - ; - return i; -}; - -SortableTable.prototype.getSortType = function (nColumn) { - return this.sortTypes[nColumn] || "String"; -}; - -// only nColumn is required -// if bDescending is left out the old value is taken into account -// if sSortType is left out the sort type is found from the sortTypes array - -SortableTable.prototype.sort = function (nColumn, bDescending, sSortType) { - if (!this.tBody) return; - if (sSortType == null) - sSortType = this.getSortType(nColumn); - - // exit if None - if (sSortType == "None") - return; - - if (bDescending == null) { - if (this.sortColumn != nColumn) - this.descending = this.defaultDescending; - else - this.descending = !this.descending; - } - else - this.descending = bDescending; - - this.sortColumn = nColumn; - - if (typeof this.onbeforesort == "function") - this.onbeforesort(); - - var f = this.getSortFunction(sSortType, nColumn); - var a = this.getCache(sSortType, nColumn); - var tBody = this.tBody; - - a.sort(f); - - if (this.descending) - a.reverse(); - - if (SortableTable.removeBeforeSort) { - // remove from doc - var nextSibling = tBody.nextSibling; - var p = tBody.parentNode; - p.removeChild(tBody); - } - - // insert in the new order - var l = a.length; - for (var i = 0; i < l; i++) - tBody.appendChild(a[i].element); - - if (SortableTable.removeBeforeSort) { - // insert into doc - p.insertBefore(tBody, nextSibling); - } - - this.updateHeaderArrows(); - - this.destroyCache(a); - - if (typeof this.onsort == "function") - this.onsort(); -}; - -SortableTable.prototype.asyncSort = function (nColumn, bDescending, sSortType) { - var oThis = this; - this._asyncsort = function () { - oThis.sort(nColumn, bDescending, sSortType); - }; - window.setTimeout(this._asyncsort, 1); -}; - -SortableTable.prototype.getCache = function (sType, nColumn) { - if (!this.tBody) return []; - var rows = this.tBody.rows; - var l = rows.length; - var a = new Array(l); - var r; - for (var i = 0; i < l; i++) { - r = rows[i]; - a[i] = { - value: this.getRowValue(r, sType, nColumn), - element: r - }; - }; - return a; -}; - -SortableTable.prototype.destroyCache = function (oArray) { - var l = oArray.length; - for (var i = 0; i < l; i++) { - oArray[i].value = null; - oArray[i].element = null; - oArray[i] = null; - } -}; - -SortableTable.prototype.getRowValue = function (oRow, sType, nColumn) { - // if we have defined a custom getRowValue use that - if (this._sortTypeInfo[sType] && this._sortTypeInfo[sType].getRowValue) - return this._sortTypeInfo[sType].getRowValue(oRow, nColumn); - - var s; - var c = oRow.cells[nColumn]; - if (typeof c.innerText != "undefined") - s = c.innerText; - else - s = SortableTable.getInnerText(c); - return this.getValueFromString(s, sType); -}; - -SortableTable.getInnerText = function (oNode) { - var s = ""; - var cs = oNode.childNodes; - var l = cs.length; - for (var i = 0; i < l; i++) { - switch (cs[i].nodeType) { - case 1: //ELEMENT_NODE - s += SortableTable.getInnerText(cs[i]); - break; - case 3: //TEXT_NODE - s += cs[i].nodeValue; - break; - } - } - return s; -}; - -SortableTable.prototype.getValueFromString = function (sText, sType) { - if (this._sortTypeInfo[sType]) - return this._sortTypeInfo[sType].getValueFromString( sText ); - return sText; - /* - switch (sType) { - case "Number": - return Number(sText); - case "CaseInsensitiveString": - return sText.toUpperCase(); - case "Date": - var parts = sText.split("-"); - var d = new Date(0); - d.setFullYear(parts[0]); - d.setDate(parts[2]); - d.setMonth(parts[1] - 1); - return d.valueOf(); - } - return sText; - */ - }; - -SortableTable.prototype.getSortFunction = function (sType, nColumn) { - if (this._sortTypeInfo[sType]) - return this._sortTypeInfo[sType].compare; - return SortableTable.basicCompare; -}; - -SortableTable.prototype.destroy = function () { - this.uninitHeader(); - var win = this.document.parentWindow; - if (win && typeof win.detachEvent != "undefined") { // only IE needs this - win.detachEvent("onunload", this._onunload); - } - this._onunload = null; - this.element = null; - this.tHead = null; - this.tBody = null; - this.document = null; - this._headerOnclick = null; - this.sortTypes = null; - this._asyncsort = null; - this.onsort = null; -}; - -// Adds a sort type to all instance of SortableTable -// sType : String - the identifier of the sort type -// fGetValueFromString : function ( s : string ) : T - A function that takes a -// string and casts it to a desired format. If left out the string is just -// returned -// fCompareFunction : function ( n1 : T, n2 : T ) : Number - A normal JS sort -// compare function. Takes two values and compares them. If left out less than, -// <, compare is used -// fGetRowValue : function( oRow : HTMLTRElement, nColumn : int ) : T - A function -// that takes the row and the column index and returns the value used to compare. -// If left out then the innerText is first taken for the cell and then the -// fGetValueFromString is used to convert that string the desired value and type - -SortableTable.prototype.addSortType = function (sType, fGetValueFromString, fCompareFunction, fGetRowValue) { - this._sortTypeInfo[sType] = { - type: sType, - getValueFromString: fGetValueFromString || SortableTable.idFunction, - compare: fCompareFunction || SortableTable.basicCompare, - getRowValue: fGetRowValue - }; -}; - -// this removes the sort type from all instances of SortableTable -SortableTable.prototype.removeSortType = function (sType) { - delete this._sortTypeInfo[sType]; -}; - -SortableTable.basicCompare = function compare(n1, n2) { - if (n1.value < n2.value) - return -1; - if (n2.value < n1.value) - return 1; - return 0; -}; - -SortableTable.idFunction = function (x) { - return x; -}; - -SortableTable.toUpperCase = function (s) { - return s.toUpperCase(); -}; - -SortableTable.toDate = function (s) { - var parts = s.split("-"); - var d = new Date(0); - d.setFullYear(parts[0]); - d.setDate(parts[2]); - d.setMonth(parts[1] - 1); - return d.valueOf(); -}; - - -// add sort types -SortableTable.prototype.addSortType("Number", Number); -SortableTable.prototype.addSortType("CaseInsensitiveString", SortableTable.toUpperCase); -SortableTable.prototype.addSortType("Date", SortableTable.toDate); -SortableTable.prototype.addSortType("String"); -// None is a special case diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/stringbuilder.js b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/stringbuilder.js deleted file mode 100644 index 464a1cacb..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/js/stringbuilder.js +++ /dev/null @@ -1,79 +0,0 @@ -/*----------------------------------------------------------------------------\ -| String Builder 1.02 | -|-----------------------------------------------------------------------------| -| Created by Erik Arvidsson | -| (http://webfx.eae.net/contact.html#erik) | -| For WebFX (http://webfx.eae.net/) | -|-----------------------------------------------------------------------------| -| A class that allows more efficient building of strings than concatenation. | -|-----------------------------------------------------------------------------| -| Copyright (c) 1999 - 2002 Erik Arvidsson | -|-----------------------------------------------------------------------------| -| This software is provided "as is", without warranty of any kind, express or | -| implied, including but not limited to the warranties of merchantability, | -| fitness for a particular purpose and noninfringement. In no event shall the | -| authors or copyright holders be liable for any claim, damages or other | -| liability, whether in an action of contract, tort or otherwise, arising | -| from, out of or in connection with the software or the use or other | -| dealings in the software. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| This software is available under the three different licenses mentioned | -| below. To use this software you must chose, and qualify, for one of those. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| The WebFX Non-Commercial License http://webfx.eae.net/license.html | -| Permits anyone the right to use the software in a non-commercial context | -| free of charge. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| The WebFX Commercial license http://webfx.eae.net/commercial.html | -| Permits the license holder the right to use the software in a commercial | -| context. Such license must be specifically obtained, however it's valid for | -| any number of implementations of the licensed software. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| GPL - The GNU General Public License http://www.gnu.org/licenses/gpl.txt | -| Permits anyone the right to use and modify the software without limitations | -| as long as proper credits are given and the original and modified source | -| code are included. Requires that the final product, software derivate from | -| the original source or any software utilizing a GPL component, such as | -| this, is also licensed under the GPL license. | -|-----------------------------------------------------------------------------| -| 2000-10-02 | First version | -| 2000-10-05 | Added a cache of the string so that it does not need to be | -| | regenerated every time in toString | -| 2002-10-03 | Added minor improvement in the toString method | -|-----------------------------------------------------------------------------| -| Created 2000-10-02 | All changes are in the log above. | Updated 2002-10-03 | -\----------------------------------------------------------------------------*/ function StringBuilder(sString) { - - // public - this.length = 0; - - this.append = function (sString) { - // append argument - this.length += (this._parts[this._current++] = String(sString)).length; - - // reset cache - this._string = null; - return this; - }; - - this.toString = function () { - if (this._string != null) - return this._string; - - var s = this._parts.join(""); - this._parts = [s]; - this._current = 1; - this.length = s.length; - - return this._string = s; - }; - - // private - this._current = 0; - this._parts = []; - this._string = null; // used to cache the string - - // init - if (sString != null) - this.append(sString); -} diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/test.first.A.html b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/test.first.A.html deleted file mode 100644 index 3f41560ba..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/test.first.A.html +++ /dev/null @@ -1,124 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<script type="text/javascript" src="js/popup.js"></script> -</head> -<body> -<h5>Coverage Report - test.first.A</h5> -<div class="separator"> </div> -<table class="report"> -<thead><tr> <td class="heading">Classes in this File</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> - <tr><td><a href="test.first.A.html">A</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - -</table> -<div class="separator"> </div> -<table cellspacing="0" cellpadding="0" class="src"> -<tr> <td class="numLine"> 1</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment">/*</span></pre></td></tr> -<tr> <td class="numLine"> 2</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura - http://cobertura.sourceforge.net/</span></pre></td></tr> -<tr> <td class="numLine"> 3</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 4</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Copyright (C) 2006 John Lewis</span></pre></td></tr> -<tr> <td class="numLine"> 5</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 6</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Note: This file is dual licensed under the GPL and the Apache</span></pre></td></tr> -<tr> <td class="numLine"> 7</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Source License (so that it can be used from both the main</span></pre></td></tr> -<tr> <td class="numLine"> 8</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura classes and the ant tasks).</span></pre></td></tr> -<tr> <td class="numLine"> 9</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 10</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura is free software; you can redistribute it and/or modify</span></pre></td></tr> -<tr> <td class="numLine"> 11</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * it under the terms of the GNU General Public License as published</span></pre></td></tr> -<tr> <td class="numLine"> 12</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * by the Free Software Foundation; either version 2 of the License,</span></pre></td></tr> -<tr> <td class="numLine"> 13</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * or (at your option) any later version.</span></pre></td></tr> -<tr> <td class="numLine"> 14</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 15</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura is distributed in the hope that it will be useful, but</span></pre></td></tr> -<tr> <td class="numLine"> 16</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span></pre></td></tr> -<tr> <td class="numLine"> 17</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></pre></td></tr> -<tr> <td class="numLine"> 18</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * General Public License for more details.</span></pre></td></tr> -<tr> <td class="numLine"> 19</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 20</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * You should have received a copy of the GNU General Public License</span></pre></td></tr> -<tr> <td class="numLine"> 21</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * along with Cobertura; if not, write to the Free Software</span></pre></td></tr> -<tr> <td class="numLine"> 22</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307</span></pre></td></tr> -<tr> <td class="numLine"> 23</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * USA</span></pre></td></tr> -<tr> <td class="numLine"> 24</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr> -<tr> <td class="numLine"> 25</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 26</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">package</span> test.first;</pre></td></tr> -<tr> <td class="numLine"> 27</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 28</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment">/**</span></pre></td></tr> -<tr> <td class="numLine"> 29</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Simple class used in functional testing.</span></pre></td></tr> -<tr> <td class="numLine"> 30</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * </span></pre></td></tr> -<tr> <td class="numLine"> 31</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * @author John Lewis</span></pre></td></tr> -<tr> <td class="numLine"> 32</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr> -<tr> <td class="numLineCover"> 33</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">public</span> <span class="keyword">class</span> A</span></pre></td></tr> -<tr> <td class="numLine"> 34</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLine"> 35</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 36</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">void</span> call()</pre></td></tr> -<tr> <td class="numLine"> 37</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 38</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> someMethod();</span></pre></td></tr> -<tr> <td class="numLineCover"> 39</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 40</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 41</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">void</span> dontCall()</pre></td></tr> -<tr> <td class="numLine"> 42</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 43</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> someMethod();</span></pre></td></tr> -<tr> <td class="numLineCover"> 44</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 45</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 46</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">void</span> someMethod()</pre></td></tr> -<tr> <td class="numLine"> 47</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 48</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> String a = <span class="keyword">null</span>;</span></pre></td></tr> -<tr> <td class="numLineCover"> 49</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> String b = <span class="keyword">null</span>;</span></pre></td></tr> -<tr> <td class="numLine"> 50</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLineCover"> 51</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> a = b;</span></pre></td></tr> -<tr> <td class="numLineCover"> 52</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> b = a;</span></pre></td></tr> -<tr> <td class="numLineCover"> 53</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 54</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 55</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> }</pre></td></tr> -</table> - -<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> null on 8/10/11 5:10 PM.</div> -</body> -</html> diff --git a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/test.second.A.html b/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/test.second.A.html deleted file mode 100644 index da0227413..000000000 --- a/arid_examples/html-xml-utils-3.0/ss_test_data/cobertura-html/test.second.A.html +++ /dev/null @@ -1,124 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<script type="text/javascript" src="js/popup.js"></script> -</head> -<body> -<h5>Coverage Report - test.second.A</h5> -<div class="separator"> </div> -<table class="report"> -<thead><tr> <td class="heading">Classes in this File</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> - <tr><td><a href="test.second.A.html">A</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - -</table> -<div class="separator"> </div> -<table cellspacing="0" cellpadding="0" class="src"> -<tr> <td class="numLine"> 1</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment">/*</span></pre></td></tr> -<tr> <td class="numLine"> 2</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura - http://cobertura.sourceforge.net/</span></pre></td></tr> -<tr> <td class="numLine"> 3</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 4</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Copyright (C) 2006 John Lewis</span></pre></td></tr> -<tr> <td class="numLine"> 5</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 6</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Note: This file is dual licensed under the GPL and the Apache</span></pre></td></tr> -<tr> <td class="numLine"> 7</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Source License (so that it can be used from both the main</span></pre></td></tr> -<tr> <td class="numLine"> 8</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura classes and the ant tasks).</span></pre></td></tr> -<tr> <td class="numLine"> 9</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 10</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura is free software; you can redistribute it and/or modify</span></pre></td></tr> -<tr> <td class="numLine"> 11</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * it under the terms of the GNU General Public License as published</span></pre></td></tr> -<tr> <td class="numLine"> 12</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * by the Free Software Foundation; either version 2 of the License,</span></pre></td></tr> -<tr> <td class="numLine"> 13</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * or (at your option) any later version.</span></pre></td></tr> -<tr> <td class="numLine"> 14</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 15</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura is distributed in the hope that it will be useful, but</span></pre></td></tr> -<tr> <td class="numLine"> 16</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span></pre></td></tr> -<tr> <td class="numLine"> 17</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></pre></td></tr> -<tr> <td class="numLine"> 18</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * General Public License for more details.</span></pre></td></tr> -<tr> <td class="numLine"> 19</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 20</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * You should have received a copy of the GNU General Public License</span></pre></td></tr> -<tr> <td class="numLine"> 21</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * along with Cobertura; if not, write to the Free Software</span></pre></td></tr> -<tr> <td class="numLine"> 22</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307</span></pre></td></tr> -<tr> <td class="numLine"> 23</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * USA</span></pre></td></tr> -<tr> <td class="numLine"> 24</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr> -<tr> <td class="numLine"> 25</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 26</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">package</span> test.second;</pre></td></tr> -<tr> <td class="numLine"> 27</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 28</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment">/**</span></pre></td></tr> -<tr> <td class="numLine"> 29</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Simple class used in functional testing.</span></pre></td></tr> -<tr> <td class="numLine"> 30</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * </span></pre></td></tr> -<tr> <td class="numLine"> 31</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * @author John Lewis</span></pre></td></tr> -<tr> <td class="numLine"> 32</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr> -<tr> <td class="numLineCover"> 33</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">public</span> <span class="keyword">class</span> A</span></pre></td></tr> -<tr> <td class="numLine"> 34</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLine"> 35</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 36</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">void</span> call()</pre></td></tr> -<tr> <td class="numLine"> 37</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 38</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> someMethod();</span></pre></td></tr> -<tr> <td class="numLineCover"> 39</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 40</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 41</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">void</span> dontCall()</pre></td></tr> -<tr> <td class="numLine"> 42</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 43</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> someMethod();</span></pre></td></tr> -<tr> <td class="numLineCover"> 44</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 45</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 46</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">void</span> someMethod()</pre></td></tr> -<tr> <td class="numLine"> 47</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 48</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> String a = <span class="keyword">null</span>;</span></pre></td></tr> -<tr> <td class="numLineCover"> 49</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> String b = <span class="keyword">null</span>;</span></pre></td></tr> -<tr> <td class="numLine"> 50</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLineCover"> 51</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> a = b;</span></pre></td></tr> -<tr> <td class="numLineCover"> 52</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> b = a;</span></pre></td></tr> -<tr> <td class="numLineCover"> 53</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 54</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 55</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> }</pre></td></tr> -</table> - -<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> null on 8/10/11 5:10 PM.</div> -</body> -</html> diff --git a/arid_examples/html-xml-utils-3.0/stamp-h1 b/arid_examples/html-xml-utils-3.0/stamp-h1 deleted file mode 100644 index 4547fe1b5..000000000 --- a/arid_examples/html-xml-utils-3.0/stamp-h1 +++ /dev/null @@ -1 +0,0 @@ -timestamp for config.h diff --git a/arid_examples/html-xml-utils-3.0/static_ps.sh b/arid_examples/html-xml-utils-3.0/static_ps.sh deleted file mode 100755 index d9ee2e123..000000000 --- a/arid_examples/html-xml-utils-3.0/static_ps.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -make clean -./configure CPPFLAGS="-fno-stack-protector" LDFLAGS="-static" -echo -echo Making $1 -echo -make $1 -echo "-------------BEGIN PS $1.static ---------------" -echo PS_analyzing $1 -echo -$PEASOUP_HOME/tools/ps_analyze.sh $1 $1.static.protected -echo "-------------END PS $1.static ---------------" - - diff --git a/arid_examples/html-xml-utils-3.0/strdup.c b/arid_examples/html-xml-utils-3.0/strdup.c deleted file mode 100644 index 610eec8b3..000000000 --- a/arid_examples/html-xml-utils-3.0/strdup.c +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 31 Mar 2000 - * Version: $Id: strdup.c,v 1.1 2000/03/31 09:28:49 bbos Exp $ - **/ -#include <config.h> -#include <stdlib.h> -#include "export.h" - -#ifndef HAVE_STRDUP -/* strdup -- allocate a copy of a string on the heap; NULL if no memory */ -EXPORT char *strdup(const char *s) -{ - char *t; - - if ((t = malloc((strlen(s) + 1) * sizeof(*s)))) strcpy(t, s); - return t; -} -#endif /* HAVE_STRDUP */ diff --git a/arid_examples/html-xml-utils-3.0/strerror.c b/arid_examples/html-xml-utils-3.0/strerror.c deleted file mode 100644 index fd254a459..000000000 --- a/arid_examples/html-xml-utils-3.0/strerror.c +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 31 Mar 2000 - * Version: $Id: strerror.c,v 1.2 2003/01/21 19:26:03 bbos Exp $ - **/ -#include <config.h> -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#include "export.h" - -#ifndef HAVE_STRERROR -/* strerror -- return a string describing the error number */ -EXPORT char *strerror(int errnum) -{ - return errnum < sys_nerr ? sys_errlist[errnum] : "Unknown error"; -} -#endif /* HAVE_STRERROR */ diff --git a/arid_examples/html-xml-utils-3.0/strstr.c b/arid_examples/html-xml-utils-3.0/strstr.c deleted file mode 100644 index d14f56941..000000000 --- a/arid_examples/html-xml-utils-3.0/strstr.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 31 Mar 2000 - * Version: $Id: strstr.c,v 1.1 2000/03/31 09:28:49 bbos Exp $ - **/ -#include <config.h> -#include "export.h" - -#ifndef HAVE_STRSTR -EXPORT char *strstr(const char *haystack, const char *needle) -{ - char *s, *t, *u; - - if (! needle) return haystack; /* No needle */ - for (s = haystack; *s; s++) { - for (t = needle, u = s; *t == *u && *t; t++, u++); - if (! *t) return s; /* Found it */ - } - return NULL; /* Not found */ -} -#endif /* HAVE_STRSTR */ diff --git a/arid_examples/html-xml-utils-3.0/testruns/2938y.e b/arid_examples/html-xml-utils-3.0/testruns/2938y.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/325.e b/arid_examples/html-xml-utils-3.0/testruns/325.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/325809y.e b/arid_examples/html-xml-utils-3.0/testruns/325809y.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/4398hf.e b/arid_examples/html-xml-utils-3.0/testruns/4398hf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/abcde.e b/arid_examples/html-xml-utils-3.0/testruns/abcde.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/addid.c b/arid_examples/html-xml-utils-3.0/testruns/addid.c deleted file mode 100644 index 640a70d5a..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/addid.c +++ /dev/null @@ -1,223 +0,0 @@ -/* - * Add an ID to selected elements - * - * Copyright © 2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 20 Aug 2000 - * Version: $Id: addid.c,v 1.4 2003/08/07 20:57:20 bbos Exp $ - * - **/ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#include "export.h" -#include "types.e" -#include "heap.e" -#include "tree.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "errexit.e" -#include "genid.e" -#include "class.e" - -static Tree tree; -static Boolean xml = False; /* Use <empty /> convention */ -static string targetelement = NULL; /* Element to extract */ -static string targetclass = NULL; /* Class to extract */ - - -/* is_match check whether the element matches the target element and class */ -static Boolean is_match(const string name, pairlist attribs) -{ - return ((!targetelement || strcasecmp(name, targetelement) == 0) - && (!targetclass || has_class(attribs, targetclass))); -} - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last event is reported */ -EXPORT void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a tex chunk is parsed */ -EXPORT void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - tree = html_push(tree, name, attribs); - - /* If it has an ID, store it (so we don't accidentally generate it) */ - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, "id") == 0 && p->value) storeID(p->value); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - handle_starttag(clientdata, name, attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - -/* expand -- write the tree, inserting ID's at matching elements */ -static void expand(Tree t) -{ - Tree h; - pairlist a; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: printf("%s", h->text); break; - case Comment: printf("<!--%s-->", h->text); break; - case Declaration: - printf("<!DOCTYPE %s", h->name); - if (h->text) printf(" PUBLIC \"%s\"", h->text); else printf(" SYSTEM"); - if (h->url) printf(" \"%s\"", h->url); - printf(">"); - break; - case Procins: printf("<?%s>", h->text); break; - case Element: - if (is_match(h->name, h->attribs) && !get_attrib(h, "id", NULL)) - set_attrib(h, "id", gen_id(h)); - printf("<%s", h->name); - for (a = h->attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - } - if (is_empty(h->name)) { - printf(xml ? " />" : ">"); - } else { - printf(">"); - expand(h); - printf("</%s>", h->name); - } - break; - case Root: assert(! "Cannot happen"); break; - default: assert(! "Cannot happen"); - } - } -} - -/* usage -- print usage message and exit */ -static void usage(string name) -{ - errexit("Version %s\n\ -Usage: %s [-x] [--] elem|.class|elem.class [html-file]\n", - VERSION, name); -} - - -int main(int argc, char *argv[]) -{ - char * p; - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Parse command line options */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'x': xml = True; break; - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) usage(argv[0]); - if (argv[i][0] == '.') { /* Class name */ - targetclass = argv[i] + 1; - } else { /* Element name */ - targetelement = argv[i]; - if ((p = strchr(targetelement, '.'))) { - *p = '\0'; - targetclass = p + 1; - } - } - i++; - if (i == argc) yyin = stdin; - else if (i == argc - 1 && eq(argv[i], "-")) yyin = stdin; - else if (i == argc - 1) yyin = fopenurl(argv[i], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) exit(3); - - tree = get_root(tree); - expand(tree); - tree_delete(tree); /* Just to test memory mgmt */ - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/addid.e b/arid_examples/html-xml-utils-3.0/testruns/addid.e deleted file mode 100644 index ac74b3c0a..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/addid.e +++ /dev/null @@ -1,11 +0,0 @@ - void handle_error(void *clientdata, const string s, int lineno); - void* start(void); - void end(void *clientdata); - void handle_comment(void *clientdata, string commenttext); - void handle_text(void *clientdata, string text); - void handle_decl(void *clientdata, string gi, - string fpi, string url); - void handle_pi(void *clientdata, string pi_text); - void handle_starttag(void *clientdata, string name, pairlist attribs); - void handle_emptytag(void *clientdata, string name, pairlist attribs); - void handle_endtag(void *clientdata, string name); diff --git a/arid_examples/html-xml-utils-3.0/testruns/agi43.e b/arid_examples/html-xml-utils-3.0/testruns/agi43.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/ah.e b/arid_examples/html-xml-utils-3.0/testruns/ah.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aidhf.e b/arid_examples/html-xml-utils-3.0/testruns/aidhf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aioh.e b/arid_examples/html-xml-utils-3.0/testruns/aioh.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aisd.e b/arid_examples/html-xml-utils-3.0/testruns/aisd.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aishgdf.e b/arid_examples/html-xml-utils-3.0/testruns/aishgdf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aisif.e b/arid_examples/html-xml-utils-3.0/testruns/aisif.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aisudfa.e b/arid_examples/html-xml-utils-3.0/testruns/aisudfa.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aodsfah.e b/arid_examples/html-xml-utils-3.0/testruns/aodsfah.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aohasfg.e b/arid_examples/html-xml-utils-3.0/testruns/aohasfg.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aohs.e b/arid_examples/html-xml-utils-3.0/testruns/aohs.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aohsdf.e b/arid_examples/html-xml-utils-3.0/testruns/aohsdf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aohsf.e b/arid_examples/html-xml-utils-3.0/testruns/aohsf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoht.e b/arid_examples/html-xml-utils-3.0/testruns/aoht.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoih.e b/arid_examples/html-xml-utils-3.0/testruns/aoih.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoih4.e b/arid_examples/html-xml-utils-3.0/testruns/aoih4.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoihd.e b/arid_examples/html-xml-utils-3.0/testruns/aoihd.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoihdsf.e b/arid_examples/html-xml-utils-3.0/testruns/aoihdsf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoihs.e b/arid_examples/html-xml-utils-3.0/testruns/aoihs.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoijh.e b/arid_examples/html-xml-utils-3.0/testruns/aoijh.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aois.e b/arid_examples/html-xml-utils-3.0/testruns/aois.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoisdfh.e b/arid_examples/html-xml-utils-3.0/testruns/aoisdfh.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoisdfja.e b/arid_examples/html-xml-utils-3.0/testruns/aoisdfja.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoish.e b/arid_examples/html-xml-utils-3.0/testruns/aoish.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoishdf.e b/arid_examples/html-xml-utils-3.0/testruns/aoishdf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoishf.e b/arid_examples/html-xml-utils-3.0/testruns/aoishf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aos85ry.e b/arid_examples/html-xml-utils-3.0/testruns/aos85ry.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aosdfh.e b/arid_examples/html-xml-utils-3.0/testruns/aosdfh.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoshdf.e b/arid_examples/html-xml-utils-3.0/testruns/aoshdf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aoshdfa.e b/arid_examples/html-xml-utils-3.0/testruns/aoshdfa.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aosid.e b/arid_examples/html-xml-utils-3.0/testruns/aosid.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aosidffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9898989898989898989898989898989898989898989898989898989898989898989898nweorororororiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiu.e b/arid_examples/html-xml-utils-3.0/testruns/aosidffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9898989898989898989898989898989898989898989898989898989898989898989898nweorororororiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiuiu.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aosidhf.e b/arid_examples/html-xml-utils-3.0/testruns/aosidhf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aosih.e b/arid_examples/html-xml-utils-3.0/testruns/aosih.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aosihdf.e b/arid_examples/html-xml-utils-3.0/testruns/aosihdf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/aosiohfa.e b/arid_examples/html-xml-utils-3.0/testruns/aosiohfa.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/asc2xml.c b/arid_examples/html-xml-utils-3.0/testruns/asc2xml.c deleted file mode 100644 index b20db2d25..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/asc2xml.c +++ /dev/null @@ -1,116 +0,0 @@ -/* - * - * Program to convert files from ASCII or ISO-8859-1 to UTF8. - * - * Usage: - * - * asc2xml - * - * Reads from stdin and write to stdout. Converts from ASCII (in fact: - * Latin-1) (with or without &#-escapes) to UTF8, removing all - * &#-escapes, except those representing ASCII characters. - * - * Version: $Revision: 1.2 $ ($Date: 2003/01/21 19:19:31 $) - * Author: Bert Bos <bert@w3.org> - * - * Copyright © 1994-2002 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - **/ -#include <config.h> -#include <stdio.h> -#include <stdlib.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <ctype.h> - -/* putUTF8 -- write a character to stdout in UTF8 encoding */ -static void putUTF8(long c) -{ - if (c <= 0x7F) { /* Leave ASCII encoded */ - printf("&#%ld;", c); - } else if (c <= 0x07FF) { /* 110xxxxx 10xxxxxx */ - putchar(0xC0 | (c >> 6)); - putchar(0x80 | (c & 0x3F)); - } else if (c <= 0xFFFF) { /* 1110xxxx + 2 */ - putchar(0xE0 | (c >> 12)); - putchar(0x80 | ((c >> 6) & 0x3F)); - putchar(0x80 | (c & 0x3F)); - } else if (c <= 0x1FFFFF) { /* 11110xxx + 3 */ - putchar(0xF0 | (c >> 18)); - putchar(0x80 | ((c >> 12) & 0x3F)); - putchar(0x80 | ((c >> 6) & 0x3F)); - putchar(0x80 | (c & 0x3F)); - } else if (c <= 0x3FFFFFF) { /* 111110xx + 4 */ - putchar(0xF8 | (c >> 24)); - putchar(0x80 | ((c >> 18) & 0x3F)); - putchar(0x80 | ((c >> 12) & 0x3F)); - putchar(0x80 | ((c >> 6) & 0x3F)); - putchar(0x80 | (c & 0x3F)); - } else if (c <= 0x7FFFFFFF) { /* 1111110x + 5 */ - putchar(0xFC | (c >> 30)); - putchar(0x80 | ((c >> 24) & 0x3F)); - putchar(0x80 | ((c >> 18) & 0x3F)); - putchar(0x80 | ((c >> 12) & 0x3F)); - putchar(0x80 | ((c >> 6) & 0x3F)); - putchar(0x80 | (c & 0x3F)); - } else { /* Not a valid character... */ - printf("&#%ld;", c); - } -} - -/* asc2xml -- copy stdin to stdout, converting ASCII XML to UTF8 XML */ -static void asc2xml(void) -{ - long n; - int c; - while ((c = getchar()) != EOF) { - if (c > 0x7F) { /* Latin-1, non-ASCII */ - putUTF8(c); - } else if (c != '&') { /* Normal ASCII char */ - putchar(c); - } else if ((c = getchar()) == EOF) { /* '&' before EOF */ - putchar('&'); - } else if (c != '#') { /* '&' not followed by '#' */ - putchar('&'); - putchar(c); - } else if ((c = getchar()) == 'x') { /* '&#x' + hexadecimal */ - n = 0; - while (isxdigit((c = getchar()))) { - if (c <= '9') n = 16 * n + c - '0'; - else if (c <= 'F') n = 16 * n + c - 'A' + 10; - else n = 16 * n + c - 'a' + 10; - } - /* Don't check for overflow, don't check if c == ';' */ - putUTF8(n); - } else { /* '&#' + decimal */ - n = c - '0'; - while (isdigit((c = getchar()))) { - n = 10 * n + c - '0'; - } - /* Don't check for overflow, don't check if c == ';' */ - putUTF8(n); - } - } -} - -/* Print usage message, then exit */ -static void usage(char *progname) -{ - fprintf(stderr, "Version %s\nUsage: %s <infile >outfile\n", VERSION, progname); - exit(1); -} - -/* main -- main body */ -int main(int argc, char *argv[]) -{ - if (argc != 1) usage(argv[0]); - asc2xml(); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/asc2xml.e b/arid_examples/html-xml-utils-3.0/testruns/asc2xml.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/asidfu.e b/arid_examples/html-xml-utils-3.0/testruns/asidfu.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/asifh.e b/arid_examples/html-xml-utils-3.0/testruns/asifh.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/asifhu.e b/arid_examples/html-xml-utils-3.0/testruns/asifhu.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/asih.e b/arid_examples/html-xml-utils-3.0/testruns/asih.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/asoh.e b/arid_examples/html-xml-utils-3.0/testruns/asoh.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/b*.e b/arid_examples/html-xml-utils-3.0/testruns/b*.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/cexport.c b/arid_examples/html-xml-utils-3.0/testruns/cexport.c deleted file mode 100644 index af28ba0c6..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/cexport.c +++ /dev/null @@ -1,449 +0,0 @@ -/* cexport.c -- create header file of EXPORT'ed declarations from c files */ - -/* - * Author: Bert Bos <bert@let.rug.nl> - * Created: before 1995 - * Version: $Id: cexport.c,v 1.7 2003/04/09 09:39:31 bbos Exp $ - * - * C files are scanned for the keyword EXPORT. Any declaration that - * follows it is copied to a file with the extension .e. It works for - * typedefs, #defines, variables and functions, but only if ANSI - * prototypes are used. Macros are exported with EXPORTDEF(.) - * - * Examples: - * - * EXPORT typedef int * IntPtr -- export IntPtr - * - * EXPORT void walkTree(Tree t) -- export walkTree() - * - * #define max(a,b) ((a)>(b)?(a):(b)) - * EXPORTDEF(max(a,b)) -- export max(a,b) - * - * Files are first piped through the C preprocessor cpp. - * - * Command line options: - * -c <cppcmd>: use <cppcmd> instead of cpp - * -e <extension>: use <extension> instead of '.e' - * other options are passed to cpp - * - * The program is not very smart about C syntax, but it doesn't have - * to be, as long as the input is correct ANSI C. If it is not, no - * warnings will be given (except possibly for unmatched braces, - * quotes and paretheses), but the output will not be correct C, - * either. - * - * TO DO: an option to check if the new .e file is different any - * existing one and to keep the old one in that case. (Useful to save - * unnecessary recompilations.) - */ - -#include <config.h> -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <ctype.h> -#include <stdlib.h> - -#ifndef CPP -#define CPP "cc -E" -#endif - -#define LINELEN BUFSIZ - -static int err = 0; /* Global error counter */ -static char *cppcmd = CPP; -static char *extension = ".e"; - -static FILE *in, *out; -static int eof; -static int lineno; -static char line[LINELEN]; -static char *curname; - -/*************************************************************************** - * get_line -- read next line, return 0 if eof - ***************************************************************************/ -static int get_line() -{ - static char buf[BUFSIZ]; - char *s; - int i; - - do { - if (eof) - return 0; - else if (! fgets(line, LINELEN, in)) { - eof = 1; - return 0; - } else if (line[0] != '#') { - lineno++; - return 1; - } else if (line[1] == ' ') { - i = 2; while (isspace(line[i])) i++; - if (! isdigit(line[i])) { - lineno++; - return 1; - } else { - lineno = strtol(line + i, &s, 0) - 1; - if (*(s+1) != '"') { - strcpy(buf, s + 1); - buf[strlen(buf)-1] = '\0'; - } else { - strcpy(buf, s + 2); - for (i = 2; buf[i] != '"'; i++) ; - buf[i] = '\0'; - } - if (buf[0]) curname = buf; - } - } else if (line[1] == 'l' && strncmp(line, "#line", 5) == 0) { - lineno = strtol(line + 5, &s, 0) - 1; - if (*(s+1) != '"') { - strcpy(buf, s + 1); - buf[strlen(buf)-1] = '\0'; - } else { - strcpy(buf, s + 2); - for (i = 2; buf[i] != '"'; i++) ; - buf[i] = '\0'; - } - if (buf[0]) curname = buf; - } else { - lineno++; - return 1; - } - } while (1); -} - -/*************************************************************************** - * exportdef -- copy a #define to output - ***************************************************************************/ -static void exportdef(i) - int i; -{ - unsigned int len; - - /* - * TO DO: encountering an end of file should produce a suitable error - * message: end of file in middle of macro definition. - */ - - fputs("#define ", out); /* EXPORTDEF -> #define */ - - /* Unquote the following string */ - for (i += 10; line[i] && line[i] != '"'; i++) ; - for (i++; line[i] && line[i] != '"'; i++) putc(line[i], out); - putc(' ', out); - - fputs(line + i + 1, out); /* Write rest of line */ - len = strlen(line); /* Continuation lines? */ - while (len >= 2 && line[len-2] == '\\') { - if (! get_line()) break; - fputs(line, out); - len = strlen(line); - } -} - -/*************************************************************************** - * export -- copy next declaration to output - ***************************************************************************/ -static void export(i) - int *i; -{ - int brace, paren, squote, dquote, comment, stop, is_typedef; - - /* - * TO DO: End of file while any of the variables is still - * non-null is also an error. - */ - - *i += 6; /* Skip "EXPORT" */ - comment = 0; - squote = 0; - dquote = 0; - paren = 0; - brace = 0; - stop = 0; - is_typedef = 0; - do { - switch (line[*i]) { - case '\\': - if (line[*i+1]) (*i)++; /* Skip next char */ - break; - case '{': - if (!comment && !squote && !dquote && !paren) brace++; - break; - case '}': - if (!comment && !squote && !dquote && !paren) brace--; - if (brace < 0) { - fprintf(stderr, "%s:%d: syntax error (too many '}'s)\n", - curname, lineno); - err++; - brace = 0; - } - break; - case '"': - if (!comment && !squote) dquote = !dquote; - break; - case '\'': - if (!comment && !dquote) squote = !squote; - break; - case '*': - if (!comment && !dquote && !squote && *i > 0 && line[*i-1] == '/') - comment = 1; /* Start of comment */ - break; - case '/': /* Possible end of comment */ - if (comment && *i > 0 && line[*i-1] == '*') comment = 0; - break; - case '(': - if (!comment && !dquote && !squote && !brace) paren++; - break; - case ')': - if (!comment && !dquote && !squote && !brace) { - paren--; -#if 0 - if (paren == 0) { /* End of function prototype */ -#else - if (paren == 0 && !is_typedef) { - putc(')', out); - putc(';', out); - putc('\n', out); - stop = 1; -#endif - } - } - break; - case ';': - if (!comment && !dquote && !squote && !paren && !brace) { - putc(';', out); - putc('\n', out); - stop = 1; - } - break; - case '=': - if (!comment && !dquote && !squote && !brace && !paren) { - putc(';', out); /* End of variable decl. */ - putc('\n', out); - stop = 1; - } - break; - case '\n': - if (dquote) { - fprintf(stderr, - "%s:%d: syntax error (string didn't end)\n", - curname, lineno); - err++; - dquote = 0; - } - if (squote) { - fprintf(stderr, - "%s:%d: syntax error (char const didn't end)\n", - curname, lineno); - err++; - squote = 0; - } - break; - case '\0': - if (! get_line()) stop = 1; - else *i = -1; - break; - case 't': - if (!comment && !squote && !dquote && paren == 0 && brace == 0 - && strncmp("typedef", &line[*i], 7) == 0) - is_typedef = 1; - } - if (! stop) { - if (*i >= 0) putc(line[*i], out); - (*i)++; - } - } while (! stop); -} - - -/*************************************************************************** - * process -- scan file and write exported declarations - ***************************************************************************/ -static void process(file, cpp) - char *file, *cpp; -{ - char cmd[1024], *s, outname[1024]; - int brace, paren, dquote, squote, comment, i; - - strcpy(cmd, cppcmd); /* Build cpp command line */ - strcat(cmd, cpp); - if (file) strcat(cmd, file); - eof = 0; - lineno = 0; - in = popen(cmd, "r"); /* Pipe file through cpp */ - if (! in) { perror(cmd); err++; return; } - - if (file) { - strcpy(outname, file); /* Construct output file */ - s = strrchr(outname, '.'); /* Extension becomes .e */ - if (! s) s = outname + strlen(outname); - strcpy(s, extension); - out = fopen(outname, "w"); - if (! out) { perror(outname); err++; return; } - } else { - out = stdout; /* No file name, use stdout */ - } - if (file) curname = file; else curname = "<stdin>"; - - /* - * If the word EXPORT is found and it is not inside a comment, between - * quotes, parentheses or braces, the export() function is called to copy - * the declaration to the out file. When the export() function ends, `line' - * may have changed, but `i' points to the last copied character. - * - * If the word EXPORTDEF is found at the start of a line and it - * is not inside a comment or between quotes, exportdef is called. - */ - comment = 0; - dquote = 0; - squote = 0; - paren = 0; - brace = 0; - while (get_line()) { - for (i = 0; line[i]; i++) { - switch (line[i]) { - case '\\': - if (line[i+1]) i++; /* Skip next char */ - break; - case '{': - if (!comment && !dquote && !squote) brace++; - break; - case '}': - if (!comment && !dquote && !squote) brace--; - if (brace < 0) { - fprintf(stderr, "%s:%d: syntax error (too many '}'s)\n", - curname, lineno); - err++; - brace = 0; - } - break; - case '(': - if (!comment && !dquote && !squote) paren++; - break; - case ')': - if (!comment && !dquote && !squote) paren--; - if (paren < 0) { - fprintf(stderr, "%s:%d: syntax error (too many ')'s)\n", - curname, lineno); - err++; - paren = 0; - } - break; - case '\'': - if (!comment && !dquote) squote = !squote; - break; - case '"': - if (!comment && !squote) dquote = !dquote; - break; - case '\n': - if (dquote) { - fprintf(stderr, - "%s:%d: syntax error (string didn't end)\n", - curname, lineno); - err++; - dquote = 0; - } - if (squote) { - fprintf(stderr, - "%s:%d: syntax error (char const didn't end)\n", - curname, lineno); - err++; - squote = 0; - } - break; - case '*': - if (!comment && !dquote && !squote && i > 0 && line[i-1] == '/') - comment = 1; /* Start of comment */ - break; - case '/': /* Possible end of comment */ - if (comment && i > 0 && line[i-1] == '*') comment = 0; - break; - case 'E': - if (comment || dquote || squote || paren != 0 || brace != 0) - ; - else if (strncmp(&line[i], "EXPORT", 6) == 0 - && (i == 0 || !isalnum(line[i-1])) - && !isalnum(line[i+6])) - export(&i); - else if (strncmp(&line[i], "EXPORTDEF ", 10) == 0 - && (i == 0 || !isalnum(line[i-1]))) { - exportdef(i); - i = strlen(line) - 1; - } - break; - } - } - } - if (comment) { - fprintf(stderr, "%s:%d: syntax error (comment didn't end)\n", - curname, lineno); - err++; - } - if (dquote) { - fprintf(stderr, "%s:%d: syntax error (string didn't end)\n", - curname, lineno); - err++; - } - if (squote) { - fprintf(stderr, "%s:%d: syntax error (char const didn't end)\n", - curname, lineno); - err++; - } - if (file) fclose(out); - fclose(in); -} - -static void usage(s) - char *s; -{ - fprintf(stderr, - "Usage: %s {-Idir|-Dsym} [-h] [-c cppcmd] [-e ext] {file}\n", - s); - err++; -} - -int main(argc, argv) - int argc; - char *argv[]; -{ - char cpp[BUFSIZ]; /* Max. cmd. line length */ - int nfiles, i; - - strcpy(cpp, " -D__export "); - nfiles = 0; - - for (i = 1; i < argc; i++) { - if (!strncmp(argv[i], "-c", 2)) { /* Replace cpp command */ - if (argv[i][2]) - cppcmd = argv[i] + 2; - else - cppcmd = argv[++i]; - } else if (!strncmp(argv[i], "-e", 2)) { /* Extension instead of .e */ - if (argv[i][2]) - extension = argv[i] + 2; - else - extension = argv[++i]; - } else if (!strncmp(argv[i], "-h", 2)) { /* -h: help */ - usage(argv[0]); - } else if (argv[i][0] == '-' || argv[i][0] == '+') { - strcat(cpp, argv[i]); /* Pass options to cpp */ - strcat(cpp, " "); - } else { /* Not option, must be file */ - nfiles++; - process(argv[i], cpp); - } - } - if (nfiles == 0) /* no arguments, use stdin */ - process(NULL, cpp); - - return err; -} - diff --git a/arid_examples/html-xml-utils-3.0/testruns/cexport.e b/arid_examples/html-xml-utils-3.0/testruns/cexport.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/cite.c b/arid_examples/html-xml-utils-3.0/testruns/cite.c deleted file mode 100644 index 1ae20d4d0..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/cite.c +++ /dev/null @@ -1,282 +0,0 @@ -/* - * cite - adds hyperlinks to bibliographic references in HTML - * - * The programs looks for strings of the form [[name]] (i.e., a - * bibliographic label inside a double pair of square brackets), e.g., - * [[Knuth84]] or [[LieBos97]]. The label will be looked up in a - * bibliography database and if it is found, the string will be - * replaced by a pattern which is typically of the form <a - * href="...">[name]</a>, but the pattern can be changed - * with a command line option. - * - * If the label is not found, a warning is printed and the string is - * left unchanged. - * - * All labels that are found are also stored, one label per line, in a - * separate file with extension .aux. This file can be used by mkbib - * to create the bibliography by extracting the corresponding - * bibliographic entries from the database. - * - * The bibliography database must be a refer-style database. Though - * for the purposes of this program all lines that don't start with - * "%L" are ignored. Lines with "%L" are assumed to contain a label. - * - * Options: - * - * -b base - * Give the value for %b in the pattern. - * - * -p pattern - * The replacement for the string [[label]]. The default is - * - * <a href=\"%b#%L\" rel=\"biblioentry\">[%L]</a> - * - * %L will be replaced by the label, %b by the value of the -b - * option. - * - * -a auxfile - * The name of the file in which the list of labels will be stored. - * Default is the name of the file given as argument, minus its - * extension, plus ".aux". If no file is give (input comes from - * stdin), the default name is "aux.aux". - * - * -m marker - * By default, the program looks for "[[name]]", but it can be - * made to look for "[[Xname]]" where X is some string, usually a - * symbol such as '!' or ='. This allows references to be - * classified, e.g., "[[!name]]" for normative references and - * "[[name]]" for non-normative references. - * - * Copyright © 1994-2002 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 18 March 2000 - * Version: $Id: cite.c,v 1.17 2004/04/29 15:54:24 bbos Exp $ - **/ - -#include <config.h> -#include <stdlib.h> -#include <errno.h> -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "hash.e" -#endif - -#include <ctype.h> -#include "export.h" -#include "heap.e" -#include "types.e" -#include "errexit.e" - - -/* Warning: arbitrary limits! */ -#define LINESIZE 32768 -#define HASHSIZE 4096 /* Size of hash table */ - -static string base = ""; /* URL of bibilography */ -static string mark = ""; /* Flag after "'[[" */ -static size_t marklen = 0; /* Length of mark */ -static string prog; /* = argv[0] */ -static string pattern = "<a href=\"%b#%L\" rel=\"biblioentry\">[%L]</a>"; -static FILE *aux; - - -/* label_exists -- check if the label exists in the bibliographic database */ -static Boolean label_exists(const string label) -{ - ENTRY e = {label, NULL}; - - return hsearch(e, FIND) != NULL; -} - - -/* valid_label -- check if the label is well-formed */ -static Boolean valid_label(const string label) -{ - int i; - - for (i = 0; label[i]; i++) - if (! isalnum(label[i]) - && label[i] != '-' - && label[i] != '_' - && label[i] != '.') return False; - return True; -} - - -/* expand_ref -- print the reformatted reference */ -static void expand_ref(const string label) -{ - int i; - - /* ToDo: somehow allow sequence numbers for references [1], [2], etc. */ - for (i = 0; pattern[i]; i++) { - if (pattern[i] != '%') { - putchar(pattern[i]); - } else { - switch (pattern[++i]) { - case '%': putchar('%'); break; /* Literal '%' */ - case 'b': printf("%s", base); break; /* Base URL */ - case 'L': printf("%s", label); break; /* Label */ - default: break; /* Error in pattern */ - } - } - } -} - - -/* process_line -- look for citations in a line */ -EXPORT void process_line(const string text, const string fname, int lineno) -{ - string h = text, p, q, label; - - /* Loop over occurrences of "[[" + mark + label + "]]" */ - while ((p = strstr(h, "[[")) && (q = strstr(p, "]]"))) { - - while (h != p) putchar(*(h++)); /* Print text up to "[[" */ - - if (marklen == 0 || strncmp(p + 2, mark, marklen) == 0) { - - p += 2 + marklen; /* Skip "[[" + mark */ - label = newnstring(p, q - p); /* Extract the label */ - - if (! valid_label(label)) { /* Cannot be a label */ - while (h != q) putchar(*(h++)); /* Copy unchanged */ - printf("]]"); - } else if (label_exists(label)) { /* Citation found */ - expand_ref(label); /* Insert full reference */ - fprintf(aux, "%s\n", label); /* Store label */ - } else { /* Label not found: warn */ - while (h != q) putchar(*(h++)); /* Copy unchanged */ - printf("]]"); - fprintf(stderr, "%s:%d: warning: no bib entry found for %s\n", - fname ? fname : (string)"<stdin>", lineno, label); - } - dispose(label); - - } else { /* No valid mark */ - - while (h != q) putchar(*(h++)); /* Copy unchanged */ - printf("]]"); - } - h = q + 2; - } - - printf("%s", h); /* Print rest of text */ -} - - -/* parse_db -- extract all labels from the refer-style database */ -static void parse_db(const string db) -{ - unsigned char line[LINESIZE]; - FILE *f; - int e, i; - ENTRY entry; - - if (!(f = fopen(db,"r"))) errexit("%s: %s: %s\n", prog, db, strerror(errno)); - - /* Initialize the hash table */ - if (! hcreate(HASHSIZE)) errexit("%s: %s\n", prog, strerror(errno)); - - /* Search for %L lines */ - clearerr(f); - while (fgets(line, sizeof(line), f)) { - if (strncmp(line, "%L ", 3) == 0) { - for (i = strlen(line); i > 0 && isspace(line[i-1]); i--) ; - if (i > 3) { /* Ignore empty field */ - line[i] = '\0'; - entry.key = newstring(line + 3); - if (!hsearch(entry, ENTER)) errexit("%s: %s\n", prog, strerror(errno)); - } - } - } - if ((e = ferror(f))) errexit("%s: %s: %s\n", prog, db, strerror(e)); - - if (fclose(f) != 0) errexit("%s: %s: %s\n", prog, db, strerror(errno)); -} - - -/* usage -- print usage message and exit */ -static void usage(void) -{ - errexit("Version %s\n\ -Usage: %s [-b base] [-p pattern] [-a auxfile] bib-file [HTML-file]\n", - VERSION, prog); -} - - -int main(int argc, char *argv[]) -{ - unsigned char line[LINESIZE]; - string h, auxfile = NULL, dbfile = NULL, infile = NULL; - int i, e, lineno; - FILE *f; - - /* Parse command line arguments */ - prog = argv[0]; - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'b': base = argv[++i]; break; /* Set base of URL */ - case 'p': pattern = argv[++i]; break; /* Form of expanded ref */ - case 'a': auxfile = argv[++i]; break; /* Name of auxfile */ - case 'm': mark = argv[++i]; marklen = strlen(mark); break; /* After "[[" */ - default: usage(); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc || argc > i + 2) usage(); - - dbfile = argv[i++]; - if (i != argc) infile = argv[i++]; - - /* Read the labels from the bibliography database */ - parse_db(dbfile); - - /* Construct auxfile */ - if (! auxfile) { - if (infile) { - newarray(auxfile, strlen(infile) + 5); - strcpy(auxfile, infile); - if ((h = strrchr(auxfile, '.'))) *h = '\0'; - strcat(auxfile, ".aux"); - } else { - auxfile = "aux.aux"; - } - } - if (! (aux = fopen(auxfile, "w"))) - errexit("%s: %s: %s\n", prog, auxfile, strerror(errno)); - - /* Open input file or use stdin */ - f = infile ? fopen(infile, "r") : stdin; - if (!f) errexit("%s: %s: %s\n", prog, infile, strerror(errno)); - - /* Read input line by line */ - clearerr(f); - lineno = 1; - while (fgets(line, sizeof(line), f)) process_line(line, infile, lineno++); - if ((e = ferror(f))) errexit("%s: %s: %s\n", prog, argv[i], strerror(e)); - - fclose(f); - fclose(aux); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/cite.e b/arid_examples/html-xml-utils-3.0/testruns/cite.e deleted file mode 100644 index addaf0ec7..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/cite.e +++ /dev/null @@ -1 +0,0 @@ - void process_line(const string text, const string fname, int lineno); diff --git a/arid_examples/html-xml-utils-3.0/testruns/class.c b/arid_examples/html-xml-utils-3.0/testruns/class.c deleted file mode 100644 index d68fff38a..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/class.c +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Routines to check for the occurrence of a class. - * - * Author: Bert Bos <bert@w3.org> - * Created: 20 Aug 2000 - * Version: $Id: class.c,v 1.1 2000/08/20 16:31:52 bbos Exp $ - * - **/ - -#include "config.h" -#include <assert.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include <ctype.h> -#include "export.h" -#include "types.e" - - -/* contains -- check if string contains a certain word, return pointer */ -EXPORT const string contains(const string s, const string word) -{ - string t = s; - unsigned char c; - - while ((t = strstr(t, word))) { - if ((c = *(t + strlen(word))) && !isspace(c)) t++; /* Not end of word */ - else if (t != s && !isspace(*(t - 1))) t++; /* Not beginning of word */ - else return t; /* Found it */ - } - return NULL; /* Not found */ -} - -/* has_class -- check for class=word in list of attributes */ -EXPORT Boolean has_class(pairlist attribs, const string word) -{ - pairlist p; - - for (p = attribs; p; p = p->next) { - if (strcasecmp(p->name, "class") == 0 && contains(p->value, word)) - return True; - } - return False; -} - diff --git a/arid_examples/html-xml-utils-3.0/testruns/class.e b/arid_examples/html-xml-utils-3.0/testruns/class.e deleted file mode 100644 index b56afbf59..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/class.e +++ /dev/null @@ -1,2 +0,0 @@ - const string contains(const string s, const string word); - Boolean has_class(pairlist attribs, const string word); diff --git a/arid_examples/html-xml-utils-3.0/testruns/config.h b/arid_examples/html-xml-utils-3.0/testruns/config.h deleted file mode 100644 index e8473a3ba..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/config.h +++ /dev/null @@ -1,176 +0,0 @@ -/* config.h. Generated by configure. */ -/* config.h.in. Generated from configure.in by autoheader. */ - -/* Define to 1 if you have the <arpa/inet.h> header file. */ -#define HAVE_ARPA_INET_H 1 - -/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you - don't. */ -#define HAVE_DECL_STRERROR_R 1 - -/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ -/* #undef HAVE_DOPRNT */ - -/* Define to 1 if you have the <errno.h> header file. */ -#define HAVE_ERRNO_H 1 - -/* Define to 1 if you have the <fcntl.h> header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if you have the `gethostbyname' function. */ -#define HAVE_GETHOSTBYNAME 1 - -/* Define to 1 if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the <machine/ansi.h> header file. */ -/* #undef HAVE_MACHINE_ANSI_H */ - -/* Define to 1 if your system has a GNU libc compatible `malloc' function, and - to 0 otherwise. */ -#define HAVE_MALLOC 1 - -/* Define to 1 if you have the `memmove' function. */ -#define HAVE_MEMMOVE 1 - -/* Define to 1 if you have the <memory.h> header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 if you have the `memset' function. */ -#define HAVE_MEMSET 1 - -/* Define to 1 if you have the <netdb.h> header file. */ -#define HAVE_NETDB_H 1 - -/* Define to 1 if you have the <netinet/in.h> header file. */ -#define HAVE_NETINET_IN_H 1 - -/* Define to 1 if you have the `regcomp' function. */ -#define HAVE_REGCOMP 1 - -/* Define to 1 if you have the <search.h> header file. */ -#define HAVE_SEARCH_H 1 - -/* Define to 1 if you have the `socket' function. */ -#define HAVE_SOCKET 1 - -/* Define to 1 if you have the <stddef.h> header file. */ -#define HAVE_STDDEF_H 1 - -/* Define to 1 if you have the <stdint.h> header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the `strcasecmp' function. */ -#define HAVE_STRCASECMP 1 - -/* Define to 1 if you have the `strchr' function. */ -#define HAVE_STRCHR 1 - -/* Define to 1 if you have the `strcspn' function. */ -#define HAVE_STRCSPN 1 - -/* Define to 1 if you have the `strdup' function. */ -#define HAVE_STRDUP 1 - -/* Define to 1 if you have the `strerror' function. */ -#define HAVE_STRERROR 1 - -/* Define to 1 if you have the `strerror_r' function. */ -#define HAVE_STRERROR_R 1 - -/* Define to 1 if you have the <strings.h> header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the `strncasecmp' function. */ -#define HAVE_STRNCASECMP 1 - -/* Define to 1 if you have the `strndup' function. */ -#define HAVE_STRNDUP 1 - -/* Define to 1 if you have the `strrchr' function. */ -#define HAVE_STRRCHR 1 - -/* Define to 1 if you have the `strspn' function. */ -#define HAVE_STRSPN 1 - -/* Define to 1 if you have the `strstr' function. */ -#define HAVE_STRSTR 1 - -/* Define to 1 if you have the `strtol' function. */ -#define HAVE_STRTOL 1 - -/* Define to 1 if you have the <sys/socket.h> header file. */ -#define HAVE_SYS_SOCKET_H 1 - -/* Define to 1 if you have the <sys/stat.h> header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if you have the `tfind' function. */ -#define HAVE_TFIND 1 - -/* Define to 1 if you have the `tsearch' function. */ -#define HAVE_TSEARCH 1 - -/* Define to 1 if you have the `twalk' function. */ -#define HAVE_TWALK 1 - -/* Define to 1 if you have the <unistd.h> header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if you have the `vprintf' function. */ -#define HAVE_VPRINTF 1 - -/* Name of package */ -#define PACKAGE "html-xml-utils" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "" - -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define to 1 if strerror_r returns char *. */ -/* #undef STRERROR_R_CHAR_P */ - -/* Version number of package */ -#define VERSION "3.0" - -/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a - `char[]'. */ -/* #undef YYTEXT_POINTER */ - -/* Define to empty if `const' does not conform to ANSI C. */ -/* #undef const */ - -/* Define to `__inline__' or `__inline' if that's what the C compiler - calls it, or to nothing if 'inline' is not supported under any name. */ -#ifndef __cplusplus -/* #undef inline */ -#endif - -/* Define to rpl_malloc if the replacement function should be used. */ -/* #undef malloc */ - -/* Define to `unsigned' if <sys/types.h> does not define. */ -/* #undef size_t */ diff --git a/arid_examples/html-xml-utils-3.0/testruns/connectsock.c b/arid_examples/html-xml-utils-3.0/testruns/connectsock.c deleted file mode 100644 index 8794e06c7..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/connectsock.c +++ /dev/null @@ -1,136 +0,0 @@ -/* connectsock.c - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 12 May 1998 - * Version: $Id: connectsock.c,v 1.6 2003/01/21 19:26:03 bbos Exp $ - **/ - -#include <config.h> -#include <sys/types.h> -#include <sys/socket.h> -#include <netinet/in.h> -#ifdef HAVE_ARPA_INET_H -# include <arpa/inet.h> -#endif -#include <netdb.h> -#include <errno.h> -#include <stdlib.h> -#include <string.h> -#include "export.h" - -#ifndef INADDR_NONE -#define INADDR_NONE 0xffffffff -#endif - -EXPORT u_short portbase = 0; /* for non-root servers */ - - -/* connectsock -- allocate & connect a socket using TCP or UDP */ -EXPORT int connectsock(const char *host, const char *service, char *protocol) -{ - /* host = name of host to which connection is desired */ - /* service = service associated with the desired port */ - /* protocol = name of protocol to use ("tcp" or "udp") */ - struct hostent *phe; /* ptr to host info entry */ - struct servent *pse; /* ptr to service info entry */ - struct protoent *ppe; /* ptr protocol info entry */ - struct sockaddr_in sin; /* Internet endpoint address */ - int s, type; /* socket desc & socket type */ - - memset(&sin, 0, sizeof(sin)); - sin.sin_family = AF_INET; - errno = 0; - - /* Map service to port number */ - if ((pse = getservbyname(service, protocol))) - sin.sin_port = pse->s_port; - else if ((sin.sin_port = htons(atoi(service))) == 0) - { if (!errno) errno = ENOSYS; return -1; } /* can't get service entry */ - - /* Map host name to IP address, allowing for dotted decimal */ - if ((phe = gethostbyname(host))) - memcpy(&sin.sin_addr, phe->h_addr, phe->h_length); - else if ((sin.sin_addr.s_addr = inet_addr(host)) == INADDR_NONE) - { if (!errno) errno = ENXIO; return -1; } /* can't get host entry */ - - /* Map protocol name to protocol number */ - if ((ppe = getprotobyname(protocol)) == 0) return -1; - - /* Use protocol to choose a socket type */ - type = (strcmp(protocol, "udp") == 0) ? SOCK_DGRAM : SOCK_STREAM; - - /* Allocate a socket */ - if ((s = socket(PF_INET, type, ppe->p_proto)) < 0) return -1; - - /* Connect the socket */ - if (connect(s, (struct sockaddr *)&sin, sizeof(sin)) < 0) return -1; - - return s; -} - -/* connectTCP -- connect to a specified UDP service on a specified host */ -EXPORT int connectTCP(const char *host, const char *service) -{ - return connectsock(host, service, "tcp"); -} - -/* connectUDP -- connect to a specified UDP service on a specified host */ -EXPORT int connectUDP(char *host, char *service) -{ - return connectsock(host, service, "udp"); -} - -/* passivesock -- allocate & bind a server socket using TCP or UDP */ -EXPORT int passivesock(char *service, char *protocol, int qlen) -{ - /* service = service associated with the desired port */ - /* protocol = name of protocol to use ("tcp" or "udp") */ - /* qlen = maximum length of the server request queue */ - struct servent *pse; /* ptr to service info entry */ - struct protoent *ppe; /* ptr protocol info entry */ - struct sockaddr_in sin; /* Internet endpoint address */ - int s, type; /* socket desc & socket type */ - - memset(&sin, 0, sizeof(sin)); - sin.sin_family = AF_INET; - sin.sin_addr.s_addr = INADDR_ANY; - errno = 0; - - /* Map service to port number */ - if ((pse = getservbyname(service, protocol))) - sin.sin_port = htons(ntohs((u_short)pse->s_port) + portbase); - else if ((sin.sin_port = htons((u_short)atoi(service))) == 0) - { if (!errno) errno = ENOSYS; return -1; } /* can't get service entry */ - - /* Map protocol name to protocol number */ - if ((ppe = getprotobyname(protocol)) == 0) return -1; - - /* Use protocol to choose a socket type */ - type = (strcmp(protocol, "udp") == 0) ? SOCK_DGRAM : SOCK_STREAM; - - /* Allocate a socket */ - if ((s = socket(PF_INET, type, ppe->p_proto)) < 0) return -1; - - /* Bind the socket */ - if (bind(s, (struct sockaddr *)&sin, sizeof(sin)) < 0) return -1; - if (type == SOCK_STREAM && listen(s, qlen) < 0) return -1; - - return s; -} - -/* passiveTCP -- creat a passive socket for use in a TCP server */ -EXPORT int passiveTCP(char *service, int qlen) -{ - /* service = service associated with thte desired port */ - /* qlen = maximum server request queue length */ - return passivesock(service, "tcp", qlen); -} - -/* passiveUDP -- creat a passive socket for use in a UDP server */ -EXPORT int passiveUDP(char *service) -{ - return passivesock(service, "udp", 0); -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/connectsock.e b/arid_examples/html-xml-utils-3.0/testruns/connectsock.e deleted file mode 100644 index 40047d8b0..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/connectsock.e +++ /dev/null @@ -1,7 +0,0 @@ - u_short portbase ; - int connectsock(const char *host, const char *service, char *protocol); - int connectTCP(const char *host, const char *service); - int connectUDP(char *host, char *service); - int passivesock(char *service, char *protocol, int qlen); - int passiveTCP(char *service, int qlen); - int passiveUDP(char *service); diff --git a/arid_examples/html-xml-utils-3.0/testruns/count.c b/arid_examples/html-xml-utils-3.0/testruns/count.c deleted file mode 100644 index 5241b00d5..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/count.c +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Count elements and attributes. - * - * This counts occurrences of elements and element/attribute pairs. - * This is just an example of how to use the parser. - * No attempt is made to count efficiently. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos - * Created Nov 1998 - * $Id: count.c,v 1.12 2000/08/07 12:28:44 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <ctype.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRdup -# include "strdup.e" -# endif -#endif -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" - -typedef struct _pair { - char *name; - int count; -} pair; - -static pair *freq = NULL; -static int nrelems = 0; -static Boolean has_errors = False; - - -/* countstring -- add 1 to number of occurences for s (case-insensitively) */ -static void countstring(char *s) -{ - int i; - - i = 0; - while (i < nrelems && strcasecmp(freq[i].name, s) != 0) i++; - if (i == nrelems) { - nrelems++; - freq = realloc(freq, nrelems * sizeof(freq[0])); - if (freq == NULL) {fprintf(stderr, "Out of memory\n"); exit(4);} - freq[i].name = strdup(s); - freq[i].count = 0; - } - freq[i].count++; -} - -/* count -- count element types and their attributes */ -static void count(char *name, pairlist attribs) -{ - /* Count element name */ - countstring(name); - - /* Count attribute names (or rather, the strings "elem/attrib") */ - for (; attribs != NULL; attribs = attribs->next) { - char *s = malloc(strlen(name) + strlen(attribs->name) + 2); - if (s == NULL) {fprintf(stderr, "Out of memory\n"); exit(4);} - strcat(strcat(strcpy(s, name), "/"), attribs->name); - countstring(s); - free(s); - } -} - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_errors = True; -} - -/* start -- called before the first event is reported */ -void* start(void) {return NULL;} - -/* end -- called after the last event is reported */ -void end(void *clientdata) {} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) {} - -/* handle_text -- called after a tex chunk is parsed */ -void handle_text(void *clientdata, string text) {} - -/* handle_declaration -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, - string fpi, string url) {} - -/* handle_proc_instr -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) {} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - count(name, attribs); -} - -/* handle_emptytag -- called after am empty tag is parsed */ -extern void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - count(name, attribs); -} - -/* handle_pop -- called after an endtag is parsed (name may be "") */ -extern void handle_endtag(void *clientdata, string name) {} - -/* usage -- print usage message and exit */ -static void usage(string prog) -{ - fprintf(stderr, "Version %s\n", VERSION); - fprintf(stderr, "Usage: %s [html-file]\n", prog); - exit(2); -} - -/* main -- parse input, count elements and attributes of each type */ -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - if (argc == 1) yyin = stdin; - else if (argc == 2) yyin = fopenurl(argv[1], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[1]); exit(1);} - - /* Parse input */ - if (yyparse() != 0) exit(3); - - /* Print results */ - for (i = 0; i < nrelems; i++) - printf("%6d\t%s\n", freq[i].count, freq[i].name); - - return has_errors ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/count.e b/arid_examples/html-xml-utils-3.0/testruns/count.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/doiah.e b/arid_examples/html-xml-utils-3.0/testruns/doiah.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/dtd.c b/arid_examples/html-xml-utils-3.0/testruns/dtd.c deleted file mode 100644 index 0121390ef..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/dtd.c +++ /dev/null @@ -1,246 +0,0 @@ -/* C code produced by gperf version 2.7 */ -/* Command-line: gperf -a -c -C -o -t -p -T -k 1,2,$ -N lookup_element dtd.hash */ /* -*-indented-text-*- */ - -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 5 Nov 1998 - * $Id: dtd.hash,v 1.11 2003/01/21 19:48:46 bbos Exp $ - * - * Input file for gperf, to generate a perfect hash function - * for all HTML tags, and to store each element's type. - * - * mixed = element accepts text content - * empty = element is empty - * stag = start tag is required - * etag = end tag is required - * pre = element is preformatted - * break_before, break_after = pretty-print with a newline before/after the elt - * parents = array of possible parents, first one is preferred parent - * - * The DTD is strict HTML 4.0 - * - */ -#include <config.h> -#include <string.h> -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" - -#define MAXNAMELEN 10 /* Max. len. of elt. name */ -EXPORTDEF(MAXNAMELEN) - -EXPORT typedef struct _ElementType { - char *name; - Boolean mixed, empty, stag, etag, pre, break_before, break_after; - char *parents[60]; -} ElementType; - -/* lookup_element -- look up the string in the hash table */ -EXPORT const ElementType * lookup_element(register const char *str, - register unsigned int len); - - - -#define TOTAL_KEYWORDS 78 -#define MIN_WORD_LENGTH 1 -#define MAX_WORD_LENGTH 10 -#define MIN_HASH_VALUE 1 -#define MAX_HASH_VALUE 168 -/* maximum key range = 168, duplicates = 0 */ - -#ifdef __GNUC__ -__inline -#endif -static unsigned int -hash (str, len) - register const char *str; - register unsigned int len; -{ - static const unsigned char asso_values[] = - { - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 0, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 20, - 25, 35, 40, 55, 30, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 0, 25, 70, - 5, 20, 45, 30, 10, 5, 169, 45, 15, 60, - 30, 0, 80, 10, 50, 30, 0, 15, 0, 169, - 169, 15, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169 - }; - register int hval = len; - - switch (hval) - { - default: - case 2: - hval += asso_values[(unsigned char)str[1]]; - case 1: - hval += asso_values[(unsigned char)str[0]]; - break; - } - return hval + asso_values[(unsigned char)str[len - 1]]; -} - -#ifdef __GNUC__ -__inline -#endif -const ElementType * -lookup_element (str, len) - register const char *str; - register unsigned int len; -{ - static const ElementType wordlist[] = - { - {""}, - {"a", 1, 0, 1, 1, 0, 0, 0, {"p", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"tt", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, {""}, {""}, - {"dt", 1, 0, 1, 0, 0, 1, 1, {"dl", NULL}}, - {""}, {""}, - {"%data", 1, 0, 1, 0, 0, 0, 0, {"p", NULL}}, - {"i", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"td", 1, 0, 1, 0, 0, 1, 1, {"tr", NULL}}, - {"div", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, {""}, {""}, - {"dd", 1, 0, 1, 0, 0, 1, 1, {"dl", NULL}}, - {""}, {""}, - {"thead", 0, 0, 1, 0, 0, 1, 1, {"table", NULL}}, - {"q", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"th", 1, 0, 1, 0, 0, 1, 1, {"tr", NULL}}, - {""}, {""}, - {"table", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, - {"li", 1, 0, 1, 0, 0, 1, 1, {"ul", "ol", NULL}}, - {"textarea", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"html", 0, 0, 0, 0, 0, 1, 1, {NULL, NULL}}, - {"title", 1, 0, 1, 1, 0, 1, 1, {"head", NULL}}, - {"object", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"ol", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"bdo", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"label", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"dl", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"noscript", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"head", 0, 0, 0, 0, 0, 1, 1, {"html", NULL}}, - {"input", 0, 1, 1, 0, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"address", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"del", 1, 0, 1, 1, 0, 0, 0, {"p", "body", "a", "abbr", "acronym", "address", "b", "bdo", "big", "blockquote", "button", "caption", "cite", "code", "colgroup", "dd", "dfn", "div", "dl", "dt", "em", "fieldset", "form", "h1", "h2", "h3", "h4", "h5", "h6", "i", "kbd", "label", "legend", "li", "map", "noscript", "object", "ol", "optgroup", "option", "pre", "q", "samp", "select", "small", "span", "strong", "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "tt", "ul", "var", NULL}}, - {"body", 0, 0, 0, 0, 0, 1, 1, {"html", NULL}}, - {"tbody", 0, 0, 0, 0, 0, 1, 1, {"table", NULL}}, - {"legend", 1, 0, 1, 1, 0, 1, 1, {"fieldset", NULL}}, - {"ul", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, - {"base", 0, 1, 1, 0, 0, 1, 1, {"head", NULL}}, - {"tfoot", 0, 0, 1, 0, 0, 1, 1, {"table", NULL}}, - {"b", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"h1", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"var", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"area", 0, 1, 1, 0, 0, 0, 0, {"map", NULL}}, - {"style", 1, 0, 1, 1, 1, 1, 1, {"head", NULL}}, - {"select", 0, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"fieldset", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, {""}, {""}, - {"h2", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"big", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, - {"strong", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"ins", 1, 0, 1, 1, 0, 0, 0, {"p", "body", "a", "abbr", "acronym", "address", "b", "bdo", "big", "blockquote", "button", "caption", "cite", "code", "colgroup", "dd", "dfn", "div", "dl", "dt", "em", "fieldset", "form", "h1", "h2", "h3", "h4", "h5", "h6", "i", "kbd", "label", "legend", "li", "map", "noscript", "object", "ol", "optgroup", "option", "pre", "q", "samp", "select", "small", "span", "strong", "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "tt", "ul", "var", NULL}}, - {"link", 0, 1, 1, 0, 0, 1, 1, {"head", NULL}}, - {"blockquote", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, - {"h6", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"sub", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, - {"button", 1, 0, 1, 1, 0, 1, 1, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"kbd", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"abbr", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, - {"h3", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"dfn", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"meta", 0, 1, 1, 0, 0, 1, 1, {"head", NULL}}, - {""}, {""}, {""}, - {"col", 0, 1, 1, 0, 0, 0, 0, {"colgroup", "table", NULL}}, - {""}, {""}, {""}, - {"h4", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, - {"code", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, {""}, - {"img", 0, 1, 1, 0, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"cite", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, - {"tr", 0, 0, 1, 0, 0, 1, 1, {"tbody", "tfoot", "thead", NULL}}, - {""}, {""}, {""}, - {"script", 1, 0, 1, 1, 1, 0, 0, {"p", "body", "a", "abbr", "acronym", "address", "b", "bdo", "big", "blockquote", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"caption", 1, 0, 1, 1, 0, 1, 1, {"table", NULL}}, - {""}, - {"form", 0, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "dd", "del", "div", "fieldset", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {"small", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"hr", 0, 1, 1, 0, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, - {"samp", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, - {"option", 1, 0, 1, 0, 0, 1, 1, {"select", "optgroup", NULL}}, - {""}, {""}, {""}, {""}, {""}, - {"h5", 1, 0, 1, 1, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, {""}, {""}, {""}, - {"br", 0, 1, 1, 0, 0, 0, 1, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"sup", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {"acronym", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {""}, {""}, {""}, {""}, - {"em", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"map", 0, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"span", 1, 0, 1, 1, 0, 0, 0, {"p", "a", "abbr", "acronym", "address", "b", "bdo", "big", "button", "caption", "cite", "code", "dd", "del", "dfn", "div", "dt", "em", "fieldset", "h1", "h2", "h3", "h4", "h5", "h6", "i", "ins", "kbd", "label", "legend", "li", "object", "pre", "q", "samp", "small", "span", "strong", "sub", "sup", "td", "th", "tt", "var", NULL}}, - {"param", 0, 1, 1, 0, 0, 1, 1, {"object", NULL}}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {"pre", 1, 0, 1, 1, 1, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, {""}, {""}, {""}, - {"colgroup", 0, 0, 1, 1, 0, 1, 1, {"table", NULL}}, - {""}, {""}, - {"p", 1, 0, 1, 0, 0, 1, 1, {"body", "blockquote", "button", "dd", "del", "div", "fieldset", "form", "ins", "li", "map", "noscript", "object", "td", "th", NULL}}, - {""}, {""}, {""}, {""}, {""}, {""}, - {"optgroup", 0, 0, 1, 1, 0, 1, 1, {"select", NULL}} - }; - - if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) - { - register int key = hash (str, len); - - if (key <= MAX_HASH_VALUE && key >= 0) - { - register const char *s = wordlist[key].name; - - if (*str == *s && !strncmp (str + 1, s + 1, len - 1)) - return &wordlist[key]; - } - } - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/dtd.e b/arid_examples/html-xml-utils-3.0/testruns/dtd.e deleted file mode 100644 index 32102cd9b..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/dtd.e +++ /dev/null @@ -1,8 +0,0 @@ -#define MAXNAMELEN 10 - typedef struct _ElementType { - char *name; - Boolean mixed, empty, stag, etag, pre, break_before, break_after; - char *parents[60]; -} ElementType; - const ElementType * lookup_element(register const char *str, - register unsigned int len); diff --git a/arid_examples/html-xml-utils-3.0/testruns/e4t5.e b/arid_examples/html-xml-utils-3.0/testruns/e4t5.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/ei5.e b/arid_examples/html-xml-utils-3.0/testruns/ei5.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/errexit.c b/arid_examples/html-xml-utils-3.0/testruns/errexit.c deleted file mode 100644 index 8f738ae2a..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/errexit.c +++ /dev/null @@ -1,32 +0,0 @@ -/* errexit.c -- print message and exit - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 12 May 1998 - * Version: $Id: errexit.c,v 1.5 2003/01/21 19:44:39 bbos Exp $ - **/ -#include <config.h> -#include <stdarg.h> -#include <stdio.h> -#include <stdlib.h> -#ifdef HAVE_STRING_H -# include <string.h> -#elif HAVE_STRINGS_H -# include <strings.h> -#endif -#include "export.h" - -/* errexit -- print message and exit */ -EXPORT int errexit(char *format,...) -{ - va_list ap; - - va_start(ap, format); - vfprintf(stderr, format, ap); - va_end(ap); - exit(1); -} - - diff --git a/arid_examples/html-xml-utils-3.0/testruns/errexit.e b/arid_examples/html-xml-utils-3.0/testruns/errexit.e deleted file mode 100644 index d356f2bb0..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/errexit.e +++ /dev/null @@ -1 +0,0 @@ - int errexit(char *format,...); diff --git a/arid_examples/html-xml-utils-3.0/testruns/export.h b/arid_examples/html-xml-utils-3.0/testruns/export.h deleted file mode 100644 index 33afe4217..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/export.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * export.h -- header file for programs that use cexport - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * $Id: export.h,v 1.3 2003/04/09 09:39:31 bbos Exp $ - * - * Functions, type definitions, variable declarations can all be - * exported by putting EXPORT (uppercase only) in front of the - * declaration. The declarations must be ANSI-C. Macros can be - * exported with EXPORTDEF. Examples: - * - * EXPORT int sqr(int n) {...} -- exports function sqr() - * EXPORT typedef struct _Str * MyStr; -- exports type MyStr - * EXPORT int maximum; -- exports variable maximum - * #define max(a,b) ((a)>(b)?(a):(b)) - * EXPORTDEF(max(a,b)) -- exports macro max(a,b) - */ -#ifndef _EXPORT_H_ -#define _EXPORT_H_ - -#ifndef __export -#define EXPORT /* nothing */ -#define EXPORTDEF(x) /* nothing */ -#else -//#define EXPORTDEF(x) EXPORTDEF_##x x -#define EXPORTDEF(x) EXPORTDEF #x x -#endif - -#endif /* _EXPORT_H_ */ diff --git a/arid_examples/html-xml-utils-3.0/testruns/extract.c b/arid_examples/html-xml-utils-3.0/testruns/extract.c deleted file mode 100644 index 9ed581134..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/extract.c +++ /dev/null @@ -1,262 +0,0 @@ -/* - * Output all elements with a certain name and/or class. - * Input must be well-formed, since no HTML heuristics are applied. - * - * Copyright © 2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 20 Aug 2000 - * Version: $Id: extract.c,v 1.1 2000/08/20 16:33:42 bbos Exp $ - */ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include "export.h" -#include "types.e" -#include "html.e" -#include "heap.e" -#include "scan.e" -#include "openurl.e" -#include "class.e" - -#define INDEX "index" /* CLASS="... index..." */ - -#define MAXLINELEN 1024 /* In configfile */ - -static Boolean xml = False; /* Use <empty /> convention */ -static int copying = 0; /* Start by not copying */ -static string base = NULL; /* URL of each file */ -static string endtext = ""; /* Text to insert at end */ -static string targetelement = NULL; /* Element to extract */ -static string targetclass = NULL; /* Class to extract */ - - -/* get_id -- return the value of the ID attribute, or NULL */ -static const string get_id(pairlist attribs) -{ - pairlist p; - - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, "id") == 0) return p->value; - return NULL; -} - -/* add_href -- add an "href" attribute to a list of attributes */ -static void add_href(pairlist *attribs, const string base, const string id) -{ - pairlist p, q, h; - - /* Create new attribute and prepend to list */ - new(h); - h->name = newstring("href"); - newarray(h->value, strlen(base) + strlen(id) + 2); - sprintf(h->value, "%s#%s", base, id); - h->next = *attribs; - *attribs = h; - - /* Remove any other "href" attribute */ - for (p = h; p->next; p = p->next) { - if (strcasecmp(p->next->name, "href") == 0) { - q = p->next; - p->next = p->next->next; - dispose(q->name); - dispose(q->value); - dispose(q); - } - } -} - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *unused, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) {return NULL;} - -/* end -- called after the last event is reported */ -EXPORT void end(void *unused) {} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *unused, const string commenttext) {} - -/* handle_text -- called after a text chunk is parsed */ -EXPORT void handle_text(void *unused, const string text) -{ - if (copying > 0) fputs(text, stdout); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *unused, const string gi, - const string fpi, const string url) {} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *unused, const string pi_text) {} - -/* print_tag -- print a start- or empty tag */ -static void print_tag(const string name, pairlist attribs, Boolean empty) -{ - pairlist a; - string t, h; - - printf("<%s", name); - for (a = attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (strcasecmp(a->name, "class") == 0 && (t = contains(a->value, INDEX))) { - /* Print value excluding INDEX */ - printf("=\""); - for (h = a->value; h != t; h++) putchar(*h); - printf("%s\"", t + sizeof(INDEX) - 1); - } else { - if (a->value) printf("=\"%s\"", a->value); - } - } - printf((empty && xml) ? " />" : ">"); -} - -/* is_match check whether the element matches the target element and class */ -static Boolean is_match(const string name, pairlist attribs) -{ - return ((!targetelement || strcasecmp(name, targetelement) == 0) - && (!targetclass || has_class(attribs, targetclass))); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *unused, const string name, pairlist attribs) -{ - string id; - - if (copying || is_match(name, attribs)) { - if (!copying && (id = get_id(attribs))) add_href(&attribs, base, id); - if (!eq(name, "a") && !eq(name, "A")) print_tag(name, attribs, False); - copying++; - } -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *unused, const string name, - pairlist attribs) -{ - string id; - - if (copying || is_match(name, attribs)) { - if (!copying && (id = get_id(attribs))) add_href(&attribs, base, id); - if (!eq(name, "a") && !eq(name, "A")) print_tag(name, attribs, True); - } -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *unused, const string name) -{ - if (copying) { - if (!eq(name, "a") && !eq(name, "A")) printf("</%s>", name); - copying--; - } -} - -/* process_configfile -- read @chapter lines from config file */ -static void process_configfile(const string configfile) -{ - unsigned char line[MAXLINELEN], chapter[MAXLINELEN]; - FILE *f; - - if (! (f = fopenurl(configfile, "r"))) {perror(configfile); exit(2);} - - /* ToDo: accept quoted file names with spaces in their name */ - while (fgets(line, sizeof(line), f)) { - if (sscanf(line, " @chapter %s", chapter) == 1) { - if (!base) base = chapter; - yyin = fopenurl(chapter, "r"); - if (yyin == NULL) {perror(chapter); exit(2);} - if (yyparse() != 0) exit(3); - fclose(yyin); - base = NULL; - } - } - - fclose(f); -} - -/* usage -- print usage message and exit */ -static void usage(const string name) -{ - fprintf(stderr, "Version %s\n\ -Usage: %s [-x] [-s text] [-e text] [elem[.class]|.class] [-b base|file-or-URL|-c configfile]...\n", - VERSION, name); - exit(1); -} - -int main(int argc, char *argv[]) -{ - char *p; - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Loop over arguments; options may be in between file names */ - for (i = 1; i < argc; i++) { - if (eq(argv[i], "-h") || eq(argv[i], "-?")) { /* Usage */ - usage(argv[0]); - } else if (eq(argv[i], "-x")) { /* XML format */ - xml = True; - } else if (eq(argv[i], "-s")) { /* Insert text at start */ - printf("%s", argv[++i]); - } else if (eq(argv[i], "-e")) { /* Insert text at end */ - endtext = argv[++i]; - } else if (eq(argv[i], "-b")) { /* URL base */ - base = argv[++i]; - } else if (eq(argv[i], "-c")) { /* Config file */ - process_configfile(argv[++i]); - } else if (eq(argv[i], "-")) { /* "-" = stdin */ - if (!base) base = ""; - yyin = stdin; - if (yyparse() != 0) exit(3); - base = NULL; /* Reset base */ - } else if (targetelement || targetclass) { /* It's a file name or URL */ - if (!base) base = argv[i]; - yyin = fopenurl(argv[i], "r"); - if (yyin == NULL) {perror(argv[1]); exit(2);} - if (yyparse() != 0) exit(3); - fclose(yyin); - base = NULL; - } else if (argv[i][0] == '.') { /* Class name */ - targetclass = argv[i] + 1; - } else { /* Element name */ - targetelement = argv[i]; - if ((p = strchr(targetelement, '.'))) { - *p = '\0'; - targetclass = p + 1; - } - } - } - if (!targetelement && !targetclass) usage(argv[0]); - - printf("%s", endtext); /* Insert text at end */ - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/extract.e b/arid_examples/html-xml-utils-3.0/testruns/extract.e deleted file mode 100644 index c9aea4bb8..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/extract.e +++ /dev/null @@ -1,12 +0,0 @@ - void handle_error(void *unused, const string s, int lineno); - void* start(void); - void end(void *unused); - void handle_comment(void *unused, const string commenttext); - void handle_text(void *unused, const string text); - void handle_decl(void *unused, const string gi, - const string fpi, const string url); - void handle_pi(void *unused, const string pi_text); - void handle_starttag(void *unused, const string name, pairlist attribs); - void handle_emptytag(void *unused, const string name, - pairlist attribs); - void handle_endtag(void *unused, const string name); diff --git a/arid_examples/html-xml-utils-3.0/testruns/f*.e b/arid_examples/html-xml-utils-3.0/testruns/f*.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/genid.c b/arid_examples/html-xml-utils-3.0/testruns/genid.c deleted file mode 100644 index e3e07266e..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/genid.c +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Generate unique IDs. - * - * Copyright © 2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 4 August 2000 - * Version: $Id: genid.c,v 1.5 2003/04/09 10:07:12 bbos Exp $ - **/ - -#include <config.h> -#include <assert.h> -#include <stdio.h> -#include <stdlib.h> -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#include <ctype.h> - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif - -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include <export.h> -#include "heap.e" -#include "types.e" -#include "tree.e" -#include "errexit.e" - - -#define MAXIDLEN 45 /* Max len of a generated ID */ -#define MINIDLEN 5 /* "the" or "a" isn't enough */ - - -static void *idtree = NULL; /* Sorted tree of IDs */ - - -/* storeID -- remember the existence of an ID (allocates a copy of the ID) */ -EXPORT void storeID(string id) -{ - (void) tsearch(newstring(id), &idtree, strcmp); -} - - -/* gen_id_r -- find some text suitable for an ID recursively */ -static void gen_id_r(Tree t, string s, int *len, int minlen, int maxlen) -{ - int i; - Tree h; - - assert(s); /* s at least maxlen long */ - - /* Loop over children looking for useful text */ - for (h = t->children; h && *len < maxlen - 1; h = h->sister) { - switch (h->tp) { - case Text: - assert(minlen < maxlen); - if (*len >= minlen) break; - /* Copy at least minlen characters, if avail, incl. spaces (as '-') */ - for (i = 0; *len < minlen && h->text[i]; i++) - if (isalpha(h->text[i])) s[(*len)++] = tolower(h->text[i]); - else if (*len == 0) ; /* Wait for a letter first */ - else if (h->text[i]=='-' || h->text[i]=='.') s[(*len)++]=h->text[i]; - else if (isdigit(h->text[i])) s[(*len)++] = h->text[i]; - else if (isspace(h->text[i]) && s[*len-1] != '-') s[(*len)++]='-'; - /* Then copy up to next space or up to maxlen */ - for (; *len < maxlen - 1 && h->text[i] && !isspace(h->text[i]); i++) - if (isalpha(h->text[i])) s[(*len)++] = tolower(h->text[i]); - else if (h->text[i]=='-' || h->text[i]=='.') s[(*len)++]=h->text[i]; - else if (isdigit(h->text[i])) s[(*len)++] = h->text[i]; - else if (isspace(h->text[i]) && s[*len-1] != '-') s[(*len)++]='-'; - break; - case Element: /* Recursive */ - if (*len < minlen) gen_id_r(h, s, len, minlen, maxlen); - break; - default: - break; - } - } - s[*len] = '\0'; -} - -/* gen_id -- try some heuristics to generate an ID for element t */ -EXPORT string gen_id(Tree t) -{ - string s; - int len = 0; - - if (! (s = malloc(MAXIDLEN + 1))) errexit("Out of memory\n"); - - assert(MAXIDLEN > 4); - gen_id_r(t, s, &len, MINIDLEN, MAXIDLEN - 4); - if (len == 0) s[len++] = 'x'; /* At least one character */ - if (tfind(s, &idtree, strcmp)) { - /* No suitable text found or text is already used elsewhere */ - int seqno = 0; - do { /* Try adding digits */ - sprintf(s + len, "%d", seqno); - seqno++; - } while (seqno != 10000 && tfind(s, &idtree, strcmp)); - if (seqno == 10000) { /* 10000 tried, giving up... */ - free(s); - return NULL; - } - } - (void) tsearch(s, &idtree, strcmp); /* Store it */ - return s; -} - diff --git a/arid_examples/html-xml-utils-3.0/testruns/genid.e b/arid_examples/html-xml-utils-3.0/testruns/genid.e deleted file mode 100644 index 50653d826..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/genid.e +++ /dev/null @@ -1,2 +0,0 @@ - void storeID(string id); - string gen_id(Tree t); diff --git a/arid_examples/html-xml-utils-3.0/testruns/hash.c b/arid_examples/html-xml-utils-3.0/testruns/hash.c deleted file mode 100644 index c09f38578..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/hash.c +++ /dev/null @@ -1,114 +0,0 @@ -#ifndef HAVE_SEARCH_H -/* - * hsearch() on Mac OS X 10.1.2 appears to be broken: there is no - * search.h; there is a search() in the C library, but it doesn't work - * properly. We include some hash functions here, protected by - * HAVE_SEARCH_H. Hopefully when search.h appears in Mac OS X, - * hsearch() will be fixed at the same time... - */ - -#include "config.h" -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "heap.e" - - -EXPORT typedef struct entry {char *key; void *data;} ENTRY; -EXPORT typedef enum {FIND, ENTER} ACTION; - -static ENTRY *htab; -static int *htab_index1, *htab_index2; -static unsigned int htab_size = 0; -static unsigned int htab_inited; - - -/* isprime -- test if n is a prime number */ -static int isprime(unsigned int n) -{ - /* Simplistic algorithm, probably good enough for now */ - unsigned int i; - assert(n % 2); /* n not even */ - for (i = 3; i * i < n; i += 2) if (n % i == 0) return 0; - return 1; -} - - -/* hcreate -- create a hash table for at least nel entries */ -EXPORT int hcreate(size_t nel) -{ - /* Change nel to next higher prime */ - for (nel |= 1; !isprime(nel); nel += 2) ; - - /* Allocate hash table and array to keep track of initialized entries */ - newarray(htab, nel); - newarray(htab_index1, nel); - newarray(htab_index2, nel); - if (!htab || !htab_index1 || !htab_index2) { - dispose(htab); - dispose(htab_index1); - dispose(htab_index2); - return 0; /* Out of memory */ - } - htab_inited = 0; - htab_size = nel; - return 1; -} - - -/* hdestroy -- deallocate hash table */ -EXPORT void hdestroy(void) -{ - assert(htab_size); - dispose(htab_index1); - dispose(htab_index2); - dispose(htab); - htab_size = 0; -} - - -/* hsearch -- search for and/or insert an entry in the hash table */ -EXPORT ENTRY *hsearch(ENTRY item, ACTION action) -{ - unsigned int hval, i; - char *p; - - assert(htab_size); /* There must be a hash table */ - - /* Compute a hash value */ -#if 1 - /* This function suggested by Dan Bernstein */ - for (hval = 5381, p = item.key; *p; p++) hval = (hval * 33) ^ *p; -#else - i = hval = strlen(item.key); - do {i--; hval = (hval << 1) + item.key[i];} while (i > 0); -#endif - hval %= htab_size; - /* if (action == ENTER) debug("%d\n", hval); */ - - /* Look for either an empty slot or an entry with the wanted key */ - i = hval; - while (htab_index1[i] < htab_inited - && htab_index2[htab_index1[i]] == i - && strcmp(htab[i].key, item.key) != 0) { - i = (i + 1) % htab_size; /* "Open" hash method */ - if (i == hval) return NULL; /* Made full round */ - } - /* Now we either have an empty slot or an entry with the same key */ - if (action == ENTER) { - htab[i].key = item.key; /* Put the item in this slot */ - htab[i].data = item.data; - if (htab_index1[i] >= htab_inited || htab_index2[htab_index1[i]] != i) { - /* Item was not yet used, mark it as used */ - htab_index1[i] = htab_inited; - htab_index2[htab_inited] = i; - htab_inited++; - } - return &htab[i]; - } else if (htab_index1[i] < htab_inited && htab_index2[htab_index1[i]] == i) - return &htab[i]; /* action == FIND, found key */ - - return NULL; /* Found empty slot */ -} - -#endif /* HAVE_SEARCH_H */ diff --git a/arid_examples/html-xml-utils-3.0/testruns/hash.e b/arid_examples/html-xml-utils-3.0/testruns/hash.e deleted file mode 100644 index dbd4a0713..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/hash.e +++ /dev/null @@ -1,5 +0,0 @@ - typedef struct entry {char *key; void *data;} ENTRY; - typedef enum {FIND, ENTER} ACTION; - int hcreate(size_t nel); - void hdestroy(void); - ENTRY *hsearch(ENTRY item, ACTION action); diff --git a/arid_examples/html-xml-utils-3.0/testruns/heap.c b/arid_examples/html-xml-utils-3.0/testruns/heap.c deleted file mode 100644 index 4796cba8e..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/heap.c +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright © 1994-2003 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: before 1995 - * Version: $Id: heap.c,v 1.7 2003/04/09 10:07:12 bbos Exp $ - **/ -#include <config.h> -#include <stdlib.h> -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include "export.h" - -#ifdef __export -//#define FILE / ## *"*/__FI ## LE__/*"* ## / -//#define LINE / ## *"*/__LI ## NE__/*"* ## / -#undef __FILE__ /* Don't expand while making the .e file */ -#undef __LINE__ /* Don't expand while making the .e file */ -#endif - -#define fatal(msg) fatal3(msg, __FILE__, __LINE__) -#define new(p) if (((p)=malloc(sizeof(*(p))))); else fatal("out of memory") -#define dispose(p) if (!(p)) ; else (free(p), (p) = (void*)0) -#define heapmax(p) 9999999 /* ? */ -#define newstring(s) heap_newstring(s, __FILE__, __LINE__) -#define newnstring(s,n) heap_newnstring(s, n, __FILE__, __LINE__) -#define newarray(p,n) \ - if (((p)=malloc((n)*sizeof(*(p))))); else fatal("out of memory") -#define renewarray(p,n) \ - if (((p)=realloc(p,(n)*sizeof(*(p))))); else fatal("out of memory") - -EXPORTDEF(fatal(msg)) -EXPORTDEF(new(p)) -EXPORTDEF(dispose(p)) -EXPORTDEF(heapmax(p)) -EXPORTDEF(newstring(s)) -EXPORTDEF(newnstring(s,n)) -EXPORTDEF(newarray(p,n)) -EXPORTDEF(renewarray(p,n)) - - -EXPORT void fatal3(const char *s, const char *file, const int line) -{ - fprintf(stderr, "%s (file %s, line %d)\n", s, file, line); - abort(); -} - - -EXPORT char * heap_newstring(const char *s, const char *file, const int line) -{ - char *t; - - if (!s) return NULL; - t = malloc((strlen(s) + 1) * sizeof(*t)); - if (!t) fatal3("out of memory", file, line); - strcpy(t, s); - return t; -} - -EXPORT char * heap_newnstring(const char *s, const size_t n, - const char *file, const int line) -{ - char *t; - - if (!s) return NULL; - t = malloc((n + 1) * sizeof(*t)); - if (!t) fatal3("out of memory", file, line); - strncpy(t, s, n); - t[n] = '\0'; - return t; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/heap.e b/arid_examples/html-xml-utils-3.0/testruns/heap.e deleted file mode 100644 index 636e4cb0e..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/heap.e +++ /dev/null @@ -1,12 +0,0 @@ -#define fatal(msg) fatal3(msg, __FILE__, __LINE__) -#define new(p) if (((p)=malloc(sizeof(*(p))))); else fatal3("out of memory", __FILE__, __LINE__) -#define dispose(p) if (!(p)) ; else (free(p), (p) = (void*)0) -#define heapmax(p) 9999999 -#define newstring(s) heap_newstring(s, __FILE__, __LINE__) -#define newnstring(s,n) heap_newnstring(s, n, __FILE__, __LINE__) -#define newarray(p,n) if (((p)=malloc((n)*sizeof(*(p))))); else fatal3("out of memory", __FILE__, __LINE__) -#define renewarray(p,n) if (((p)=realloc(p,(n)*sizeof(*(p))))); else fatal3("out of memory", __FILE__, __LINE__) - void fatal3(const char *s, const char *file, const int line); - char * heap_newstring(const char *s, const char *file, const int line); - char * heap_newnstring(const char *s, const size_t n, - const char *file, const int line); diff --git a/arid_examples/html-xml-utils-3.0/testruns/html.c b/arid_examples/html-xml-utils-3.0/testruns/html.c deleted file mode 100644 index 38cdc2a71..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/html.c +++ /dev/null @@ -1,1359 +0,0 @@ -/* A Bison parser, made from /0/w3c/bbos/Work/HTML/html.y, by GNU bison 1.75. */ - -/* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ - -/* Written by Richard Stallman by simplifying the original so called - ``semantic'' parser. */ - -/* All symbols defined below should begin with yy or YY, to avoid - infringing on user name space. This should be done even for local - variables, as they might otherwise be expanded by user macros. - There are some unavoidable exceptions within include files to - define necessary library symbols; they are noted "INFRINGES ON - USER NAME SPACE" below. */ - -/* Identify Bison output. */ -#define YYBISON 1 - -/* Pure parsers. */ -#define YYPURE 0 - -/* Using locations. */ -#define YYLSP_NEEDED 0 - - - -/* Tokens. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - TEXT = 258, - COMMENT = 259, - START = 260, - END = 261, - NAME = 262, - STRING = 263, - PROCINS = 264, - EMPTYEND = 265, - DOCTYPE = 266, - ENDINCL = 267 - }; -#endif -#define TEXT 258 -#define COMMENT 259 -#define START 260 -#define END 261 -#define NAME 262 -#define STRING 263 -#define PROCINS 264 -#define EMPTYEND 265 -#define DOCTYPE 266 -#define ENDINCL 267 - - - - -/* Copy the first part of user declarations. */ -#line 1 "html.y" - -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: html.y,v 1.17 2000/08/20 16:35:27 bbos Exp $ - **/ -#include <config.h> -#include <assert.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include "export.h" -#include "types.e" -#include "tree.e" - -/* The types of the various callback routines */ - -EXPORT typedef void (*html_handle_error_fn) - (void *clientdata, const string s, int lineno); -EXPORT typedef void* (*html_handle_start_fn) - (void); -EXPORT typedef void (*html_handle_end_fn) - (void *clientdata); -EXPORT typedef void (*html_handle_comment_fn) - (void *clientdata, const string commenttext); -EXPORT typedef void (*html_handle_text_fn) - (void *clientdata, const string text); -EXPORT typedef void (*html_handle_decl_fn) - (void *clientdata, const string gi, const string fpi, const string url); -EXPORT typedef void (*html_handle_pi_fn) - (void *clientdata, const string pi_text); -EXPORT typedef void (*html_handle_starttag_fn) - (void *clientdata, const string name, pairlist attribs); -EXPORT typedef void (*html_handle_emptytag_fn) - (void *clientdata, const string name, pairlist attribs); -EXPORT typedef void (*html_handle_endtag_fn) - (void *clientdata, const string name); -EXPORT typedef void (*html_handle_endincl_fn) - (void *clientdata); - -/* yyparse -- entry point for the parser */ -EXPORT extern int yyparse(void); - -/* Store client data */ -static void *data; - -/* All callback routines */ -static struct { - html_handle_error_fn error; - html_handle_start_fn start; - html_handle_end_fn end; - html_handle_comment_fn comment; - html_handle_text_fn text; - html_handle_decl_fn decl; - html_handle_pi_fn pi; - html_handle_starttag_fn starttag; - html_handle_emptytag_fn emptytag; - html_handle_endtag_fn endtag; - html_handle_endincl_fn endincl; -} handle = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL}; - -/* Routines to bind concrete routines to the callbacks */ -EXPORT void set_error_handler(html_handle_error_fn f) {handle.error = f;} -EXPORT void set_start_handler(html_handle_start_fn f) {handle.start = f;} -EXPORT void set_end_handler(html_handle_end_fn f) {handle.end = f;} -EXPORT void set_comment_handler(html_handle_comment_fn f) {handle.comment = f;} -EXPORT void set_text_handler(html_handle_text_fn f) {handle.text = f;} -EXPORT void set_decl_handler(html_handle_decl_fn f) {handle.decl = f;} -EXPORT void set_pi_handler(html_handle_pi_fn f) {handle.pi = f;} -EXPORT void set_starttag_handler(html_handle_starttag_fn f){handle.starttag=f;} -EXPORT void set_emptytag_handler(html_handle_emptytag_fn f){handle.emptytag=f;} -EXPORT void set_endtag_handler(html_handle_endtag_fn f) {handle.endtag = f;} -EXPORT void set_endincl_handler(html_handle_endincl_fn f) {handle.endincl = f;} - -extern int yylex(void); -extern int yylineno; - -static int nrerrors = 0; -#define MAX_ERRORS_REPORTED 20 - -/* yyerror -- report parse error */ -static void yyerror(const string s) -{ - nrerrors++; - if (nrerrors < MAX_ERRORS_REPORTED) - handle.error(data, s, yylineno); - else if (nrerrors == MAX_ERRORS_REPORTED) - handle.error(data, "too many errors", yylineno); - else - ; /* don't report any more errors */ -} - - - -/* Enabling traces. */ -#ifndef YYDEBUG -# define YYDEBUG 0 -#endif - -/* Enabling verbose error messages. */ -#ifdef YYERROR_VERBOSE -# undef YYERROR_VERBOSE -# define YYERROR_VERBOSE 1 -#else -# define YYERROR_VERBOSE 0 -#endif - -#ifndef YYSTYPE -#line 98 "html.y" -typedef union { - string s; - pairlist p; -} yystype; -/* Line 193 of /usr/local/bison/share/bison/yacc.c. */ -#line 199 "html.c" -# define YYSTYPE yystype -# define YYSTYPE_IS_TRIVIAL 1 -#endif - -#ifndef YYLTYPE -typedef struct yyltype -{ - int first_line; - int first_column; - int last_line; - int last_column; -} yyltype; -# define YYLTYPE yyltype -# define YYLTYPE_IS_TRIVIAL 1 -#endif - -/* Copy the second part of user declarations. */ - - -/* Line 213 of /usr/local/bison/share/bison/yacc.c. */ -#line 220 "html.c" - -#if ! defined (yyoverflow) || YYERROR_VERBOSE - -/* The parser invokes alloca or malloc; define the necessary symbols. */ - -# if YYSTACK_USE_ALLOCA -# define YYSTACK_ALLOC alloca -# else -# ifndef YYSTACK_USE_ALLOCA -# if defined (alloca) || defined (_ALLOCA_H) -# define YYSTACK_ALLOC alloca -# else -# ifdef __GNUC__ -# define YYSTACK_ALLOC __builtin_alloca -# endif -# endif -# endif -# endif - -# ifdef YYSTACK_ALLOC - /* Pacify GCC's `empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) -# else -# if defined (__STDC__) || defined (__cplusplus) -# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# endif -# define YYSTACK_ALLOC malloc -# define YYSTACK_FREE free -# endif -#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ - - -#if (! defined (yyoverflow) \ - && (! defined (__cplusplus) \ - || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) - -/* A type that is properly aligned for any stack member. */ -union yyalloc -{ - short yyss; - YYSTYPE yyvs; - }; - -/* The size of the maximum gap between one aligned stack and the next. */ -# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1) - -/* The size of an array large to enough to hold all stacks, each with - N elements. */ -# define YYSTACK_BYTES(N) \ - ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ - + YYSTACK_GAP_MAX) - -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - register YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (0) -# endif -# endif - -/* Relocate STACK from its old location to the new one. The - local variables YYSIZE and YYSTACKSIZE give the old and new number of - elements in the stack, and YYPTR gives the new location of the - stack. Advance YYPTR to a properly aligned location for the next - stack. */ -# define YYSTACK_RELOCATE(Stack) \ - do \ - { \ - YYSIZE_T yynewbytes; \ - YYCOPY (&yyptr->Stack, Stack, yysize); \ - Stack = &yyptr->Stack; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \ - yyptr += yynewbytes / sizeof (*yyptr); \ - } \ - while (0) - -#endif - -#if defined (__STDC__) || defined (__cplusplus) - typedef signed char yysigned_char; -#else - typedef short yysigned_char; -#endif - -/* YYFINAL -- State number of the termination state. */ -#define YYFINAL 3 -#define YYLAST 25 - -/* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 15 -/* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 9 -/* YYNRULES -- Number of rules. */ -#define YYNRULES 22 -/* YYNRULES -- Number of states. */ -#define YYNSTATES 32 - -/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ -#define YYUNDEFTOK 2 -#define YYMAXUTOK 267 - -#define YYTRANSLATE(X) \ - ((unsigned)(X) <= YYMAXUTOK ? yytranslate[X] : YYUNDEFTOK) - -/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ -static const unsigned char yytranslate[] = -{ - 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 14, 13, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, - 5, 6, 7, 8, 9, 10, 11, 12 -}; - -#if YYDEBUG -/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in - YYRHS. */ -static const unsigned char yyprhs[] = -{ - 0, 0, 3, 4, 7, 10, 13, 16, 19, 22, - 25, 28, 31, 32, 36, 40, 43, 44, 46, 50, - 54, 57, 64 -}; - -/* YYRHS -- A `-1'-separated list of the rules' RHS. */ -static const yysigned_char yyrhs[] = -{ - 16, 0, -1, -1, 17, 18, -1, 18, 4, -1, - 18, 3, -1, 18, 19, -1, 18, 22, -1, 18, - 23, -1, 18, 9, -1, 18, 12, -1, 18, 1, - -1, -1, 5, 20, 13, -1, 5, 20, 10, -1, - 21, 20, -1, -1, 7, -1, 7, 14, 7, -1, - 7, 14, 8, -1, 6, 13, -1, 11, 7, 7, - 8, 8, 13, -1, 11, 7, 7, 8, 13, -1 -}; - -/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ -static const unsigned char yyrline[] = -{ - 0, 111, 111, 111, 115, 116, 117, 118, 119, 120, - 121, 122, 123, 126, 127, 130, 131, 134, 137, 140, - 145, 148, 149 -}; -#endif - -#if YYDEBUG || YYERROR_VERBOSE -/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. - First, the terminals, then, starting at YYNTOKENS, nonterminals. */ -static const char *const yytname[] = -{ - "$end", "error", "$undefined", "TEXT", "COMMENT", "START", "END", "NAME", - "STRING", "PROCINS", "EMPTYEND", "DOCTYPE", "ENDINCL", "'>'", "'='", - "$accept", "start", "@1", "document", "starttag", "attributes", - "attribute", "endtag", "decl", 0 -}; -#endif - -# ifdef YYPRINT -/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to - token YYLEX-NUM. */ -static const unsigned short yytoknum[] = -{ - 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, - 265, 266, 267, 62, 61 -}; -# endif - -/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const unsigned char yyr1[] = -{ - 0, 15, 17, 16, 18, 18, 18, 18, 18, 18, - 18, 18, 18, 19, 19, 20, 20, 21, 21, 21, - 22, 23, 23 -}; - -/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ -static const unsigned char yyr2[] = -{ - 0, 2, 0, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 0, 3, 3, 2, 0, 1, 3, 3, - 2, 6, 5 -}; - -/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state - STATE-NUM when YYTABLE doesn't specify something else to do. Zero - means the default is an error. */ -static const unsigned char yydefact[] = -{ - 2, 0, 12, 1, 0, 11, 5, 4, 16, 0, - 9, 0, 10, 6, 7, 8, 17, 0, 16, 20, - 0, 0, 14, 13, 15, 0, 18, 19, 0, 0, - 22, 21 -}; - -/* YYDEFGOTO[NTERM-NUM]. */ -static const yysigned_char yydefgoto[] = -{ - -1, 1, 2, 4, 13, 17, 18, 14, 15 -}; - -/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing - STATE-NUM. */ -#define YYPACT_NINF -7 -static const yysigned_char yypact[] = -{ - -7, 8, -7, -7, 0, -7, -7, -7, 10, -3, - -7, 11, -7, -7, -7, -7, 5, 3, 10, -7, - 13, 7, -7, -7, -7, 14, -7, -7, -6, 12, - -7, -7 -}; - -/* YYPGOTO[NTERM-NUM]. */ -static const yysigned_char yypgoto[] = -{ - -7, -7, -7, -7, -7, 6, -7, -7, -7 -}; - -/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If - positive, shift that token. If negative, reduce the rule which - number is the opposite. If zero, do what YYDEFACT says. - If YYTABLE_NINF, parse error. */ -#define YYTABLE_NINF -4 -static const yysigned_char yytable[] = -{ - -3, 5, 29, 6, 7, 8, 9, 30, 3, 10, - 19, 11, 12, 22, 26, 27, 23, 16, 20, 21, - 25, 0, 28, 0, 24, 31 -}; - -static const yysigned_char yycheck[] = -{ - 0, 1, 8, 3, 4, 5, 6, 13, 0, 9, - 13, 11, 12, 10, 7, 8, 13, 7, 7, 14, - 7, -1, 8, -1, 18, 13 -}; - -/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing - symbol of state STATE-NUM. */ -static const unsigned char yystos[] = -{ - 0, 16, 17, 0, 18, 1, 3, 4, 5, 6, - 9, 11, 12, 19, 22, 23, 7, 20, 21, 13, - 7, 14, 10, 13, 20, 7, 7, 8, 8, 8, - 13, 13 -}; - -#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) -# define YYSIZE_T __SIZE_TYPE__ -#endif -#if ! defined (YYSIZE_T) && defined (size_t) -# define YYSIZE_T size_t -#endif -#if ! defined (YYSIZE_T) -# if defined (__STDC__) || defined (__cplusplus) -# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# endif -#endif -#if ! defined (YYSIZE_T) -# define YYSIZE_T unsigned int -#endif - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY -2 -#define YYEOF 0 - -#define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrlab1 - -/* Like YYERROR except do call yyerror. This remains here temporarily - to ease the transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ - -#define YYFAIL goto yyerrlab - -#define YYRECOVERING() (!!yyerrstatus) - -#define YYBACKUP(Token, Value) \ -do \ - if (yychar == YYEMPTY && yylen == 1) \ - { \ - yychar = (Token); \ - yylval = (Value); \ - yychar1 = YYTRANSLATE (yychar); \ - YYPOPSTACK; \ - goto yybackup; \ - } \ - else \ - { \ - yyerror ("syntax error: cannot back up"); \ - YYERROR; \ - } \ -while (0) - -#define YYTERROR 1 -#define YYERRCODE 256 - -/* YYLLOC_DEFAULT -- Compute the default location (before the actions - are run). */ - -#ifndef YYLLOC_DEFAULT -# define YYLLOC_DEFAULT(Current, Rhs, N) \ - Current.first_line = Rhs[1].first_line; \ - Current.first_column = Rhs[1].first_column; \ - Current.last_line = Rhs[N].last_line; \ - Current.last_column = Rhs[N].last_column; -#endif - -/* YYLEX -- calling `yylex' with the right arguments. */ - -#define YYLEX yylex () - -/* Enable debugging if requested. */ -#if YYDEBUG - -# ifndef YYFPRINTF -# include <stdio.h> /* INFRINGES ON USER NAME SPACE */ -# define YYFPRINTF fprintf -# endif - -# define YYDPRINTF(Args) \ -do { \ - if (yydebug) \ - YYFPRINTF Args; \ -} while (0) -# define YYDSYMPRINT(Args) \ -do { \ - if (yydebug) \ - yysymprint Args; \ -} while (0) -/* Nonzero means print parse trace. It is left uninitialized so that - multiple parsers can coexist. */ -int yydebug; -#else /* !YYDEBUG */ -# define YYDPRINTF(Args) -# define YYDSYMPRINT(Args) -#endif /* !YYDEBUG */ - -/* YYINITDEPTH -- initial size of the parser's stacks. */ -#ifndef YYINITDEPTH -# define YYINITDEPTH 200 -#endif - -/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only - if the built-in stack extension method is used). - - Do not make this value too large; the results are undefined if - SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) - evaluated with infinite-precision integer arithmetic. */ - -#if YYMAXDEPTH == 0 -# undef YYMAXDEPTH -#endif - -#ifndef YYMAXDEPTH -# define YYMAXDEPTH 10000 -#endif - - - -#if YYERROR_VERBOSE - -# ifndef yystrlen -# if defined (__GLIBC__) && defined (_STRING_H) -# define yystrlen strlen -# else -/* Return the length of YYSTR. */ -static YYSIZE_T -# if defined (__STDC__) || defined (__cplusplus) -yystrlen (const char *yystr) -# else -yystrlen (yystr) - const char *yystr; -# endif -{ - register const char *yys = yystr; - - while (*yys++ != '\0') - continue; - - return yys - yystr - 1; -} -# endif -# endif - -# ifndef yystpcpy -# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) -# define yystpcpy stpcpy -# else -/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in - YYDEST. */ -static char * -# if defined (__STDC__) || defined (__cplusplus) -yystpcpy (char *yydest, const char *yysrc) -# else -yystpcpy (yydest, yysrc) - char *yydest; - const char *yysrc; -# endif -{ - register char *yyd = yydest; - register const char *yys = yysrc; - - while ((*yyd++ = *yys++) != '\0') - continue; - - return yyd - 1; -} -# endif -# endif - -#endif /* !YYERROR_VERBOSE */ - - - -#if YYDEBUG -/*-----------------------------. -| Print this symbol on YYOUT. | -`-----------------------------*/ - -static void -#if defined (__STDC__) || defined (__cplusplus) -yysymprint (FILE* yyout, int yytype, YYSTYPE yyvalue) -#else -yysymprint (yyout, yytype, yyvalue) - FILE* yyout; - int yytype; - YYSTYPE yyvalue; -#endif -{ - /* Pacify ``unused variable'' warnings. */ - (void) yyvalue; - - if (yytype < YYNTOKENS) - { - YYFPRINTF (yyout, "token %s (", yytname[yytype]); -# ifdef YYPRINT - YYPRINT (yyout, yytoknum[yytype], yyvalue); -# endif - } - else - YYFPRINTF (yyout, "nterm %s (", yytname[yytype]); - - switch (yytype) - { - default: - break; - } - YYFPRINTF (yyout, ")"); -} -#endif /* YYDEBUG. */ - - -/*-----------------------------------------------. -| Release the memory associated to this symbol. | -`-----------------------------------------------*/ - -static void -#if defined (__STDC__) || defined (__cplusplus) -yydestruct (int yytype, YYSTYPE yyvalue) -#else -yydestruct (yytype, yyvalue) - int yytype; - YYSTYPE yyvalue; -#endif -{ - /* Pacify ``unused variable'' warnings. */ - (void) yyvalue; - - switch (yytype) - { - default: - break; - } -} - - - -/* The user can define YYPARSE_PARAM as the name of an argument to be passed - into yyparse. The argument should have type void *. - It should actually point to an object. - Grammar actions can access the variable by casting it - to the proper pointer type. */ - -#ifdef YYPARSE_PARAM -# if defined (__STDC__) || defined (__cplusplus) -# define YYPARSE_PARAM_ARG void *YYPARSE_PARAM -# define YYPARSE_PARAM_DECL -# else -# define YYPARSE_PARAM_ARG YYPARSE_PARAM -# define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; -# endif -#else /* !YYPARSE_PARAM */ -# define YYPARSE_PARAM_ARG -# define YYPARSE_PARAM_DECL -#endif /* !YYPARSE_PARAM */ - -/* Prevent warning if -Wstrict-prototypes. */ -#ifdef __GNUC__ -# ifdef YYPARSE_PARAM -int yyparse (void *); -# else -int yyparse (void); -# endif -#endif - - -/* The lookahead symbol. */ -int yychar; - -/* The semantic value of the lookahead symbol. */ -YYSTYPE yylval; - -/* Number of parse errors so far. */ -int yynerrs; - - -int -yyparse (YYPARSE_PARAM_ARG) - YYPARSE_PARAM_DECL -{ - - register int yystate; - register int yyn; - int yyresult; - /* Number of tokens to shift before error messages enabled. */ - int yyerrstatus; - /* Lookahead token as an internal (translated) token number. */ - int yychar1 = 0; - - /* Three stacks and their tools: - `yyss': related to states, - `yyvs': related to semantic values, - `yyls': related to locations. - - Refer to the stacks thru separate pointers, to allow yyoverflow - to reallocate them elsewhere. */ - - /* The state stack. */ - short yyssa[YYINITDEPTH]; - short *yyss = yyssa; - register short *yyssp; - - /* The semantic value stack. */ - YYSTYPE yyvsa[YYINITDEPTH]; - YYSTYPE *yyvs = yyvsa; - register YYSTYPE *yyvsp; - - - -#define YYPOPSTACK (yyvsp--, yyssp--) - - YYSIZE_T yystacksize = YYINITDEPTH; - - /* The variables used to return semantic value and location from the - action routines. */ - YYSTYPE yyval; - - - /* When reducing, the number of symbols on the RHS of the reduced - rule. */ - int yylen; - - YYDPRINTF ((stderr, "Starting parse\n")); - - yystate = 0; - yyerrstatus = 0; - yynerrs = 0; - yychar = YYEMPTY; /* Cause a token to be read. */ - - /* Initialize stack pointers. - Waste one element of value and location stack - so that they stay on the same level as the state stack. - The wasted elements are never initialized. */ - - yyssp = yyss; - yyvsp = yyvs; - - goto yysetstate; - -/*------------------------------------------------------------. -| yynewstate -- Push a new state, which is found in yystate. | -`------------------------------------------------------------*/ - yynewstate: - /* In all cases, when you get here, the value and location stacks - have just been pushed. so pushing a state here evens the stacks. - */ - yyssp++; - - yysetstate: - *yyssp = yystate; - - if (yyssp >= yyss + yystacksize - 1) - { - /* Get the current used size of the three stacks, in elements. */ - YYSIZE_T yysize = yyssp - yyss + 1; - -#ifdef yyoverflow - { - /* Give user a chance to reallocate the stack. Use copies of - these so that the &'s don't force the real ones into - memory. */ - YYSTYPE *yyvs1 = yyvs; - short *yyss1 = yyss; - - - /* Each stack pointer address is followed by the size of the - data in use in that stack, in bytes. This used to be a - conditional around just the two extra args, but that might - be undefined if yyoverflow is a macro. */ - yyoverflow ("parser stack overflow", - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), - - &yystacksize); - - yyss = yyss1; - yyvs = yyvs1; - } -#else /* no yyoverflow */ -# ifndef YYSTACK_RELOCATE - goto yyoverflowlab; -# else - /* Extend the stack our own way. */ - if (yystacksize >= YYMAXDEPTH) - goto yyoverflowlab; - yystacksize *= 2; - if (yystacksize > YYMAXDEPTH) - yystacksize = YYMAXDEPTH; - - { - short *yyss1 = yyss; - union yyalloc *yyptr = - (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); - if (! yyptr) - goto yyoverflowlab; - YYSTACK_RELOCATE (yyss); - YYSTACK_RELOCATE (yyvs); - -# undef YYSTACK_RELOCATE - if (yyss1 != yyssa) - YYSTACK_FREE (yyss1); - } -# endif -#endif /* no yyoverflow */ - - yyssp = yyss + yysize - 1; - yyvsp = yyvs + yysize - 1; - - - YYDPRINTF ((stderr, "Stack size increased to %lu\n", - (unsigned long int) yystacksize)); - - if (yyssp >= yyss + yystacksize - 1) - YYABORT; - } - - YYDPRINTF ((stderr, "Entering state %d\n", yystate)); - - goto yybackup; - -/*-----------. -| yybackup. | -`-----------*/ -yybackup: - -/* Do appropriate processing given the current state. */ -/* Read a lookahead token if we need one and don't already have one. */ -/* yyresume: */ - - /* First try to decide what to do without reference to lookahead token. */ - - yyn = yypact[yystate]; - if (yyn == YYPACT_NINF) - goto yydefault; - - /* Not known => get a lookahead token if don't already have one. */ - - /* yychar is either YYEMPTY or YYEOF - or a valid token in external form. */ - - if (yychar == YYEMPTY) - { - YYDPRINTF ((stderr, "Reading a token: ")); - yychar = YYLEX; - } - - /* Convert token to internal form (in yychar1) for indexing tables with. */ - - if (yychar <= 0) /* This means end of input. */ - { - yychar1 = 0; - yychar = YYEOF; /* Don't call YYLEX any more. */ - - YYDPRINTF ((stderr, "Now at end of input.\n")); - } - else - { - yychar1 = YYTRANSLATE (yychar); - - /* We have to keep this `#if YYDEBUG', since we use variables - which are defined only if `YYDEBUG' is set. */ - YYDPRINTF ((stderr, "Next token is ")); - YYDSYMPRINT ((stderr, yychar1, yylval)); - YYDPRINTF ((stderr, "\n")); - } - - /* If the proper action on seeing token YYCHAR1 is to reduce or to - detect an error, take that action. */ - yyn += yychar1; - if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yychar1) - goto yydefault; - yyn = yytable[yyn]; - if (yyn <= 0) - { - if (yyn == 0 || yyn == YYTABLE_NINF) - goto yyerrlab; - yyn = -yyn; - goto yyreduce; - } - - if (yyn == YYFINAL) - YYACCEPT; - - /* Shift the lookahead token. */ - YYDPRINTF ((stderr, "Shifting token %d (%s), ", - yychar, yytname[yychar1])); - - /* Discard the token being shifted unless it is eof. */ - if (yychar != YYEOF) - yychar = YYEMPTY; - - *++yyvsp = yylval; - - - /* Count tokens shifted since error; after three, turn off error - status. */ - if (yyerrstatus) - yyerrstatus--; - - yystate = yyn; - goto yynewstate; - - -/*-----------------------------------------------------------. -| yydefault -- do the default action for the current state. | -`-----------------------------------------------------------*/ -yydefault: - yyn = yydefact[yystate]; - if (yyn == 0) - goto yyerrlab; - goto yyreduce; - - -/*-----------------------------. -| yyreduce -- Do a reduction. | -`-----------------------------*/ -yyreduce: - /* yyn is the number of a rule to reduce with. */ - yylen = yyr2[yyn]; - - /* If YYLEN is nonzero, implement the default value of the action: - `$$ = $1'. - - Otherwise, the following line sets YYVAL to garbage. - This behavior is undocumented and Bison - users should not rely upon it. Assigning to YYVAL - unconditionally makes the parser a bit smaller, and it avoids a - GCC warning that YYVAL may be used uninitialized. */ - yyval = yyvsp[1-yylen]; - - - -#if YYDEBUG - /* We have to keep this `#if YYDEBUG', since we use variables which - are defined only if `YYDEBUG' is set. */ - if (yydebug) - { - int yyi; - - YYFPRINTF (stderr, "Reducing via rule %d (line %d), ", - yyn - 1, yyrline[yyn]); - - /* Print the symbols being reduced, and their result. */ - for (yyi = yyprhs[yyn]; yyrhs[yyi] >= 0; yyi++) - YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); - YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]); - } -#endif - switch (yyn) - { - case 2: -#line 111 "html.y" - {data = handle.start();} - break; - - case 3: -#line 112 "html.y" - {handle.end(data);} - break; - - case 4: -#line 115 "html.y" - {handle.comment(data, yyvsp[0].s);} - break; - - case 5: -#line 116 "html.y" - {handle.text(data, yyvsp[0].s);} - break; - - case 9: -#line 120 "html.y" - {handle.pi(data, yyvsp[0].s);} - break; - - case 10: -#line 121 "html.y" - {handle.endincl(data);} - break; - - case 13: -#line 126 "html.y" - {handle.starttag(data,yyvsp[-2].s,yyvsp[-1].p);} - break; - - case 14: -#line 127 "html.y" - {handle.emptytag(data,yyvsp[-2].s,yyvsp[-1].p);} - break; - - case 15: -#line 130 "html.y" - {yyval.p = yyvsp[-1].p; yyval.p->next = yyvsp[0].p;} - break; - - case 16: -#line 131 "html.y" - {yyval.p = NULL;} - break; - - case 17: -#line 134 "html.y" - {pairlist h = malloc(sizeof(*h)); - assert(h != NULL); h->name = yyvsp[0].s; - h->value=NULL; yyval.p = h;} - break; - - case 18: -#line 137 "html.y" - {pairlist h = malloc(sizeof(*h)); - assert(h != NULL); h->name = yyvsp[-2].s; - h->value = yyvsp[0].s; yyval.p = h;} - break; - - case 19: -#line 140 "html.y" - {pairlist h = malloc(sizeof(*h)); - assert(h != NULL); h->name = yyvsp[-2].s; - h->value = yyvsp[0].s; yyval.p = h;} - break; - - case 20: -#line 145 "html.y" - {handle.endtag(data, yyvsp[-1].s);} - break; - - case 21: -#line 148 "html.y" - {handle.decl(data, yyvsp[-4].s, yyvsp[-2].s, yyvsp[-1].s);} - break; - - case 22: -#line 149 "html.y" - {if (strcasecmp(yyvsp[-2].s, "public") == 0) - handle.decl(data, yyvsp[-3].s, yyvsp[-1].s, NULL); - else /* "system" */ - handle.decl(data, yyvsp[-3].s, NULL, yyvsp[-1].s);} - break; - - - } - -/* Line 1016 of /usr/local/bison/share/bison/yacc.c. */ -#line 1140 "html.c" - - yyvsp -= yylen; - yyssp -= yylen; - - -#if YYDEBUG - if (yydebug) - { - short *yyssp1 = yyss - 1; - YYFPRINTF (stderr, "state stack now"); - while (yyssp1 != yyssp) - YYFPRINTF (stderr, " %d", *++yyssp1); - YYFPRINTF (stderr, "\n"); - } -#endif - - *++yyvsp = yyval; - - - /* Now `shift' the result of the reduction. Determine what state - that goes to, based on the state we popped back to and the rule - number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; - if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTOKENS]; - - goto yynewstate; - - -/*------------------------------------. -| yyerrlab -- here on detecting error | -`------------------------------------*/ -yyerrlab: - /* If not already recovering from an error, report this error. */ - if (!yyerrstatus) - { - ++yynerrs; -#if YYERROR_VERBOSE - yyn = yypact[yystate]; - - if (YYPACT_NINF < yyn && yyn < YYLAST) - { - YYSIZE_T yysize = 0; - int yytype = YYTRANSLATE (yychar); - char *yymsg; - int yyx, yycount; - - yycount = 0; - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ - for (yyx = yyn < 0 ? -yyn : 0; - yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - yysize += yystrlen (yytname[yyx]) + 15, yycount++; - yysize += yystrlen ("parse error, unexpected ") + 1; - yysize += yystrlen (yytname[yytype]); - yymsg = (char *) YYSTACK_ALLOC (yysize); - if (yymsg != 0) - { - char *yyp = yystpcpy (yymsg, "parse error, unexpected "); - yyp = yystpcpy (yyp, yytname[yytype]); - - if (yycount < 5) - { - yycount = 0; - for (yyx = yyn < 0 ? -yyn : 0; - yyx < (int) (sizeof (yytname) / sizeof (char *)); - yyx++) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - { - const char *yyq = ! yycount ? ", expecting " : " or "; - yyp = yystpcpy (yyp, yyq); - yyp = yystpcpy (yyp, yytname[yyx]); - yycount++; - } - } - yyerror (yymsg); - YYSTACK_FREE (yymsg); - } - else - yyerror ("parse error; also virtual memory exhausted"); - } - else -#endif /* YYERROR_VERBOSE */ - yyerror ("parse error"); - } - goto yyerrlab1; - - -/*----------------------------------------------------. -| yyerrlab1 -- error raised explicitly by an action. | -`----------------------------------------------------*/ -yyerrlab1: - if (yyerrstatus == 3) - { - /* If just tried and failed to reuse lookahead token after an - error, discard it. */ - - /* Return failure if at end of input. */ - if (yychar == YYEOF) - { - /* Pop the error token. */ - YYPOPSTACK; - /* Pop the rest of the stack. */ - while (yyssp > yyss) - { - YYDPRINTF ((stderr, "Error: popping ")); - YYDSYMPRINT ((stderr, - yystos[*yyssp], - *yyvsp)); - YYDPRINTF ((stderr, "\n")); - yydestruct (yystos[*yyssp], *yyvsp); - YYPOPSTACK; - } - YYABORT; - } - - YYDPRINTF ((stderr, "Discarding token %d (%s).\n", - yychar, yytname[yychar1])); - yydestruct (yychar1, yylval); - yychar = YYEMPTY; - } - - /* Else will try to reuse lookahead token after shifting the error - token. */ - - yyerrstatus = 3; /* Each real token shifted decrements this. */ - - for (;;) - { - yyn = yypact[yystate]; - if (yyn != YYPACT_NINF) - { - yyn += YYTERROR; - if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) - { - yyn = yytable[yyn]; - if (0 < yyn) - break; - } - } - - /* Pop the current state because it cannot handle the error token. */ - if (yyssp == yyss) - YYABORT; - - YYDPRINTF ((stderr, "Error: popping ")); - YYDSYMPRINT ((stderr, - yystos[*yyssp], *yyvsp)); - YYDPRINTF ((stderr, "\n")); - - yydestruct (yystos[yystate], *yyvsp); - yyvsp--; - yystate = *--yyssp; - - -#if YYDEBUG - if (yydebug) - { - short *yyssp1 = yyss - 1; - YYFPRINTF (stderr, "Error: state stack now"); - while (yyssp1 != yyssp) - YYFPRINTF (stderr, " %d", *++yyssp1); - YYFPRINTF (stderr, "\n"); - } -#endif - } - - if (yyn == YYFINAL) - YYACCEPT; - - YYDPRINTF ((stderr, "Shifting error token, ")); - - *++yyvsp = yylval; - - - yystate = yyn; - goto yynewstate; - - -/*-------------------------------------. -| yyacceptlab -- YYACCEPT comes here. | -`-------------------------------------*/ -yyacceptlab: - yyresult = 0; - goto yyreturn; - -/*-----------------------------------. -| yyabortlab -- YYABORT comes here. | -`-----------------------------------*/ -yyabortlab: - yyresult = 1; - goto yyreturn; - -#ifndef yyoverflow -/*----------------------------------------------. -| yyoverflowlab -- parser overflow comes here. | -`----------------------------------------------*/ -yyoverflowlab: - yyerror ("parser stack overflow"); - yyresult = 2; - /* Fall through. */ -#endif - -yyreturn: -#ifndef yyoverflow - if (yyss != yyssa) - YYSTACK_FREE (yyss); -#endif - return yyresult; -} - - -#line 110 "html.y" - diff --git a/arid_examples/html-xml-utils-3.0/testruns/html.e b/arid_examples/html-xml-utils-3.0/testruns/html.e deleted file mode 100644 index 4ba32c7ca..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/html.e +++ /dev/null @@ -1,34 +0,0 @@ - typedef void (*html_handle_error_fn) - (void *clientdata, const string s, int lineno); - typedef void* (*html_handle_start_fn) - (void); - typedef void (*html_handle_end_fn) - (void *clientdata); - typedef void (*html_handle_comment_fn) - (void *clientdata, const string commenttext); - typedef void (*html_handle_text_fn) - (void *clientdata, const string text); - typedef void (*html_handle_decl_fn) - (void *clientdata, const string gi, const string fpi, const string url); - typedef void (*html_handle_pi_fn) - (void *clientdata, const string pi_text); - typedef void (*html_handle_starttag_fn) - (void *clientdata, const string name, pairlist attribs); - typedef void (*html_handle_emptytag_fn) - (void *clientdata, const string name, pairlist attribs); - typedef void (*html_handle_endtag_fn) - (void *clientdata, const string name); - typedef void (*html_handle_endincl_fn) - (void *clientdata); - extern int yyparse(void); - void set_error_handler(html_handle_error_fn f); - void set_start_handler(html_handle_start_fn f); - void set_end_handler(html_handle_end_fn f); - void set_comment_handler(html_handle_comment_fn f); - void set_text_handler(html_handle_text_fn f); - void set_decl_handler(html_handle_decl_fn f); - void set_pi_handler(html_handle_pi_fn f); - void set_starttag_handler(html_handle_starttag_fn f); - void set_emptytag_handler(html_handle_emptytag_fn f); - void set_endtag_handler(html_handle_endtag_fn f); - void set_endincl_handler(html_handle_endincl_fn f); diff --git a/arid_examples/html-xml-utils-3.0/testruns/html.h b/arid_examples/html-xml-utils-3.0/testruns/html.h deleted file mode 100644 index 85f62c469..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/html.h +++ /dev/null @@ -1,76 +0,0 @@ -/* A Bison parser, made from /0/w3c/bbos/Work/HTML/html.y, by GNU bison 1.75. */ - -/* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ - -#ifndef BISON_Y_TAB_H -# define BISON_Y_TAB_H - -/* Tokens. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - TEXT = 258, - COMMENT = 259, - START = 260, - END = 261, - NAME = 262, - STRING = 263, - PROCINS = 264, - EMPTYEND = 265, - DOCTYPE = 266, - ENDINCL = 267 - }; -#endif -#define TEXT 258 -#define COMMENT 259 -#define START 260 -#define END 261 -#define NAME 262 -#define STRING 263 -#define PROCINS 264 -#define EMPTYEND 265 -#define DOCTYPE 266 -#define ENDINCL 267 - - - - -#ifndef YYSTYPE -#line 98 "html.y" -typedef union { - string s; - pairlist p; -} yystype; -/* Line 1281 of /usr/local/bison/share/bison/yacc.c. */ -#line 69 "html.h" -# define YYSTYPE yystype -#endif - -extern YYSTYPE yylval; - - -#endif /* not BISON_Y_TAB_H */ - diff --git a/arid_examples/html-xml-utils-3.0/testruns/htmlclean.c b/arid_examples/html-xml-utils-3.0/testruns/htmlclean.c deleted file mode 100644 index f0be02fe1..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/htmlclean.c +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Clean up an HTML file: - * Insert missing tags. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * 16 September 1997 - * Bert Bos - * $Id: htmlclean.c,v 1.9 2003/01/21 19:26:03 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#include <stdlib.h> -#include "export.h" -#include "types.e" -#include "tree.e" -#include "html.e" -#include "scan.e" - -static Tree tree; - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last even is reported */ -void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a tex chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_pop -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - - -int main(int argc, char *argv[]) -{ - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - if (argc == 1) { - yyin = stdin; - } else if (argc == 2) { - yyin = fopen(argv[1], "r"); - if (yyin == NULL) { - perror(argv[1]); - exit(2); - } - } else { - fprintf(stderr, "Version %s\n", VERSION); - fprintf(stderr, "Usage: %s [html-file]\n", argv[0]); - exit(1); - } - if (yyparse() != 0) { - exit(3); - } - tree = get_root(tree); - dumptree(tree); - return 0; - -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/htmlclean.e b/arid_examples/html-xml-utils-3.0/testruns/htmlclean.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/htmlprune.c b/arid_examples/html-xml-utils-3.0/testruns/htmlprune.c deleted file mode 100644 index dde2f86bb..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/htmlprune.c +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Remove subtrees which have a certain class attribute. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos <bert@w3.org> - * Created Feb 2000 - * $Id: htmlprune.c,v 1.6 2000/08/20 16:37:24 bbos Exp $ - * - **/ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include "export.h" -#include "types.e" -#include "tree.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "class.e" - -#define EXCLUDE_CLASS "exclude" /* Default value for class */ - -static Tree tree; -static Boolean xml = False; /* Use <empty /> convention */ - - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last event is reported */ -EXPORT void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a tex chunk is parsed */ -EXPORT void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_pop -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - -/* prune -- write the tree, suppressing elements with a certain class */ -static void prune(Tree t, const string class) -{ - Tree h; - pairlist a; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: - printf("%s", h->text); - break; - case Comment: - printf("<!--%s-->", h->text); - break; - case Declaration: - printf("<!DOCTYPE %s", h->name); - if (h->text) printf(" PUBLIC \"%s\"", h->text); else printf(" SYSTEM"); - if (h->url) printf(" \"%s\"", h->url); - printf(">"); - break; - case Procins: - printf("<?%s>", h->text); - break; - case Element: - if (! has_class(h->attribs, class)) { - printf("<%s", h->name); - for (a = h->attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - else if (xml) printf("=\"%s\"", a->name); - } - if (is_empty(h->name)) { - assert(h->children == NULL); - printf(xml ? " />" : ">"); - } else { - printf(">"); - prune(h, class); - printf("</%s>", h->name); - } - } - break; - case Root: - assert(! "Cannot happen"); - break; - default: - assert(! "Cannot happen"); - } - } -} - -/* usage -- print usage message and exit */ -static void usage(string name) -{ - fprintf(stderr, "Usage: %s [-c class] [-x] [html-file]\n", name); - exit(1); -} - - -int main(int argc, char *argv[]) -{ - int i; - string class = EXCLUDE_CLASS; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - yyin = stdin; - for (i = 1; i < argc; i++) { - if (eq(argv[i], "-c")) { - if (i >= argc - 1) usage(argv[0]); - class = argv[++i]; - } else if (eq(argv[i], "-x")) { - xml = True; - } else { - yyin = fopenurl(argv[i], "r"); - if (yyin == NULL) { - perror(argv[1]); - exit(2); - } - } - } - - if (yyparse() != 0) { - exit(3); - } - tree = get_root(tree); - prune(tree, class); - tree_delete(tree); /* Just to test memory mgmt */ - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/htmlprune.e b/arid_examples/html-xml-utils-3.0/testruns/htmlprune.e deleted file mode 100644 index ac74b3c0a..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/htmlprune.e +++ /dev/null @@ -1,11 +0,0 @@ - void handle_error(void *clientdata, const string s, int lineno); - void* start(void); - void end(void *clientdata); - void handle_comment(void *clientdata, string commenttext); - void handle_text(void *clientdata, string text); - void handle_decl(void *clientdata, string gi, - string fpi, string url); - void handle_pi(void *clientdata, string pi_text); - void handle_starttag(void *clientdata, string name, pairlist attribs); - void handle_emptytag(void *clientdata, string name, pairlist attribs); - void handle_endtag(void *clientdata, string name); diff --git a/arid_examples/html-xml-utils-3.0/testruns/iashfa.e b/arid_examples/html-xml-utils-3.0/testruns/iashfa.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/ihosd.e b/arid_examples/html-xml-utils-3.0/testruns/ihosd.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/incl.c b/arid_examples/html-xml-utils-3.0/testruns/incl.c deleted file mode 100644 index 95e94119e..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/incl.c +++ /dev/null @@ -1,329 +0,0 @@ -/* - * incl - expand included files - * - * Searches for <!--include "file"--> and expands the referenced file - * in place. File may be a URL. Works recursively. Other acepted - * syntaxes: - * - * <!--include "file"--> - * <!--include 'file'--> - * <!--include file--> - * <!--begin-include "file"-->...<!--end-include--> - * <!--begin-include 'file'-->...<!--end-include--> - * <!--begin-include file-->...<!--end-include--> - * - * If there are no quotes, the file name may not include whitespace. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos - * Created: 2 Dec 1998 - * Version: $Id: incl.c,v 1.10 2003/09/04 14:18:46 bbos Exp $ - * - **/ -#include <config.h> -#include <stdio.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <ctype.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "heap.e" -#include "url.e" - -#define INCLUDE "include" -#define BEGIN "begin-include" -#define END "end-include" - -typedef struct _stack { - Boolean skipping; - struct _stack *next; -} *stack; - -typedef enum {KNone, KIncl, KBegin, KEnd} Key; - -extern int yylineno; /* From scan.l */ - -static Boolean do_xml = False; -static Boolean has_error = False; -static string base = NULL; -static stack skipping = NULL; - - -/* push -- push a skipping state on the stack */ -static void push(stack *skipping, Boolean s) -{ - stack h; - - new(h); - h->next = *skipping; - h->skipping = s; - *skipping = h; -} - -/* pop -- pop a skipping state off the stack */ -static void pop(stack *skipping) -{ - stack h; - - assert(*skipping); - h = *skipping; - *skipping = (*skipping)->next; - dispose(h); -} - -/* top -- return value of top of skipping stack */ -static Boolean top(stack skipping) -{ - assert(skipping); - return skipping->skipping; -} - -/* word_to_key -- check whether word s is one of the recognized keywords */ -static Key word_to_key(const string s, int len) -{ - if (len == sizeof(END) - 1 && strncmp(s, END, len)== 0) return KEnd; - if (len == sizeof(INCLUDE) - 1 && strncmp(s, INCLUDE, len)== 0) return KIncl; - if (len == sizeof(BEGIN) - 1 && strncmp(s, BEGIN, len)== 0) return KBegin; - return KNone; -} - -/* --------------- implements interface api.h -------------------------- */ - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_error = True; -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - push(&skipping, False); /* Start by not skipping */ - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - assert(clientdata == NULL); - assert(top(skipping) == False); - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - /* A push() occurs at <!--begin-include...--> and at include_file() */ - /* A pop() occurs at <!--end-include...--> and at ENDINCL */ - int i, j; - string s, url; - FILE *f; - Key key; - - i = strspn(commenttext, " \t\n\r\f"); /* Skip whitespace */ - j = strcspn(commenttext + i, " \t\n\r\f"); /* First word */ - key = word_to_key(commenttext + i, j); - - if (key == KEnd) { /* <!--end-include...--> */ - - /* Don't print anything, just pop a level */ - pop(&skipping); - - } else if (top(skipping)) { /* Are we already skipping? */ - - /* Don't print anything; push a level if this is a begin-include */ - if (key == KBegin) push(&skipping, True); - - } else if (key == KNone) { /* Unrecognized comment? */ - - /* Print the comment verbatim */ - printf("<!--%s-->", commenttext); - - } else { /* include or begin-include */ - - /* Push a level if this is a begin-include */ - if (key == KBegin) push(&skipping, True); - - /* Find start of file name */ - i += j; - i += strspn(commenttext + i, " \t\n\r\f"); /* Skip whitespace */ - - /* Accept either "...", '...", or any string without spaces */ - if (commenttext[i] == '"') { - j = strcspn(commenttext + i + 1, "\""); - url = newnstring(commenttext + i + 1, j); - } else if (commenttext[i] == '\'') { - j = strcspn(commenttext + (++i), "'"); - url = newnstring(commenttext + i + 1, j); - } else { - j = strcspn(commenttext + i, " \t\n\r\f"); - url = newnstring(commenttext + i, j); - } - - /* Get the file and recursively parse it */ - s = URL_s_absolutize(base, url); - if (!(f = fopenurl(s, "r"))) - perror(url); - else { - printf("<!--%s %s-->", BEGIN, commenttext + i); - push(&skipping, False); - include_file(f); - } - dispose(url); - dispose(s); - } - - free(commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - if (top(skipping) == False) printf("%s", text); - free(text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, string fpi, string url) -{ - printf("<!DOCTYPE %s", gi); - if (!fpi) printf(" SYSTEM \"%s\">", url); - else if (!url) printf(" PUBLIC \"%s\">", fpi); - else printf(" PUBLIC \"%s\" \"%s\">", fpi, url); - free(gi); - free(fpi); - free(url); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - if (top(skipping) == False) printf("<?%s>", pi_text); - free(pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - if (top(skipping) == False) { - printf("<%s", name); - for (p = attribs; p; p = p->next) { - if (p->value != NULL) printf(" %s=\"%s\"", p->name, p->value); - else if (do_xml) printf(" %s=\"%s\"", p->name, p->name); - else printf(" %s", p->name); - } - printf(">"); - } - free(name); - pairlist_delete(attribs); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - if (top(skipping) == False) { - printf("<%s", name); - for (p = attribs; p; p = p->next) { - if (p->value != NULL) printf(" %s=\"%s\"", p->name, p->value); - else if (do_xml) printf(" %s=\"%s\"", p->name, p->name); - else printf(" %s", p->name); - } - printf(do_xml ? " />" : ">"); - } - free(name); - pairlist_delete(attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - if (top(skipping) == False) printf("</%s>", name); - free(name); -} - -/* handle_endincl -- called after the end of an included file is reached */ -void handle_endincl(void *clientdata) -{ - pop(&skipping); - - /* Mark the end of the inclusion */ - printf("<!--%s-->", END); -} - -/* --------------------------------------------------------------------- */ - -/* usage -- print usage message and exit */ -static void usage(string prog) -{ - fprintf(stderr, "Version %s\nUsage: %s [-x] [-b base] [file-or-url]\n", - VERSION, prog); - exit(2); -} - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - set_endincl_handler(handle_endincl); - - /* Parse command line arguments */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'x': do_xml = True; break; - case 'b': base = argv[++i]; break; - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) { - yyin = stdin; - base = "."; - } else if (i == argc - 1) { - yyin = fopenurl(argv[i], "r"); - if (!base) base = argv[i]; - } else { - usage(argv[0]); - } - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) exit(3); - - return has_error ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/incl.e b/arid_examples/html-xml-utils-3.0/testruns/incl.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/index.c b/arid_examples/html-xml-utils-3.0/testruns/index.c deleted file mode 100644 index 27b8e1bd8..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/index.c +++ /dev/null @@ -1,605 +0,0 @@ -/* - * Insert an index between "<!--begin-index-->" and "<!--end-index-->", - * or replacing the comment "<!--index-->" - * - * The index links to elements with ID attributes as well as with - * empty <A NAME> elements. - * - * Any <A> tags with a class of "bctarget" are not copied, but - * regenerated. They are assumed to be backwards-compatible versions - * of ID attributes on their parent elements. But if the option -t or - * -x are given, those <A> elements are removed. - * - * There's a limit of 100000 index terms (10^(MAXIDLEN-1)). - * - * Index terms are elements with a class of "index", "index-inst" or - * "index-def", as well as all <dfn> elements. The contents of the - * element is the index term, unless the element has a title - * attribute. The title attribute can contain "|" and "!!": - * - * "term" - * "term1|term2|term3|..." - * "term!!subterm!!subsubterm!!..." - * "term1!!subterm1|term2!!subterm2|..." - * etc. - * - * For backward compatibility with an earlier Perl program, "::" is - * accepted as an alternative for "!!", but it is better not to use - * both separators in the same project, since the sorting maybe - * adversely affected. - * - * Class "index-def" results in a bold entry in the index, "index" in - * a normal one. "index-inst" is an alias for "index", provided for - * backward compatibility. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 11 Apr 2000 - * Version: $Id: index.c,v 1.16 2003/04/09 10:07:12 bbos Exp $ - * - **/ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#ifdef HAVE_ERRNO_H -# include <errno.h> -#else -extern int errno; -char *strerror(int errnum); -int strerror_r(int errnum, char *buf, size_t n); -#endif - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif - -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif -#include "export.h" -#include "types.e" -#include "heap.e" -#include "tree.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "genid.e" -#include "errexit.e" -#include "class.e" - - -#define BEGIN_INDEX "begin-index" /* <!--begin-index--> */ -#define END_INDEX "end-index" /* <!--end-index--> */ -#define INDEX "index" /* <!--index--> */ -#define INDEX_INST "index-inst" /* class="index-inst" */ -#define INDEX_DEF "index-def" /* class="index-def" */ -#define TARGET "bctarget" /* CLASS="...bctarget..." */ - -#define MAXSTR 2048 /* Max. length of URL + term */ -#define MAXSUBS 20 /* Max. depth of subterms */ - -typedef struct _indexterm { - string term, url; - int importance; /* 1 (low) or 2 (high) */ -} *Indexterm; - -static Tree tree; -static Boolean xml = False; /* Use <empty /> convention */ -static string base = NULL; /* (Rel.) URL of output file */ -static string indexdb = NULL; /* Persistent store of terms */ -static FILE *globalfile; /* Must be global for twalk */ -static string globalprevious; /* Must be global for twalk */ -static Boolean bctarget = True; /* Add <A name=> after IDs */ - - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *clientdata, const string s, int lineno) -{ - (void) fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last event is reported */ -EXPORT void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a tex chunk is parsed */ -EXPORT void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - tree = html_push(tree, name, attribs); - - /* If it has an ID, store it (so we don't accidentally generate it) */ - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, "id") == 0 && p->value) storeID(p->value); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - -/* indent -- print newline and n times 2 spaces */ -static void indent(int n) -{ - putchar('\n'); - for (; n > 0; n--) printf(" "); -} - -/* write_index_item -- write one item in the list of index terms */ -static void write_index_item(const void *term1, const VISIT which, - const int depth) -{ - string sub[MAXSUBS], oldsub[MAXSUBS]; - string p; - Indexterm term = *(Indexterm*)term1; - int i, j, n, oldn; - - if (which != postorder && which != leaf) return; - - p = term->term; - n = 0; - while (p) { - sub[n] = p; - p = strstr(sub[n], "!!"); - if (!p) p = strstr(sub[n], "::"); /* Backwards compatibility */ - if (p) p += 2; - n++; - } - sub[n] = sub[n-1] + strlen(sub[n-1]) + 2; - - p = globalprevious; - oldn = 0; - while (p) { - oldsub[oldn] = p; - p = strstr(oldsub[oldn], "!!"); - if (!p) p = strstr(oldsub[oldn], "::"); /* Backwards compatibility */ - if (p) p += 2; - oldn++; - } - oldsub[oldn] = oldsub[oldn-1] + strlen(oldsub[oldn-1]) + 2; - - /* Count how many subterms are equal to the previous entry */ - for (i = 0; i < min(n, oldn) - && sub[i+1] - sub[i] == oldsub[i+1] - oldsub[i] - && strncasecmp(sub[i], oldsub[i], sub[i+1] - sub[i] - 2) == 0; - i++) ; - - for (j = oldn - 1; j > i; j--) {indent(j); printf("</ul>");} - if (n > oldn && oldn == i) {indent(i); printf("<ul>");} - - /* Print new (sub)terms */ - for (j = i; j < n; j++) { - indent(j); printf("<li>"); - for (p = sub[j]; p != sub[j+1] - 2; p++) putchar(*p); - if (j != n - 1) {indent(j+1); printf("<ul>");} - } - - /* Print a link */ - switch (term->importance) { - case 1: printf(", <a href=\"%s\">#</a>", term->url); break; - case 2: printf(", <a href=\"%s\"><strong>#</strong></a>",term->url); break; - default: assert(! "Cannot happen\n"); - } - - /* Remember this term */ - globalprevious = term->term; -} - -/* mkindex -- write out an index */ -static void mkindex(Indexterm terms) -{ - string p, h; - - printf("<ul class=\"indexlist\">"); - globalprevious = ""; - twalk(terms, write_index_item); - - /* Close all open lists */ - p = globalprevious; - while (p) { - printf("\n</ul>"); - h = p; - p = strstr(h, "!!"); - if (!p) p = strstr(h, "::"); /* Backwards compatibility */ - if (p) p += 2; - } -} - -/* expand -- write the tree, add <A NAME> if needed and replace <!--index--> */ -static void expand(Tree t, Boolean *write, Indexterm terms) -{ - Tree h; - pairlist a; - string val; - Boolean do_tag; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: - if (*write) printf("%s", h->text); - break; - case Comment: - /* To do: trim whitespace first */ - if (eq(h->text, INDEX) || eq(h->text, BEGIN_INDEX)) { - printf("<!--%s-->\n", BEGIN_INDEX); - mkindex(terms); - printf("<!--%s-->", END_INDEX); - if (eq(h->text, BEGIN_INDEX)) *write = False; /* Skip old index */ - } else if (eq(h->text, END_INDEX)) { - *write = True; - } else { - printf("<!--%s-->", h->text); - } - break; - case Declaration: - printf("<!DOCTYPE %s", h->name); - if (h->text) printf(" PUBLIC \"%s\"", h->text); else printf(" SYSTEM"); - if (h->url) printf(" \"%s\"", h->url); - printf(">"); - break; - case Procins: - if (*write) printf("<?%s>", h->text); - break; - case Element: - if (*write) { - /* If an <a> was inserted by index itself, remove it */ - do_tag = !eq(h->name, "a") || !has_class(h->attribs, TARGET); - if (do_tag) { - printf("<%s", h->name); - for (a = h->attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - } - assert(! is_empty(h->name) || h->children == NULL); - printf(xml && is_empty(h->name) ? " />" : ">"); - /* Insert an <A NAME> if element has an ID and is not <A> */ - if (bctarget && is_mixed(h->name) && get_attrib(h, "id", &val) - && !eq(h->name, "a") && ! xml) - printf("<a class=\"%s\" name=\"%s\"></a>", TARGET, val); - } - expand(h, write, terms); - if (do_tag && ! is_empty(h->name)) printf("</%s>", h->name); - } - break; - case Root: - assert(! "Cannot happen"); - break; - default: - assert(! "Cannot happen"); - } - } -} - -/* termcmp -- comparison routine for Indexterms */ -static int termcmp(const void *a1, const void *b1) -{ - Indexterm a = (Indexterm)a1, b = (Indexterm)b1; - string p, q; - - assert(a); - assert(b); - assert(a->term); - assert(b->term); - assert(a->url); - assert(b->url); - - for (p = a->term, q = b->term;; p++, q++) { - while (*p && !isalnum(*p)) p++; /* Skip punctuation */ - while (*q && !isalnum(*q)) q++; /* Skip punctuation */ - if (tolower(*p) < tolower(*q)) return -1; /* a before b */ - if (tolower(*p) > tolower(*q)) return 1; /* b before a */ - if (!*p) break; /* Same up till the end */ - } - - /* Terms are the same; sort on URL instead */ - return strcmp(a->url, b->url); -} - -/* copy_contents -- recursively expand contents of element t into a string */ -static void copy_contents(Tree t, string *s) -{ - Tree h; - int i; - pairlist a; - string p; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: - i = *s ? strlen(*s) : 0; - renewarray(*s, i + strlen(h->text) + 1); - /* Copy, but transform all whitespace to spaces */ - for (p = h->text; *p; p++, i++) (*s)[i] = isspace(*p) ? ' ' : *p; - (*s)[i] = '\0'; - break; - case Comment: break; - case Declaration: break; - case Procins: break; - case Element: - /* Only certain tags are retained */ - if (eq(h->name, "span") || eq(h->name, "code") || eq(h->name, "tt") - || eq(h->name, "acronym") || eq(h->name, "abbr") - || eq(h->name, "bdo") || eq(h->name, "kbd") || eq(h->name, "samp") - || eq(h->name, "sub") || eq(h->name, "sup") - || eq(h->name, "var")) { - strapp(s, "<", h->name, NULL); - for (a = h->attribs; a != NULL; a = a->next) { - if (! a->value) strapp(s, " ", a->name, NULL); - else strapp(s, " ", a->name, "=\"", a->value, "\"", NULL); - } - assert(! is_empty(h->name) || h->children == NULL); - if (is_empty(h->name)) { - strapp(s, xml ? " />" : ">", NULL); - } else { - strapp(s, ">", NULL); - copy_contents(h, s); - strapp(s, "</", h->name, ">", NULL); - } - } else { /* Ignore tag, copy contents */ - copy_contents(h, s); - } - break; - case Root: assert(! "Cannot happen"); break; - default: assert(! "Cannot happen"); - } - } -} - -/* copy_to_index -- copy the contents of element h to the index db */ -static void copy_to_index(Tree t, Indexterm *terms, int importance) -{ - string id, title; - Indexterm term; - int i, n; - - assert(get_attrib(t, "id", NULL)); - get_attrib(t, "id", &id); - - if (get_attrib(t, "title", &title)) { /* Parse title, not contents */ - - i = 0; - while (title[i]) { - n = strcspn(title + i, "|"); /* Find | or \0 */ - new(term); - term->importance = importance; - term->url = NULL; - strapp(&term->url, base, "#", id, NULL); - term->term = newnstring(title + i, n); - if (! tsearch(term, (void**)terms, termcmp)) - errexit("Out of memory while parsing term %s\n", term->term); - i += n; - if (title[i]) i++; /* Skip '|' */ - } - - } else { /* Recursively copy contents */ - - new(term); - term->importance = importance; - term->url = term->term = NULL; - strapp(&term->url, base, "#", id, NULL); - copy_contents(t, &term->term); - if (term->term) /* Non-empty contents */ - if (! tsearch(term, (void**)terms, termcmp)) - errexit("Out of memory while parsing term %s\n", term->term); - - } -} - -/* collect -- collect index terms, add IDs where needed */ -static void collect(Tree t, Indexterm *terms) -{ - int importance; - Tree h; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: case Comment: case Declaration: case Procins: break; - case Element: - if (eq(h->name, "dfn")) importance = 2; - else if (has_class(h->attribs,INDEX)||has_class(h->attribs,INDEX_INST)) - importance = 1; - else if (has_class(h->attribs, INDEX_DEF)) importance = 2; - else importance = 0; - if (importance != 0) { - /* Give it an ID, if it doesn't have one */ - if (! get_attrib(h, "id", NULL)) set_attrib(h, "id", gen_id(h)); - copy_to_index(h, terms, importance); - } else { - collect(h, terms); - } - break; - case Root: assert(! "Cannot happen"); break; - default: assert(! "Cannot happen"); - } - } -} - -/* load_index -- read persistent term db from file */ -static void load_index(const string indexdb, Indexterm *terms) -{ - FILE *f; - int n; - char line[MAXSTR]; - Indexterm term; - - if (! (f = fopen(indexdb, "r"))) return; /* Assume file not found... */ - - while (fgets(line, sizeof(line), f)) { - chomp(line); - n = strcspn(line, "\t"); - if (line[n] != '\t') errexit("Illegal syntax in %s\n", indexdb); - new(term); - term->term = newnstring(line, n); - switch (line[n + 1]) { - case '1': term->importance = 1; break; - case '2': term->importance = 2; break; - default: errexit("Error in %s (column 2 must be '1' or '2')\n", indexdb); - } - if (line[n+2] != '\t') errexit("Illegal syntax in %s\n", indexdb); - term->url = newstring(line + n + 3); - if (! tsearch(term, (void**)terms, termcmp)) - errexit("Out of memory while loading %s\n", indexdb); - } - - fclose(f); -} - -/* save_a_term -- write one term to globalfile */ -static void save_a_term(const void *term1, const VISIT which, const int dp) -{ - Indexterm term = *(Indexterm*)term1; - - if (which == endorder || which == leaf) - fprintf(globalfile, "%s\t%d\t%s\n", term->term,term->importance,term->url); -} - -/* save_index -- write terms to file */ -static void save_index(const string indexdb, Indexterm terms) -{ - if (! (globalfile = fopen(indexdb, "w"))) - errexit("%s: %s\n", indexdb, strerror(errno)); - twalk(terms, save_a_term); - fclose(globalfile); -} - -/* usage -- print usage message and exit */ -static void usage(string name) -{ - errexit("Version %s\nUsage: %s [-i indexdb] [-b base] [-x] [-t] [html-file]\n", - VERSION, name); -} - - -int main(int argc, char *argv[]) -{ - int i; - Boolean write = True; - Indexterm termtree = NULL; /* Sorted tree of terms */ - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - yyin = NULL; - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 't': /* Don't write <a name> after each ID */ - bctarget = False; - break; - case 'x': /* Output as XML */ - xml = True; - break; - case 'b': /* Set base of URL */ - base = strdup(argv[i][2] ? argv[i] + 2 : argv[++i]); - break; - case 'i': /* Set name of index db */ - indexdb = strdup(argv[i][2] ? argv[i] + 2 : argv[++i]); - break; - case '\0': - yyin = stdin; - break; - default: - usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) {if (!yyin) yyin = stdin;} - else if (i == argc - 1 && eq(argv[i], "-")) yyin = stdin; - else if (i == argc - 1) yyin = fopenurl(argv[i], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (!base && i == argc - 1) base = newstring(argv[i]); - if (!base) base = newstring(""); - - /* Read the index DB into memory */ - if (indexdb) load_index(indexdb, &termtree); - - /* Parse, build tree, collect existing IDs */ - if (yyparse() != 0) exit(3); - - /* Scan for index terms, add them to the tree, add IDs where needed */ - collect(get_root(tree), &termtree); - - /* Write out the document, adding <A NAME> and replacing <!--index--> */ - expand(get_root(tree), &write, termtree); - - /* Store terms to file */ - if (indexdb) save_index(indexdb, termtree); - - fclose(yyin); -#if 0 - tree_delete(tree); /* Just to test memory mgmt */ -#endif - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/index.e b/arid_examples/html-xml-utils-3.0/testruns/index.e deleted file mode 100644 index c2dc2d17c..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/index.e +++ /dev/null @@ -1,4 +0,0 @@ - void handle_pi(void *clientdata, string pi_text); - void handle_starttag(void *clientdata, string name, pairlist attribs); - void handle_emptytag(void *clientdata, string name, pairlist attribs); - void handle_endtag(void *clientdata, string name); diff --git a/arid_examples/html-xml-utils-3.0/testruns/ish.e b/arid_examples/html-xml-utils-3.0/testruns/ish.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/j*.e b/arid_examples/html-xml-utils-3.0/testruns/j*.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/junk.c b/arid_examples/html-xml-utils-3.0/testruns/junk.c deleted file mode 100644 index 7a948e45a..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/junk.c +++ /dev/null @@ -1,4 +0,0 @@ -sdfffffffffffffffaaaaaaaaaaaa -sdffffffffffffffffffffff -sdffffffffffffffffffffffffffffffffffd -sdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc44444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444ccccccccccccccrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkeoitagggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggiffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffj diff --git a/arid_examples/html-xml-utils-3.0/testruns/junk.e b/arid_examples/html-xml-utils-3.0/testruns/junk.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/k*.e b/arid_examples/html-xml-utils-3.0/testruns/k*.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/l*.e b/arid_examples/html-xml-utils-3.0/testruns/l*.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/malloc.c b/arid_examples/html-xml-utils-3.0/testruns/malloc.c deleted file mode 100644 index 0165d8866..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/malloc.c +++ /dev/null @@ -1,19 +0,0 @@ -#if HAVE_CONFIG_H -# include <config.h> -#endif -#undef malloc - -#include <sys/types.h> - -void *malloc (); - -/* Allocate an N-byte block of memory from the heap. - If N is zero, allocate a 1-byte block. */ - -void * -rpl_malloc (size_t n) -{ - if (n == 0) - n = 1; - return malloc (n); -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/malloc.e b/arid_examples/html-xml-utils-3.0/testruns/malloc.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/mkbib.c b/arid_examples/html-xml-utils-3.0/testruns/mkbib.c deleted file mode 100644 index e96f7cc32..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/mkbib.c +++ /dev/null @@ -1,550 +0,0 @@ -/* - * mkbib - extract database entries from a db and format them - * - * mkbib reads a refer-style database of bibliographic entries, a list - * of keys and a pattern file and outputs a list of citations - * formatted according to the pattern and optionally sorted. - * - * The keys must correspond to %L fields in the refer database. - * - * The pattern file has the following structure: - * - * pattern: PREAMBLE entry POSTAMBLE; - * entry: "{L:" [ TEXT | FIELD | conditional ]* "}"; - * conditional: "{" !"? F ":" [ TEXT | FIELD | conditional ]* "}"; - * - * In the output, the entry will be repeated as often as there are - * unique keys. A FIELD is of the form "%x" and wil be replaced by - * field x of the entry. - * - * A part of the form "{x:ZZZ}" will be replaced by ZZZ if field x - * exists and by nothing otherwise. A part of the form "{!x:ZZZ}" will - * be replaced by ZZZ if field x does not exist. - * - * Occurrences of %x in the preamble (where x is a field name) will - * not be output, but serve to build up the sort order. The default - * sort order is to keep entries in the order they occur in the - * auxfile, but if, e.g., "%A%D%T" occurs in the preamble, entries - * will be sorted on author, date and title. - * - * To insert a literal "{", "}" or "%" in the preamble or in an entry, - * prefix them with "%": "%{", "%}" and "%%". - * - * Usage: mkbib [-a auxfile] bibfile [inputfile] - * - * bibfile is a refer-style database. - * - * inputfile is the file that serves as template. If absent, stdin - * is read. - * - * -a auxfile gives the name of the list of keys. If absent, the name - * will be the same as inputfile with the extension (if any) - * changed to ".aux". If no inputfile is given the default auxfile - * is "aux.aux". Duplicate keys will only be used once. - * - * Note: When the "{x:" and "}" are inside an HTML file, they may be - * in places where data is not allowed. To make the input file - * itself valid HTML, it may be necessary to put them inside comments: - * <!--{x:--> and <!--}-->. If one of them is put inside a comment, - * the other must be as well. - * - * Here is an example of an input file: - * - * <html> - * <title>Bibliography</title> - * <!-- sort order is Author, Date, Title %A%D%T--> - * <dl> - * <!--{L:--><dt id="%L">%L - * <dd>{A:%A.} <em>{T:%T.}</em> {D:%D. } - * <!--}--></dl> - * </html> - * - * To do: if the template has a period after a field and the field ends - * in a period as well, only output one of the two. - * - * To do: if there are more than three authors or editors, only output - * the first and add a string like "et al." or "and others" - * (configurable). - * - * To do: if the template adds something like "(eds)", allow it to be - * changed to "(ed)" if there is only one editor. - * - * Copyright © 1994-2004 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 19 March 2000 - * Version: $Id: mkbib.c,v 1.25 2004/04/29 15:48:56 bbos Exp $ - **/ -#include <config.h> -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <stdlib.h> -#include <assert.h> - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "hash.e" /* Use our own implementation */ -#endif - -#include <ctype.h> -#include "heap.e" -#include "types.e" -#include "errexit.e" - - -#define LINESIZE 32768 -#define INCR 25 -/* Warning: arbitrary limit! */ -#define HASHSIZE 4096 /* Size of hash table */ - -static string prog; /* argv[0] */ -static string sortorder = NULL; /* Default is unsorted */ -static string separator = "; "; /* Separates authors */ -static int et_al_limit = 3; /* Max # of authors to print */ -static string et_al = "et al."; /* String if more authors */ - - -/* escape -- print a string, escaping characters dangerous for XML/HTML */ -static void escape(const string s, char *last) -{ - int i; - - for (i = 0; s[i]; i++) - switch (s[i]) { - case '<': printf("<"); break; - case '>': printf(">"); break; - case '&': printf("&"); break; - case '"': printf("""); break; - default: putchar(s[i]); - } - if (i > 0) *last = s[i-1]; -} - - -/* put_field -- copy field field of entry with label key */ -static void put_field(const string key, unsigned char field, char *last) -{ - ENTRY *e, e1 = {key, NULL}; - string *lines; - int i, j, nrfields; - - /* ToDo: escape dangerous characters */ - /* ToDo: print "et. al." if more than N authors */ - /* ToDo: for fields other than %A and %E use only the last occurrence */ - /* ToDo: interpret and pretty-print dates in a consistent manner */ - - if (field == '%' || field == '{' || field == '}') { /* Literal */ - putchar(field); - *last = '\0'; - return; - } - - /* Find the entry for key */ - if (! (e = hsearch(e1, FIND))) { - fprintf(stderr, "%s: entry for key %s not found\n", prog, key); - return; - } - - /* Count how many occurences of %field there are in the entry */ - lines = (string*)e->data; /* Type cast */ - for (i = 0, nrfields = 0; lines[i]; i++) - if (lines[i][1] == field) nrfields++; - - /* Check that there is indeed a field */ - if (nrfields == 0) { - fprintf(stderr, "%s: entry %s has no field %%%c\n", prog, key, field); - return; - } - - /* Check that there are no duplicate fields, other than for A and E */ - if (nrfields != 1 && ! (field == 'A' || field == 'E')) { - fprintf(stderr, "%s: entry %s has duplicate field %%%c\n", - prog, key, field); - return; - } - - /* Now print the field(s) */ - if (nrfields > et_al_limit) { /* Print only the first */ - for (i = 0; lines[i][1] != field; i++); /* Find the first */ - escape(lines[i] + 3, last); /* Print with entities */ - printf("%s%s", separator, et_al); - *last = et_al[strlen(et_al) - 1]; - } else { /* Print all fields */ - for (i = 0, j = 0; lines[i]; i++) { - if (lines[i][1] == field) { /* Found it */ - if (j != 0) printf("%s", separator); /* Multiple fields */ - escape(lines[i] + 3, last); /* Print with entities */ - j++; - } - } - } -} - - -/* get_field -- check that entry for key has a field f, return ptr to field */ -static string get_field(const string key, const unsigned char f) -{ - ENTRY *e, e1 = {key, NULL}; - string *lines; - int i; - - /* Find the entry for key */ - e = hsearch(e1, FIND); - assert(e != NULL); - assert(e->data != NULL); - - /* Find a line that starts with %field */ - lines = (string*)e->data; /* Type cast */ - for (i = 0; lines[i] && lines[i][1] != f; i++) ; - - assert(! lines[i] || (lines[i][0] == '%' && lines[i][2] == ' ')); - return lines[i]; -} - - -/* compare_keys -- return the relative sort order for two keys: -1, 0, 1 */ -static int compare_keys(const void *aptr, const void *bptr) -{ - ENTRY e, *ae, *be; - int c, i; - string af, bf, a = *(string*)aptr, b = *(string*)bptr; - - /* Get the entry for key a */ - e.key = a; - ae = hsearch(e, FIND); - assert(ae != NULL); - - /* Get the entry for key b */ - e.key = b; - be = hsearch(e, FIND); - assert(be != NULL); - - /* Loop over sortorder, stop as soon as entries a and b are unequal */ - for (i = 0, c = 0; c == 0 && sortorder[i]; i++) { - af = get_field(a, sortorder[i]); - bf = get_field(b, sortorder[i]); - c = strcmp(af ? af : (string)"", bf ? bf : (string)""); - } - - return c; -} - - -/* sort_keys -- sort the keys according to the sort order given */ -static void sort_keys(string *keys, const int n) -{ - assert(sortorder != NULL); - qsort(keys, n, sizeof(*keys), compare_keys); -} - - -/* conditional -- conditionally copy a %{...%} segment */ -static int conditional(const string pattern, const string key, char *last) -{ - Boolean on; - int level, i = 1; - - /* Pattern starts with '{' */ - assert(pattern[0] == '{' && pattern[1] != '\0'); - - /* Check the condition */ - if (pattern[i] == '!') on = !get_field(key, pattern[++i]); - else on = get_field(key, pattern[i]) != NULL; - - if (pattern[i+1] != ':') errexit("%s: missing ':' in pattern\n", prog); - - /* Skip or copy until matching '%}' */ - if (! on) { /* Skip until matching '}' */ - for (i += 2, level = 1; level != 0; i++) - if (pattern[i] == '%') { - if (pattern[++i] == '{') level++; - else if (pattern[i] == '}') level--; - } - i--; /* i points to '}' */ - } else { /* Recursively copy segment */ - for (i += 2; True; i++) - if (pattern[i] == '%') { - if (pattern[++i] == '{') i += conditional(pattern + i, key, last); - else if (pattern[i] == '}') break; - else if (pattern[i] == '%') {putchar('%'); *last = '\0';} - else put_field(key, pattern[i], last); - } else if (*last != '.' || pattern[i] != '.') { - putchar(pattern[i]); - *last = '\0'; - } else { - *last = '\0'; /* Don't print this '.' */ - } - } - - return i; /* Points at '}' */ -} - - -/* copy -- copy pattern, expanding fields. (May sort keys) */ -static void copy(const string pattern, string *keys, const int n) -{ - int j, start, end, level, slen = 0; - char last = '\0'; /* Last char of field */ - - assert(sortorder == NULL); - - /* ToDo: Find a way to declare the separator in the source. Maybe {&:...} */ - - /* Find first '%{'. Also look for sort order */ - for (start = 0; pattern[start]; start++) { - if (pattern[start] == '%') { /* Special character */ - if (pattern[++start] == '{') { /* Start of template */ - break; - } else if ('A' <= pattern[start] && pattern[start] <= 'Z') { - renewarray(sortorder, slen + 2); /* Sort order */ - sortorder[slen] = pattern[start]; - sortorder[++slen] = '\0'; - } else { - putchar('%'); /* Not special */ - putchar(pattern[start]); - } - } else { /* Normal character */ - putchar(pattern[start]); - } - } - if (!pattern[start]) { - fprintf(stderr, "%s: warning: no '%%{' in input file\n", prog); - return; /* Nothing more to copy */ - } - - /* Sort the keys if there was a sort order */ - if (sortorder) sort_keys(keys, n); - - /* Start now points to '{'. Find matching '%}' */ - for (end = start + 1, level = 1; pattern[end] && level != 0; end++) { - if (pattern[end] == '%') { - if (pattern[++end] == '}') level--; - else if (pattern[end] == '{') level++; - } - } - if (level != 0) errexit("%s: unbalanced %{..%} in pattern\n", prog); - - /* End now points just after '}'. Loop over keys */ - for (j = 0; j < n; j++) - conditional(pattern + start, keys[j], &last); - - /* Copy postamble */ - printf("%s", pattern + end); -} - - -/* in_list -- check if s is in the list of strings */ -static Boolean in_list(const string s, const string *list, const int n) -{ - int i; - - for (i = 0; i < n && strcmp(s, list[i]) != 0; i++) ; - return i < n; -} - - -/* read_keys -- read the list of keys from file f */ -static string *read_keys(FILE *f, int *number) -{ - int i, e, n = 0; - unsigned char line[LINESIZE]; - string *keys = NULL; - - clearerr(f); - while (fgets(line, sizeof(line), f)) { - - /* Remove trailing \n and other whitespace */ - for (i = strlen(line); i > 0 && isspace(line[i-1]); i--) ; - line[i] = '\0'; - - /* ToDo: linear search fast enough? Books don't have 1000's of refs... */ - if (! in_list(line, keys, n)) { - renewarray(keys, INCR * ((n + 1)/INCR + 1)); - keys[n++] = newstring(line); - } - } - if ((e = ferror(f))) errexit("%s: %s\n", prog, strerror(e)); - - *number = n; - return keys; -} - - -/* check_and_store_entry -- check if we need this entry and if so store it */ -static void check_and_store_entry(const string key, string *lines, int n) -{ - ENTRY e, *e1; - - renewarray(lines, INCR * ((n + 1)/INCR + 1)); - lines[n] = NULL; /* Mark end of entry */ - if (key) { /* Does it have a key at all */ - e.key = key; - if ((e1 = hsearch(e, FIND))) /* Do we need this entry? */ - e1->data = (char*)lines; /* Replace its data field */ - } -} - - -/* read_entries -- read the relevant entries from the refer database */ -static void read_entries(FILE *f, const string *keys, const int n) -{ - unsigned char line[LINESIZE]; - string *lines = NULL; - string key = NULL; - ENTRY e, *e1; - int i, j, fe; - - /* First enter all keys into the hash table without any data */ - for (i = 0; i < n; i++) { - e.key = newstring(keys[i]); - e.data = NULL; - if (! hsearch(e, ENTER)) errexit("%s: %s\n", prog, strerror(errno)); - } - - /* Now read entries from the database */ - clearerr(f); - i = 0; - while (fgets(line, sizeof(line), f)) { - - if (line[0] != '%') { /* Separator line */ - if (i != 0) { /* We were in an entry */ - check_and_store_entry(key, lines, i); - i = 0; /* Reset */ - key = NULL; /* Reset */ - lines = NULL; /* Reset */ - } - } else { /* This line is a field */ - for (j = strlen(line); j > 0 && isspace(line[j-1]); j--) ; - line[j] = '\0'; /* Remove trailing spaces */ - renewarray(lines, INCR * ((i + 1)/INCR + 1)); - lines[i] = newstring(line); - if (strncmp(lines[i], "%L ", 3) == 0) key = lines[i] + 3; - i++; - } - } - if ((fe = ferror(f))) errexit("%s: %s\n", prog, strerror(fe)); - - /* Check if last entry was already stored */ - if (i != 0) /* We were still in an entry */ - check_and_store_entry(key, lines, i); - - /* Check that we found all keys */ - for (i = 0; i < n; i++) { - e.key = keys[i]; - e1 = hsearch(e, FIND); - assert(e1); - if (! e1->data) errexit("%s: entry for \"%s\" not found\n", prog, keys[i]); - } - -} - - -/* read_pattern -- read the input file into memory */ -static string read_pattern(FILE *f) -{ - string p = NULL; - int n, len = 0; - - /* ToDo: use ferror to check for errors */ - do { - renewarray(p, len + LINESIZE + 1); - n = fread(p + len, sizeof(*p), LINESIZE, f); - len += n; - } while (! feof(f)); - p[len] = '\0'; - return p; -} - - -/* usage -- print usage message and exit */ -static void usage(void) -{ - errexit("Version %s\nUsage: %s [-a auxfile] [-s sep] [-n maxauthors] [-r moreauthors] bibfile [inputfile]\n", - VERSION, prog); -} - - -/* main - main body */ -int main(int argc, char *argv[]) -{ - string auxfile = NULL, pattern, inputfile = NULL, dbfile, h; - string *keys = NULL; - FILE *f, *db, *aux; - int i, n; - - /* Parse command line */ - prog = argv[0]; - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'a': auxfile = argv[++i]; break; - case 's': separator = argv[++i]; break; - case 'n': et_al_limit = atoi(argv[++i]); break; - case 'r': et_al = argv[++i]; break; - default: usage(); - } - } - if (i < argc && eq(argv[i], "--")) i++; - if (i == argc || argc > i + 2) usage(); - - /* First argument is refer database */ - dbfile = argv[i++]; - - /* Optional second argument is input file */ - if (i != argc) inputfile = argv[i]; - - /* If we don't have an explicit auxfile yet, derive its name */ - if (! auxfile) { - if (! inputfile) { - auxfile = "aux.aux"; - } else { - newarray(auxfile, strlen(argv[i]) + 5); - strcpy(auxfile, argv[i]); - if ((h = strrchr(auxfile, '.'))) *h = '\0'; - strcat(auxfile, ".aux"); - } - } - - /* Create a hash table */ - if (! hcreate(HASHSIZE)) errexit("%s: not enough memory for hash table\n", prog); - - /* Read keys from aux file */ - if (! (aux = fopen(auxfile, "r"))) - errexit("%s: %s: %s\n", prog, auxfile, strerror(errno)); - keys = read_keys(aux, &n); - if (fclose(aux) != 0) - errexit("%s: %s: %s\n", prog, auxfile, strerror(errno)); - - /* Read the entries we need from the database */ - if (! (db = fopen(dbfile, "r"))) - errexit("%s: %s: %s\n", prog, dbfile, strerror(errno)); - read_entries(db, keys, n); - if (fclose(db) != 0) - errexit("%s: %s: %s\n", prog, dbfile, strerror(errno)); - - /* Read pattern into memory */ - if (! (f = inputfile ? fopen(inputfile, "r") : stdin)) - errexit("%s: %s: %s\n", prog, inputfile, strerror(errno)); - pattern = read_pattern(f); - if (fclose(f) != 0) - errexit("%s: %s: %s\n", prog, inputfile, strerror(errno)); - - /* Copy and expand the pattern */ - copy(pattern, keys, n); - - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/mkbib.e b/arid_examples/html-xml-utils-3.0/testruns/mkbib.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/multitoc.c b/arid_examples/html-xml-utils-3.0/testruns/multitoc.c deleted file mode 100644 index 8981e9943..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/multitoc.c +++ /dev/null @@ -1,287 +0,0 @@ -/* - * Output a table of content of all the headers in all the files - * given on the command line. - * - * Headers with class "no-toc" will not be listed in the ToC. - * - * The ToC links to elements with ID attributes as well as with - * empty <A NAME> elements. - * - * Tags for a <SPAN> with class "index" are assumed to be used by - * a cross-reference generator and will not be copied to the ToC. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos <bert@w3.org> - * Created Sep 1997 - * $Id: multitoc.c,v 1.15 2002/02/05 18:53:50 bbos Exp $ - */ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "class.e" - -#define NO_TOC "no-toc" /* CLASS="... no-toc..." */ -#define INDEX "index" /* CLASS="... index..." */ - -#define MAXLINELEN 1024 /* In configfile */ - -#define EXPAND True -#define NO_EXPAND False -#define KEEP_ANCHORS True -#define REMOVE_ANCHORS False - -static int toc_low = 1, toc_high = 6; /* Which headers to include */ -static Boolean xml = False; /* Use <empty /> convention */ -static Boolean copying = False; /* Start by not copying */ -static int curlevel = 0; /* Level of previous heading */ -static string base = NULL; /* URL of each file */ -static string endtext = ""; /* Text to insert at end */ - - -/* attval -- get value of a specific attribute, or NULL */ -static const string attval(pairlist attribs, const string name) -{ - pairlist p; - - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, name) == 0) return p->value ? p->value : p->name; - return NULL; -} - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) {return NULL;} - -/* end -- called after the last event is reported */ -EXPORT void end(void *clientdata) {} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *clientdata, const string commenttext) {} - -/* handle_text -- called after a text chunk is parsed */ -EXPORT void handle_text(void *clientdata, const string text) -{ - if (copying) fputs(text, stdout); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *clientdata, const string gi, - const string fpi, const string url) {} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *clientdata, const string pi_text) {} - -/* handle_header -- handle a H? start tag */ -static void handle_header(int level, pairlist attribs) -{ - string id; - - if (has_class(attribs, NO_TOC)) return; - if (level < toc_low || level > toc_high) return; - for (; curlevel > level; curlevel--) printf("</ul>\n"); - for (; curlevel < level - 1; curlevel++) printf("<li><ul class=\"toc\">\n"); - if (curlevel == level - 1) {printf("<ul class=\"toc\">\n"); curlevel++;} - id = attval(attribs, "id"); - printf("<li><a href=\"%s#%s\">", base, id ? id : (string) ""); - copying = True; -} - -/* handle_span -- print a <span> starttag but without class=index */ -static void handle_span(pairlist attribs) -{ - pairlist a; - string t, h; - - printf("<span"); - for (a = attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (strcasecmp(a->name, "class") == 0 && (t = contains(a->value, INDEX))) { - /* Print value excluding INDEX */ - printf("=\""); - for (h = a->value; h != t; h++) putchar(*h); - printf("%s\"", t + sizeof(INDEX) - 1); - } else { - if (a->value) printf("=\"%s\"", a->value); - } - } - printf(">"); -} - -/* finalize -- close any open lists */ -static void finalize(void) -{ - for (; curlevel >= toc_low; curlevel--) printf("</ul>\n"); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *clientdata, const string name, - pairlist attribs) -{ - pairlist a; - - if (eq(name, "h1") || eq(name, "H1")) handle_header(1, attribs); - else if (eq(name, "h2") || eq(name, "H2")) handle_header(2, attribs); - else if (eq(name, "h3") || eq(name, "H3")) handle_header(3, attribs); - else if (eq(name, "h4") || eq(name, "H4")) handle_header(4, attribs); - else if (eq(name, "h5") || eq(name, "H5")) handle_header(5, attribs); - else if (eq(name, "h6") || eq(name, "H6")) handle_header(6, attribs); - else if (eq(name, "a") || eq(name, "A")) ; /* Skip anchors */ - else if (copying && !strcasecmp(name, "span")) handle_span(attribs); - else if (copying) { /* Copy the tag */ - printf("<%s", name); - for (a = attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - } - printf(">"); - } -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *clientdata, const string name, - pairlist attribs) -{ - pairlist a; - - if (copying && !eq(name, "a") && !eq(name, "A")) { /* Copy the tag */ - printf("<%s", name); - for (a = attribs; a != NULL; a = a->next) { - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - } - printf(xml ? " />" : ">"); - } -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *clientdata, const string name) -{ - if (copying) { - if (eq(name, "h1") || eq(name, "H1") || eq(name, "h2") - || eq(name, "H2") || eq(name, "h3") || eq(name, "H3") - || eq(name, "h4") || eq(name, "H4") || eq(name, "h5") - || eq(name, "H5") || eq(name, "h6") || eq(name, "H6")) { - printf("</a>\n"); - copying = False; - } else if (eq(name, "a") || eq(name, "A")) { - /* skip anchors */ - } else { - printf("</%s>", name); - } - } -} - -/* process_configfile -- read @chapter lines from config file */ -static void process_configfile(const string configfile) -{ - unsigned char line[MAXLINELEN], chapter[MAXLINELEN]; - FILE *f; - - if (! (f = fopenurl(configfile, "r"))) {perror(configfile); exit(2);} - - /* ToDo: accept quoted file names with spaces in their name */ - while (fgets(line, sizeof(line), f)) { - if (sscanf(line, " @chapter %s", chapter) == 1) { - if (!base) base = chapter; - yyin = fopenurl(chapter, "r"); - if (yyin == NULL) {perror(chapter); exit(2);} - if (yyparse() != 0) exit(3); - fclose(yyin); - base = NULL; - } - } - - fclose(f); -} - -/* usage -- print usage message and exit */ -static void usage(const string name) -{ - fprintf(stderr, "Version %s\n\ -Usage: %s [-x] [-s text ] [-e text ] [-l low | -h high | -b base | html-file \ -| -c configfile]+\n", - VERSION, name); - exit(1); -} - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Loop over arguments; options may be in between file names */ - for (i = 1; i < argc; i++) { - if (eq(argv[i], "-l")) { - if (i >= argc - 1) usage(argv[0]); - toc_low = atoi(argv[++i]); - curlevel = toc_low - 1; - if (toc_low < 1) toc_low = 1; - } else if (eq(argv[i], "-h")) { - if (i >= argc - 1) usage(argv[0]); - toc_high = atoi(argv[++i]); - if (toc_high > 6) toc_high = 6; - } else if (eq(argv[i], "-x")) { /* XML format */ - xml = True; - } else if (eq(argv[i], "-s")) { /* Insert text at start */ - printf("%s", argv[++i]); - } else if (eq(argv[i], "-e")) { /* Insert text at end */ - endtext = argv[++i]; - } else if (eq(argv[i], "-b")) { - base = argv[++i]; - } else if (eq(argv[i], "-c")) { /* Config file */ - process_configfile(argv[++i]); - } else if (eq(argv[i], "-")) { - if (!base) base = ""; - yyin = stdin; - if (yyparse() != 0) exit(3); - base = NULL; /* Reset base */ - } else { - if (!base) base = argv[i]; - yyin = fopenurl(argv[i], "r"); - if (yyin == NULL) {perror(argv[1]); exit(2);} - if (yyparse() != 0) exit(3); - fclose(yyin); - base = NULL; - } - } - finalize(); - printf("%s", endtext); /* Insert text at end */ - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/multitoc.e b/arid_examples/html-xml-utils-3.0/testruns/multitoc.e deleted file mode 100644 index f087ef44e..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/multitoc.e +++ /dev/null @@ -1,13 +0,0 @@ - void handle_error(void *clientdata, const string s, int lineno); - void* start(void); - void end(void *clientdata); - void handle_comment(void *clientdata, const string commenttext); - void handle_text(void *clientdata, const string text); - void handle_decl(void *clientdata, const string gi, - const string fpi, const string url); - void handle_pi(void *clientdata, const string pi_text); - void handle_starttag(void *clientdata, const string name, - pairlist attribs); - void handle_emptytag(void *clientdata, const string name, - pairlist attribs); - void handle_endtag(void *clientdata, const string name); diff --git a/arid_examples/html-xml-utils-3.0/testruns/normalize.c b/arid_examples/html-xml-utils-3.0/testruns/normalize.c deleted file mode 100644 index b579de0f0..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/normalize.c +++ /dev/null @@ -1,282 +0,0 @@ -/* - * Format an HTML source in a consistent manner. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Created 9 May 1998 - * Bert Bos <bert@w3.org> - * $Id: normalize.c,v 1.23 2003/12/02 18:19:24 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#include <ctype.h> -#include <stdlib.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#ifdef HAVE_STRING_H -# include <string.h> -#elif HAVE_STRINGS_H -# include <strings.h> -#endif -#include <assert.h> -#include "export.h" -#include "types.e" -#include "tree.e" -#include "html.e" -#include "scan.e" -#include "textwrap.e" -#include "openurl.e" - -static Tree tree; -static Boolean do_xml = False; -static Boolean do_endtag = False; -static Boolean has_errors = False; -static Boolean do_doctype = True; - - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_errors = True; -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - tree = html_push(tree, name, attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); - free(name); -} - -/* insert -- insert an attribute into a sorted list of attributes */ -static pairlist insert(pairlist x, pairlist list) -{ - if (! list) { /* Empty list */ - x->next = NULL; - return x; - } else if (strcmp(x->name, list->name) <= 0) { /* Insert at head */ - x->next = list; - return x; - } else { /* Insert not at head */ - list->next = insert(x, list->next); - return list; - } -} - -/* sort_list -- sort a linked list of attributes, return reordered list */ -static pairlist sort_list(pairlist list) -{ - /* Insertion sort should be fast enough... */ - if (! list) return NULL; - else return insert(list, sort_list(list->next)); -} - -/* only_space -- check if s contains only whitespace */ -static Boolean only_space(string s) -{ - while (*s == ' ' || *s == '\n' || *s == '\r' || *s == '\t' || *s == '\f') - s++; - return *s == '\0'; -} - -/* pp -- print the document normalized */ -static void pp(Tree n, Boolean preformatted, Boolean allow_text) -{ - Boolean pre, mixed; - string s; - pairlist h; - size_t i; - Tree l; - - switch (n->tp) { - case Text: - if (!allow_text) { - assert(only_space(n->text)); - } else { - s = n->text; - i = strlen(s); -#if 0 - if (s[0] == '\r' && s[1] == '\n') {s += 2; i -= 2;} - else if (s[0] == '\n' || s[0] == '\r') {s++; i--;} - if (i > 1 && s[i-1] == '\n' && s[i-2] == '\r') i -= 2; - else if (i > 0 && (s[i-1] == '\r' || s[i-1] == '\n')) i--; -#endif - outn(s, i, preformatted); - } - break; - case Comment: - out("<!--", True); out(n->text, True); - if (allow_text || preformatted) out("-->", True); - else outln("-->", preformatted); - break; - case Declaration: - if (do_doctype) { - out("<!DOCTYPE ", False); - out(n->name, False); - if (n->text) { - out(" PUBLIC \"", False); - out(n->text, False); - out("\"", False); - } else - out(" SYSTEM", False); - if (n->url) { - out(" \"", False); - out(n->url, False); - out("\"", False); - } - outln(">", False); - } - break; - case Procins: - out("<?", False); out(n->text, True); - if (allow_text || preformatted) out(">", False); - else outln(">", False); - break; - case Element: - if (!preformatted && break_before(n->name)) outln(NULL, False); - out("<", preformatted); out(n->name, preformatted); - if (break_before(n->name)) inc_indent(); - n->attribs = sort_list(n->attribs); - for (h = n->attribs; h != NULL; h = h->next) { - out(" ", preformatted); out(h->name, preformatted); - if (h->value != NULL) { - out("=\"", preformatted); - out(h->value, preformatted); - outc('"', preformatted); - } else if (do_xml) { - out("=\"", preformatted); - out(h->name, preformatted); - outc('"', preformatted); - } - } - if (is_empty(n->name)) { - assert(n->children == NULL); - out(do_xml ? " />" : ">", True); - if (break_before(n->name)) dec_indent(); - if (!preformatted && break_after(n->name)) outln(NULL, False); - } else { - out(">", preformatted); - pre = preformatted || is_pre(n->name); - mixed = is_mixed(n->name); - for (l = n->children; l != NULL; l = l->sister) - pp(l, pre, mixed); - if (break_before(n->name)) dec_indent(); - if (do_xml || do_endtag || need_etag(n->name) - /* If followed by text, rather than an elt, add an end tag: */ - || (n->sister && n->sister->tp == Text)) { - out("</", preformatted); out(n->name, preformatted); - out(">", preformatted); - } - if (!preformatted && break_after(n->name)) outbreak(); - } - break; - default: - assert(!"Cannot happen"); - } -} - -/* prettyprint -- print the tree normalized */ -static void prettyprint(Tree t) -{ - Tree h; - assert(t->tp == Root); - for (h = t->children; h != NULL; h = h->sister) pp(h, False, False); - flush(); -} - -/* usage -- print usage message and exit */ -static void usage(string prog) -{ - fprintf(stderr, "%s version %s\n\ -Usage: %s [-e] [-d] [-x] [-i indent] [-l linelen] [file_or_url]\n", - prog, VERSION, prog); - exit(1); -} - -/* main -- main body */ -int main(int argc, char *argv[]) -{ - int c; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - while ((c = getopt(argc, argv, "edxi:l:")) != -1) - switch (c) { - case 'e': do_endtag = True; break; - case 'x': do_xml = True; break; - case 'd': do_doctype = False; break; - case 'i': set_indent(atoi(optarg)); break; - case 'l': set_linelen(atoi(optarg)); break; - default: usage(argv[0]); - } - if (optind == argc) yyin = stdin; - else if (optind == argc - 1) yyin = fopenurl(argv[optind], "r"); - else usage(argv[0]); - if (yyin == NULL) {perror(argv[optind]); exit(2);} - if (yyparse() != 0) {exit(3);} - tree = get_root(tree); - prettyprint(tree); - return has_errors ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/normalize.e b/arid_examples/html-xml-utils-3.0/testruns/normalize.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/num.c b/arid_examples/html-xml-utils-3.0/testruns/num.c deleted file mode 100644 index 501ecb0d5..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/num.c +++ /dev/null @@ -1,347 +0,0 @@ -/* - * Number headers. Counters are inserted at the start - * of H1 to H6. CLASS="no-num" suppresses numbering for - * that heading. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos - * Created Sep 1997 - * $Id: num.c,v 1.16 2000/08/07 12:28:44 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <ctype.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" - -#define SECNO "secno" /* class attribute */ -#define NO_NUM "no-num" /* class-attribute */ - -static int h[] = {-1, 0, 0, 0, 0, 0, 0}; /* Counters for each level */ -static int low = 1; /* First counter to use */ -static int high = 6; /* Last counter to use */ -static unsigned char *format[7] = { /* Format for each counter */ - NULL, "%d.", "%d.%d.", "%d.%d.%d.", "%d.%d.%d.%d.", - "%d.%d.%d.%d.%d.", "%d.%d.%d.%d.%d.%d."}; -static int skipping = 0; /* >0 to suppress output */ - - -/* romannumeral -- generate roman numeral for 1 <= n <= 4000 */ -static unsigned char* romannumeral(int n) -{ - static unsigned char buf[30]; - int len = 0; - - while (n >= 1000) {buf[len++] = 'M'; n -= 1000;} - if (n >= 500) {buf[len++] = 'D'; n -= 500;} - while (n >= 100) {buf[len++] = 'C'; n -= 100;} - if (n >= 50) {buf[len++] = 'L'; n -= 50;} - while (n >= 10) {buf[len++] = 'X'; n -= 10;} - if (n >= 9) {buf[len++] = 'I'; buf[len++] = 'X'; n -= 9;} - if (n >= 5) {buf[len++] = 'V'; n -= 5;} - if (n >= 4) {buf[len++] = 'I'; buf[len++] = 'V'; n -= 4;} - while (n >= 1) {buf[len++] = 'I'; n -= 1;} - buf[len] = '\0'; - return buf; -} - -/* down -- convert a string to lowercase, return pointer to start of string */ -static unsigned char* down(unsigned char *t) -{ - unsigned char *s; - for (s = t; *s; s++) *s = tolower(*s); - return t; -} - -/* --------------- implements interface api.h -------------------------- */ - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, unsigned char *commenttext) -{ - printf("<!--%s-->", commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, unsigned char *text) -{ - if (skipping == 0) fputs(text, stdout); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, unsigned char *gi, - unsigned char *fpi, unsigned char *url) -{ - if (skipping == 0) { - printf("<!DOCTYPE %s ", gi); - if (fpi) printf("PUBLIC \"%s\"\n", fpi); else printf("SYSTEM"); - if (url) printf(" \"%s\"", url); - printf(">"); - } -} - -/* handle_proc_instr -- called after a PI is parsed */ -void handle_pi(void *clientdata, unsigned char *pi_text) -{ - if (skipping == 0) printf("<?%s>", pi_text); -} - -/* contains -- check if string contains a certain word, return pointer */ -static unsigned char* contains(unsigned char *s, unsigned char *word) -{ - unsigned char c, *t; - t = strstr(s, word); - if (t == NULL) - return NULL; /* Not found */ - if (t != s && !isspace(*(t - 1))) - return NULL; /* Not beginning of word */ - if ((c = *(t + strlen(word))) != '\0' && !isspace(c)) - return NULL; /* Not end of word */ - return t; -} - -/* Check for class=secno in list of attributes */ -static Boolean class_contains_secno(pairlist attribs) -{ - pairlist p; - - for (p = attribs; p != NULL; p = p->next) { - if (strcasecmp(p->name, "class") == 0 && contains(p->value, SECNO)) - return True; - } - return False; -} - -/* Check for class=no-num in list of attributes */ -static Boolean class_contains_no_num(pairlist attribs) -{ - pairlist p; - - for (p = attribs; p != NULL; p = p->next) { - if (strcasecmp(p->name, "class") == 0 && contains(p->value, NO_NUM)) - return True; - } - return False; -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, unsigned char *name, pairlist attribs) -{ - pairlist p; - int lev, i; - unsigned char *s; - - /* Skip everything inside <span class=secno> */ - if (skipping > 0) { - skipping++; - return; - } - - /* Check for old counters, skip them */ - if (strcasecmp(name, "span") == 0 && class_contains_secno(attribs)) { - skipping = 1; - return; - } - - /* Print tag and attributes */ - printf("<%s", name); - for (p = attribs; p != NULL; p = p->next) { - printf(" %s", p->name); - if (p->value != NULL) printf("=\"%s\"", p->value); - } - printf(">"); - - /* If header, insert counters */ - if (eq("h1", name) || eq("H1", name)) lev = 1; - else if (eq("h2", name) || eq("H2", name)) lev = 2; - else if (eq("h3", name) || eq("H3", name)) lev = 3; - else if (eq("h4", name) || eq("H4", name)) lev = 4; - else if (eq("h5", name) || eq("H5", name)) lev = 5; - else if (eq("h6", name) || eq("H6", name)) lev = 6; - else lev = 0; - - /* Don't number headers with class "no-num" */ - if (lev > 0 && class_contains_no_num(attribs)) lev = 0; - - if (low <= lev && lev <= high) { - h[lev]++; - for (i = lev + 1; i <= high; i++) h[i] = 0; - printf("<span class=\"%s\">", SECNO); - for (i = low, s = format[lev]; *s; s++) { - if (*s == '%') { - s++; - switch (*s) { - case 'n': i++; break; /* No number */ - case 'd': printf("%d", h[i++]); break; /* Decimal */ - case 'a': printf("%c", 'a' + (h[i++] - 1)); break; /* Lowercase */ - case 'A': printf("%c", 'A' + (h[i++] - 1)); break; /* Uppercase */ - case 'i': printf("%s", down(romannumeral(h[i++]))); break; - case 'I': printf("%s", romannumeral(h[i++])); break; /* Roman */ - default: putchar(*s); /* Escaped char */ - } - } else { - putchar(*s); - } - } - printf(" </span>"); - } -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, unsigned char *name, pairlist attribs) -{ - pairlist p; - - if (skipping == 0) { - printf("<%s", name); - for (p = attribs; p != NULL; p = p->next) { - printf(" %s", p->name); - if (p->value != NULL) printf("=\"%s\"", p->value); - } - printf(" />"); - } -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, unsigned char *name) -{ - if (skipping == 0) printf("</%s>", name); - else skipping--; -} - -/* --------------------------------------------------------------------- */ - -/* usage -- print usage message and exit */ -static void usage(unsigned char *prog) -{ - fprintf(stderr, "Version %s\n\ -Usage: %s [-l low] [-h high] [-1 format] [-2 format] [-3 format]\n\ - [-4 format] [-5 format] [-6 format] [html-file]\n", VERSION, prog); - exit(2); -} - -/* help -- print help */ -static void help(void) -{ - printf("Version %s\n", VERSION); - printf("Options:\n"); - printf(" -l low lowest header level to number (1-6) [default 1]\n"); - printf(" -h high highest header level to number (1-6) [default 6]\n"); - printf(" -n start number of first heading [default: 1]\n"); - printf(" -1 format format for level 1 [default \"%%d.\"]\n"); - printf(" -2 format format for level 2 [default \"%%d.%%d.\"]\n"); - printf(" -3 format format for level 3 [default \"%%d.%%d.%%d.\"]\n"); - printf(" -4 format format for level 4 [default \"%%d.%%d.%%d.%%d.\"]\n"); - printf(" -5 format format for level 5 [default \"%%d.%%d.%%d.%%d.%%d.\"]\n"); - printf(" -6 format format for level 6 [default \"%%d.%%d.%%d.%%d.%%d.%%d.\"]\n"); - printf(" -? this help\n"); - printf("The format strings may contain:\n"); - printf(" %%d replaced by decimal number\n"); - printf(" %%a replaced by letter a, b, c,..., z\n"); - printf(" %%A replaced by letter A, B, C,..., Z\n"); - printf(" %%i replaced by lowercase roman numeral i, ii, iii,...\n"); - printf(" %%I replaced by roman numeral I, II, III,...\n"); - printf(" %%n replaced by nothing, but skips a level\n"); - printf(" %%%% replaced by a %%\n"); - printf("The first %% in the format is replaced by the counter for level\n"); - printf("low, the second by the counter for low+1, etc.\n"); - exit(0); -} - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* First find -l and -h */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'l': low = atoi(argv[++i]); break; - case 'h': high = atoi(argv[++i]); break; - default: ; - } - } - /* If -l and/or -h have been set, the default formats are different */ - if (low != 1 || high != 6) { - for (i = high; i >= low; i--) format[i] = format[i-low+1]; - for (i = high + 1; i <= 6; i++) format[i] = ""; - } - /* Then treat other options */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'l': i++; break; /* Already handled */ - case 'h': i++; break; /* Already handled */ - case 'n': h[low] = atoi(argv[++i]) - 1; break; - case '1': format[1] = argv[++i]; break; - case '2': format[2] = argv[++i]; break; - case '3': format[3] = argv[++i]; break; - case '4': format[4] = argv[++i]; break; - case '5': format[5] = argv[++i]; break; - case '6': format[6] = argv[++i]; break; - case '?': help(); break; - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) yyin = stdin; - else if (i == argc - 1 && eq(argv[i], "-")) yyin = stdin; - else if (i == argc - 1) yyin = fopenurl(argv[i], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) { - exit(3); - } - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/num.e b/arid_examples/html-xml-utils-3.0/testruns/num.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/o4t.e b/arid_examples/html-xml-utils-3.0/testruns/o4t.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oahisd.e b/arid_examples/html-xml-utils-3.0/testruns/oahisd.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oaieth.e b/arid_examples/html-xml-utils-3.0/testruns/oaieth.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oaisdohfa.e b/arid_examples/html-xml-utils-3.0/testruns/oaisdohfa.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oaisfd.e b/arid_examples/html-xml-utils-3.0/testruns/oaisfd.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oaishdf.e b/arid_examples/html-xml-utils-3.0/testruns/oaishdf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oashdf.e b/arid_examples/html-xml-utils-3.0/testruns/oashdf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oasidf.e b/arid_examples/html-xml-utils-3.0/testruns/oasidf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oasihd.e b/arid_examples/html-xml-utils-3.0/testruns/oasihd.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oasihf.e b/arid_examples/html-xml-utils-3.0/testruns/oasihf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/ohosfd.e b/arid_examples/html-xml-utils-3.0/testruns/ohosfd.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oi5h.e b/arid_examples/html-xml-utils-3.0/testruns/oi5h.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oiahs.e b/arid_examples/html-xml-utils-3.0/testruns/oiahs.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oih.e b/arid_examples/html-xml-utils-3.0/testruns/oih.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oihas.e b/arid_examples/html-xml-utils-3.0/testruns/oihas.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oihst.e b/arid_examples/html-xml-utils-3.0/testruns/oihst.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oiht.e b/arid_examples/html-xml-utils-3.0/testruns/oiht.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/ois.e b/arid_examples/html-xml-utils-3.0/testruns/ois.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oisdfh.e b/arid_examples/html-xml-utils-3.0/testruns/oisdfh.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oish.e b/arid_examples/html-xml-utils-3.0/testruns/oish.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oishdf.e b/arid_examples/html-xml-utils-3.0/testruns/oishdf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oishfd.e b/arid_examples/html-xml-utils-3.0/testruns/oishfd.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oisjdf.e b/arid_examples/html-xml-utils-3.0/testruns/oisjdf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/oiuser.e b/arid_examples/html-xml-utils-3.0/testruns/oiuser.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/openurl.c b/arid_examples/html-xml-utils-3.0/testruns/openurl.c deleted file mode 100644 index dc2142c6c..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/openurl.c +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Routines to open a URL instead of a local file - * - * int openurl(const char *path) - * FILE *fopenurl(const char *path) - * - * ToDo: Add arguments for PUT, POST; parse and return headers. - * - * Uses http_proxy and ftp_proxy environment variables. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 7 March 1999 - * Version: $Id: openurl.c,v 1.8 2003/01/21 19:26:03 bbos Exp $ - */ -#include <config.h> -#include <stdlib.h> -#include <sys/types.h> -#include <sys/stat.h> -#ifdef HAVE_FCNTL_H -# include <fcntl.h> -#endif -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#include <stdio.h> -#include <sys/socket.h> -#include <sys/types.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <string.h> -#include "export.h" -#include "heap.e" -#include "types.e" -#include "url.e" -#include "connectsock.e" - -#define MAXBUF 4096 /* Max len of header lines */ - -static URL http_proxy = NULL, ftp_proxy = NULL; -static int http_proxy_init = 0, ftp_proxy_init = 0; - - -/* open_via_proxy -- open a URL via a proxy server */ -static FILE *open_via_proxy(const char *url, const URL proxy) -{ - char line[MAXBUF]; - int fd, n; - char *s; - FILE *f; - - /* Connect */ - if ((fd = connectTCP(proxy->machine, - proxy->port ? proxy->port : (string)"80")) == -1) - return NULL; - - /* Send request */ - newarray(s, strlen(url) + 18); - n = sprintf(s, "GET %s HTTP/1.0\r\n\r\n", url); - if (write(fd, s, n) != n) {close(fd); return NULL;} - dispose(s); -#if 0 - shutdown(fd, 1); /* No more output to server */ -#endif - - /* Read headers */ - if (! (f = fdopen(fd, "r"))) {close(fd); return NULL;} - clearerr(f); - while (fgets(line, sizeof(line), f) && line[0] && line[0] != '\r' && line[0] != '\n') { - /* ToDo: recombine continuation lines and store headers somewhere... */ - /* fprintf(stderr, "%s", line); */ - } - if (ferror(f)) {fclose(f); return NULL;} - - /* Return the body of the stream */ - return f; -} - -/* open_http -- open resource via HTTP; return file pointer or NULL */ -static FILE *open_http(const URL url) -{ - char line[MAXBUF]; - int fd, n; - char *s, *proxy; - FILE *f; - - if (! http_proxy_init) { - if ((proxy = getenv("http_proxy"))) http_proxy = URL_new(proxy); - http_proxy_init = 1; - } - - /* Check for proxy */ - if (http_proxy) return open_via_proxy(url->full, http_proxy); - - /* Connect */ - if ((fd = connectTCP(url->machine, - url->port ? url->port : (string)"80")) == -1) - return NULL; - - /* Send request */ - newarray(s, strlen(url->full) + 16); /* Should be long enough... */ - n = sprintf(s, "GET %s HTTP/1.0\r\n", url->path ? url->path : (string)"/"); - if (write(fd, s, n) != n) {close(fd); return NULL;} - n = sprintf(s, "Host: %s:%s\r\n", url->machine, - url->port ? url->port : (string)"80"); - if (write(fd, s, n) != n) {close(fd); return NULL;} - n = sprintf(s, "\r\n"); - if (write(fd, s, n) != n) {close(fd); return NULL;} - dispose(s); - shutdown(fd, 1); /* No more output to server */ - - /* Read headers */ - f = fdopen(fd, "r"); - while (fgets(line, sizeof(line), f) && line[0] && line[0] != '\r' && line[0] != '\n') { - /* ToDo: recombine continuation lines and store headers somewhere... */ - } - - /* Return the body of the stream */ - return f; -} - -/* open_ftp -- open resource via FTP; return file pointer or NULL */ -static FILE *open_ftp(const URL url) -{ - char *proxy; - - if (! ftp_proxy_init) { - if ((proxy = getenv("ftp_proxy"))) ftp_proxy = URL_new(proxy); - ftp_proxy_init = 1; - } - if (ftp_proxy) return open_via_proxy(url->full, ftp_proxy); - - /* Can only work via proxy for now... */ - errno = ENOSYS; - return NULL; -} - -/* open_file -- open resource as local file or FTP; return file ptr or NULL */ -static FILE *open_file(const URL url) -{ - FILE *f = NULL; - - if (! url->machine || eq(url->machine, "localhost")) { - f = fopen(url->path, "r"); - } - if (! f) f = open_ftp(url); - return f; -} - -/* fopenurl -- like fopen, but takes a URL; HTTP headers are parsed */ -EXPORT FILE *fopenurl(char *path, char* mode) -{ - URL url; - FILE *f; - - /* NOT IMPLEMENTED YET: mode = "w" (= PUT) and "a" (= POST) */ - if (! eq(mode, "r")) {errno = ENOSYS; return NULL;} - - url = URL_new(path); - if (! url) {errno = EACCES; return NULL;} /* Invalid URL */ - if (! url->proto) f = fopen(path, "r"); /* Assume it's a local file */ - else if (eq(url->proto, "http")) f = open_http(url); - else if (eq(url->proto, "ftp")) f = open_ftp(url); - else if (eq(url->proto, "file")) f = open_file(url); - else {errno = EACCES; f = NULL;} /* Unimplemented protocol */ - URL_dispose(url); - return f; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/openurl.e b/arid_examples/html-xml-utils-3.0/testruns/openurl.e deleted file mode 100644 index 3f7def50c..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/openurl.e +++ /dev/null @@ -1 +0,0 @@ - FILE *fopenurl(char *path, char* mode); diff --git a/arid_examples/html-xml-utils-3.0/testruns/osidhf.e b/arid_examples/html-xml-utils-3.0/testruns/osidhf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/pipe.c b/arid_examples/html-xml-utils-3.0/testruns/pipe.c deleted file mode 100644 index fd929511a..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/pipe.c +++ /dev/null @@ -1,281 +0,0 @@ -/* - * pipe - output HTML/XML in canonical ("sgmls" form - * - * Parse HTML/XML and output in approximate "nsgmls" format. Some of - * the differences are that comments are also printed (see * below), - * that implied attributes are not, and that entities are left - * unexpanded. Use "unent" to expand entities to UTF-8. - * - * The program doesn't interpret the source in any way, and doesn't - * read DTDs. That means that, e.g., end tags are not automatically - * added. Pipe the source through normalize(1) first in order to - * convert HTML to XML and infer missing tags. - * - * The possible command characters and arguments are as follows: - * - * (gi - * - * The start of an element whose generic identifier is gi. - * Any attributes for this element will have been speci- fied - * with A commands. - * - * )gi - * - * The end of an element whose generic identifier is gi. - * - * |gi - * - * An empty element (an element whose tag in the source ended - * with a slash). Any attributes will have been specified - * with A commands. (Note that this distinguishes empty - * elements from elements that happen to have no content, - * even though XML doesn't.) - * - * -data - * - * Data. - * - * ?pi - * - * A processing instruction with data pi. - * - * *comment - * - * A comment - * - * Aname type val - * - * The next element to start has an attribute name with value - * val and type type. Implied attribute are not shown. All - * attributes are assumed to be of type CDATA, since pipe - * doesn't read DTDs. - * - * !root "fpi" url - * !root "fpi" - * !root "" url - * - * A document type declaration. The fpi (public identifier) - * is a quoted string. If there is no fpi, the string is - * empty: "". If there is no url, itis omitted. - * - * Llineno - * - * Set the current line number. This will be output only if - * the -l option has been given. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos - * Created: 2 Dec 1998 - * Version: $Id: pipe.c,v 1.14 2000/08/07 12:28:44 bbos Exp $ - * - **/ -#include <config.h> -#include <stdio.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <ctype.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" - -extern int yylineno; /* From scan.l */ - -static Boolean has_error = False; -static Boolean in_text = False; -static Boolean linenumbering = False; - - -/* escape -- print a string with certain characters escaped */ -static void escape(const string t) -{ - string s; - - for (s = t; *s; s++) - switch (*s) { - case '\r': printf("\\r"); break; - case '\t': printf("\\t"); break; - case '\n': printf("\\n"); break; - case '\\': printf("\\\\"); break; - default: putchar(*s); - } -} - - -/* --------------- implements interface api.h -------------------------- */ - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_error = True; -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - if (in_text) {putchar('\n'); in_text = False;} -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - if (in_text) {putchar('\n'); in_text = False;} - if (linenumbering) printf("L%d\n", yylineno); - putchar('*'); - escape(commenttext); - putchar('\n'); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - /* There may be several consecutive calls to this routine. The - * variable 'in_text' is used to put the text of all of them on the - * same line. - **/ - if (! in_text) { - if (linenumbering) printf("L%d\n", yylineno); - putchar('-'); - in_text = True; - } - escape(text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, string fpi, - string url) -{ - if (in_text) {putchar('\n'); in_text = False;} - if (linenumbering) printf("L%d\n", yylineno); - putchar('!'); - printf("%s \"%s\"", gi, fpi); - if (url) printf(" %s", url); - putchar('\n'); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - if (in_text) {putchar('\n'); in_text = False;} - if (linenumbering) printf("L%d\n", yylineno); - putchar('?'); - escape(pi_text); - putchar('\n'); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - if (in_text) {putchar('\n'); in_text = False;} - for (p = attribs; p; p = p->next) { - putchar('A'); - /* down(p->name); */ - printf("%s", p->name); - if (strcmp(p->name, "id") == 0) printf(" ID "); else printf(" CDATA "); - if (p->value) escape(p->value); else printf("%s", p->name); - putchar('\n'); - } - if (linenumbering) printf("L%d\n", yylineno); - putchar('('); - printf("%s", name); - putchar('\n'); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - if (in_text) {putchar('\n'); in_text = False;} - for (p = attribs; p; p = p->next) { - putchar('A'); - /* down(p->name); */ - printf("%s", p->name); - if (strcmp(p->name, "id") == 0) printf(" ID "); else printf(" CDATA "); - if (p->value) escape(p->value); else printf("%s", p->name); - putchar('\n'); - } - if (linenumbering) printf("L%d\n", yylineno); - putchar('|'); - printf("%s", name); - putchar('\n'); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - if (in_text) {putchar('\n'); in_text = False;} - if (linenumbering) printf("L%d\n", yylineno); - putchar(')'); - printf("%s", name); - putchar('\n'); -} - -/* --------------------------------------------------------------------- */ - -/* usage -- print usage message and exit */ -static void usage(string prog) -{ - fprintf(stderr, "Version %s\nUsage: %s [-l] [html-file-or-url]\n", VERSION, prog); - exit(2); -} - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Parse command line arguments */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'l': linenumbering = True;; break; - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) yyin = stdin; - else if (i == argc - 1 && eq(argv[i], "-")) yyin = stdin; - else if (i == argc - 1) yyin = fopenurl(argv[i], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) exit(3); - - return has_error ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/pipe.e b/arid_examples/html-xml-utils-3.0/testruns/pipe.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/q*.e b/arid_examples/html-xml-utils-3.0/testruns/q*.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/r*.e b/arid_examples/html-xml-utils-3.0/testruns/r*.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/scan.c b/arid_examples/html-xml-utils-3.0/testruns/scan.c deleted file mode 100644 index 65ec01163..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/scan.c +++ /dev/null @@ -1,2359 +0,0 @@ -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include <stdio.h> - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include <stdlib.h> -#include <unistd.h> - -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -#if __STDC__ - -#define YY_USE_PROTOS -#define YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include <io.h> -#include <stdlib.h> -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - YY_RESTORE_YY_MORE_OFFSET \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - - -#define yywrap() 1 -#define YY_SKIP_YYWRAP -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext -static yyconst short yy_nxt[][28] = - { - { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 16 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 16 - }, - - { - 11, 17, 18, 19, 20, 17, 17, 17, 21, 21, - - 22, 23, 24, 25, 17, 21, 21, 21, 21, 21, - 21, 21, 21, 26, 17, 17, 17, 17 - }, - - { - 11, 17, 18, 19, 20, 17, 17, 17, 21, 21, - 22, 23, 24, 25, 17, 21, 21, 21, 21, 21, - 21, 21, 21, 26, 17, 17, 17, 17 - }, - - { - 11, 27, 28, 29, 30, 27, 31, 32, 27, 27, - 27, 17, 17, 17, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27 - }, - - { - 11, 27, 28, 29, 30, 27, 31, 32, 27, 27, - 27, 17, 17, 17, 27, 27, 27, 27, 27, 27, - - 27, 27, 27, 27, 27, 27, 27, 27 - }, - - { - 11, 17, 33, 34, 35, 17, 36, 37, 38, 38, - 17, 17, 17, 39, 17, 38, 38, 38, 38, 38, - 38, 38, 38, 40, 17, 17, 17, 17 - }, - - { - 11, 17, 33, 34, 35, 17, 36, 37, 38, 38, - 17, 17, 17, 39, 17, 38, 38, 38, 38, 38, - 38, 38, 38, 40, 17, 17, 17, 17 - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12 - - }, - - { - 11, 12, 12, 13, 14, 12, 12, 12, 12, 12, - 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12 - }, - - { - -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, - -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, - -11, -11, -11, -11, -11, -11, -11, -11 - }, - - { - 11, 41, 41, -12, -12, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41 - }, - - { - 11, -13, -13, -13, -13, -13, -13, -13, -13, -13, - - -13, -13, -13, -13, -13, -13, -13, -13, -13, -13, - -13, -13, -13, -13, -13, -13, -13, -13 - }, - - { - 11, -14, -14, 43, -14, -14, -14, -14, -14, -14, - -14, -14, -14, -14, -14, -14, -14, -14, -14, -14, - -14, -14, -14, -14, -14, -14, -14, -14 - }, - - { - 11, 41, 41, 41, 41, 44, 41, 41, 45, 45, - 46, 41, 41, 41, 47, 48, 48, 48, 48, 48, - 48, 48, 48, 49, 41, 41, 41, 41 - }, - - { - 11, 41, 41, -16, -16, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - - 41, 41, 41, 41, 41, 50, 41, 41 - }, - - { - 11, -17, -17, -17, -17, -17, -17, -17, -17, -17, - -17, -17, -17, -17, -17, -17, -17, -17, -17, -17, - -17, -17, -17, -17, -17, -17, -17, -17 - }, - - { - 11, -18, 51, -18, -18, -18, -18, -18, -18, -18, - -18, -18, -18, -18, -18, -18, -18, -18, -18, -18, - -18, -18, -18, -18, -18, -18, -18, -18 - }, - - { - 11, -19, -19, -19, -19, -19, -19, -19, -19, -19, - -19, -19, -19, -19, -19, -19, -19, -19, -19, -19, - -19, -19, -19, -19, -19, -19, -19, -19 - - }, - - { - 11, -20, -20, 52, -20, -20, -20, -20, -20, -20, - -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, - -20, -20, -20, -20, -20, -20, -20, -20 - }, - - { - 11, -21, -21, -21, -21, -21, -21, -21, 53, 53, - -21, -21, -21, -21, -21, 53, 53, 53, 53, 53, - 53, 53, 53, -21, -21, -21, -21, -21 - }, - - { - 11, -22, -22, -22, -22, -22, -22, -22, -22, -22, - -22, -22, -22, 54, -22, -22, -22, -22, -22, -22, - -22, -22, -22, -22, -22, -22, -22, -22 - }, - - { - 11, -23, -23, -23, -23, -23, -23, -23, -23, -23, - - -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, - -23, -23, -23, -23, -23, -23, -23, -23 - }, - - { - 11, -24, -24, -24, -24, -24, -24, -24, -24, -24, - -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, - -24, -24, -24, -24, -24, -24, -24, -24 - }, - - { - 11, -25, -25, -25, -25, -25, -25, -25, -25, -25, - -25, -25, -25, -25, -25, -25, -25, -25, -25, -25, - -25, -25, -25, -25, -25, -25, -25, -25 - }, - - { - 11, 55, -26, -26, -26, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - - 55, 55, 55, 55, 56, 55, 55, 55 - }, - - { - 11, 57, -27, -27, -27, 57, -27, -27, 57, 57, - 57, -27, -27, -27, 57, 57, 57, 57, 57, 57, - 57, 57, 57, 57, 57, 57, 57, 57 - }, - - { - 11, -28, 58, -28, -28, -28, -28, -28, -28, -28, - -28, -28, -28, -28, -28, -28, -28, -28, -28, -28, - -28, -28, -28, -28, -28, -28, -28, -28 - }, - - { - 11, -29, -29, -29, -29, -29, -29, -29, -29, -29, - -29, -29, -29, -29, -29, -29, -29, -29, -29, -29, - -29, -29, -29, -29, -29, -29, -29, -29 - - }, - - { - 11, -30, -30, 59, -30, -30, -30, -30, -30, -30, - -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, - -30, -30, -30, -30, -30, -30, -30, -30 - }, - - { - 11, 60, 60, 60, 60, 60, 61, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60 - }, - - { - 11, 62, 62, 62, 62, 62, 62, 63, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62 - }, - - { - 11, -33, 64, -33, -33, -33, -33, -33, -33, -33, - - -33, -33, -33, -33, -33, -33, -33, -33, -33, -33, - -33, -33, -33, -33, -33, -33, -33, -33 - }, - - { - 11, -34, -34, -34, -34, -34, -34, -34, -34, -34, - -34, -34, -34, -34, -34, -34, -34, -34, -34, -34, - -34, -34, -34, -34, -34, -34, -34, -34 - }, - - { - 11, -35, -35, 65, -35, -35, -35, -35, -35, -35, - -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, - -35, -35, -35, -35, -35, -35, -35, -35 - }, - - { - 11, 66, 66, 66, 66, 66, 67, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - - 66, 66, 66, 66, 66, 66, 66, 66 - }, - - { - 11, 68, 68, 68, 68, 68, 68, 69, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68 - }, - - { - 11, -38, -38, -38, -38, -38, -38, -38, 70, 70, - -38, -38, -38, -38, -38, 70, 70, 70, 70, 70, - 70, 70, 70, -38, -38, -38, -38, -38 - }, - - { - 11, -39, -39, -39, -39, -39, -39, -39, -39, -39, - -39, -39, -39, -39, -39, -39, -39, -39, -39, -39, - -39, -39, -39, -39, -39, -39, -39, -39 - - }, - - { - 11, 71, -40, -40, -40, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 72, 71, 71, 71 - }, - - { - 11, 41, 41, -41, -41, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41 - }, - - { - 11, 41, 41, 41, 41, -42, 41, 41, 41, 41, - -42, 41, 41, 41, -42, -42, -42, -42, -42, -42, - -42, -42, -42, -42, 41, 41, 41, 41 - }, - - { - 11, -43, -43, -43, -43, -43, -43, -43, -43, -43, - - -43, -43, -43, -43, -43, -43, -43, -43, -43, -43, - -43, -43, -43, -43, -43, -43, -43, -43 - }, - - { - 11, -44, -44, -44, -44, -44, -44, -44, 73, -44, - -44, -44, -44, -44, -44, -44, -44, 74, -44, -44, - -44, -44, -44, -44, -44, -44, -44, -44 - }, - - { - 11, 41, 41, -45, -45, 41, 41, 41, 45, 45, - 41, 42, 41, 41, 41, 45, 45, 45, 45, 45, - 45, 45, 45, 41, 41, 41, 41, 41 - }, - - { - 11, -46, -46, -46, -46, -46, -46, -46, 75, 75, - -46, -46, -46, -46, -46, 75, 75, 75, 75, 75, - - 75, 75, 75, 76, -46, -46, -46, -46 - }, - - { - 11, 77, 77, 77, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 77, 77, 77, 77, 77 - }, - - { - 11, -48, -48, -48, -48, -48, -48, -48, 48, 48, - -48, -48, -48, -48, -48, 48, 48, 48, 48, 48, - 48, 48, 48, -48, -48, -48, -48, -48 - }, - - { - 11, 79, -49, -49, -49, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 80, 79, 79, 79 - - }, - - { - 11, 41, 41, -50, -50, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 81, 41 - }, - - { - 11, -51, 51, -51, -51, -51, -51, -51, -51, -51, - -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, - -51, -51, -51, -51, -51, -51, -51, -51 - }, - - { - 11, -52, -52, -52, -52, -52, -52, -52, -52, -52, - -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, - -52, -52, -52, -52, -52, -52, -52, -52 - }, - - { - 11, -53, -53, -53, -53, -53, -53, -53, 53, 53, - - -53, -53, -53, -53, -53, 53, 53, 53, 53, 53, - 53, 53, 53, -53, -53, -53, -53, -53 - }, - - { - 11, -54, -54, -54, -54, -54, -54, -54, -54, -54, - -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, - -54, -54, -54, -54, -54, -54, -54, -54 - }, - - { - 11, 55, -55, -55, -55, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 56, 55, 55, 55 - }, - - { - 11, -56, -56, -56, -56, -56, -56, -56, 82, 82, - -56, -56, -56, -56, -56, 82, 82, 82, 82, 82, - - 82, 82, 82, -56, -56, -56, -56, -56 - }, - - { - 11, 57, -57, -57, -57, 57, -57, -57, 57, 57, - 57, -57, -57, -57, 57, 57, 57, 57, 57, 57, - 57, 57, 57, 57, 57, 57, 57, 57 - }, - - { - 11, -58, 58, -58, -58, -58, -58, -58, -58, -58, - -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, - -58, -58, -58, -58, -58, -58, -58, -58 - }, - - { - 11, -59, -59, -59, -59, -59, -59, -59, -59, -59, - -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, - -59, -59, -59, -59, -59, -59, -59, -59 - - }, - - { - 11, 60, 60, 60, 60, 60, 61, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60 - }, - - { - 11, -61, -61, -61, -61, -61, -61, -61, -61, -61, - -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, - -61, -61, -61, -61, -61, -61, -61, -61 - }, - - { - 11, 62, 62, 62, 62, 62, 62, 63, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62 - }, - - { - 11, -63, -63, -63, -63, -63, -63, -63, -63, -63, - - -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, - -63, -63, -63, -63, -63, -63, -63, -63 - }, - - { - 11, -64, 64, -64, -64, -64, -64, -64, -64, -64, - -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, - -64, -64, -64, -64, -64, -64, -64, -64 - }, - - { - 11, -65, -65, -65, -65, -65, -65, -65, -65, -65, - -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, - -65, -65, -65, -65, -65, -65, -65, -65 - }, - - { - 11, 66, 66, 66, 66, 66, 67, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - - 66, 66, 66, 66, 66, 66, 66, 66 - }, - - { - 11, -67, -67, -67, -67, -67, -67, -67, -67, -67, - -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, - -67, -67, -67, -67, -67, -67, -67, -67 - }, - - { - 11, 68, 68, 68, 68, 68, 68, 69, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, - 68, 68, 68, 68, 68, 68, 68, 68 - }, - - { - 11, -69, -69, -69, -69, -69, -69, -69, -69, -69, - -69, -69, -69, -69, -69, -69, -69, -69, -69, -69, - -69, -69, -69, -69, -69, -69, -69, -69 - - }, - - { - 11, -70, -70, -70, -70, -70, -70, -70, 70, 70, - -70, -70, -70, -70, -70, 70, 70, 70, 70, 70, - 70, 70, 70, -70, -70, -70, -70, -70 - }, - - { - 11, 71, -71, -71, -71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, - 71, 71, 71, 71, 72, 71, 71, 71 - }, - - { - 11, -72, -72, -72, -72, -72, -72, -72, 83, 83, - -72, -72, -72, -72, -72, 83, 83, 83, 83, 83, - 83, 83, 83, -72, -72, -72, -72, -72 - }, - - { - 11, -73, -73, -73, -73, -73, -73, -73, 84, -73, - - -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, - -73, -73, -73, -73, -73, -73, -73, -73 - }, - - { - 11, -74, -74, -74, -74, -74, -74, -74, -74, -74, - -74, -74, -74, -74, -74, -74, -74, -74, -74, 85, - -74, -74, -74, -74, -74, -74, -74, -74 - }, - - { - 11, -75, -75, -75, -75, -75, -75, -75, 75, 75, - -75, -75, -75, -75, -75, 75, 75, 75, 75, 75, - 75, 75, 75, -75, -75, -75, -75, -75 - }, - - { - 11, 86, -76, -76, -76, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - - 86, 86, 86, 86, 87, 86, 86, 86 - }, - - { - 11, 77, 77, 77, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, - 77, 77, 77, 77, 77, 77, 77, 77 - }, - - { - 11, -78, -78, -78, -78, -78, -78, -78, -78, -78, - -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, - -78, -78, -78, -78, -78, -78, -78, -78 - }, - - { - 11, 79, -79, -79, -79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, - 79, 79, 79, 79, 80, 79, 79, 79 - - }, - - { - 11, -80, -80, -80, -80, -80, -80, -80, 88, 88, - -80, -80, -80, -80, -80, 88, 88, 88, 88, 88, - 88, 88, 88, -80, -80, -80, -80, -80 - }, - - { - 11, 41, 41, -81, -81, 41, 41, 41, 41, 41, - 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41 - }, - - { - 11, -82, -82, -82, -82, -82, -82, -82, 82, 82, - -82, -82, -82, -82, -82, 82, 82, 82, 82, 82, - 82, 82, 82, -82, -82, -82, -82, -82 - }, - - { - 11, -83, -83, -83, -83, -83, -83, -83, 83, 83, - - -83, -83, -83, -83, -83, 83, 83, 83, 83, 83, - 83, 83, 83, -83, -83, -83, -83, -83 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 90, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - }, - - { - 11, -85, -85, -85, -85, -85, -85, -85, -85, -85, - -85, -85, -85, -85, -85, -85, 91, -85, -85, -85, - -85, -85, -85, -85, -85, -85, -85, -85 - }, - - { - 11, 86, -86, -86, -86, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - - 86, 86, 86, 86, 87, 86, 86, 86 - }, - - { - 11, -87, -87, -87, -87, -87, -87, -87, 92, 92, - -87, -87, -87, -87, -87, 92, 92, 92, 92, 92, - 92, 92, 92, -87, -87, -87, -87, -87 - }, - - { - 11, -88, -88, -88, -88, -88, -88, -88, 88, 88, - -88, -88, -88, -88, -88, 88, 88, 88, 88, 88, - 88, 88, 88, -88, -88, -88, -88, -88 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 90, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 93, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - }, - - { - 11, -91, -91, -91, -91, -91, -91, -91, -91, -91, - -91, -91, -91, -91, -91, -91, -91, -91, -91, -91, - -91, 94, -91, -91, -91, -91, -91, -91 - }, - - { - 11, -92, -92, -92, -92, -92, -92, -92, 92, 92, - -92, -92, -92, -92, -92, 92, 92, 92, 92, 92, - 92, 92, 92, -92, -92, -92, -92, -92 - }, - - { - 11, 89, 89, 89, 89, 89, 89, 89, 89, 89, - - 89, 89, 89, 95, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89 - }, - - { - 11, -94, -94, -94, -94, -94, -94, -94, -94, -94, - -94, -94, -94, -94, -94, -94, -94, -94, -94, -94, - -94, -94, 96, -94, -94, -94, -94, -94 - }, - - { - 11, -95, -95, -95, -95, -95, -95, -95, -95, -95, - -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, - -95, -95, -95, -95, -95, -95, -95, -95 - }, - - { - 11, -96, -96, -96, -96, -96, -96, -96, -96, -96, - -96, -96, -96, -96, -96, -96, -96, -96, -96, -96, - - 97, -96, -96, -96, -96, -96, -96, -96 - }, - - { - 11, -97, -97, -97, -97, -97, -97, -97, -97, -97, - -97, -97, -97, -97, -97, -97, -97, -97, 98, -97, - -97, -97, -97, -97, -97, -97, -97, -97 - }, - - { - 11, -98, 99, 99, 99, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -98, -98 - }, - - { - 11, -99, -99, -99, -99, -99, -99, -99, -99, -99, - -99, -99, -99, -99, -99, -99, -99, -99, -99, -99, - -99, -99, -99, -99, -99, -99, -99, -99 - - }, - - } ; - - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 28 -#define YY_END_OF_BUFFER 29 -static yyconst short int yy_accept[100] = - { 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 29, 4, 5, 5, 27, 4, 27, 11, 12, 12, - 9, 27, 15, 10, 13, 27, 18, 16, 17, 17, - 27, 27, 22, 23, 23, 27, 27, 21, 26, 27, - 4, 0, 5, 0, 2, 3, 0, 2, 0, 4, - 11, 12, 9, 14, 0, 0, 18, 16, 17, 0, - 19, 0, 20, 22, 23, 0, 24, 0, 25, 21, - 0, 0, 0, 0, 3, 0, 0, 8, 0, 0, - 1, 9, 21, 0, 0, 0, 0, 2, 0, 0, - 0, 3, 0, 0, 6, 0, 0, 0, 7 - - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 2, 4, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 5, 6, 1, 1, 1, 1, 7, 1, - 1, 1, 1, 1, 8, 9, 10, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 1, 11, - 12, 13, 14, 1, 15, 15, 16, 17, 18, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 19, 20, - 15, 15, 15, 21, 15, 15, 15, 15, 22, 15, - 1, 1, 1, 1, 9, 1, 15, 15, 16, 17, - - 18, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 19, 20, 15, 15, 15, 21, 15, 15, 15, 15, - 22, 15, 23, 1, 24, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 25, 1, 1, 1, - 26, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 27, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -#define YY_RESTORE_YY_MORE_OFFSET -char *yytext; -#line 1 "scan.l" -#define INITIAL 0 -/* %option yylineno */ -#line 5 "scan.l" -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: scan.l,v 1.27 2004/04/26 12:34:10 bbos Exp $ - **/ -#include <config.h> -#include <assert.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRDUP -# include "strdup.e" -# endif -#endif -#include <stdlib.h> -#include <ctype.h> -#include "export.h" -#include "types.e" -#include "heap.e" -#include "html.h" -#include "errexit.e" - - -EXPORT extern FILE *yyin; -EXPORT int yylineno = 1; - -typedef struct _Stack { - YY_BUFFER_STATE buf; - FILE *f; - struct _Stack *next; -} *Stack; - -static Stack stack = NULL; - - -/* include_file -- stack current file and switch to another one */ -EXPORT void include_file(FILE *f) -{ - Stack h; - - new(h); - h->buf = YY_CURRENT_BUFFER; - h->f = f; - h->next = stack; - stack = h; - yy_switch_to_buffer(yy_create_buffer(f, YY_BUF_SIZE)); -} - -/* pop_file -- back to previous input file */ -static Boolean pop_file(void) -{ - Stack h; - - if (!stack) { - return False; - } else { - h = stack; - yy_delete_buffer(YY_CURRENT_BUFFER); - fclose(h->f); - yy_switch_to_buffer(h->buf); - stack = h->next; - dispose(h); - return True; - } -} - -/* esc -- remove outer quotes, escape ", remove \n, return malloc'ed string */ -static unsigned char* esc(unsigned char* s) -{ - int i, j; - unsigned char *u; - - /* Find new length */ - for (i = 0, j = 1; s[j] != s[0]; i++, j++) { - if (s[j] == '"') i+= 4; - } - /* Copy and expand */ - u = malloc(i + 1); - if (!u) errexit("Out of memory\n"); - for (i = 0, j = 1; s[j] != s[0]; i++, j++) { - if (s[j] == '"') {strcpy(u + i, """); i += 4;} - else if (s[j] == '\n') u[i] = ' '; /* \n */ - else if (s[j] == '\r' && s[j+1] == '\n') {u[i] = ' '; j++;} /* \r\n */ - else if (s[j] == '\r') {u[i] = ' ';} /* \r */ - else u[i] = s[j]; - } - u[i] = '\0'; - return u; -} - -/* strndup -- allocate a string, copy n characters into it and add \0 */ -static unsigned char* strndup(const unsigned char *s, size_t n) -{ - unsigned char *t = malloc(n + 1); - if (!t) errexit("Out of memory\n"); - strncpy(t, s, n); - t[n] = '\0'; - return t; -} - -/* lns -- count newlines */ -static void lns(const unsigned char *s) -{ - while (*s) { - if (*s == '\n') yylineno++; - else if (*s != '\r') ; - else if (*(s+1) == '\n') {yylineno++; s++;} - else yylineno++; - s++; - } -} - -/* thing is rather too permissive, but it will accept <img src=/path>... */ -#define MARKUP 1 -#define VALUE 2 -#define DECL 3 -#define INIT 4 - -#line 1112 "scan.c" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -static void yyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen YY_PROTO(( yyconst char * )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -#if YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include <stdlib.h> -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 139 "scan.l" - - - -#line 1267 "scan.c" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - while ( (yy_current_state = yy_nxt[yy_current_state][yy_ec[YY_SC_TO_UI(*yy_cp)]]) > 0 ) - { - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - - ++yy_cp; - } - - yy_current_state = -yy_current_state; - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos + 1; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 142 "scan.l" -{BEGIN(INIT); /* Byte Order Mark is ignored */} - YY_BREAK -case 2: -YY_RULE_SETUP -#line 144 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext+1); return START;} - YY_BREAK -case 3: -YY_RULE_SETUP -#line 145 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext+2); return END;} - YY_BREAK -case 4: -YY_RULE_SETUP -#line 146 "scan.l" -{yylval.s=strdup(yytext); return TEXT;} - YY_BREAK -case 5: -YY_RULE_SETUP -#line 147 "scan.l" -{yylval.s=strdup(yytext); yylineno++; return TEXT;} - YY_BREAK -case 6: -YY_RULE_SETUP -#line 148 "scan.l" -{yylval.s=strndup(yytext+4,yyleng-7); lns(yytext); return COMMENT;} - YY_BREAK -case 7: -YY_RULE_SETUP -#line 149 "scan.l" -{BEGIN(DECL); lns(yytext+9); return DOCTYPE;} - YY_BREAK -case 8: -YY_RULE_SETUP -#line 150 "scan.l" -{yylval.s=strndup(yytext+2,yyleng-3); lns(yytext); return PROCINS;} - YY_BREAK -case 9: -YY_RULE_SETUP -#line 152 "scan.l" -{yylval.s = strdup(yytext); return NAME;} - YY_BREAK -case 10: -YY_RULE_SETUP -#line 153 "scan.l" -{BEGIN(VALUE); return '=';} - YY_BREAK -case 11: -YY_RULE_SETUP -#line 154 "scan.l" -{; /* skip */} - YY_BREAK -case 12: -YY_RULE_SETUP -#line 155 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 13: -YY_RULE_SETUP -#line 156 "scan.l" -{BEGIN(INIT); return '>';} - YY_BREAK -case 14: -YY_RULE_SETUP -#line 157 "scan.l" -{BEGIN(INIT); return EMPTYEND;} - YY_BREAK -case 15: -YY_RULE_SETUP -#line 158 "scan.l" -{BEGIN(INIT); yyless(0); return '>'; /* Implicit ">" */} - YY_BREAK -case 16: -YY_RULE_SETUP -#line 160 "scan.l" -{; /* skip */} - YY_BREAK -case 17: -YY_RULE_SETUP -#line 161 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 18: -YY_RULE_SETUP -#line 162 "scan.l" -{BEGIN(MARKUP); yylval.s=strdup(yytext); return NAME;} - YY_BREAK -case 19: -#line 164 "scan.l" -case 20: -YY_RULE_SETUP -#line 164 "scan.l" -{BEGIN(MARKUP); yylval.s=esc(yytext); lns(yytext); return STRING;} - YY_BREAK -case 21: -YY_RULE_SETUP -#line 166 "scan.l" -{yylval.s = strdup(yytext); return NAME;} - YY_BREAK -case 22: -YY_RULE_SETUP -#line 167 "scan.l" -{; /* skip */} - YY_BREAK -case 23: -YY_RULE_SETUP -#line 168 "scan.l" -{yylineno++; /* skip */} - YY_BREAK -case 24: -#line 170 "scan.l" -case 25: -YY_RULE_SETUP -#line 170 "scan.l" -{lns(yytext); yylval.s = esc(yytext); return STRING;} - YY_BREAK -case 26: -YY_RULE_SETUP -#line 171 "scan.l" -{BEGIN(INIT); return '>';} - YY_BREAK -case 27: -YY_RULE_SETUP -#line 173 "scan.l" -{return *yytext; /* illegal char, in fact */} - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(MARKUP): -case YY_STATE_EOF(VALUE): -case YY_STATE_EOF(DECL): -case YY_STATE_EOF(INIT): -#line 175 "scan.l" -{if (pop_file()) return ENDINCL; else yyterminate();} - YY_BREAK -case 28: -YY_RULE_SETUP -#line 177 "scan.l" -YY_FATAL_ERROR( "flex scanner jammed" ); - YY_BREAK -#line 1480 "scan.c" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - YY_RESTORE_YY_MORE_OFFSET - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_current_buffer->yy_n_chars = yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - yy_current_state = yy_nxt[yy_current_state][(*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - yy_current_state = yy_nxt[yy_current_state][1]; - yy_is_jam = (yy_current_state <= 0); - - if ( ! yy_is_jam ) - { - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - } - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifndef YY_NO_UNPUT -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_current_buffer->yy_n_chars = - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } -#endif /* ifndef YY_NO_UNPUT */ - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - int offset = yy_c_buf_p - yytext_ptr; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - yyrestart( yyin ); - - /* fall through */ - - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - return EOF; - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + offset; - break; - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( ! b ) - return; - - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#if YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#if YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - if ( ! b ) - return; - - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) -#else -YY_BUFFER_STATE yy_scan_string( yy_str ) -yyconst char *yy_str; -#endif - { - int len; - for ( len = 0; yy_str[len]; ++len ) - ; - - return yy_scan_bytes( yy_str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -yyconst char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( yyconst char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -yyconst char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - -#ifdef YY_NEED_STRLEN -#ifdef YY_USE_PROTOS -static int yy_flex_strlen( yyconst char *s ) -#else -static int yy_flex_strlen( s ) -yyconst char *s; -#endif - { - register int n; - for ( n = 0; s[n]; ++n ) - ; - - return n; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#if YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 177 "scan.l" - -/* - * Local variables: - * mode: indented-text - * End: - */ diff --git a/arid_examples/html-xml-utils-3.0/testruns/scan.e b/arid_examples/html-xml-utils-3.0/testruns/scan.e deleted file mode 100644 index e6a0b53ec..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/scan.e +++ /dev/null @@ -1,3 +0,0 @@ - extern FILE *yyin; - int yylineno ; - void include_file(FILE *f); diff --git a/arid_examples/html-xml-utils-3.0/testruns/selector.c b/arid_examples/html-xml-utils-3.0/testruns/selector.c deleted file mode 100644 index addc42480..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/selector.c +++ /dev/null @@ -1,691 +0,0 @@ -/* - * Type definitions and a parser for CSS selectors. - * - * Only parses selectors that allow incremental rendering - * of a document. - * - * The Selector type is a linked list of simple selectors, with the - * subject at the head, and its context linked from the "context" - * field. The "combinator" field is the relation between this simple - * selector and its context. - * - * To do: backslash escapes elsewhere than in element names. - * - * Author: Bert Bos <bert@w3.org> - * Created: 8 July 2001 - * Version: $Id: selector.c,v 1.6 2003/01/21 19:44:51 bbos Exp $ - **/ - -#include <config.h> -#include <assert.h> -#include <stdlib.h> -#include <stdio.h> -#include <ctype.h> -#ifdef HAVE_STRING_H -# include <string.h> -#elif HAVE_STRINGS_H -# include <strings.h> -#endif -#include "export.h" -#include "heap.e" -#include "types.e" -#include "errexit.e" - -EXPORT typedef enum { /* Pseudo-classes */ - Root, NthChild, NthOfType, FirstChild, FirstOfType, Lang -} PseudoType; - -EXPORT typedef struct _PseudoCond { - PseudoType type; - int a, b; /* :nth-child(an+b) */ - string s; /* :lang(s) */ - struct _PseudoCond *next; -} PseudoCond; - -EXPORT typedef enum { /* =, ~=, ^=, $= *= |= */ - Exists, Equals, Includes, StartsWith, EndsWidth, Contains, LangMatch, - HasClass, HasID /* ".foo", "#foo" */ -} Operator; - -EXPORT typedef struct _AttribCond { - Operator op; - string name; /* If not HasClass/ID */ - string value; /* If op!=Exists */ - struct _AttribCond *next; -} AttribCond; - -EXPORT typedef enum { - Descendant, Child, Adjacent, Sibling -} Combinator; - -EXPORT typedef struct _SimpleSelector { - string name; /* NULL is "*" */ - AttribCond *attribs; - PseudoCond *pseudos; - Combinator combinator; /* If context not NULL */ - struct _SimpleSelector *context; -} SimpleSelector, *Selector; - -typedef enum { - INIT, SLASH, START_SIMPLE, START_CLASS, START_ID, COMMENT, - AFTER_SIMPLE, COMMENT_STAR, START_ATTR, START_PSEUDO, ESC0, - TYPE, AFTER_TYPE, ESCAPE, CLASS, ID, ATTR, AFTER_ATTR, EQ, - START_VALUE, DSTRING, SSTRING, VALUE, HASH, AFTER_VALUE, PSEUDO_R, - PSEUDO_RO, PSEUDO_ROO, PSEUDO_ROOT, PSEUDO_F, PSEUDO_FI, PSEUDO_FIR, - PSEUDO_FIRS, PSEUDO_FIRST, PSEUDO_FIRST_, PSEUDO_FIRST_C, - PSEUDO_FIRST_CH, PSEUDO_FIRST_CHI, PSEUDO_FIRST_CHIL, - PSEUDO_FIRST_CHILD, PSEUDO_FIRST_CHILD_, PSEUDO_N, PSEUDO_NT, - PSEUDO_NTH, PSEUDO_NTH_, PSEUDO_NTH_C, PSEUDO_NTH_CH, - PSEUDO_NTH_CHI, PSEUDO_NTH_CHIL, PSEUDO_NTH_CHILD, PSEUDO_NTH_CHILD_, - PSEUDO_L, PSEUDO_LA, PSEUDO_NTH_LAN, PSEUDO_NTH_LANG, PSEUDO_NTH_LANG_, - PSEUDO_NTH_O, PSEUDO_NTH_OF, PSEUDO_NTH_OF_, PSEUDO_NTH_OF_T, - PSEUDO_NTH_OF_TY, PSEUDO_NTH_OF_TYP, PSEUDO_NTH_OF_TYPE, - PSEUDO_NTH_OF_TYPE_, PSEUDO_FIRST_O, PSEUDO_FIRST_OF, - PSEUDO_FIRST_OF_, PSEUDO_FIRST_OF_T, PSEUDO_FIRST_OF_TY, - PSEUDO_FIRST_OF_TYP, PSEUDO_FIRST_OF_TYPE, END_PSEUDO, - START_INT, INT, PSEUDO_LAN, PSEUDO_LANG, PSEUDO_LANG_, LANG, - AFTER_MUL, AFTER_MUL_N, AFTER_MUL_NPLUS, PSEUDO__O, - PSEUDO__OD, PSEUDO__ODD, PSEUDO__E, - PSEUDO__EV, PSEUDO__EVE, PSEUDO__EVEN, PSEUDO__MINUS, PSEUDO__NEG - -} State; - - -/* strappc -- append a character to a malloc'ed string */ -static void strappc(string *s, unsigned char c) -{ - int len = strlen(*s); - renewarray(*s, len + 2); - (*s)[len] = c; - (*s)[len+1] = '\0'; -} - -/* pseudos_to_string -- convert pseudo-class selectors to a string */ -static string pseudos_to_string(const PseudoCond *p) -{ - string h, s = newstring(""); - unsigned char t1[30], t2[30]; - - sprintf(t1, "%d", p->a); - sprintf(t2, "%d", p->b); - switch (p->type) { - case Root: - strapp(&s, ":root", NULL); break; - case NthChild: - strapp(&s, ":nth-child(", t1, "n+", t2, ")", NULL); break; - case NthOfType: - strapp(&s, ":nth-of-type(", t1, "n+", t2, ")", NULL); break; - case Lang: - strapp(&s, ":lang(", p->s, ")", NULL); break; - case FirstChild: - strapp(&s, ":first-child", NULL); break; - case FirstOfType: - strapp(&s, ":first-of-type", NULL); break; - default: - assert(!"Cannot happen"); - } - if (p->next) { - strapp(&s, (h = pseudos_to_string(p->next)), NULL); - dispose(h); - } - return s; -} - -/* attribs_to_string -- convert attribute selectors to a string */ -static string attribs_to_string(const AttribCond *a) -{ - string h, s = newstring(""); - - /* To do: escape illegal characters */ - switch (a->op) { - case HasClass: - strapp(&s, ".", a->value, NULL); break; - case HasID: - strapp(&s, "#", a->value, NULL); break; - case Exists: - strapp(&s, "[", a->name, "]", NULL); break; - case Equals: - strapp(&s, "[", a->name, "=\"", a->value, "\"]", NULL); break; - case Includes: - strapp(&s, "[", a->name, "~=\"", a->value, "\"]", NULL); break; - case StartsWith: - strapp(&s, "[", a->name, "^=\"", a->value, "\"]", NULL); break; - case EndsWidth: - strapp(&s, "[", a->name, "$=\"", a->value, "\"]", NULL); break; - case LangMatch: - strapp(&s, "[", a->name, "|=\"", a->value, "\"]", NULL); break; - case Contains: - strapp(&s, "[", a->name, "*=\"", a->value, "\"]", NULL); break; - default: - assert(!"Cannot happen"); - } - if (a->next) { - strapp(&s, (h = attribs_to_string(a->next)), NULL); - dispose(h); - } - return s; -} - -/* selector_to_string -- convert selector back to a string */ -EXPORT string selector_to_string(const Selector selector) -{ - string h, s = newstring(""); - - strapp(&s, selector->name ? selector->name : (string)"*", NULL); - if (selector->attribs) { - h = attribs_to_string(selector->attribs); - strapp(&s, h, NULL); - dispose(h); - } - if (selector->pseudos) { - h = pseudos_to_string(selector->pseudos); - strapp(&s, h, NULL); - dispose(h); - } - if (selector->context) { - h = s; - s = selector_to_string(selector->context); - switch (selector->combinator) { - case Descendant: strapp(&s, " ", h, NULL); break; - case Child: strapp(&s, " > ", h, NULL); break; - case Adjacent: strapp(&s, " + ", h, NULL); break; - case Sibling: strapp(&s, " ~ ", h, NULL); break; - default: assert(!"Cannot happen"); - } - dispose(h); - } - return s; -} - -/* push_sel -- allocate memory for a new selector; initialize */ -static void push_sel(Selector *selector, Combinator combinator) -{ - Selector h; - - new(h); - h->name = NULL; - h->attribs = NULL; - h->pseudos = NULL; - h->context = *selector; - h->combinator = combinator; - *selector = h; -} - -/* isnmstart -- check if a character can start an identifier */ -static Boolean isnmstart(unsigned int c) -{ - return ('a' <= c && c <= 'z') - || ('A' <= c && c <= 'Z') - || (c == '_') - || (c >= '\200'); -} - -/* isnmchar -- check if a character can be inside an identifier */ -static Boolean isnmchar(unsigned int c) -{ - return ('a' <= c && c <= 'z') - || ('A' <= c && c <= 'Z') - || ('0' <= c && c <= '9') - || (c == '_') - || (c == '-') - || (c >= '\200'); -} - -/* parse_selector -- parse the selector in s */ -EXPORT Selector parse_selector(const string selector) -{ - State saved_state, state = INIT; - string s = selector; - AttribCond *attsel; - PseudoCond *pseudosel; - Selector sel = NULL; - int n, esc; - - /* To do: pseudos should be case-insensitive */ - - push_sel(&sel, Descendant); - - while (*s) { - switch (state) { - case INIT: /* Expect a simple sel */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = INIT; state = SLASH;} - else state = START_SIMPLE; - break; - case AFTER_SIMPLE: /* Expect a combinator */ - if (isspace(*s)) {s++;} - else if (*s == '/') {s++; saved_state = AFTER_SIMPLE; state=SLASH;} - else if (*s == '+') {s++; push_sel(&sel, Adjacent); state = INIT;} - else if (*s == '>') {s++; push_sel(&sel, Child); state = INIT;} - else if (*s == '~') {s++; push_sel(&sel, Sibling); state = INIT;} - else {push_sel(&sel, Descendant); state = START_SIMPLE;} - break; - case SLASH: /* Expect a '*' */ - if (*s == '*') {s++; state = COMMENT;} - else errexit("Syntax error in selector at '/'\n"); - break; - case COMMENT: /* Inside comment */ - if (*s == '*') state = COMMENT_STAR; - s++; - break; - case COMMENT_STAR: /* Maybe end comment */ - if (*s == '/') state = saved_state; - else if (*s != '*') state = COMMENT; - s++; - break; - case START_SIMPLE: /* Start simple sel */ - if (*s == '*') {s++; state = AFTER_TYPE;} /* Universal selector */ - else if (*s == '.') {s++; state = START_CLASS;} - else if (*s == '#') {s++; state = START_ID;} - else if (*s == '[') {s++; state = START_ATTR;} - else if (*s == ':') {s++; state = START_PSEUDO;} - else if (*s == '\\') {sel->name = newstring(""); s++; state=ESC0;} - else if (isnmstart(*s)) {sel->name = newstring(""); state = TYPE;} - else errexit("Syntax error at \"%c\"\n", *s); - break; - case TYPE: /* Type selector */ - if (*s == '\\') {s++; state = ESC0;} - else if (isnmchar(*s)) {strappc(&sel->name, *s); s++;} - else state = AFTER_TYPE; - break; - case ESC0: /* Just seen a '\' */ - if (isxdigit(*s)) {esc = 0; state = ESCAPE;} - else {strappc(&sel->name, *s); s++; state = TYPE;} - break; - case ESCAPE: /* Hex escape */ - if ('a' <= *s && *s <= 'f') {esc = 16 * esc + *s - 'a' + 10; s++;} - else if ('A'<=*s && *s<='F') {esc = 16 * esc + *s - 'A' + 10; s++;} - else if ('0'<=*s && *s<='9') {esc = 16 * esc + *s - '0'; s++;} - else if (isspace(*s)) {strappc(&sel->name, esc); s++; state=TYPE;} - else {strappc(&sel->name, esc); state = TYPE;} - break; - case AFTER_TYPE: /* After a type sel */ - if (*s == '.') {s++; state = START_CLASS;} - else if (*s == '#') {s++; state = START_ID;} - else if (*s == '[') {s++; state = START_ATTR;} - else if (*s == ':') {s++; state = START_PSEUDO;} - else state = AFTER_SIMPLE; - break; - case START_CLASS: /* Just seen a '.' */ - if (isnmstart(*s)) { - new(attsel); - attsel->op = HasClass; - attsel->value = newstring(""); - attsel->next = sel->attribs; - sel->attribs = attsel; - strappc(&sel->attribs->value, *s); - s++; - state = CLASS; - } else errexit("Expected letter instead of \"%c\" after \".\"",*s); - break; - case CLASS: /* Inside class name */ - if (isnmchar(*s)) {strappc(&sel->attribs->value, *s); s++;} - else state = AFTER_TYPE; - break; - case START_ID: /* Just seen a '#' */ - if (isnmchar(*s)) { - new(attsel); - attsel->op = HasID; - attsel->value = newstring(""); - attsel->next = sel->attribs; - sel->attribs = attsel; - strappc(&sel->attribs->value, *s); - s++; - state = ID; - } else errexit("Expected letter instead of \"%c\" after \".\"",*s); - break; - case ID: /* Inside name of ID */ - if (isnmchar(*s)) {strappc(&sel->attribs->value, *s); s++;} - else state = AFTER_TYPE; - break; - case START_ATTR: /* Just seen a '[' */ - if (isspace(*s)) s++; - else if (*s == '/') {saved_state = START_ATTR; state = SLASH; s++;} - else if (isnmstart(*s)) { - new(attsel); - attsel->name = newstring(""); - attsel->next = sel->attribs; - sel->attribs = attsel; - strappc(&sel->attribs->name, *s); - s++; - state = ATTR; - } else errexit("Expected letter instead of \"%c\" after \"[\"",*s); - break; - case ATTR: /* Inside attrib name */ - if (isnmchar(*s)) {strappc(&sel->attribs->name, *s); s++;} - else state = AFTER_ATTR; - break; - case AFTER_ATTR: - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = AFTER_ATTR; state = SLASH;} - else if (*s == ']') {s++; sel->attribs->op = Exists; state = AFTER_TYPE;} - else if (*s == '~') {s++; sel->attribs->op = Includes; state = EQ;} - else if (*s == '|') {s++; sel->attribs->op = LangMatch; state=EQ;} - else if (*s == '^') {s++; sel->attribs->op = StartsWith; state=EQ;} - else if (*s == '$') {s++; sel->attribs->op = EndsWidth; state=EQ;} - else if (*s == '*') {s++; sel->attribs->op = Contains; state = EQ;} - else {sel->attribs->op = Equals; state = EQ;} - break; - case EQ: /* Expect '=' */ - if (*s != '=') errexit("Expected '=' instead of \"%c\"", *s); - else {s++; sel->attribs->value = newstring(""); state=START_VALUE;} - break; - case START_VALUE: /* After '=' */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = START_VALUE; state=SLASH;} - else if (*s == '"') {s++; state = DSTRING;} - else if (*s == '\'') {s++; state = SSTRING;} - else if (!isnmstart(*s)) errexit("Syntax error at \"%c\"\n", *s); - else {strappc(&sel->attribs->value, *s); s++; state = VALUE;} - break; - case DSTRING: /* Inside "..." */ - if (*s == '"') {s++; state = AFTER_VALUE;} - else {strappc(&sel->attribs->value, *s); s++;} - break; - case SSTRING: /* Inside "..." */ - if (*s == '\'') {s++; state = AFTER_VALUE;} - else {strappc(&sel->attribs->value, *s); s++;} - break; - case VALUE: /* Inside keyword */ - if (isnmchar(*s)) {strappc(&sel->attribs->value, *s); s++;} - else state = AFTER_VALUE; - break; - case AFTER_VALUE: /* Expect ']' */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = AFTER_VALUE; state = HASH;} - else if (*s == ']') {s++; state = AFTER_TYPE;} - else errexit("Expected ']' instead of \"%c\"\n", *s); - break; - case START_PSEUDO: /* After ':' */ - new(pseudosel); - pseudosel->next = sel->pseudos; - sel->pseudos = pseudosel; - if (*s == 'r' || *s == 'R') {s++; state = PSEUDO_R;} - else if (*s == 'n' || *s == 'N') {s++; state = PSEUDO_N;} - else if (*s == 'f' || *s == 'F') {s++; state = PSEUDO_F;} - else if (*s == 'l' || *s == 'L') {s++; state = PSEUDO_L;} - else errexit("Unknown pseudo-class \":%c...\"\n", *s); - break; - case PSEUDO_R: /* After ':r' */ - if (*s == 'o' || *s == 'O') {s++; state = PSEUDO_RO;} - else errexit("Unknown pseudo-class \":r%c...\"\n", *s); - break; - case PSEUDO_RO: /* After ':ro' */ - if (*s == 'o' || *s == 'O') {s++; state = PSEUDO_ROO;} - else errexit("Unknown pseudo-class \":ro%c...\"\n", *s); - break; - case PSEUDO_ROO: /* After ':roo' */ - if (*s == 't' || *s == 'T') {sel->pseudos->type = Root; s++; state=PSEUDO_ROOT;} - else errexit("Unknown pseudo-class \":roo%c...\"\n", *s); - break; - case PSEUDO_ROOT: /* After ':root' */ - if (!isnmchar(*s)) state = AFTER_TYPE; - else errexit("Unknown pseudo-class \":root%c...\"\n", *s); - break; - case PSEUDO_N: /* After ':n' */ - if (*s == 't' || *s == 'T') {s++; state = PSEUDO_NT;} - else errexit("Unknown pseudo-class \":n%c...\"\n", *s); - break; - case PSEUDO_NT: /* After ':nt' */ - if (*s == 'h' || *s == 'H') {s++; state = PSEUDO_NTH;} - else errexit("Unknown pseudo-class \":nt%c...\"\n", *s); - break; - case PSEUDO_NTH: /* After ':nth' */ - if (*s == '-') {s++; state = PSEUDO_NTH_;} - else errexit("Unknown pseudo-class \":nth%c...\"\n", *s); - break; - case PSEUDO_NTH_: /* After ':nth_' */ - if (*s == 'c' || *s == 'C') {s++; state = PSEUDO_NTH_C;} - else if (*s == 'o' || *s == 'O') {s++; state = PSEUDO_NTH_O;} - else errexit("Unknown pseudo-class \":nth_%c...\"\n", *s); - break; - case PSEUDO_NTH_C: /* After ':nth_c' */ - if (*s == 'h' || *s == 'H') {s++; state = PSEUDO_NTH_CH;} - else errexit("Unknown pseudo-class \":nth_c%c...\"\n", *s); - break; - case PSEUDO_NTH_CH: /* After ':nth_ch' */ - if (*s == 'i' || *s == 'I') {s++; state = PSEUDO_NTH_CHI;} - else errexit("Unknown pseudo-class \":nth_ch%c...\"\n", *s); - break; - case PSEUDO_NTH_CHI: /* After ':nth_chi' */ - if (*s == 'l' || *s == 'L') {s++; state = PSEUDO_NTH_CHIL;} - else errexit("Unknown pseudo-class \":nth_chi%c...\"\n", *s); - break; - case PSEUDO_NTH_CHIL: /* After ':nth_chil' */ - if (*s == 'd' || *s == 'D') {s++; state = PSEUDO_NTH_CHILD;} - else errexit("Unknown pseudo-class \":nth_chil%c...\"\n", *s); - break; - case PSEUDO_NTH_CHILD: /* After ':nth_child' */ - if (*s == '(') {s++; state = PSEUDO_NTH_CHILD_;} - else errexit("Unknown pseudo-class \":nth_child%c...\"\n", *s); - break; - case PSEUDO_NTH_CHILD_: /* After ':nth_child(' */ - sel->pseudos->type = NthChild; sel->pseudos->a = 0; - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (isdigit(*s)) {saved_state = AFTER_MUL; state = START_INT;} - else if (*s == '-') {s++; state = PSEUDO__MINUS;} - else if (*s == 'o' || *s == 'O') {s++; state = PSEUDO__O;} - else if (*s == 'e' || *s == 'E') {s++; state = PSEUDO__E;} - else if (*s == 'n' || *s == 'N') {s++; sel->pseudos->a = 1; - state=AFTER_MUL_N;} - else errexit("Expected digit after \"nth-child(\" at \"%c\"\n",*s); - break; - case PSEUDO__MINUS: /* After :nth-...(- */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (isdigit(*s)) {saved_state = PSEUDO__NEG; state=START_INT;} - else if (*s == 'n' || *s == 'N') {s++; sel->pseudos->a = -1; - state=AFTER_MUL_N;} - else errexit("Expected digit after \":nth-...(\" at \"%c\"\n",*s); - break; - case PSEUDO__NEG: /* After -<num> */ - sel->pseudos->b = -sel->pseudos->b; state = AFTER_MUL; - break; - case PSEUDO__O: /* After :nth...(o */ - if (*s == 'd' || *s == 'D') {s++; state = PSEUDO__OD;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__OD: /* After :nth...(od */ - if (*s == 'd' || *s == 'D') {s++; state = PSEUDO__ODD;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__ODD: /* After :nth-...(odd */ - if (!isnmchar(*s)) {state = END_PSEUDO; - sel->pseudos->a = 2; sel->pseudos->b = 1;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__E: /* After :nth-...(e */ - if (*s == 'v' || *s == 'V') {s++; state = PSEUDO__EV;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__EV: /* After :nth-...(ev */ - if (*s == 'e' || *s == 'E') {s++; state = PSEUDO__EVE;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__EVE: /* After :nth-...(eve */ - if (*s == 'n' || *s == 'N') {s++; state = PSEUDO__EVEN;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case PSEUDO__EVEN: /* Afte :nth-...(even */ - if (!isnmchar(*s)) {state = END_PSEUDO; - sel->pseudos->a = 2; sel->pseudos->b = 0;} - else errexit("Illegal character \"%c\" in \":nth-...(\"\n", *s); - break; - case START_INT: /* At a digit */ - n = *s - '0'; s++; state = INT; - break; - case INT: /* Inside number */ - if (isdigit(*s)) {n = 10 * n + *s - '0'; s++;} - else {sel->pseudos->b = n; state = saved_state;} - break; - case AFTER_MUL: /* After "...(<num>" */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (*s == ')') {s++; state = AFTER_TYPE;} - else if (*s == 'n' || *s == 'N') {s++; state = AFTER_MUL_N; - sel->pseudos->a = sel->pseudos->b; sel->pseudos->b = 0;} - else errexit("Illegal character \"%c\"\n", *s); - break; - case AFTER_MUL_N: /* After "...(<num>N" */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (*s == '+') {s++; state = AFTER_MUL_NPLUS;} - else if (*s == ')') {s++; state = AFTER_TYPE;} - else errexit("Illegal character \"%c\"\n", *s); - break; - case AFTER_MUL_NPLUS: /* After "...(<num>N+" */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (isdigit(*s)) {saved_state = END_PSEUDO; state=START_INT;} - else errexit("Expected a digit after \"+\" at \"%c\"\n", *s); - break; - case END_PSEUDO: /* Expect ')' */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = END_PSEUDO; state = SLASH;} - else if (*s == ')') {s++; state = AFTER_TYPE;} - else errexit("Illegal character \"%c\"\n", *s); - break; - case PSEUDO_NTH_O: /* After ':nth_o' */ - if (*s == 'f' || *s == 'F') {s++; state = PSEUDO_NTH_OF;} - else errexit("Unknown pseudo-class \":nth_o%c...\"", *s); - break; - case PSEUDO_NTH_OF: /* After ':nth_of' */ - if (*s == '-') {s++; state = PSEUDO_NTH_OF_;} - else errexit("Unknown pseudo-class \":nth_of%c...\"", *s); - break; - case PSEUDO_NTH_OF_: /* After ':nth_of_' */ - if (*s == 't' || *s == 'T') {s++; state = PSEUDO_NTH_OF_T;} - else errexit("Unknown pseudo-class \":nth_of_%c...\"", *s); - break; - case PSEUDO_NTH_OF_T: /* After ':nth_of_t' */ - if (*s == 'y' || *s == 'Y') {s++; state = PSEUDO_NTH_OF_TY;} - else errexit("Unknown pseudo-class \":nth_of_t%c...\"", *s); - break; - case PSEUDO_NTH_OF_TY: /* After ':nth_of_ty' */ - if (*s == 'p' || *s == 'P') {s++; state = PSEUDO_NTH_OF_TYP;} - else errexit("Unknown pseudo-class \":nth_of_ty%c...\"", *s); - break; - case PSEUDO_NTH_OF_TYP: /* After ':nth_of_typ' */ - if (*s == 'e' || *s == 'E') {s++; state = PSEUDO_NTH_OF_TYPE;} - else errexit("Unknown pseudo-class \":nth_of_typ%c...\"", *s); - break; - case PSEUDO_NTH_OF_TYPE: /* After :nth_of_type */ - if (*s == '(') {s++; state = PSEUDO_NTH_OF_TYPE_;} - else errexit("Unknown pseudo-class \":nth_of_type%c...\"", *s); - break; - case PSEUDO_NTH_OF_TYPE_: /* After :nth_of_type( */ - sel->pseudos->type = NthChild; sel->pseudos->a = 0; - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = state; state = SLASH;} - else if (isdigit(*s)) {saved_state = AFTER_MUL; state = START_INT;} - else if (*s == '-') {s++; state = PSEUDO__MINUS;} - else if (*s == 'o' || *s=='O') {s++; state = PSEUDO__O;} - else if (*s == 'e' || *s=='E') {s++; state = PSEUDO__E;} - else if (*s == 'n' || *s=='N') {s++; sel->pseudos->a=1;state=AFTER_MUL_N;} - else errexit("Expected digit after \":nth-of_type(\" at \"%c\"\n",*s); - break; - case PSEUDO_F: /* After ':f' */ - if (*s == 'i' || *s == 'I') {s++; state = PSEUDO_FI;} - else errexit("Unknown pseudo-class \":f%c...\"", *s); - break; - case PSEUDO_FI: /* After ':fi' */ - if (*s == 'r' || *s == 'R') {s++; state = PSEUDO_FIR;} - else errexit("Unknown pseudo-class \":fi%c...\"", *s); - break; - case PSEUDO_FIR: /* After ':fir' */ - if (*s == 's' || *s == 'S') {s++; state = PSEUDO_FIRS;} - else errexit("Unknown pseudo-class \":fir%c...\"", *s); - break; - case PSEUDO_FIRS: /* After ':firs' */ - if (*s == 't' || *s == 'T') {s++; state = PSEUDO_FIRST;} - else errexit("Unknown pseudo-class \":firs%c...\"", *s); - break; - case PSEUDO_FIRST: /* After ':first' */ - if (*s == '-') {s++; state = PSEUDO_FIRST_;} - else errexit("Unknown pseudo-class \":first%c...\"", *s); - break; - case PSEUDO_FIRST_: /* After ':first_' */ - if (*s == 'c' || *s == 'C') {s++; state = PSEUDO_FIRST_C;} - else if (*s == 'o') {s++; state = PSEUDO_FIRST_O;} - else errexit("Unknown pseudo-class \":first_%c...\"", *s); - break; - case PSEUDO_FIRST_C: /* After ':first_c' */ - if (*s == 'h' || *s == 'H') {s++; state = PSEUDO_FIRST_CH;} - else errexit("Unknown pseudo-class \":first_c%c...\"", *s); - break; - case PSEUDO_FIRST_CH: /* After ':first_ch' */ - if (*s == 'i' || *s == 'I') {s++; state = PSEUDO_FIRST_CHI;} - else errexit("Unknown pseudo-class \":first_ch%c...\"", *s); - break; - case PSEUDO_FIRST_CHI: /* After ':first_chi' */ - if (*s == 'l' || *s == 'L') {s++; state = PSEUDO_FIRST_CHIL;} - else errexit("Unknown pseudo-class \":first_chi%c...\"", *s); - break; - case PSEUDO_FIRST_CHIL: /* After ':first_chil' */ - if (*s != 'd' && *s != 'D') errexit("Unknown pseudo-class \":first_chil%c...\"", *s); - else {sel->pseudos->type = FirstChild; s++; state = PSEUDO_FIRST_CHILD;} - break; - case PSEUDO_FIRST_CHILD: /* After ':first_child' */ - if (!isnmchar(*s)) {state = AFTER_TYPE;} - else errexit("Unknown pseudo-class \":first_child%c...\"", *s); - break; - case PSEUDO_FIRST_O: /* After ':first_o' */ - if (*s == 'f' || *s == 'F') {s++; state = PSEUDO_FIRST_OF;} - else errexit("Unknown pseudo-class \":first_o%c...\"", *s); - case PSEUDO_FIRST_OF: /* After ':first_of' */ - if (*s == '-') {s++; state = PSEUDO_FIRST_OF_;} - else errexit("Unknown pseudo-class \":first_of%c...\"", *s); - case PSEUDO_FIRST_OF_: /* After ':first_of_' */ - if (*s == 't' || *s == 'T') {s++; state = PSEUDO_FIRST_OF_T;} - else errexit("Unknown pseudo-class \":first_of_%c...\"", *s); - case PSEUDO_FIRST_OF_T: /* After ':first_of_t' */ - if (*s == 'y' || *s == 'Y') {s++; state = PSEUDO_FIRST_OF_TY;} - else errexit("Unknown pseudo-class \":first_of_t%c...\"", *s); - case PSEUDO_FIRST_OF_TY: /* After ':first_of_ty' */ - if (*s == 'p' || *s == 'P') {s++; state = PSEUDO_FIRST_OF_TYP;} - else errexit("Unknown pseudo-class \":first_of_ty%c...\"", *s); - case PSEUDO_FIRST_OF_TYP: /* After ':first_of_typ' */ - if (*s == 'e' || *s == 'E') {s++; state = PSEUDO_FIRST_OF_TYPE;} - else errexit("Unknown pseudo-class \":first_of_typ%c...\"", *s); - case PSEUDO_FIRST_OF_TYPE: /* After ':first_of_type' */ - if (!isnmchar(*s)) {sel->pseudos->type = FirstOfType; state =AFTER_TYPE;} - else errexit("Unknown pseudo-class \":first_of_type%c...\"", *s); - case PSEUDO_L: /* After ':l' */ - if (*s == 'a' || *s == 'A') {s++; state = PSEUDO_LA;} - else errexit("Unknown pseudo-class \":l%c...\"", *s); - break; - case PSEUDO_LA: /* After ':la' */ - if (*s == 'n' || *s == 'N') {s++; state = PSEUDO_LAN;} - else errexit("Unknown pseudo-class \":la%c...\"", *s); - break; - case PSEUDO_LAN: /* After ':lan' */ - if (*s == 'g' || *s == 'G') {s++; state = PSEUDO_LANG;} - else errexit("Unknown pseudo-class \":lan%c...\"", *s); - break; - case PSEUDO_LANG: /* After ':lang' */ - if (*s == '(') {s++; state = PSEUDO_LANG_;} - else errexit("Unknown pseudo-class \":lang%c...\"", *s); - break; - case PSEUDO_LANG_: /* After ':lang(' */ - if (isspace(*s)) s++; - else if (*s == '/') {s++; saved_state = PSEUDO_LANG_; state = SLASH;} - else if (!isnmstart(*s)) errexit("Incorrect \":lang(\" at \"%c\"\n", *s); - else { - sel->pseudos->type = Lang; - sel->pseudos->s = newstring(""); - strappc(&sel->pseudos->s, *s); - s++; - state = LANG; - } - break; - case LANG: /* Inside a language code */ - if (isnmchar(*s)) {strappc(&sel->pseudos->s, *s); s++;} - else state = END_PSEUDO; - break; - default: - assert(!"Cannot happen"); - } - } - return sel; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/selector.e b/arid_examples/html-xml-utils-3.0/testruns/selector.e deleted file mode 100644 index 8ade641a1..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/selector.e +++ /dev/null @@ -1,31 +0,0 @@ - typedef enum { - Root, NthChild, NthOfType, FirstChild, FirstOfType, Lang -} PseudoType; - typedef struct _PseudoCond { - PseudoType type; - int a, b; - string s; - struct _PseudoCond *next; -} PseudoCond; - typedef enum { - Exists, Equals, Includes, StartsWith, EndsWidth, Contains, LangMatch, - HasClass, HasID -} Operator; - typedef struct _AttribCond { - Operator op; - string name; - string value; - struct _AttribCond *next; -} AttribCond; - typedef enum { - Descendant, Child, Adjacent, Sibling -} Combinator; - typedef struct _SimpleSelector { - string name; - AttribCond *attribs; - PseudoCond *pseudos; - Combinator combinator; - struct _SimpleSelector *context; -} SimpleSelector, *Selector; - string selector_to_string(const Selector selector); - Selector parse_selector(const string selector); diff --git a/arid_examples/html-xml-utils-3.0/testruns/sihf.e b/arid_examples/html-xml-utils-3.0/testruns/sihf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/soidhf.e b/arid_examples/html-xml-utils-3.0/testruns/soidhf.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/soih.e b/arid_examples/html-xml-utils-3.0/testruns/soih.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/soihfs.e b/arid_examples/html-xml-utils-3.0/testruns/soihfs.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/strdup.c b/arid_examples/html-xml-utils-3.0/testruns/strdup.c deleted file mode 100644 index 610eec8b3..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/strdup.c +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 31 Mar 2000 - * Version: $Id: strdup.c,v 1.1 2000/03/31 09:28:49 bbos Exp $ - **/ -#include <config.h> -#include <stdlib.h> -#include "export.h" - -#ifndef HAVE_STRDUP -/* strdup -- allocate a copy of a string on the heap; NULL if no memory */ -EXPORT char *strdup(const char *s) -{ - char *t; - - if ((t = malloc((strlen(s) + 1) * sizeof(*s)))) strcpy(t, s); - return t; -} -#endif /* HAVE_STRDUP */ diff --git a/arid_examples/html-xml-utils-3.0/testruns/strdup.e b/arid_examples/html-xml-utils-3.0/testruns/strdup.e deleted file mode 100644 index 3229a1bf0..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/strdup.e +++ /dev/null @@ -1 +0,0 @@ - char *strdup(const char *s); diff --git a/arid_examples/html-xml-utils-3.0/testruns/strerror.c b/arid_examples/html-xml-utils-3.0/testruns/strerror.c deleted file mode 100644 index fd254a459..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/strerror.c +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 31 Mar 2000 - * Version: $Id: strerror.c,v 1.2 2003/01/21 19:26:03 bbos Exp $ - **/ -#include <config.h> -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#include "export.h" - -#ifndef HAVE_STRERROR -/* strerror -- return a string describing the error number */ -EXPORT char *strerror(int errnum) -{ - return errnum < sys_nerr ? sys_errlist[errnum] : "Unknown error"; -} -#endif /* HAVE_STRERROR */ diff --git a/arid_examples/html-xml-utils-3.0/testruns/strerror.e b/arid_examples/html-xml-utils-3.0/testruns/strerror.e deleted file mode 100644 index a784cee7d..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/strerror.e +++ /dev/null @@ -1 +0,0 @@ - char *strerror(int errnum); diff --git a/arid_examples/html-xml-utils-3.0/testruns/strstr.c b/arid_examples/html-xml-utils-3.0/testruns/strstr.c deleted file mode 100644 index d14f56941..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/strstr.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 31 Mar 2000 - * Version: $Id: strstr.c,v 1.1 2000/03/31 09:28:49 bbos Exp $ - **/ -#include <config.h> -#include "export.h" - -#ifndef HAVE_STRSTR -EXPORT char *strstr(const char *haystack, const char *needle) -{ - char *s, *t, *u; - - if (! needle) return haystack; /* No needle */ - for (s = haystack; *s; s++) { - for (t = needle, u = s; *t == *u && *t; t++, u++); - if (! *t) return s; /* Found it */ - } - return NULL; /* Not found */ -} -#endif /* HAVE_STRSTR */ diff --git a/arid_examples/html-xml-utils-3.0/testruns/strstr.e b/arid_examples/html-xml-utils-3.0/testruns/strstr.e deleted file mode 100644 index 1bfbb28e9..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/strstr.e +++ /dev/null @@ -1 +0,0 @@ - char *strstr(const char *haystack, const char *needle); diff --git a/arid_examples/html-xml-utils-3.0/testruns/test.html b/arid_examples/html-xml-utils-3.0/testruns/test.html deleted file mode 100644 index efc772383..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/test.html +++ /dev/null @@ -1,32 +0,0 @@ -<html><body><ul><li><p>1.44 - October 28, 2010</p> -<ul><li><p>Added new feature for collating PDF page scans: <tt>shuffle</tt>. Please see the man page for usage details.</p></li><li><p>Introduced <tt>update_info_utf8</tt>, <tt>dump_data_utf8</tt> and <tt>dump_data_fields_utf8</tt> to provide UTF-8 companions to <tt>update_info</tt>, <tt>dump_data</tt> and <tt>dump_data_fields</tt>. These latter operations use XML numerical entities to encode non-ASCII characters. In version 1.43, we changed the encoding for <tt>update_info</tt> to UTF-8, but that made it incompatible with <tt>dump_data</tt> and also broke some downstream applications. By introducing these UTF-8 operations, we can revert <tt>update_info</tt> to its original behavior.</p></li><li><p><tt>Burst</tt> feature now copies the metadata (including XMP) from the input file to the output pages.</p></li><li><p>Updated Bouncy Castle library to 1.45.</p></li><li><p>Removed or replaced third-party code that wasn't compatible with pdftk's GPL license.</p></li><li><p>Updated third-party license information.</p></li></ul> -</li><li><p>1.43 - September 30, 2010</p> -<ul><li><p>Improved input handle detection to reduce false hits.</p></li><li><p>Improved keyword detection logic to eliminate false hits when input filenames happen to include pdftk keywords <tt>even</tt>, <tt>odd</tt> and <tt>end</tt>.</p></li><li><p>Added option of prompting the user for the output when bursting a PDF. Also reviewed other filename prompting code.</p></li><li><p>Changed the PDF parser to accept name tokens longer than 127 characters — the PDF Specification says that 127 is the limit. This isn't related to file names. The issue arose with PDFs created by Acrobat Web Capture 9.0.</p></li><li><p>Fixed a problem with filling form choice fields in some PDFs where the old form value was 'sticking.'</p></li><li><p>Changed pdftk behavior when handling subset fonts so it doesn't alter font name "tags." This was causing printing problems with Acrobat 3.01 on Windows.</p></li><li><p>Fixed a stream parsing bug that was causing page content to disappear after merge of PDFs generated by Microsoft Reporting Services PDF Rendering Extension 10.0.0.0.</p></li><li><p>Added <i>multistamp</i> and <i>multibackground</i> features provided by a Debian patch — thanks!</p></li><li><p>Clear the signal mask as workaround to environments that turn off signals before calling pdftk. This problem is known to cause pdftk to <a href="https://mail.zope.org/pipermail/zope/2005-February/156603.html">hang in some Python web setups</a> as well as in PHP.</p></li><li><p>Set locale to C as workaround to an unusual exception. This is a <a href="http://bugs.debian.org/560594">Debian patch</a>. Please let me know if it causes any troubles.</p></li><li><p>Improved reporting of output errors via Debian patch — thanks!</p></li><li><p>Added support for UTF-8 data in <tt>update_info</tt> via Debian patch — thanks!</p></li><li><p>Added support for UTF-8 filenames via Debian patch — thanks!</p></li><li><p>Updated build procedure to work better with newer versions of GCC. Maintained compatibility with older versions of GCC.</p></li><li><p>Added license information to the source tree for the third-party libraries that pdftk uses.</p></li></ul> -</li><li><p>1.41 - November 28, 2006</p> -<ul><li><p>Fixed a bug that corrupted output PDF xref tables. This corruption was mild but universal. Most PDF tools can cope with the corrupted PDFs, but I recommend upgrading from 1.40 to 1.41 as soon as possible. This bug was introduced in version 1.40 — version 1.12 does not have this bug.</p></li><li><p>Fixed a bug that prevented XFDF form data from being passed to pdftk via stdin.</p></li><li><p>Commented out some unused code from <tt>pdftk.cc</tt>.</p></li></ul> -</li><li><p>1.40 - September 19, 2006</p> -<ul><li><p>Added the <tt>stamp</tt> operation, a natural complement to the existing <tt>background</tt> operation.</p></li><li><p>Added the page rotating patch provided by David Fabel — thanks! Tweaked the patch so it handles a greater variety of input syntax (e.g., <tt>1-20evenE</tt>).</p></li><li><p>Added the <tt>generate_fdf</tt> patch provided Bernhard R. Link — thanks! I actually rewrote the patch so it uses FDF features built into the iText library. Please let me know my changes break anything downstream.</p></li><li><p>The <tt>fill_form</tt> operation can now take XFDF data as well as FDF data. This feature was sponsored by Vesaria — thanks!</p></li><li><p>Added the <tt>drop_xfa</tt> option so pdftk could fill forms created with newer versions of Acrobat or Adobe Designer. Read more about this above.</p></li><li><p>Added the <tt>keep_first_id</tt> and <tt>keep_final_id</tt> options for more PDF fun.</p></li><li><p>Upgraded the iText library we use to itext-paulo rev. 155. This makes pdftk harder to compile on older versions of gcc.</p></li><li><p>Added the <tt>-O2</tt> optimizing switch to Makefile <tt>GCJFLAGS</tt>. This should make pdftk leaner and meaner, but could be dropped if your build acts funny (like segfaulting).</p></li><li><p>Fixed a bug that caused pdftk to create bloated PDFs when input PDF pages had links on their pages.</p></li><li><p>Added <tt>License-Adobe.txt</tt> to the fonts folder, as required for distribution of Adobe’s AFM files.</p></li></ul> -</li><li><p>1.12 - November 9, 2004</p> -<ul><li><p>Fixed a bug where the presense of page annotations in some PDFs would cause pdftk to crash. This bug first emerged when processing a PDF created by FPDF (version 1.52) that contained web links. Turns out that pdftk erroneously expected all page annotations to be indirect objects. This assumption has been removed from the code.</p></li></ul> -</li><li><p>1.11 - November 3, 2004</p> -<ul><li><p>Fixed a couple bugs in the <tt>dump_data_fields</tt> form field reporting. Also improved this feature so it now reports all possible settings for check box, radio button, list box and combo box form fields.</p></li></ul> -</li><li><p>1.10 - October 27, 2004</p> -<ul><li><p>Fixed the <tt>background</tt> feature so it handles rotated pages (input PDF or background PDF) better. Pdftk will transform the background PDF page so that its orientation is preserved on every page of the output PDF, even on input PDF pages that are rotated. I chose this logic so as to give the user greater control over the results; rotate pages before processing to achieve the desired output. Let me know if this logic is too inconveniet for you.</p></li><li><p>Fixed form field handling when combining PDF pages. Pdftk used to permit duplicate form field names, which is illegal PDF. Now, pdftk detects duplicates and adds name prefixes as needed. If no duplicates occur, then no changes are made. If an input PDF has a field represented by multiple annotations, then that is respected and preserved in the output.</p> -<p>An especially nice upshot to this new handling is that you can now assemble duplicate PDF forms and not end up with all of their fields echoing each other (as you get with Acrobat). Run <tt>pdftk A=form.pdf cat A A A output formX3.pdf</tt> and you’ll get a form that behaves as you would expect.</p> - -</li><li><p>Added <tt>stdin</tt> support for input PDF, FDF, or Info files (thanks to Bart Orbons for this patch).</p></li><li><p>Added a means for users to control the output PDF filenames when using the <tt>burst</tt> feature: pass in a printf-styled format string via <tt>output</tt> (documented above).</p></li><li><p>Changed <tt>background</tt> command-line syntax, so it is an operation instead of an output option. The old syntax also works, for backward compatibility.</p></li><li><p>Now shuffling subset font name prefixes for input PDFs, to prevent duplicates.</p></li><li><p>Updated <tt>Makefile.Mandrake</tt> according to feedback from Larry Gilliland.</p></li><li><p>Reduced the Windows EXE filesize using UPX, as suggested by Ralf Koenig.</p></li></ul> -</li><li><p>1.00 - August 14, 2004</p> -<ul><li><p>Upgraded the iText library we use to itext-paulo rev. 132, which resolved a bug involving bookmark page references in <tt>dump_data</tt> output.</p></li><li><p>Fixed the problem of form fields getting corrupted by splitting or merging PDF form pages.</p></li><li><p>Building the Windows binary using libgcj 3.4 seems to have fixed the problem of using accented characters in filenames and paths.</p></li><li><p>Added these new operations: <tt>fill_form</tt>, <tt>update_info</tt>, <tt>attach_file</tt>, and <tt>unpack_file</tt>.</p></li><li><p>Added the <tt>background</tt> and <tt>flatten</tt> output options.</p></li><li><p>Added the <tt>do_ask</tt> interactive mode (the default on Windows) that asks before overwriting files and asks for passwords to input PDFs, if necessary. Also added the <tt>dont_ask</tt> mode (the default on Linux), for hands-free operation.</p></li><li><p>Many input fields can be substituted with <tt>PROMPT</tt>, which cues pdftk to ask the user for a filename or password upon execution.</p></li><li><p>Added output to stdout via <tt>output -</tt>.</p></li><li><p>Using the <tt>uncompress</tt> option now also adds page numbers to page dictionaries, for easy lookup. Find page <i>N</i> (1-based) by searching for <tt>/pdftk_PageNum <i>N</i></tt>. Using the <tt>compress</tt> option removes these markers.</p></li><li><p>Added Mac OS X Makefile, and removed the optimization flag from the GCJ flags (which would cause trouble on older versions of gcc, such as 3.2.2) in all Makefiles.</p></li><li><p>Now catching PDF output open exceptions.</p></li><li><p>Builds now pack iText font <tt>afm</tt> files into pdftk, which are required for the new form filling feature.</p></li></ul> -</li><li><p>0.941 - March 28, 2004</p> -<ul><li><p>Fixed the ’Input_UnicodeBig not found’ error encountered by Windows users when using the <tt>dump_data</tt> or the <tt>burst</tt> operations on some PDFs.</p></li><li><p>Added an optimization flag to the gcj arguments. This can be adjusted or omitted by editing your platform-specific Makefile.</p></li><li><p>Renamed the <tt>CC_OPTS</tt> Makefile macro to <tt>CXXFLAGS</tt>, for uniformity.</p></li></ul> -</li><li><p>0.94 - March 24, 2004</p> -<ul><li><p>Fixed a string copy bug in pdftk.cc.</p></li><li><p>Fixed unicode string output so it drops initial, signature character.</p></li><li><p>Fixed nagging gnu.java.locale.Calendar static linking problem (Windows).</p></li><li><p>Made more improvements towards gcc/gcj 3.2 compatibility (e.g., RedHat 8, 9).</p></li><li><p>Added macros to Makefiles, for easier porting.</p></li><li><p>Added simple return codes: 0 --> Success, 1 --> Error, 2 --> Exception. Some exceptions will return an "Error" return code.</p></li><li><p>Removed warning issued when an input PDF has no ID string.</p></li><li><p>Empty Info fields no longer reported on <tt>dump_data</tt>.</p></li><li><p>Added newline to end of <tt>--help</tt> output.</p></li></ul> -</li><li><p>0.93 - March 7, 2004</p> -<ul><li><p>Removed restriction on the number of input documents. For example, you can now run:</p> -<p class="inset"><tt>pdftk *.pdf cat output combined.pdf</tt></p> -<p>to assemble any number of PDFs into a single document.</p></li><li><p>Made pdftk run silently by default, and added the <tt>verbose</tt> output option for when you want detailed feedback.</p></li><li><p>Changed the encryption strength default from 40-bit to 128-bit.</p></li><li><p>Improved file open error handling and reporting. If pdftk can’t open a PDF, it tells you why.</p></li><li><p>Added RedHat9 and Mandrake makefiles (Thanks to Andre Gompel and Pablo Rodríguez). Support for these platforms is still experimental.</p></li><li><p>Copied the MD5 code from libgcj into our tree, to improve support for older compilers/libraries. This should improve RedHat9 and Mandrake support.</p></li><li><p>Removed pointless warning sometimes issued by the libgcj security class.</p></li><li><p>Added <i>debian</i> directory and Aurélien’s man page, updated man page.</p></li><li><p>Reorganized Makefiles (thanks Andre).</p></li></ul> -</li><li><p>0.92</p> -<ul><li><p>Added logical page numbering (a/k/a page labels) to <tt>dump_data</tt> operation.</p></li><li><p>Appended <tt>.omit</tt> extension to a few iText files we don’t use, to speed compiling.</p></li></ul> -</li><li><p>0.91</p> -<ul><li><p>Removed restriction on adding the same page from the same PDF more than once.</p></li><li><p>Added Solaris Makefile.</p></li><li><p>AllFeatures permission now implies ’top quality’ printing, not ’degraded’ printing.</p></li><li><p>Fixed handling of ’empty owner password’ case during output encryption.</p></li><li><p>Added test to make sure the user password is not the same as the owner pw.</p></li><li><p>CopyContents also allows ScreenReaders.</p></li><li><p>ModifyAnnotation also sets the FillIn bit.</p></li><li><p>ModifyContents also sets the Assembly bit.</p></li><li><p>Updated docs.</p></li><li><p>Added <tt>--version</tt> switch.</p></li></ul> -</li></ul></body></html> \ No newline at end of file diff --git a/arid_examples/html-xml-utils-3.0/testruns/textwrap.c b/arid_examples/html-xml-utils-3.0/testruns/textwrap.c deleted file mode 100644 index c2a23cfdb..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/textwrap.c +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Routines to wrap lines and indent them. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos - * Created 10 May 1998 - * $Id: textwrap.c,v 1.17 2004/04/26 12:34:24 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#include <ctype.h> -#include <assert.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include "export.h" -#include "types.e" -#include "errexit.e" - -/* To do: get rid of this arbitrary limit */ -#define MAXLINE 32768 -#define NBSP 128 /* Marks non-break-space */ - -static unsigned char buf[MAXLINE]; -static int len = 0; /* Length of buf */ -static int linelen = 0; /* Length of printed line */ -static int level = 0; /* Indentation level */ -static int indent = 2; /* # of spaces per indent */ -static int maxlinelen = 72; /* Desired line length */ -static char prev = NBSP; /* Previously added char */ - -/* set_indent -- set the amount of indent per level */ -EXPORT void set_indent(int n) {indent = n;} - -/* set_linelen -- set the maximum length of a line */ -EXPORT void set_linelen(int n) {maxlinelen = n;} - -/* flush -- print word in buf */ -EXPORT void flush() -{ - int i, j; - - assert(len <= sizeof(buf)); - while (len != 0 && linelen + len >= maxlinelen) { /* Line needs break */ - /* Find last space before maxlinelen */ - for (i = maxlinelen - linelen - 1; i >= 0 && buf[i] != ' '; i--) ; - /* If none, find first space after maxlinelen, or end of buffer */ - if (i < 0) - for (i = linelen <= maxlinelen ? maxlinelen - linelen : 0; - i < len && buf[i] != ' '; i++) ; - if (i == len) break; /* No breakpoint */ - assert(i >= 0); /* Found a breakpoint at i */ - assert(buf[i] == ' '); - /* Print up to breakpoint (removing non-break-space markers) */ - for (j = 0; j < i; j++) putchar(buf[j] != NBSP ? buf[j] : ' '); - putchar('\n'); /* Break line */ - linelen = 0; - assert(level >= 0); - assert(len >= 0); - assert(i <= len); - i++; /* Skip the breakpoint */ -#if 0 - while (i < len && buf[i] == ' ') i++; /* Skip any subseq. spaces */ -#endif - memmove(buf + level * indent, buf + i, len - i); - for (j = 0; j < level * indent; j++) buf[j] = NBSP; /* Indent */ - len += level * indent - i; - } - /* Print rest, if any (removing non-break-space markers) */ - /* First remove spaces at end of line */ - while (len > 0 && buf[len-1] == ' ') len--; - for (j = 0; j < len; j++) putchar(buf[j] != NBSP ? buf[j] : ' '); - linelen += len; - len = 0; -} - -/* outc -- add one character to output buffer */ -EXPORT void outc(unsigned char c, Boolean preformatted) -{ - if (c == '\n' && !preformatted) c = ' '; /* Newline is just a space */ - if (c == '\r' && !preformatted) c = ' '; /* CR is just a space */ - if (c == '\t' && !preformatted) c = ' '; /* Tab is just a space */ - if (c == '\f' && !preformatted) c = ' '; /* Formfeed is just a space */ - if (c == ' ' && preformatted) c = NBSP; /* Non-break-space marker */ - if (c == ' ' && prev == ' ') return; /* Don't add another space */ - if (c == ' ' && linelen + len >= maxlinelen) flush(); /* Empty the buf */ - if (c == '\n' || c == '\r' || c == '\f') flush(); /* Empty the buf */ - if (c == ' ' && linelen + len == 0) return; /* No ins at BOL */ - if (level * indent >= MAXLINE) errexit("Buffer overflow, sorry\n"); /* Hmm */ - if (linelen + len == 0) while (len < level * indent) buf[len++] = NBSP; - if (c == ' ' && len && buf[len-1] == ' ') return; /* Skip multiple spaces */ - if (len >= MAXLINE) errexit("Buffer overflow, sorry\n"); /* Hmm... */ - buf[len++] = c; /* Finally, insert c */ - prev = c; /* Remember for next round */ -} - -/* out -- add text to current output line, print line if getting too long */ -EXPORT void out(unsigned char *s, Boolean preformatted) -{ - if (s) for (; *s; s++) outc(*s, preformatted); -} - -/* outn -- add n chars to current output, print line if getting too long */ -EXPORT void outn(unsigned char *s, size_t n, Boolean preformatted) -{ - size_t i; - for (i = 0; i < n; i++) outc(s[i], preformatted); -} - -/* outln -- add string to output buffer, followed by '\n' */ -EXPORT void outln(unsigned char *s, Boolean preformatted) -{ - out(s, preformatted); - flush(); - assert(len == 0); - putchar('\n'); - linelen = 0; -} - -/* outbreak -- conditional new line; make sure next text starts on new line */ -EXPORT void outbreak() -{ - flush(); - assert(len == 0); - if (linelen != 0) { - putchar('\n'); - linelen = 0; - } -} - -/* inc_indent -- increase indentation level by 1 */ -EXPORT void inc_indent(void) -{ - flush(); - level++; -} - -/* decc_indent -- decrease indentation level by 1 */ -EXPORT void dec_indent(void) -{ - flush(); - level--; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/textwrap.e b/arid_examples/html-xml-utils-3.0/testruns/textwrap.e deleted file mode 100644 index 4d7709d35..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/textwrap.e +++ /dev/null @@ -1,10 +0,0 @@ - void set_indent(int n); - void set_linelen(int n); - void flush(); - void outc(unsigned char c, Boolean preformatted); - void out(unsigned char *s, Boolean preformatted); - void outn(unsigned char *s, size_t n, Boolean preformatted); - void outln(unsigned char *s, Boolean preformatted); - void outbreak(); - void inc_indent(void); - void dec_indent(void); diff --git a/arid_examples/html-xml-utils-3.0/testruns/tfind.c b/arid_examples/html-xml-utils-3.0/testruns/tfind.c deleted file mode 100644 index 6427d958e..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/tfind.c +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: tfind.c,v 1.2 1999/09/16 11:45:37 lukem Exp $ */ -/* $FreeBSD: src/lib/libc/stdlib/tfind.c,v 1.1.2.1 2000/08/17 07:38:39 jhb Exp $ */ - -/* - * Tree search generalized from Knuth (6.2.2) Algorithm T just like - * the AT&T man page says. - * - * The node_t structure is for internal use only, lint doesn't grok it. - * - * Written by reading the System V Interface Definition, not the code. - * - * Totally public domain. - */ - -#include <sys/cdefs.h> -#if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: tfind.c,v 1.2 1999/09/16 11:45:37 lukem Exp $"); -#endif /* LIBC_SCCS and not lint */ - -#include <assert.h> -#define _SEARCH_PRIVATE -#include <stdlib.h> -#include "config.h" -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif - -/* find a node, or return 0 */ -void * -tfind(vkey, vrootp, compar) - const void *vkey; /* key to be found */ - void **vrootp; /* address of the tree root */ - int (*compar) __P((const void *, const void *)); -{ - node_t **rootp = (node_t **)vrootp; - - if (rootp == NULL) - return NULL; - - while (*rootp != NULL) { /* T1: */ - int r; - - if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */ - return *rootp; /* key found */ - rootp = (r < 0) ? - &(*rootp)->llink : /* T3: follow left branch */ - &(*rootp)->rlink; /* T4: follow right branch */ - } - return NULL; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/tfind.e b/arid_examples/html-xml-utils-3.0/testruns/tfind.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/toc.c b/arid_examples/html-xml-utils-3.0/testruns/toc.c deleted file mode 100644 index b0065168e..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/toc.c +++ /dev/null @@ -1,381 +0,0 @@ -/* - * Insert an active ToC between "<!--begin-toc-->" and "<!--end-toc-->", - * or replacing the comment "<!--toc-->" - * - * Headers with class "no-toc" will not be listed in the ToC. - * - * The ToC links to elements with ID attributes as well as with - * empty <A NAME> elements. - * - * Tags for a <SPAN> with class "index" are assumed to be used by - * a cross-reference generator and will not be copied to the ToC. - * - * Any <A> tags with a class of "bctarget" are not copied, but - * regenerated. They are assumed to be backwards-compatible versions - * of ID attributes on their parent elements. With the option -t or -x - * they are removed. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created Sep 1997 - * Version: $Id: toc.c,v 1.34 2003/04/09 10:07:12 bbos Exp $ - * - **/ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif - -#include "export.h" -#include "types.e" -#include "heap.e" -#include "tree.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "errexit.e" -#include "genid.e" -#include "class.e" - -#define BEGIN_TOC "begin-toc" /* <!--begin-toc--> */ -#define END_TOC "end-toc" /* <!--end-toc--> */ -#define TOC "toc" /* <!--toc--> */ -#define NO_TOC "no-toc" /* CLASS="... no-toc..." */ -#define INDEX "index" /* CLASS="... index..." */ -#define TARGET "bctarget" /* CLASS="...bctarget..." */ - -#define EXPAND True -#define NO_EXPAND False -#define KEEP_ANCHORS True -#define REMOVE_ANCHORS False - -#define INDENT " " /* Amount to indent ToC per level */ - -static Tree tree; -static int toc_low = 1, toc_high = 6; /* Which headers to include */ -static Boolean xml = False; /* Use <empty /> convention */ -static Boolean bctarget = True; /* Generate <a name=> after IDs */ - - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last event is reported */ -EXPORT void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a tex chunk is parsed */ -EXPORT void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - tree = html_push(tree, name, attribs); - - /* If it has an ID, store it (so we don't accidentally generate it) */ - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, "id") == 0 && p->value) storeID(p->value); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - handle_starttag(clientdata, name, attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - -/* indent -- print level times a number of spaces */ -static void indent(int level) -{ - for (; level > 0; level--) printf(INDENT); -} - -static void expand(Tree t, Boolean *write, Boolean exp, Boolean keep_anchors); - -/* toc -- create a table of contents */ -static void toc(Tree t, int *curlevel, Boolean *item_is_open) -{ - int level; - Tree h; - unsigned char *id, *val; - Boolean write = True; - - switch (t->tp) { - case Text: break; - case Comment: break; - case Declaration: break; - case Procins: break; - case Element: - /* Check if the element is a heading */ - if (eq(t->name, "h1")) level = 1; - else if (eq(t->name, "h2")) level = 2; - else if (eq(t->name, "h3")) level = 3; - else if (eq(t->name, "h4")) level = 4; - else if (eq(t->name, "h5")) level = 5; - else if (eq(t->name, "h6")) level = 6; - else level = -1; - /* Check if it has a "no-toc" class */ - if (level > 0 && get_attrib(t, "class", &val) && contains(val, NO_TOC)) - level = -1; - /* If it's a header for the ToC, create a list item for it */ - if (level >= toc_low && level <= toc_high) { - /* Ensure there is an ID to point to */ - if (! get_attrib(t, "id", NULL)) set_attrib(t, "id", gen_id(t)); - assert(*curlevel <= level || *item_is_open); - while (*curlevel > level) { - printf(xml ? "</li>\n" : "\n"); - indent(*curlevel - toc_low); - printf("</ul>"); - (*curlevel)--; - } - if (*curlevel == level && *item_is_open) { - printf(xml ? "</li>\n" : "\n"); - } else if (*item_is_open) { - printf("\n"); - (*curlevel)++; - indent(*curlevel - toc_low); - printf("<ul class=\"%s\">\n", TOC); - } - while (*curlevel < level) { - indent(*curlevel - toc_low); - printf("<li>\n"); - (*curlevel)++; - indent(*curlevel - toc_low); - printf("<ul class=\"%s\">\n", TOC); - } - (void) get_attrib(t, "id", &id); - indent(*curlevel - toc_low); - printf("<li><a href=\"#%s\">", id); - expand(t, &write, NO_EXPAND, REMOVE_ANCHORS); - printf("</a>"); - *item_is_open = True; - } else { - for (h = t->children; h != NULL; h = h->sister) toc(h, curlevel, item_is_open); - } - break; - case Root: - for (h = t->children; h != NULL; h = h->sister) toc(h, curlevel, item_is_open); - break; - default: assert(! "Cannot happen"); - } -} - -/* expand -- write the tree, inserting ID's at H* and inserting a toc */ -static void expand(Tree t, Boolean *write, Boolean exp, Boolean keep_anchors) -{ - Tree h; - pairlist a; - int level; - Boolean item_is_open = False; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: - if (*write) printf("%s", h->text); - break; - case Comment: - if (exp && (eq(h->text, TOC) || eq(h->text, BEGIN_TOC))) { - printf("<!--%s-->\n", BEGIN_TOC); - printf("<ul class=\"%s\">\n", TOC); - level = toc_low; - toc(get_root(t), &level, &item_is_open); - while (level > toc_low) { - printf(xml ? "</li>\n" : "\n"); - indent(level - toc_low); - printf("</ul>"); - level--; - } - if (item_is_open && xml) printf("</li>\n"); - printf("</ul>\n"); - printf("<!--%s-->", END_TOC); - if (eq(h->text, BEGIN_TOC)) - *write = False; /* Suppress old ToC */ - } else if (exp && eq(h->text, END_TOC)) { - *write = True; - } else { - printf("<!--%s-->", h->text); - } - break; - case Declaration: - printf("<!DOCTYPE %s", h->name); - if (h->text) printf(" PUBLIC \"%s\"", h->text); else printf(" SYSTEM"); - if (h->url) printf(" \"%s\"", h->url); - printf(">"); - break; - case Procins: - if (*write) printf("<?%s>", h->text); - break; - case Element: - if (eq(h->name, "h1") || eq(h->name, "h2") || eq(h->name, "h3") - || eq(h->name, "h4") || eq(h->name, "h5") || eq(h->name, "h6")) { - /* Give headers an ID, if they don't have one */ - if (! get_attrib(h, "id", NULL)) set_attrib(h, "id", gen_id(h)); - } - if (*write) { - if (! keep_anchors && eq(h->name, "a")) { - /* Don't write the <a> and </a> tags */ - expand(h, write, exp, False); - } else if (! keep_anchors && eq(h->name, "span") - && has_class(h->attribs, INDEX)) { - /* Don't write <span.index>...</span> tags */ - expand(h, write, exp, False); - } else if (eq(h->name, "a") && (has_class(h->attribs, TARGET) - || has_class(h->attribs, TOC))) { - /* This <a> was inserted by toc itself; remove it */ - expand(h, write, exp, False); - } else { - printf("<%s", h->name); - for (a = h->attribs; a != NULL; a = a->next) { - if (keep_anchors || !eq(a->name, "id")) { - /* If we don't keep anchors, we don't keep IDs either */ - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - } - } - if (is_empty(h->name)) { - assert(h->children == NULL); - printf(xml ? " />" : ">"); - } else { - string val; - printf(">"); - /* Insert an <A NAME> if element has an ID and is not <A> */ - if (bctarget && is_mixed(h->name) && get_attrib(h, "id", &val) - && !eq(h->name, "a") && ! xml) - printf("<a class=\"%s\" name=\"%s\"></a>", TARGET, val); - expand(h, write, exp, keep_anchors); - printf("</%s>", h->name); - } - } - } - break; - case Root: - assert(! "Cannot happen"); - break; - default: - assert(! "Cannot happen"); - } - } -} - -/* usage -- print usage message and exit */ -static void usage(string name) -{ - errexit("Version %s\nUsage: %s [-l low] [-h high] [-x] [-t] [html-file]\n", - VERSION, name); -} - - -int main(int argc, char *argv[]) -{ - int i; - Boolean write = True; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - yyin = stdin; - for (i = 1; i < argc; i++) { - if (eq(argv[i], "-l")) { - if (i >= argc - 1) usage(argv[0]); - toc_low = atoi(argv[++i]); - } else if (eq(argv[i], "-h")) { - if (i >= argc - 1) usage(argv[0]); - toc_high = atoi(argv[++i]); - } else if (eq(argv[i], "-x")) { - xml = True; - } else if (eq(argv[i], "-t")) { - bctarget = False; - } else if (eq(argv[i], "-")) { - /* yyin = stdin; */ - } else { - yyin = fopenurl(argv[i], "r"); - if (yyin == NULL) { - perror(argv[1]); - exit(2); - } - } - } - if (toc_low < 1) toc_low = 1; - if (toc_high > 6) toc_high = 6; - - if (yyparse() != 0) exit(3); - - tree = get_root(tree); - expand(tree, &write, EXPAND, KEEP_ANCHORS); - tree_delete(tree); /* Just to test memory mgmt */ - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/toc.e b/arid_examples/html-xml-utils-3.0/testruns/toc.e deleted file mode 100644 index ac74b3c0a..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/toc.e +++ /dev/null @@ -1,11 +0,0 @@ - void handle_error(void *clientdata, const string s, int lineno); - void* start(void); - void end(void *clientdata); - void handle_comment(void *clientdata, string commenttext); - void handle_text(void *clientdata, string text); - void handle_decl(void *clientdata, string gi, - string fpi, string url); - void handle_pi(void *clientdata, string pi_text); - void handle_starttag(void *clientdata, string name, pairlist attribs); - void handle_emptytag(void *clientdata, string name, pairlist attribs); - void handle_endtag(void *clientdata, string name); diff --git a/arid_examples/html-xml-utils-3.0/testruns/toih.e b/arid_examples/html-xml-utils-3.0/testruns/toih.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/tree.c b/arid_examples/html-xml-utils-3.0/testruns/tree.c deleted file mode 100644 index a35651958..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/tree.c +++ /dev/null @@ -1,509 +0,0 @@ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: tree.c,v 1.34 2003/12/04 13:23:14 bbos Exp $ - **/ -#include <config.h> -#include <assert.h> -#include <stdlib.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRDUP -# include "strdup.e" -# endif -#endif -#include <ctype.h> -#include <stdio.h> -#include "export.h" -#include "heap.e" -#include "types.e" -#include "dtd.e" - -EXPORT typedef enum { - Element, Text, Comment, Declaration, Procins, Root -} Nodetype; - -EXPORT typedef struct _node { - Nodetype tp; - string name; - pairlist attribs; - string text; - string url; - struct _node *parent; - struct _node *sister; - struct _node *children; -} Node, *Tree; - - - -/* down -- convert a string to lowercase, return pointer to arg */ -static inline string down(string s) -{ - string t; - for (t = s; *t; t++) *t = tolower(*t); - return s; -} - -/* create -- create an empty tree */ -EXPORT Tree create(void) -{ - Tree t = malloc(sizeof(*t)); - assert(t != NULL); - t->tp = Root; - t->name = ""; - t->children = t->children = NULL; - return t; -} - -/* tree_delete -- recursively free the memory occupied by a tree */ -EXPORT void tree_delete(Tree t) -{ - if (t != NULL) { - switch (t->tp) { - case Element: - dispose(t->name); - pairlist_delete(t->attribs); - tree_delete(t->sister); - tree_delete(t->children); - break; - case Text: - dispose(t->text); - assert(t->children == NULL); - tree_delete(t->sister); - break; - case Comment: - dispose(t->text); - assert(t->children == NULL); - tree_delete(t->sister); - break; - case Declaration: - dispose(t->name); - dispose(t->text); - dispose(t->url); - assert(t->children == NULL); - tree_delete(t->sister); - break; - case Procins: - dispose(t->text); - assert(t->children == NULL); - tree_delete(t->sister); - break; - case Root: - assert(t->sister == NULL); - tree_delete(t->children); - break; - default: - assert(!"Cannot happen"); - } - dispose(t); - } -} - -/* get_root -- return root of tree */ -EXPORT Tree get_root(Tree t) -{ - while (t->tp != Root) t = t->parent; - return t; -} - -/* get_attrib -- return a ptr to the value of a named attibute, or False */ -EXPORT Boolean get_attrib(Node *e, const string attname, string *val) -{ - pairlist h; - - assert(e->tp == Element); - for (h = e->attribs; h != NULL; h = h->next) { - if (strcasecmp(h->name, attname) == 0) { - if (val != NULL) *val = h->value; - return True; - } - } - return False; -} - -/* set_attrib -- set an attribute to a value */ -EXPORT void set_attrib(Node *e, string name, string value) -{ - pairlist h, p; - assert(e->tp == Element); - for (h = e->attribs; h != NULL; h = h->next) { - if (strcasecmp(h->name, name) == 0) { - free(h->value); - h->value = strdup(value); - return; - } - } - h = malloc(sizeof(*h)); - assert(h != NULL); - h->name = strdup(name); - down(h->name); - h->value = strdup(value); - h->next = NULL; - /* Insert into sorted list */ - /* ToDo: the list is not sorted by html_push; do we need sorting? */ - if (e->attribs == NULL || strcmp(h->name, e->attribs->name) < 0) { - h->next = e->attribs; - e->attribs = h; - } else { - p = e->attribs; - while (p->next != NULL && strcmp(h->name, p->next->name) > 0) p = p->next; - h->next = p->next; - p->next = h; - } -} - -/* wrap_contents -- wrap contents of a node in an element, return new elt */ -EXPORT Tree wrap_contents(Node *n, const string elem, pairlist attr) -{ - Node *h, *k; - - new(h); - h->tp = Element; - h->name = down(newstring(elem)); - h->attribs = attr; - h->sister = NULL; - h->parent = n; - h->children = n->children; - n->children = h; - for (k = h->children; k; k = k->sister) k->parent = h; - return h; -} - -/* push -- add a child node to the tree */ -static Tree push(Tree t, Node *n) -{ - if (t->children == NULL) { - t->children = n; - } else { - Tree h = t->children; - while (h->sister != NULL) h = h->sister; - h->sister = n; - } - n->parent = t; - return n; -} - -/* pop -- go up one level */ -static Tree pop(Tree t) -{ - assert(t != NULL); - assert(t->tp != Root); - return t->parent; -} - -/* append -- add at end of children */ -static Tree append(Tree t, Node *n) -{ - assert(t != NULL); - if (t->children == NULL) { - t->children = n; - } else { - Tree h = t->children; - while (h->sister != NULL) h = h->sister; - h->sister = n; - } - n->parent = t; - return t; -} - -/* lookup -- lookup info about an element case-insensitively */ -static const ElementType *lookup(const string e) -{ - unsigned char h[MAXNAMELEN+2]; - down(strncpy(h, e, sizeof(h) - 1)); - return lookup_element(h, strlen(e)); -} - -/* is_known -- true if the element is an HTML 4 element */ -EXPORT Boolean is_known(const string e) -{ - return lookup(e) != NULL; -} - -/* is_pre -- true if the element has preformatted content */ -EXPORT Boolean is_pre(const string e) -{ - const ElementType *info = lookup(e); - return info && info->pre; -} - -/* need_stag -- true if the element's start tag is required */ -EXPORT Boolean need_stag(const string e) -{ - const ElementType *info = lookup(e); - return !info || info->stag; -} - -/* need_etag -- true if the element's end tag is required */ -EXPORT Boolean need_etag(const string e) -{ - const ElementType *info = lookup(e); - return !info || info->etag; -} - -/* is_empty -- true if element is empty */ -EXPORT Boolean is_empty(const string e) -{ - const ElementType *info = lookup(e); - return info && info->empty; -} - -/* has_parent -- true if c accepts p as a parent */ -static Boolean has_parent(const char *c, const char *p) -{ - const ElementType *info = lookup_element(c, strlen(c)); - int i; - if (!info) return False; - for (i = 0; info->parents[i]; i++) - if (eq(info->parents[i], p)) return True; - return False; -} - -/* preferred_parent -- return first possible parent of e */ -static char *preferred_parent(const char *e) -{ - const ElementType *info = lookup_element(e, strlen(e)); - assert(info != NULL); /* element is known */ - assert(info->parents[0] != NULL); /* element is not root */ - return info->parents[0]; -} - -/* is_root -- true if e has no possible parents */ -static Boolean is_root(const char *e) -{ - const ElementType *info = lookup_element(e, strlen(e)); - assert(info != NULL); /* element is known */ - return info->parents[0] == NULL; -} - -/* is_mixed -- true if e accepts text content */ -EXPORT Boolean is_mixed(const string e) -{ - const ElementType *info = lookup(e); - return !info || info->mixed; -} - -/* break_before -- true if element looks better with a newline before it */ -EXPORT Boolean break_before(const string e) -{ - const ElementType *info = lookup(e); - return info && info->break_before; -} - -/* break_after -- true if element looks better with a newline after it */ -EXPORT Boolean break_after(const string e) -{ - const ElementType *info = lookup(e); - return info && info->break_after; -} - -/* build_path -- try to add omittable start tags to make elem acceptable */ -static Boolean build_path(Tree *t, string elem) -{ - const ElementType *info; - Node *n; - int i; - - assert(is_known(elem)); - assert(is_known((*t)->name)); - - /* Check if we are done */ - if (has_parent(elem, (*t)->name)) return True; - - /* Try recursively if any possible parent can be a child of t */ - info = lookup(elem); - for (i = 0; info->parents[i]; i++) { - if (!need_stag(info->parents[i]) && build_path(t, info->parents[i])) { - /* Success, so add this parent and return True */ - n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Element; - n->name = newstring(info->parents[i]); - assert(islower(n->name[0])); - n->attribs = NULL; - n->sister = n->children = NULL; - *t = push(*t, n); - return True; - } - } - return False; -} - -/* html_push -- add an element to the tree, open or close missing elements */ -EXPORT Tree html_push(Tree t, string elem, pairlist attr) -{ - pairlist a; - Node *h, *n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Element; - n->name = down(newstring(elem)); - for (a = attr; a; a = a->next) down(a->name); - n->attribs = attr; - n->sister = n->children = NULL; - - /* Unknown elements are just pushed where they are */ - if (!is_known(n->name)) return push(t, n); - - if (is_root(n->name)) { - while (t->tp != Root) t = pop(t); /* Make sure root is at root */ - } else if (is_known(t->name) && build_path(&t, n->name)) { - ; /* Added missing start tags */ - } else { - /* Check if there is a possible parent further up the tree */ - for (h=t; h->tp!=Root && is_known(h->name) && !has_parent(n->name,h->name); - h = h->parent) ; - /* Close omitted end tags */ - if (h->tp != Root) while (t != h) t = pop(t); - /* If no valid parent, fabricate one */ - if (t->tp == Root || (is_known(t->name) && !has_parent(n->name, t->name))) - t = html_push(t, preferred_parent(n->name), NULL); - } - t = push(t, n); - - if (is_empty(n->name)) t = pop(t); - return t; -} - -/* html_pop -- close an open element */ -EXPORT Tree html_pop(Tree t, string elem) -{ - Tree h = t; - assert(t != NULL); - down(elem); - if (*elem == '\0') { /* </> */ - if (t->tp != Root) t = pop(t); - } else { /* </name> */ - for (h = t; h->tp != Root && !eq(h->name, elem); h = h->parent) ; - if (h->tp != Root) { /* Found open element */ - while (t != h) t = pop(t); - t = pop(t); - } - } - return t; -} - -/* append_comment -- add a comment to the tree */ -EXPORT Tree append_comment(Tree t, string comment) -{ - Node *n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Comment; - n->text = comment; - n->sister = n->children = NULL; - return append(t, n); -} - -/* append_declaration -- add a declaration to the tree */ -EXPORT Tree append_declaration(Tree t, string gi, - string fpi, string url) -{ - Node *n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Declaration; - n->name = down(gi); - n->text = fpi; - n->url = url; - n->sister = n->children = NULL; - return append(t, n); -} - -/* append_procins -- append a processing instruction */ -EXPORT Tree append_procins(Tree t, string procins) -{ - Node *n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Procins; - n->text = procins; - n->sister = n->children = NULL; - return append(t, n); -} - -/* is_whitespace -- true if whole string consists of whitespace */ -static Boolean is_whitespace(string s) -{ - for (;*s != '\0'; s++) - if (*s != ' ' && *s != '\t' && *s != '\r' && *s != '\n') return False; - return True; -} - -/* append_text -- append a text chunk to the document tree */ -EXPORT Tree append_text(Tree t, string text) -{ - Node *n; - string new_parent; - - if (is_whitespace(text) - && (t->tp == Root || !is_mixed(t->name))) { - /* Drop text, since it is non-significant whitespace */ - return t; - } - if (t->tp == Root || !is_mixed(t->name)) { - /* Need heuristics to make a valid tree */ - new_parent = preferred_parent("%data"); - /* Close omitted end tags until text or preferred parent fits */ - while (t->tp != Root && !is_mixed(t->name) && !need_etag(t->name) - && !has_parent(new_parent, t->name)) - t = pop(t); - /* Fabricate a parent if needed */ - if (t->tp == Root || !is_mixed(t->name)) - t = html_push(t, new_parent, NULL); - } - n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Text; - n->text = text; - assert(n->text != NULL); - n->sister = n->children = NULL; - return append(t, n); -} - -static void dump2(Tree n) -{ - pairlist h; - Tree l; - - switch (n->tp) { - case Text: printf("%s", n->text); break; - case Comment: printf("<!--%s-->", n->text); break; - case Declaration: - printf("<!DOCTYPE %s", n->name); - if (n->text) printf(" \"%s\"", n->text); else printf(" SYSTEM"); - if (n->url) printf(" \"%s\"", n->url); - printf(">\n"); - break; - case Procins: printf("<?%s>", n->text); break; - case Element: - printf("<%s", n->name); - for (h = n->attribs; h != NULL; h = h->next) { - printf(" %s", h->name); - if (h->value != NULL) printf("=\"%s\"", h->value); - } - if (is_empty(n->name)) { - assert(n->children == NULL); - printf(" />"); - } else { - printf(">"); - for (l = n->children; l != NULL; l = l->sister) dump2(l); - printf("</%s>", n->name); - } - break; - default: - assert(!"Cannot happen"); - } -} - -/* dumptree -- write out the tree below t (t's children, not t itself)*/ -EXPORT void dumptree(Tree t) -{ - Tree h; - - for (h = t->children; h != NULL; h = h->sister) dump2(h); -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/tree.e b/arid_examples/html-xml-utils-3.0/testruns/tree.e deleted file mode 100644 index b9bd545ee..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/tree.e +++ /dev/null @@ -1,35 +0,0 @@ - typedef enum { - Element, Text, Comment, Declaration, Procins, Root -} Nodetype; - typedef struct _node { - Nodetype tp; - string name; - pairlist attribs; - string text; - string url; - struct _node *parent; - struct _node *sister; - struct _node *children; -} Node, *Tree; - Tree create(void); - void tree_delete(Tree t); - Tree get_root(Tree t); - Boolean get_attrib(Node *e, const string attname, string *val); - void set_attrib(Node *e, string name, string value); - Tree wrap_contents(Node *n, const string elem, pairlist attr); - Boolean is_known(const string e); - Boolean is_pre(const string e); - Boolean need_stag(const string e); - Boolean need_etag(const string e); - Boolean is_empty(const string e); - Boolean is_mixed(const string e); - Boolean break_before(const string e); - Boolean break_after(const string e); - Tree html_push(Tree t, string elem, pairlist attr); - Tree html_pop(Tree t, string elem); - Tree append_comment(Tree t, string comment); - Tree append_declaration(Tree t, string gi, - string fpi, string url); - Tree append_procins(Tree t, string procins); - Tree append_text(Tree t, string text); - void dumptree(Tree t); diff --git a/arid_examples/html-xml-utils-3.0/testruns/tsearch.c b/arid_examples/html-xml-utils-3.0/testruns/tsearch.c deleted file mode 100644 index fbe9510a9..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/tsearch.c +++ /dev/null @@ -1,62 +0,0 @@ -/* $NetBSD: tsearch.c,v 1.3 1999/09/16 11:45:37 lukem Exp $ */ -/* $FreeBSD: src/lib/libc/stdlib/tsearch.c,v 1.1.2.1 2000/08/17 07:38:39 jhb Exp $ */ - -/* - * Tree search generalized from Knuth (6.2.2) Algorithm T just like - * the AT&T man page says. - * - * The node_t structure is for internal use only, lint doesn't grok it. - * - * Written by reading the System V Interface Definition, not the code. - * - * Totally public domain. - */ - -#include <sys/cdefs.h> -#if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: tsearch.c,v 1.3 1999/09/16 11:45:37 lukem Exp $"); -#endif /* LIBC_SCCS and not lint */ - -#include <assert.h> -#define _SEARCH_PRIVATE -#include "config.h" -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif -#include <stdlib.h> - -/* find or insert datum into search tree */ -void * -tsearch(vkey, vrootp, compar) - const void *vkey; /* key to be located */ - void **vrootp; /* address of tree root */ - int (*compar) __P((const void *, const void *)); -{ - node_t *q; - node_t **rootp = (node_t **)vrootp; - - if (rootp == NULL) - return NULL; - - while (*rootp != NULL) { /* Knuth's T1: */ - int r; - - if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */ - return *rootp; /* we found it! */ - - rootp = (r < 0) ? - &(*rootp)->llink : /* T3: follow left branch */ - &(*rootp)->rlink; /* T4: follow right branch */ - } - - q = malloc(sizeof(node_t)); /* T5: key not found */ - if (q != 0) { /* make new node */ - *rootp = q; /* link new node to old */ - /* LINTED const castaway ok */ - q->key = (void *)vkey; /* initialize new node */ - q->llink = q->rlink = NULL; - } - return q; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/tsearch.e b/arid_examples/html-xml-utils-3.0/testruns/tsearch.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/twalk.c b/arid_examples/html-xml-utils-3.0/testruns/twalk.c deleted file mode 100644 index 7af27a347..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/twalk.c +++ /dev/null @@ -1,62 +0,0 @@ -/* $NetBSD: twalk.c,v 1.1 1999/02/22 10:33:16 christos Exp $ */ -/* $FreeBSD: src/lib/libc/stdlib/twalk.c,v 1.1.2.1 2000/08/17 07:38:39 jhb Exp $ */ - -/* - * Tree search generalized from Knuth (6.2.2) Algorithm T just like - * the AT&T man page says. - * - * The node_t structure is for internal use only, lint doesn't grok it. - * - * Written by reading the System V Interface Definition, not the code. - * - * Totally public domain. - */ - -#include <sys/cdefs.h> -#if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: twalk.c,v 1.1 1999/02/22 10:33:16 christos Exp $"); -#endif /* LIBC_SCCS and not lint */ - -#include <assert.h> -#define _SEARCH_PRIVATE -#include "config.h" -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif -#include <stdlib.h> - -static void trecurse __P((const node_t *, - void (*action)(const void *, VISIT, int), int level)); - -/* Walk the nodes of a tree */ -static void -trecurse(root, action, level) - const node_t *root; /* Root of the tree to be walked */ - void (*action) __P((const void *, VISIT, int)); - int level; -{ - - if (root->llink == NULL && root->rlink == NULL) - (*action)(root, leaf, level); - else { - (*action)(root, preorder, level); - if (root->llink != NULL) - trecurse(root->llink, action, level + 1); - (*action)(root, postorder, level); - if (root->rlink != NULL) - trecurse(root->rlink, action, level + 1); - (*action)(root, endorder, level); - } -} - -/* Walk the nodes of a tree */ -void -twalk(vroot, action) - const void *vroot; /* Root of the tree to be walked */ - void (*action) __P((const void *, VISIT, int)); -{ - if (vroot != NULL && action != NULL) - trecurse(vroot, action, 0); -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/twalk.e b/arid_examples/html-xml-utils-3.0/testruns/twalk.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/types.c b/arid_examples/html-xml-utils-3.0/testruns/types.c deleted file mode 100644 index 7bcc794dc..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/types.c +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: types.c,v 1.13 2003/01/21 19:45:38 bbos Exp $ - **/ -#include <config.h> -#include <stdlib.h> -#include <stdarg.h> -#ifdef HAVE_STRING_H -# include <string.h> -#elif HAVE_STRINGS_H -# include <strings.h> -#endif -#include "export.h" -#include "heap.e" - -EXPORT typedef enum { False, True } Boolean; - -EXPORT typedef unsigned char *string; - -EXPORT typedef struct _pairlist { - unsigned char *name, *value; - struct _pairlist *next; -} *pairlist; - -EXPORT typedef unsigned int MediaSet; -EXPORT enum _Media { - MediaNone = 0, - MediaPrint = (1 << 0), - MediaScreen = (1 << 1), - MediaTTY = (1 << 2), - MediaBraille = (1 << 3), - MediaTV = (1 << 4), - MediaProjection = (1 << 5), - MediaEmbossed = (1 << 6), - MediaAll = 0xFF -}; - -#define eq(s, t) (*s == *t && strcmp(s, t) == 0) -EXPORTDEF(eq(s, t)) - -#define hexval(c) ((c) <= '9' ? (c)-'0' : (c) <= 'F' ? 10+(c)-'A' : 10+(c)-'a') -EXPORTDEF(hexval(c)) - -/* pairlist_delete -- free all memory occupied by a pairlist */ -EXPORT void pairlist_delete(pairlist p) -{ - if (p) { - pairlist_delete(p->next); - dispose(p->name); - dispose(p->value); - dispose(p); - } -} - -/* pairlist_copy -- make a deep copy of a pairlist */ -EXPORT pairlist pairlist_copy(const pairlist p) -{ - pairlist h = NULL; - - if (p) { - new(h); - h->name = newstring(p->name); - h->value = newstring(p->value); - h->next = pairlist_copy(p->next); - } - return h; -} - -/* strapp -- append to a string, re-allocating memory; last arg must be 0 */ -EXPORT string strapp(string *s,...) -{ - va_list ap; - int i, j; - string h; - - va_start(ap, s); - i = *s ? strlen(*s) : 0; - while ((h = va_arg(ap, string))) { - j = strlen(h); - renewarray(*s, i + j + 1); - strcpy(*s + i, h); - i += j; - } - va_end(ap); - return *s; -} - -/* chomp -- remove trailing \n (if any) from string */ -EXPORT void chomp(string s) -{ - int i; - - if (s && (i = strlen(s)) != 0 && s[i-1] == '\n') s[i-1] = '\0'; -} - -EXPORT inline int min(int a, int b) { return a < b ? a : b; } -EXPORT inline int max(int a, int b) { return a > b ? a : b; } diff --git a/arid_examples/html-xml-utils-3.0/testruns/types.e b/arid_examples/html-xml-utils-3.0/testruns/types.e deleted file mode 100644 index 3a3220426..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/types.e +++ /dev/null @@ -1,26 +0,0 @@ - typedef enum { False, True } Boolean; - typedef unsigned char *string; - typedef struct _pairlist { - unsigned char *name, *value; - struct _pairlist *next; -} *pairlist; - typedef unsigned int MediaSet; - enum _Media { - MediaNone = 0, - MediaPrint = (1 << 0), - MediaScreen = (1 << 1), - MediaTTY = (1 << 2), - MediaBraille = (1 << 3), - MediaTV = (1 << 4), - MediaProjection = (1 << 5), - MediaEmbossed = (1 << 6), - MediaAll = 0xFF -}; -#define eq(s, t) (*s == *t && strcmp(s, t) == 0) -#define hexval(c) ((c) <= '9' ? (c)-'0' : (c) <= 'F' ? 10+(c)-'A' : 10+(c)-'a') - void pairlist_delete(pairlist p); - pairlist pairlist_copy(const pairlist p); - string strapp(string *s,...); - void chomp(string s); - inline int min(int a, int b); - inline int max(int a, int b); diff --git a/arid_examples/html-xml-utils-3.0/testruns/uncdata.c b/arid_examples/html-xml-utils-3.0/testruns/uncdata.c deleted file mode 100644 index 0ff4157ab..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/uncdata.c +++ /dev/null @@ -1,141 +0,0 @@ -/* - * uncdata -- remove CDATA sections from an XML file - * - * The input is scanned for occurrences of "<![CDATA[" and - * corresponding "]]>". Those strings are removed and all occurrences - * of "&", "<" and ">" in between them will be replaced by "&", - * "&;t;" and ">" resp. - * - * The input must be 1 byte per character. If it is not, convert it to - * UTF-8 first. - * - * Author: Bert Bos <bert@w3.org> - * Created: 20 Feb 2002 - * Version: $Id: uncdata.c,v 1.3 2002/10/29 18:58:32 bbos Exp $ - */ - -#include <stdio.h> -#include <assert.h> -#include <string.h> - - -/* process -- process one file */ -static void process(FILE *f) -{ - int c; - enum {INITIAL, START, CDATA1, CDATA2, CDATA3, CDATA4, CDATA5, - CDATA6, CDATA7, CDATA98, CDATA99, CDATA, MARKUP, DECL1, DECL, - COMMENT1, COMMENT, COMMENT99, DQUOTE, SQUOTE} state = INITIAL; - - /* No attempt at reporting errors for impossible XML, - and no support for internal DTD subsets - */ - while ((c = getc(f)) != EOF) { - switch (state) { - case INITIAL: - if (c == '<') state = START; - else putchar(c); - break; - case START: /* Seen "<" */ - if (c == '!') state = DECL1; - else if (c == '>') {putchar('<'); putchar('>'); state = INITIAL;} - else {putchar('<'); putchar(c); state = MARKUP;} - break; - case MARKUP: /* Inside "<...>" */ - if (c == '"') {putchar('"'); state = DQUOTE;} - else if (c == '\'') {putchar('\''); state = SQUOTE;} - else if (c == '>') {putchar('>'); state = INITIAL;} - else putchar(c); - break; - case DQUOTE: /* Inside double quotes */ - if (c == '"') {putchar('"'); state = MARKUP;} - else putchar(c); - break; - case SQUOTE: /* Inside single quotes */ - if (c == '\'') {putchar('\''); state = MARKUP;} - else putchar(c); - break; - case DECL1: /* Seen "<!" */ - if (c == '-') {printf("<!-"); state = COMMENT1;} - else if (c == '[') state = CDATA1; - else {putchar('<'); putchar('!'); putchar(c); state = DECL;} - break; - case DECL: /* Inside "<!...>" */ - if (c == '-') {putchar('-'); state = COMMENT1;} - else if (c == '>') {putchar('>'); state = INITIAL;} - else putchar(c); - break; - case COMMENT1: /* Seen "-" */ - if (c == '-') {putchar('-'); state = COMMENT;} - else {putchar(c); state = DECL;} - break; - case COMMENT: /* Seen "--" */ - if (c == '-') {putchar('-'); state = COMMENT99;} - else putchar(c); - break; - case COMMENT99: /* Seen "-" */ - if (c == '-') {putchar('-'); state = DECL;} - else {putchar(c); state = COMMENT;} - break; - case CDATA1: /* Seen "<![" */ - if (c == 'C') state = CDATA2; - else {printf("<![%c", c); state = INITIAL;} - break; - case CDATA2: /* Seen "<![C" */ - if (c == 'D') state = CDATA3; - else {printf("<![C%c", c); state = INITIAL;} - break; - case CDATA3: /* Seen "<![CD" */ - if (c == 'A') state = CDATA4; - else {printf("<![CD%c", c); state = INITIAL;} - break; - case CDATA4: /* Seen "<![CDA" */ - if (c == 'T') state = CDATA5; - else {printf("<![CDA%c", c); state = INITIAL;} - break; - case CDATA5: /* Seen "<![CDAT" */ - if (c == 'A') state = CDATA6; - else {printf("<![CDAT%c", c); state = INITIAL;} - break; - case CDATA6: /* Seen "<![CDATA" */ - if (c == '[') state = CDATA; - else {printf("<![CDATA%c", c); state = INITIAL;} - break; - case CDATA: /* Inside "<![CDATA[...]]>" */ - if (c == ']') state = CDATA98; - else if (c == '<') puts("<"); - else if (c == '>') puts(">"); - else if (c == '&') puts("&"); - else putchar(c); - break; - case CDATA98: /* Seen "]" */ - if (c == ']') state = CDATA99; - else {putchar(']'); putchar(c); state = CDATA;} - break; - case CDATA99: /* Seen "]]" */ - if (c == '>') state = INITIAL; - else {putchar(']'); putchar(']'); putchar(c); state = CDATA;} - break; - default: - assert(!"Cannot happen!"); - } - } -} - -int main(int argc, char *argv[]) -{ - int i, err = 0; - FILE *f; - - if (argc == 1) - process(stdin); - else if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-?") == 0) - printf("Usage: %s [XML-FILE]...\n", argv[0]); - else - for (i = 1; i < argc; i++) { - if (!(f = fopen(argv[i], "r"))) {perror(argv[i]); err++; continue;} - process(f); - if (fclose(f) != 0) {perror(argv[i]); err++; continue;} - } - return err; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/uncdata.e b/arid_examples/html-xml-utils-3.0/testruns/uncdata.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/unent.c b/arid_examples/html-xml-utils-3.0/testruns/unent.c deleted file mode 100644 index de5070b0e..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/unent.c +++ /dev/null @@ -1,587 +0,0 @@ -/* C code produced by gperf version 2.7 */ -/* Command-line: gperf -a -c -C -o -t -p -k 1,2,$ -D -N lookup_entity unent.hash */ /* -*-indented-text-*- */ - -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 2 Dec 1998 - * Version: $Id: unent.hash,v 1.8 2004/04/28 08:57:55 bbos Exp $ - * - * Input file for gperf, to generate a perfect hash function - * of all HTML named character entities. This list translates - * names to Unicode numbers. - */ -#include <config.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <stdio.h> -#include <ctype.h> - -struct _Entity {char *name; unsigned int code;} -; - -#define TOTAL_KEYWORDS 252 -#define MIN_WORD_LENGTH 2 -#define MAX_WORD_LENGTH 8 -#define MIN_HASH_VALUE 9 -#define MAX_HASH_VALUE 729 -/* maximum key range = 721, duplicates = 4 */ - -#ifdef __GNUC__ -__inline -#endif -static unsigned int -hash (str, len) - register const char *str; - register unsigned int len; -{ - static const unsigned short asso_values[] = - { - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 20, - 25, 15, 0, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 244, 5, 5, 0, 190, - 730, 5, 5, 129, 730, 10, 5, 5, 0, 97, - 0, 730, 0, 45, 5, 95, 730, 730, 5, 60, - 0, 730, 730, 730, 730, 730, 730, 5, 189, 35, - 30, 0, 240, 225, 85, 30, 0, 80, 15, 248, - 230, 40, 220, 30, 145, 245, 251, 100, 0, 20, - 10, 215, 15, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, - 730, 730, 730, 730, 730, 730 - }; - return len + asso_values[(unsigned char)str[1]] + asso_values[(unsigned char)str[0]] + asso_values[(unsigned char)str[len - 1]]; -} - -#ifdef __GNUC__ -__inline -#endif -const struct _Entity * -lookup_entity (str, len) - register const char *str; - register unsigned int len; -{ - static const struct _Entity wordlist[] = - { - {"Zeta", 918}, - {"Delta", 916}, - {"eacute", 233}, - {"Beta", 914}, - {"THORN", 222}, - {"aacute", 225}, - {"le", 8804}, - {"Gamma", 915}, - {"Lambda", 923}, - {"zeta", 950}, - {"Kappa", 922}, - {"alpha", 945}, - {"lambda", 955}, - {"equiv", 8801}, - {"zwj", 8205}, - {"zwnj", 8204}, - {"delta", 948}, - {"iacute", 237}, - {"acute", 180}, - {"iexcl", 161}, - {"oacute", 243}, - {"cedil", 184}, - {"oline", 8254}, - {"Ccedil", 199}, - {"Pi", 928}, - {"laquo", 171}, - {"divide", 247}, - {"Xi", 926}, - {"lceil", 8968}, - {"Yacute", 221}, - {"xi", 958}, - {"loz", 9674}, - {"ecirc", 234}, - {"iota", 953}, - {"acirc", 226}, - {"Sigma", 931}, - {"ldquo", 8220}, - {"ccedil", 231}, - {"kappa", 954}, - {"Theta", 920}, - {"circ", 710}, - {"icirc", 238}, - {"Uacute", 218}, - {"Oacute", 211}, - {"uacute", 250}, - {"Tau", 932}, - {"ocirc", 244}, - {"Phi", 934}, - {"euml", 235}, - {"Chi", 935}, - {"auml", 228}, - {"Rho", 929}, - {"Iacute", 205}, - {"euro", 8364}, - {"iuml", 239}, - {"Prime", 8243}, - {"chi", 967}, - {"Dagger", 8225}, - {"ouml", 246}, - {"real", 8476}, - {"larr", 8592}, - {"Ucirc", 219}, - {"Ocirc", 212}, - {"ucirc", 251}, - {"Iota", 921}, - {"Yuml", 376}, - {"darr", 8595}, - {"dagger", 8224}, - {"radic", 8730}, - {"raquo", 187}, - {"beta", 946}, - {"rceil", 8969}, - {"Eacute", 201}, - {"Nu", 925}, - {"ETH", 208}, - {"Icirc", 206}, - {"Mu", 924}, - {"Uuml", 220}, - {"Ouml", 214}, - {"uuml", 252}, - {"rdquo", 8221}, - {"yacute", 253}, - {"ge", 8805}, - {"egrave", 232}, - {"ne", 8800}, - {"para", 182}, - {"aelig", 230}, - {"agrave", 224}, - {"harr", 8596}, - {"gamma", 947}, - {"permil", 8240}, - {"nabla", 8711}, - {"weierp", 8472}, - {"Iuml", 207}, - {"lang", 9001}, - {"piv", 982}, - {"uarr", 8593}, - {"Aacute", 193}, - {"Ntilde", 209}, - {"deg", 176}, - {"eta", 951}, - {"igrave", 236}, - {"atilde", 227}, - {"cap", 8745}, - {"bdquo", 8222}, - {"Ecirc", 202}, - {"exist", 8707}, - {"and", 8743}, - {"Alpha", 913}, - {"oelig", 339}, - {"ograve", 242}, - {"rho", 961}, - {"alefsym", 8501}, - {"Psi", 936}, - {"pi", 960}, - {"image", 8465}, - {"sigma", 963}, - {"tilde", 732}, - {"cent", 162}, - {"ni", 8715}, - {"copy", 169}, - {"pound", 163}, - {"otilde", 245}, - {"omega", 969}, - {"rarr", 8594}, - {"clubs", 9827}, - {"forall", 8704}, - {"cong", 8773}, - {"lsquo", 8216}, - {"lsaquo", 8249}, - {"bull", 8226}, - {"Euml", 203}, - {"diams", 9830}, - {"hellip", 8230}, - {"lowast", 8727}, - {"Scaron", 352}, - {"iquest", 191}, - {"Acirc", 194}, - {"micro", 181}, - {"Ugrave", 217}, - {"Ograve", 210}, - {"crarr", 8629}, - {"ugrave", 249}, - {"or", 8744}, - {"yuml", 255}, - {"hearts", 9829}, - {"phi", 966}, - {"eth", 240}, - {"there4", 8756}, - {"theta", 952}, - {"sube", 8838}, - {"supe", 8839}, - {"ndash", 8211}, - {"Otilde", 213}, - {"Omega", 937}, - {"cup", 8746}, - {"tau", 964}, - {"Igrave", 204}, - {"Auml", 196}, - {"sup3", 179}, - {"uml", 168}, - {"mdash", 8212}, - {"sup1", 185}, - {"prime", 8242}, - {"curren", 164}, - {"reg", 174}, - {"sup2", 178}, - {"oslash", 248}, - {"rang", 9002}, - {"aring", 229}, - {"quot", 34}, - {"frac14", 188}, - {"frac34", 190}, - {"prod", 8719}, - {"trade", 8482}, - {"macr", 175}, - {"frasl", 8260}, - {"lfloor", 8970}, - {"lArr", 8656}, - {"upsih", 978}, - {"lrm", 8206}, - {"rlm", 8207}, - {"frac12", 189}, - {"Egrave", 200}, - {"dArr", 8659}, - {"ordf", 170}, - {"nu", 957}, - {"Oslash", 216}, - {"rsquo", 8217}, - {"rsaquo", 8250}, - {"ordm", 186}, - {"perp", 8869}, - {"yen", 165}, - {"Eta", 919}, - {"mu", 956}, - {"ensp", 8194}, - {"epsilon", 949}, - {"ang", 8736}, - {"empty", 8709}, - {"plusmn", 177}, - {"emsp", 8195}, - {"asymp", 8776}, - {"Agrave", 192}, - {"amp", 38}, - {"hArr", 8660}, - {"sbquo", 8218}, - {"part", 8706}, - {"brvbar", 166}, - {"ntilde", 241}, - {"szlig", 223}, - {"uArr", 8657}, - {"infin", 8734}, - {"psi", 968}, - {"sect", 167}, - {"Atilde", 195}, - {"notin", 8713}, - {"isin", 8712}, - {"oplus", 8853}, - {"int", 8747}, - {"scaron", 353}, - {"OElig", 338}, - {"lt", 60}, - {"sigmaf", 962}, - {"not", 172}, - {"omicron", 959}, - {"sim", 8764}, - {"minus", 8722}, - {"sdot", 8901}, - {"times", 215}, - {"middot", 183}, - {"rfloor", 8971}, - {"sub", 8834}, - {"rArr", 8658}, - {"otimes", 8855}, - {"shy", 173}, - {"Upsilon", 933}, - {"upsilon", 965}, - {"thinsp", 8201}, - {"sup", 8835}, - {"thorn", 254}, - {"Omicron", 927}, - {"prop", 8733}, - {"thetasym", 977}, - {"sum", 8721}, - {"Aring", 197}, - {"nbsp", 160}, - {"Epsilon", 917}, - {"AElig", 198}, - {"nsub", 8836}, - {"fnof", 402}, - {"spades", 9824}, - {"gt", 62} - }; - - static const short lookup[] = - { - -1, -1, -1, -1, -1, -1, -1, -1, - -1, 0, 1, 2, -1, -1, 3, 4, - 5, 6, -1, -1, 7, 8, -1, -1, - 9, 10, -1, -1, -1, -1, 11, 12, - -1, -1, -1, 13, -1, -1, 14, 15, - 16, 17, -1, -1, -1, 18, -1, -1, - -1, -1, 19, 20, -1, -1, -1, 21, - -1, -1, -1, -1, 22, 23, 24, -1, - -1, 25, 26, 27, -1, -1, 28, 29, - 30, 31, -1, 32, -1, -1, -1, 33, - 34, -1, -1, -1, -1, 35, -1, -1, - -1, -1, 36, 37, -1, -1, -1, 38, - -1, -1, -1, -1, 39, -1, -1, -1, - 40, 41, 42, -1, 43, -1, -1, 44, - -1, 45, -1, 46, -1, -1, 47, 48, - -1, -1, -1, 49, 50, -1, -1, -1, - 51, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 52, -1, -1, -1, - 53, -1, -1, -1, -1, 54, 55, -1, - -1, 56, -1, -1, 57, -1, -1, 58, - -1, -1, -1, -1, 59, -1, -1, -1, - -1, 60, 61, -1, 62, -1, -1, 63, - -1, -1, 64, 65, -1, -1, -1, -1, - 66, -1, 67, -1, -1, -1, 68, -1, - -1, -1, -1, 69, -1, -1, 70, -1, - 71, 72, 73, 74, 75, -1, -1, 76, - -1, -1, -1, -1, -1, -1, 77, -1, - 78, -1, -1, 79, 80, -1, -1, -1, - -1, -1, 81, 82, -1, -1, -1, 83, - 84, -1, 85, 86, 87, -1, -1, 88, - 89, 90, -1, -1, -1, 91, 92, -1, - 93, 94, -1, -1, -1, 95, 96, 97, - -1, 98, 99, 100, -1, 101, 102, 103, - 104, 105, 106, -1, 107, 108, 109, 110, - -1, 111, -1, 112, -1, -1, 113, -1, - -1, -1, 114, 115, -1, 116, 117, -1, - -1, -1, 118, -1, 119, -1, 120, 121, - -1, 122, 123, 124, 125, 126, -1, -1, - 127, 128, 129, -1, 130, 131, 132, 133, - 134, -1, -1, -1, 135, 136, -1, 137, - -1, -1, -1, 138, -1, -1, 139, -1, - 140, -1, 141, 142, 143, -1, 144, -1, - 145, -1, 146, 147, -1, -1, 148, -1, - -1, -1, 149, -1, -1, -604, 152, -102, - -2, -1, 153, 154, -1, -1, 155, 156, - 157, -1, -1, 158, 159, -1, 160, -1, - 161, 162, 163, 164, -1, 165, 166, -1, - 167, -1, -1, 168, 169, -1, -1, -1, - -1, 170, -1, -1, -1, -1, -1, -645, - -81, -2, -1, -1, -1, -1, -1, 173, - -1, 174, 175, -1, -1, 176, 177, -1, - 178, -1, 179, -665, -72, -2, -1, -1, - 182, -1, -1, -1, -1, 183, -1, 184, - -1, -1, -1, -1, -1, 185, -1, -1, - 186, 187, -1, 188, 189, 190, -1, -1, - -1, -1, -1, -1, 191, -1, -1, -1, - 192, 193, 194, -1, -1, -1, 195, -1, - -1, 196, -1, -1, -1, -1, -1, 197, - -1, -1, -1, -1, 198, -1, -1, 199, - 200, -1, -1, -734, 203, -1, 204, 205, - 206, -51, -2, -1, -1, 207, -1, 208, - -1, -1, 209, -1, -1, 210, -1, 211, - -1, -1, 212, -1, 213, 214, -1, -1, - -1, 215, -1, -1, -1, 216, 217, -1, - -1, -1, 218, -1, 219, 220, -1, 221, - -1, 222, -1, -1, 223, 224, 225, -1, - 226, -1, 227, 228, -1, -1, -1, 229, - 230, 231, 232, -1, -1, -1, 233, -1, - -1, -1, -1, -1, 234, -1, -1, -1, - 235, -1, -1, -1, -1, 236, -1, -1, - -1, -1, 237, -1, -1, -1, -1, -1, - 238, -1, -1, 239, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 240, -1, - -1, -1, -1, -1, -1, 241, -1, -1, - 242, -1, -1, -1, 243, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 244, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 245, -1, -1, -1, 246, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 247, -1, -1, -1, 248, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 249, -1, 250, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, 251 - }; - - if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) - { - register int key = hash (str, len); - - if (key <= MAX_HASH_VALUE && key >= 0) - { - register int index = lookup[key]; - - if (index >= 0) - { - register const char *s = wordlist[index].name; - - if (*str == *s && !strncmp (str + 1, s + 1, len - 1)) - return &wordlist[index]; - } - else if (index < -TOTAL_KEYWORDS) - { - register int offset = - 1 - TOTAL_KEYWORDS - index; - register const struct _Entity *wordptr = &wordlist[TOTAL_KEYWORDS + lookup[offset]]; - register const struct _Entity *wordendptr = wordptr + -lookup[offset + 1]; - - while (wordptr < wordendptr) - { - register const char *s = wordptr->name; - - if (*str == *s && !strncmp (str + 1, s + 1, len - 1)) - return wordptr; - wordptr++; - } - } - } - } - return 0; -} - -static int leave_builtin = 0; /* Leave standard entities untouched */ - -/* append_utf8 -- append the UTF-8 sequence for code n */ -static void append_utf8(const unsigned int n) -{ - if (n <= 0x7F) { - putchar((unsigned char)(n)); - } else if (n <= 0x7FF) { - putchar((unsigned char)(0xC0 | (n >> 6))); - putchar((unsigned char)(0x80 | (n & 0x3F))); - } else if (n <= 0xFFFF) { - putchar((unsigned char)(0xE0 | (n >> 12))); - putchar((unsigned char)(0x80 | ((n >> 6) & 0x3F))); - putchar((unsigned char)(0x80 | (n & 0x3F))); - } else if (n <= 0x1FFFFF) { - putchar((unsigned char)(0xF0 | (n >> 18))); - putchar((unsigned char)(0x80 | ((n >> 12) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 6) & 0x3F))); - putchar((unsigned char)(0x80 | (n & 0x3F))); - } else if (n <= 0x3FFFFFF) { - putchar((unsigned char)(0xF0 | (n >> 24))); - putchar((unsigned char)(0x80 | ((n >> 18) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 12) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 6) & 0x3F))); - putchar((unsigned char)(0x80 | (n & 0x3F))); - } else { - putchar((unsigned char)(0xF0 | (n >> 30))); - putchar((unsigned char)(0x80 | ((n >> 24) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 18) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 12) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 6) & 0x3F))); - putchar((unsigned char)(0x80 | (n & 0x3F))); - } -} - -/* append_named -- append the UTF-8 sequence of a named entity */ -static void append_named(const unsigned char *name, unsigned int len) -{ - const struct _Entity *e = lookup_entity(name, len); - int i; - - if (!e || (leave_builtin && (e->code == 38 || e->code == 60 - || e->code == 62 || e->code == 34))) { /* Keep it */ - putchar('&'); - for (i = 0; i < len; i++) putchar(name[i]); - putchar(';'); - } else { /* Convert to Unicode */ - append_utf8(e->code); - } -} - -/* expand -- print string, expanding entities to UTF-8 sequences */ -static void expand(const unsigned char *s) -{ - unsigned int i, n; - - for (i = 0; s[i];) { - if (s[i] != '&') { /* Literal character */ - putchar(s[i++]); - } else if (isalnum(s[i+1])) { /* Named entity, eg. é */ - for (i++, n = 1; isalnum(s[i+n]); n++) ; - append_named(s + i, n); - i += n; - if (s[i] == ';') i++; - } else if (s[i+1] != '#') { /* SGML-style "&" on its own */ - append_named("amp", 3); - i++; - } else if (s[i+2] != 'x') { /* Decimal entity, eg. F */ - for (n = 0, i += 2; isdigit(s[i]); i++) n = 10 * n + s[i] - '0'; - if (leave_builtin && (n == 38 || n == 60 || n == 62 || n == 34)) - printf("&#%d;", n); - else - append_utf8(n); - if (s[i] == ';') i++; - } else { /* Hex entity, eg. _ */ - for (n = 0, i += 3; isxdigit(s[i]); i++) - if (isdigit(s[i])) n = 16 * n + s[i] - '0'; - else n = 16 * n + toupper(s[i]) - 'A' + 10; - if (leave_builtin && (n == 38 || n == 60 || n == 62 || n == 34)) - printf("&#x%x;", n); - else - append_utf8(n); - if (s[i] == ';') i++; - } - } -} - -/* main -- read input, expand entities, write out again */ -int main(int argc, char *argv[]) -{ - unsigned char buf[4096]; - FILE *infile; - int i = 1; - - if (i < argc && strcmp(argv[i], "-b") == 0) { - leave_builtin = 1; - i++; - } - if (i == argc) { - infile = stdin; - } else if (argc != i + 1) { - fprintf(stderr, "Version %s\nUsage: %s [-b] [file]\n\ -(input is UTF-8 with &-entities, output is UTF-8 without &-entities)\n", - VERSION, argv[0]); - exit(2); - } else if (!(infile = fopen(argv[1], "r"))) { - perror(argv[1]); - exit(1); - } - - while (fgets(buf, sizeof(buf), infile)) expand(buf); - - fclose(infile); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/unent.e b/arid_examples/html-xml-utils-3.0/testruns/unent.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/unpipe.c b/arid_examples/html-xml-utils-3.0/testruns/unpipe.c deleted file mode 100644 index 3433dc4f3..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/unpipe.c +++ /dev/null @@ -1,150 +0,0 @@ -/* - * unpipe - takes output of pipe and convert to HTML/XML form - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 23 May 1999 - * Version: $Id: unpipe.c,v 1.9 2003/01/21 19:26:03 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#include <ctype.h> -#include <stdlib.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <assert.h> -#ifdef HAVE_STRING_H -# include <string.h> -#elif HAVE_STRINGS_H -# include <strings.h> -#endif -#include "export.h" -#include "types.e" -#include "heap.e" -#include "errexit.e" -#include "openurl.e" - -#define MAXSTRING 4096 - -static Boolean do_xml = False; -static int nrattrs = 0; -static char **attrs = NULL; - -/* put_text -- replace newlines and print text */ -static void put_text(char *buf) -{ - int i; - - for (i = 0; buf[i]; i++) { - if (buf[i] != '\\') { - putchar(buf[i]); - } else { - i++; - switch (buf[i]) { - case 'n': putchar('\n'); break; - case 'r': putchar('\r'); break; - case 't': putchar('\t'); break; - default: putchar(buf[i]); - } - } - } -} - -/* store_attr -- store attributes temporarily */ -static void store_attr(const char *buf) -{ - assert(buf[0] == 'A'); - renewarray(attrs, ++nrattrs); - attrs[nrattrs-1] = newstring(buf); -} - -/* put_attr -- write out attributes */ -static void put_attr(void) -{ - int i, j; - - for (j = 0; j < nrattrs; j++) { - putchar(' '); - for (i = 1; attrs[j][i] != ' '; i++) putchar(attrs[j][i]); - putchar('='); - for (i++; attrs[j][i] != ' '; i++) ; /* skip type ("CDATA") */ - putchar('"'); - put_text(attrs[j] + i + 1); - putchar('"'); - dispose(attrs[j]); - } - nrattrs = 0; -} - -/* put_decl -- write a DOCTYPE declaration */ -static void put_decl(const char *buf) -{ - int i; - - assert(buf[0] == '!'); - printf("<!DOCTYPE "); - /* write name of root element */ - for (i = 1; buf[i] && buf[i] != ' '; i++) putchar(buf[i]); - if (! buf[i]) errexit("Incorrect DOCTYPE declaration: %s\n", buf); - if (buf[++i] != '"') errexit("Incorrect DOCTYPE declaration: %s\n", buf); - /* write FPI if present */ - if (buf[++i] != '"') { /* FPI */ - printf(" PUBLIC \""); - for (; buf[i] && buf[i] != '"'; i++) putchar(buf[i]); - putchar('"'); - } else { /* No FPI */ - printf(" SYSTEM"); - } - if (! buf[i]) errexit("Incorrect DOCTYPE declaration: %s\n", buf); - i++; - if (buf[++i]) printf(" \"%s\"", buf + i); /* URL */ - printf(">"); -} - -/* usage -- print usage message and exit */ -static void usage(unsigned char *prog) -{ - fprintf(stderr, "Version %s\nUsage: %s [-x] [file_or_url]\n", VERSION, prog); - exit(1); -} - -int main(int argc, char *argv[]) -{ - int c; - char buf[MAXSTRING]; - FILE *in = NULL; - - while ((c = getopt(argc, argv, "x")) != -1) - switch (c) { - case 'x': do_xml = True; break; - default: usage(argv[0]); - } - if (optind == argc) in = stdin; - else if (optind == argc - 1) in = fopenurl(argv[optind], "r"); - else usage(argv[0]); - if (in == NULL) { perror(argv[optind]); exit(2); } - - /* ToDo: recognize empty elements */ - - while (fgets(buf, sizeof(buf), in)) { - buf[strlen(buf)-1] = '\0'; /* Remove newline */ - switch (buf[0]) { - case '-': put_text(buf + 1); break; - case '?': printf("<?"); put_text(buf + 1); printf(">"); break; - case '*': printf("<!--"); put_text(buf + 1); printf("-->"); break; - case 'L': break; - case 'A': store_attr(buf); break; - case '(': printf("<%s", buf + 1); put_attr(); putchar('>'); break; - case ')': printf("</%s>", buf + 1); break; - case '|': printf("<%s", buf + 1); put_attr(); printf(" />"); break; - case '!': put_decl(buf); break; - default: errexit("Unknown code at start of line: %c\n", buf[0]); - } - } - if (! feof(in)) { perror(argv[0]); exit(1); } - fclose(in); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/unpipe.e b/arid_examples/html-xml-utils-3.0/testruns/unpipe.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/url.c b/arid_examples/html-xml-utils-3.0/testruns/url.c deleted file mode 100644 index be8779fee..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/url.c +++ /dev/null @@ -1,256 +0,0 @@ -/* - * Routines and data structures to parse URLs - * - * Assumes the strings are encoded in UTF-8 - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 7 March 1999 - * Version: $Id: url.c,v 1.11 2000/04/01 12:10:08 bbos Exp $ - */ -#include <config.h> -#include <stdlib.h> -#include <assert.h> -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include <ctype.h> -#include <regex.h> -#include "export.h" -#include "heap.e" -#include "types.e" - -EXPORT typedef struct { - string full; /* Full URL as a string */ - string proto; /* Protocol */ - string user; /* User name */ - string password; /* User's password */ - string machine; /* Domain name or IP number */ - string port; /* Port number or service */ - string path; /* Path part of URL */ - string fragment; /* Fragment ID part of URL */ -} *URL; - - -/* down -- convert a string to lowercase, return pointer to arg */ -static string down(string s) -{ - string t; - for (t = s; *t; t++) *t = tolower(*t); - return s; -} - -/* utf8tohex -- convert UTF-8 to %HH hex encoding, allocate on heap */ -static string utf8tohex(const string s) -{ - static string hex = "0123456789ABCDEF"; - string h; - int i, j; - - newarray(h, 3 * strlen(s) + 1); /* Usually too much */ - for (i = 0, j = 0; s[i]; i++) { - if (s[i] <= 127) h[j++] = s[i]; - else { h[j++] = '%'; h[j++] = hex[s[i]/16]; h[j++] = hex[s[i]%16]; } - } - h[j] = '\0'; - return h; -} - -/* URL_dispose -- free the memory used by a URL struct */ -EXPORT void URL_dispose(URL url) -{ - if (url) { - dispose(url->full); - dispose(url->proto); - dispose(url->user); - dispose(url->password); - dispose(url->machine); - dispose(url->port); - dispose(url->path); - dispose(url->fragment); - dispose(url); - } -} - -/* URL_new -- create a new URL struct; return NULL if not a valid URL */ -EXPORT URL URL_new(const string url) -{ - static const char* pat = - "^(([A-Za-z0-9+.-]+):)?(//(([^:@]+)(:([^@]+))?@)?([^:/]+)(:([0-9]+))?)?([^#]*)?(#(.*))?|([^#]*)(#(.*))?$"; - /* 12 2 1 3 45 56 7 76 4 8 89 A A9 3 B B C D DC E EF G GF - * 2 = proto, 5 = user, 7 = passwd, 8 = machine, A = port, B = path, D = fragment - * E = path in case it is not a well-formed URL, G = fragment if ditto - */ -# define MAXSUB 18 - static regex_t re; - static int initialized = 0; - regmatch_t pm[MAXSUB]; - URL result; - - assert(url != NULL); - - /* Compile the regexp, only once */ - if (! initialized) { - assert(regcomp(&re, pat, REG_EXTENDED) == 0); /* Could be memory, though... */ - initialized = 1; - } - - /* Match the URL against the pattern; return NULL if no match */ - if (regexec(&re, url, MAXSUB, pm, 0) != 0) return NULL; - - /* Store the various parts */ - new(result); - result->full = utf8tohex(url); - result->proto = pm[2].rm_so == -1 - ? NULL : down(newnstring(url, pm[2].rm_eo)); - result->user = pm[5].rm_so == -1 - ? NULL : newnstring(url + pm[5].rm_so, pm[5].rm_eo - pm[5].rm_so); - result->password = pm[7].rm_so == -1 - ? NULL : newnstring(url + pm[7].rm_so, pm[7].rm_eo - pm[7].rm_so); - result->machine = pm[8].rm_so == -1 - ? NULL : newnstring(url + pm[8].rm_so, pm[8].rm_eo - pm[8].rm_so); - result->port = pm[10].rm_so == -1 - ? NULL : newnstring(url + pm[10].rm_so, pm[10].rm_eo - pm[10].rm_so); - result->path = pm[11].rm_so == -1 - ? NULL : newnstring(url + pm[11].rm_so, pm[11].rm_eo - pm[11].rm_so); - result->fragment = pm[13].rm_so == -1 - ? NULL : newnstring(url + pm[13].rm_so, pm[13].rm_eo - pm[13].rm_so); - if (pm[14].rm_so != -1) { - result->path = newnstring(url + pm[14].rm_so, pm[14].rm_eo - pm[14].rm_so); - result->fragment = pm[16].rm_so == -1 - ? NULL : newnstring(url + pm[16].rm_so, pm[16].rm_eo - pm[16].rm_so); - } - return result; -} - -/* merge_path -- make path absolute */ -static string merge_path(const string base, const string path) -{ - static regex_t re; - static int initialized = 0; - regmatch_t pm[1]; - string p, s; - size_t len; - - assert(*path != '/'); - if (base && (p = strrchr(base, '/'))) { - newarray(s, (p - base) + strlen(path) + 2); - strncpy(s, base, (p - base) + 1); - strcpy(s + ((p - base) + 1), path); - } else { - newarray(s, strlen(path) + 2); -#if 0 - s[0] = '/'; - strcpy(s + 1, path); -#else - strcpy(s, path); -#endif - } - - /* Replace all substrings of form "/xxx/../" with "/" */ - if (! initialized) { - assert(regcomp(&re, "/[^/]+/\\.\\./", REG_EXTENDED) == 0); - initialized = 1; - } - len = strlen(s); - while (regexec(&re, s, 1, pm, 0) == 0) { - memmove(s + pm[0].rm_so, s + (pm[0].rm_eo - 1), len - pm[0].rm_eo + 2); - len -= pm[0].rm_eo - pm[0].rm_so - 1; - } - - /* Replace all substrings of the form "/./" with "/" */ - /*len = strlen(s);*/ - for (p = s; (p = strstr(p, "/./")); ) { - memmove(p, p + 2, len - (p - s) - 1); - len -= 2; - } - - return s; -} - -/* URL_absolutize -- make a relative URL absolute */ -EXPORT URL URL_absolutize(const URL base, const URL url) -{ - URL abs; - string s; - - new(abs); - if (url->proto) { /* Not relative at all */ - abs->proto = newstring(url->proto); - abs->user = newstring(url->user); - abs->password = newstring(url->password); - abs->machine = newstring(url->machine); - abs->port = newstring(url->port); - abs->path = newstring(url->path); - } else { /* Missing proto */ - abs->proto = newstring(base->proto); /* Copy proto from base */ - if (url->machine) { /* Missing machine */ - abs->user = newstring(url->user); - abs->password = newstring(url->password); - abs->machine = newstring(url->machine); - abs->port = newstring(url->port); - abs->path = newstring(url->path); - } else { - abs->user = newstring(base->user); - abs->password = newstring(base->password); - abs->machine = newstring(base->machine); - abs->port = newstring(base->port); - if (!url->path || *(url->path) == '/') { /* Absolute path */ - abs->path = newstring(url->path); - } else { - abs->path = merge_path(base->path, url->path); - } - } - } - abs->fragment = newstring(url->fragment); - - newarray(s, (abs->proto ? strlen(abs->proto) + 1 : 0) - + (abs->user ? strlen(abs->user) + 1 : 0) - + (abs->password ? strlen(abs->password) + 1 : 0) - + (abs->machine ? strlen(abs->machine) + 2 : 0) - + (abs->port ? strlen(abs->port) + 1 : 0) - + (abs->path ? strlen(abs->path) : 0) - + (abs->fragment ? strlen(abs->fragment) + 1 : 0) - + 1); - sprintf(s, "%s%s%s%s%s%s%s%s%s%s%s%s%s", - abs->proto ? abs->proto : (string) "", - abs->proto ? (string) ":" : (string) "", - abs->machine ? (string) "//" : (string) "", - abs->user ? abs->user : (string) "", - abs->password ? (string) ":" : (string) "", - abs->password ? abs->password : (string) "", - abs->user ? (string) "@" : (string) "", - abs->machine ? abs->machine : (string) "", - abs->port ? (string) ":" : (string) "", - abs->port ? abs->port : (string) "", - abs->path ? abs->path : (string) "", - abs->fragment ? (string) "#" : (string) "", - abs->fragment ? abs->fragment : (string) ""); - abs->full = utf8tohex(s); - dispose(s); - - return abs; -} - -/* URL_s_absolutize -- make a relative URL absolute */ -EXPORT string URL_s_absolutize(const string base, const string url) -{ - URL url1 = URL_new(url), base1 = URL_new(base); - URL abs = URL_absolutize(base1, url1); - string result = newstring(abs->full); - URL_dispose(abs); - URL_dispose(url1); - URL_dispose(base1); - return result; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/url.e b/arid_examples/html-xml-utils-3.0/testruns/url.e deleted file mode 100644 index d9fbca906..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/url.e +++ /dev/null @@ -1,14 +0,0 @@ - typedef struct { - string full; - string proto; - string user; - string password; - string machine; - string port; - string path; - string fragment; -} *URL; - void URL_dispose(URL url); - URL URL_new(const string url); - URL URL_absolutize(const URL base, const URL url); - string URL_s_absolutize(const string base, const string url); diff --git a/arid_examples/html-xml-utils-3.0/testruns/wls.c b/arid_examples/html-xml-utils-3.0/testruns/wls.c deleted file mode 100644 index 470b80f22..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/wls.c +++ /dev/null @@ -1,279 +0,0 @@ -/* - * List all links from the given document. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos <bert@w3.org> - * Created 31 July 1999 - * $Id: wls.c,v 1.12 2000/08/07 12:28:44 bbos Exp $ - */ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRDUP -# include "strdup.e" -# endif -#endif -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "url.e" - -extern int yylineno; /* From scan.l */ - -static Boolean has_error = False; -static string base = NULL; -static string self; -static enum {Short, Long, HTML, Tuple} format = Short; /* Option -l -h -t */ -static Boolean relative = False; /* Option -r */ - - -/* down -- convert a string to lowercase, return pointer to arg */ -static inline string down(string s) -{ - string t; - for (t = s; *t; t++) *t = tolower(*t); - return s; -} - - -/* attval -- find a named attribute in the list, return ptr to string */ -static string attval(pairlist attribs, const string name) -{ - for (; attribs; attribs = attribs->next) - if (strcasecmp(attribs->name, name) == 0) - return attribs->value; - return NULL; -} - - -/* output -- print the link (lowercases rel argument) */ -static void output(string type, string rel, string url) -{ - string h = NULL; - - if (url) { /* If we found a URL */ - if (! relative && base) { - h = URL_s_absolutize(base, url); - url = h; - } - if (rel) down(rel); - switch (format) { - case HTML: - printf("<li><a class=\"%s\" rel=\"%s\" href=\"%s\">%s</a></li>\n", - type, rel ? rel : (string)"", url, url); - break; - case Long: - printf("%s\t%s\t%s\n", type, rel ? rel : (string)"", url); - break; - case Short: - printf("%s\n", url); - break; - case Tuple: - printf("%s\t%s\t%s\t%s\n", self, type, rel ? rel : (string)"", url); - break; - default: - assert(!"Cannot happen!"); - } - } - if (h) free(h); -} - - -/* --------------- implements parser interface api------------------------- */ - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_error = True; -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - if (format == HTML) { - printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\"\n"); - printf(" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"); - printf("<html>\n"); - printf("<head><title>Output of listlinks</title></head>\n"); - printf("<body>\n"); - printf("<ol>\n"); - } - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - if (format == HTML) { - printf("</ol>\n"); - printf("</body>\n"); - printf("</html>\n"); - } -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - free(commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - /* There may be several consecutive calls to this routine. */ - /* escape(text); */ - free(text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, string fpi, string url) -{ - /* skip */ - if (gi) free(gi); - if (fpi) free(fpi); - if (url) free(url); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - if (pi_text) free(pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - /* ToDo: print text of anchor, if available */ - string h; - - if (strcasecmp(name, "base") == 0) { - h = attval(attribs, "href"); - if (h) base = strdup(h); /* Use as base from now on */ - output("base", NULL, h); - } else if (strcasecmp(name, "link") == 0) { - output("link", attval(attribs, "rel"), attval(attribs, "href")); - } else if (strcasecmp(name, "a") == 0) { - output("a", attval(attribs, "rel"), attval(attribs, "href")); - } else if (strcasecmp(name, "img") == 0) { - output("img", NULL, attval(attribs, "src")); - output("longdesc", NULL, attval(attribs, "longdesc")); - } else if (strcasecmp(name, "input") == 0) { - output("input", NULL, attval(attribs, "href")); - } else if (strcasecmp(name, "object") == 0) { - output("object", NULL, attval(attribs, "data")); - } else if (strcasecmp(name, "area") == 0) { - output("area", attval(attribs, "rel"), attval(attribs, "href")); - } else if (strcasecmp(name, "ins") == 0) { - output("ins", NULL, attval(attribs, "cite")); - } else if (strcasecmp(name, "del") == 0) { - output("del", NULL, attval(attribs, "cite")); - } else if (strcasecmp(name, "q") == 0) { - output("q", NULL, attval(attribs, "cite")); - } else if (strcasecmp(name, "blockquote") == 0) { - output("bq", NULL, attval(attribs, "cite")); - } else if (strcasecmp(name, "form") == 0) { - output("form", attval(attribs, "method"), attval(attribs, "action")); - } else if (strcasecmp(name, "frame") == 0) { - output("frame", NULL, attval(attribs, "src")); - } else if (strcasecmp(name, "iframe") == 0) { - output("iframe", NULL, attval(attribs, "src")); - } else if (strcasecmp(name, "head") == 0) { - output("head", NULL, attval(attribs, "profile")); - } else if (strcasecmp(name, "script") == 0) { - output("script", NULL, attval(attribs, "src")); - } else if (strcasecmp(name, "body") == 0) { - output("body", NULL, attval(attribs, "background")); - } - - /* Free memory */ - pairlist_delete(attribs); - free(name); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - handle_starttag(clientdata, name, attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - free(name); -} - -/* --------------------------------------------------------------------- */ - - -/* usage -- print usage message and exit */ -static void usage(string progname) -{ - fprintf(stderr, - "Version %s\nUsage: %s [-l] [-r] [-h] [-b base] [-t] [HTML-file]\n", - VERSION, progname); - exit(1); -} - - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Parse command line arguments */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'l': format = Long; break; /* Long listing */ - case 'b': base = strdup(argv[++i]); break; /* Set base of URL */ - case 'r': relative = True; break; /* Do not make URLs absolute */ - case 'h': format = HTML; break; /* Output in HTML format */ - case 't': format = Tuple; break; /* Output as 4-tuples */ - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) { - yyin = stdin; - self = "-"; - } else if (i == argc - 1) { - if (!base) base = strdup(argv[i]); - if (eq(argv[i], "-")) yyin = stdin; else yyin = fopenurl(argv[i], "r"); - self = argv[i]; - } else { - usage(argv[0]); - } - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) exit(3); - - if (base) free(base); - - return has_error ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/wls.e b/arid_examples/html-xml-utils-3.0/testruns/wls.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/xml2asc.c b/arid_examples/html-xml-utils-3.0/testruns/xml2asc.c deleted file mode 100644 index 08e0dedba..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/xml2asc.c +++ /dev/null @@ -1,115 +0,0 @@ -/* - * - * Program to convert files from UTF-8 to ASCII and UTF8, using the - * &#-escapes from XML to escape non-ASCII characters. - * - * Usage: - * - * xml2asc - * - * Reads from stdin and write to stdout. Converts from UTF8 (with or - * without &#-escapes) to ASCII, inserting &#-escapes for all - * non-ASCII characters. - * - * Version: $Revision: 1.2 $ ($Date: 2003/01/21 19:26:03 $) - * Author: Bert Bos <bert@w3.org> - * - * Copyright © 1994-2002 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - **/ -#include <config.h> -#include <stdio.h> -#include <stdlib.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <ctype.h> - -/* getUTF8 -- read a UTF8 encoded character from stdin */ -static long getUTF8() -{ - long c; - int b; - if ((b = getchar()) == EOF) { /* EOF */ - c = EOF; - } else if (b <= 0x7F) { /* ASCII */ - c = b; - } else if ((b & 0xE0) == 0xC0) { /* 110xxxxx 10xxxxxx */ - c = (b & 0x1F) << 6; - b = getchar(); /* Don't check for 10xxxxxx */ - c |= b & 0x3F; - } else if ((b & 0xF0) == 0xE0) { /* 1110xxxx + 2 */ - c = (b & 0x0F) << 12; - b = getchar(); - c |= (b & 0x3F) << 6; - b = getchar(); - c |= b & 0x3F; - } else if ((b & 0xF1) == 0xF0) { /* 11110xxx + 3 */ - c = (b & 0x0F) << 18; - b = getchar(); - c |= (b & 0x3F) << 12; - b = getchar(); - c |= (b & 0x3F) << 6; - b = getchar(); - c |= b & 0x3F; - } else if ((b & 0xFD) == 0xF8) { /* 111110xx + 4 */ - c = (b & 0x0F) << 24; - b = getchar(); - c |= (b & 0x0F) << 18; - b = getchar(); - c |= (b & 0x3F) << 12; - b = getchar(); - c |= (b & 0x3F) << 6; - b = getchar(); - c |= b & 0x3F; - } else if ((b & 0xFE) == 0xFC) { /* 1111110x + 5 */ - c = (b & 0x0F) << 30; - b = getchar(); - c |= (b & 0x0F) << 24; - b = getchar(); - c |= (b & 0x0F) << 18; - b = getchar(); - c |= (b & 0x3F) << 12; - b = getchar(); - c |= (b & 0x3F) << 6; - b = getchar(); - c |= b & 0x3F; - } else { - c = 0; - /* Error */ - } - return c; -} - -/* xml2asc -- copy stdin to stdout, converting UTF8 XML to ASCII XML */ -static void xml2asc(void) -{ - long c; - while ((c = getUTF8()) != EOF) { - if (c <= 127) - putchar(c); - else - printf("&#%ld;", c); - } -} - -/* Print usage message, then exit */ -static void usage(char *progname) -{ - fprintf(stderr, "Version %s\nUsage: %s <infile >outfile\n", VERSION, progname); - exit(1); -} - -/* main -- main body */ -int main(int argc, char *argv[]) -{ - if (argc != 1) usage(argv[0]); - xml2asc(); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/xml2asc.e b/arid_examples/html-xml-utils-3.0/testruns/xml2asc.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/xmlns.c b/arid_examples/html-xml-utils-3.0/testruns/xmlns.c deleted file mode 100644 index a3d597d77..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/xmlns.c +++ /dev/null @@ -1,285 +0,0 @@ -/* - * xmlns - expand XML Namespace prefixes - * - * Expand all element and attribute names to "global names" by - * expanding the prefix. All names will be printed as "{URL}name". - * Attribute names without a prefix will have an empty namespace part: - * "{}name". - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos - * Created: 22 Mar 2000 - * Version: $Id: xmlns.c,v 1.7 2000/08/21 11:36:05 bbos Exp $ - * - **/ -#include <config.h> -#include <stdio.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <ctype.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" -#include "heap.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" - -extern int yylineno; /* From scan.l */ - -/* The symbol table is a chain of prefix/uri pairs. Every time an - * element starts, the prefixes defined by it are added at the end. To - * expand a prefix, the most recently added prefix/uri pair is used. - * When en element ends, the chain is reduced to what it was when the - * element started. The stack keeps track of where the chain ended at - * the start of the element. - * - * ToDo: should we hash the prefixes? or is linear search good enough? - **/ -typedef struct _Symbol { - string prefix; - string uri; - struct _Symbol *next; -} Symbol, *SymbolTable; - -typedef struct _StackElt { - Symbol *frame; - struct _StackElt *next; -} *Stack; - -static Symbol xml = {"xml", "http://www.w3.org/XML/1998/namespace", NULL}; -static Boolean has_error = False; -static SymbolTable symtable = &xml; -static Stack stack = NULL; -static Boolean do_decls = True; /* Print decl, comment, PI? */ - - -/* print_globalname -- print a name with expanded prefix */ -static void print_globalname(string name, Boolean use_default) -{ - string h, prefix, local; - Symbol *s; - - /* Split the name */ - h = strchr(name, ':'); - if (!h && !use_default) { /* No prefix & no default ns */ - printf("{}%s", name); - return; - } - if (h) { - *h = '\0'; - prefix = name; - local = h + 1; - } else { - prefix = ""; - local = name; - } - /* Find the prefix in the symbol table */ - for (s = symtable; s && !eq(prefix, s->prefix); s = s->next) ; - - if (!s) { - fprintf(stderr, "%d: prefix \"%s\" not defined\n", yylineno, prefix); - has_error = True; - } - /* ToDo: check that any '}' in uri is escaped */ - printf("{%s}%s", s ? s->uri : (string)"", local); -} - -/* do_tag -- print a start or empty tag expanded */ -static void do_tag(string name, pairlist attribs, Boolean empty) -{ - Stack h; - pairlist p; - Symbol *sym; - - /* Mark the current end of the symbol table */ - new(h); - h->next = stack; - h->frame = symtable; - stack = h; - - /* Scan the attributes for namespace definitions and store them */ - for (p = attribs; p; p = p->next) { - if (strncmp(p->name, "xmlns", 5) == 0) { - new(sym); - sym->prefix = newstring(p->name + (p->name[5] ? 6 : 5)); - sym->uri = newstring(p->value); - sym->next = symtable; - symtable = sym; - } - } - /* Print the tag with prefixes expanded */ - putchar('<'); - print_globalname(name, True); - for (p = attribs; p; p = p->next) { - if (strncmp(p->name, "xmlns", 5) != 0) { - putchar(' '); - print_globalname(p->name, False); - printf("=\"%s\"", p->value); - } - } - printf(empty ? "/>" : ">"); -} - -/* pop_symboltable -- unwind the symbol table to previous mark */ -static void pop_symboltable(string name) -{ - Symbol *h; - Stack p; - - if (!stack) { - if (! has_error) fprintf(stderr, "%d: too many end tags\n", yylineno); - has_error = True; - return; - } - /* Remove entries from symbol table chain until last mark */ - while (symtable != stack->frame) { - h = symtable; - symtable = symtable->next; - dispose(h->prefix); - dispose(h->uri); - dispose(h); - } - /* Pop stack itself */ - p = stack; - stack = stack->next; - dispose(p); -} - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_error = True; -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - if (do_decls) printf("<!--%s-->", commenttext); - free(commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - printf("%s", text); - free(text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, string fpi, string url) -{ - if (do_decls) { - if (!fpi) printf("<!DOCTYPE %s SYSTEM \"%s\">", gi, url); - else if (!url) printf("<!DOCTYPE %s PUBLIC \"%s\">", gi, fpi); - else printf("<!DOCTYPE %s PUBLIC \"%s\" \"%s\">", gi, fpi, url); - } - free(gi); - if (fpi) free(fpi); - if (url) free(url); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - if (do_decls) printf("<?%s>", pi_text); - free(pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - do_tag(name, attribs, False); - free(name); - pairlist_delete(attribs); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - do_tag(name, attribs, True); - pop_symboltable(name); - free(name); - pairlist_delete(attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - /* Printf the end tag */ - printf("</"); - print_globalname(name, True); - putchar('>'); - - /* Unwind the symbol table */ - pop_symboltable(name); - free(name); -} - -/* usage -- print usage message and exit */ -static void usage(string prog) -{ - fprintf(stderr, "Version %s\nUsage: %s [-d] [xml-file-or-url]\n", VERSION, prog); - exit(2); -} - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Parse command line arguments */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'd': do_decls = False; break; - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) yyin = stdin; - else if (i == argc - 1) yyin = fopenurl(argv[i], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) exit(3); - - return has_error ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/xmlns.e b/arid_examples/html-xml-utils-3.0/testruns/xmlns.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/xref.c b/arid_examples/html-xml-utils-3.0/testruns/xref.c deleted file mode 100644 index 204ae1a10..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/xref.c +++ /dev/null @@ -1,455 +0,0 @@ -/* - * Program to (semi-)automatically link instances of terms and phrases - * in an HTML file to their definitions. - * - * The program collects all <dfn> elements, and stores either their - * title attribute, or if there is none, their content (without - * mark-up). Then it looks for occurrences of the same text and makes - * a link from the occurrence to the corresponding <dfn> element. The - * occurrences that are checked are the contents of all inline - * elements, such as <em> and <span>. HTML unfortunately forbids - * nested links, so the program doesn't look for occurrences inside an - * <a>. - * - * The program can store the <dfn> elements (the terms they define, - * the file they occur in and their ID) in a file, so that - * cross-references among several files are possible, by running the - * program on each of the files. It may be necessary to run the - * program twice on a series of files, to create all the references. - * - * Copyright © 2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 4 August 2000 - * Version: $Id: xref.c,v 1.19 2003/08/11 14:53:40 bbos Exp $ - **/ - -#include <config.h> -#include <assert.h> -#include <stdio.h> -#include <stdlib.h> -#include <ctype.h> - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "hash.e" -#endif - -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include "heap.e" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "tree.e" -#include "openurl.e" -#include "genid.e" -#include "errexit.e" - - -/* Warning: arbitrary limit! */ -#define MAXLINE 4096 /* Max. len. of url + term */ -#define HASHSIZE 4096 /* Size of hash table */ - - -static Tree tree; -static string base = NULL, progname; -static Boolean do_xml = False; - - -/* handle_error -- called when a parse error occurred */ -static void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - - -/* start -- called before the first event is reported */ -static void* start(void) -{ - tree = create(); - return NULL; -} - - -/* end -- called after the last event is reported */ -static void end(void *clientdata) -{ - /* skip */ -} - - -/* handle_comment -- called after a comment is parsed */ -static void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - - -/* handle_text -- called after a tex chunk is parsed */ -static void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - - -/* handle_declaration -- called after a declaration is parsed */ -static void handle_decl(void *clientdata, string gi, string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - - -/* handle_proc_instr -- called after a PI is parsed */ -static void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - - -/* handle_starttag -- called after a start tag is parsed */ -static void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - tree = html_push(tree, name, attribs); - - /* If it has an ID, store it (so we don't accidentally generate it) */ - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, "id") == 0 && p->value) storeID(p->value); -} - - -/* handle_emptytag -- called after an empty tag is parsed */ -static void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - handle_starttag(clientdata, name, attribs); -} - - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -static void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - - -/* load_definitions -- read already defined terms from file */ -static void load_definitions(FILE *f) -{ - char buf[MAXLINE]; - ENTRY entry; - char *h; - - while (fgets(buf, sizeof(buf), f)) { /* Format is PHRASE\tURL\n */ - h = strchr(buf, '\t'); - if (! h) errexit("%s: index file not in correct format\n", progname); - chomp(h); - entry.key = newnstring(buf, h - buf); - entry.data = newstring(h + 1); - hsearch(entry, ENTER); - } -} - - -/* get_contents -- collect all text content of an elt into a single string */ -static string get_contents(Tree t) -{ - Node *h; - string contents = NULL, k; - - assert(t->tp == Element); - for (h = t->children; h; h = h->sister) { - if (h->tp == Text) { - strapp(&contents, h->text, NULL); - } else if (h->tp == Element && !eq(h->name, "a") && !eq(h->name, "dfn") - && (k = get_contents(h))) { - strapp(&contents, k, NULL); - dispose(k); - } - } - return contents; -} - - -/* normalize -- collapse whitespace, trim, lowercase (modifies s) */ -static string normalize(string s) -{ - int i = 0, j; - - if (!s) return newstring(""); - - for (j = 0; isspace(s[j]); j++) ; /* Skip initial whitespace */ - - for (; s[j]; j++) - if (isupper(s[j])) s[i++] = tolower(s[j]); /* Upper -> lowercase */ - else if (isalnum(s[j]) || s[j] == '-') s[i++] = s[j]; /* Keep these */ - else if (! isspace(s[j])) ; /* Skip rest, except spaces */ - else if (s[i-1] != ' ') s[i++] = ' '; /* Collapse whitespace */ - - for (; i > 0 && s[i-1] == ' '; i--) ; /* Remove trailing spaces */ - - s[i] = '\0'; - return s; -} - - -/* collect_terms -- walk the document tree looking for <dfn> elements */ -static void collect_terms(Tree tree, FILE *db) -{ - string title, url = NULL, id, s; - ENTRY entry, *e; - int i, n; - Node *h; - - switch (tree->tp) { - case Text: - case Comment: - case Declaration: - case Procins: - break; - case Root: - for (h = tree->children; h; h = h->sister) collect_terms(h, db); - break; - case Element: - if (! eq(tree->name, "dfn")) { - for (h = tree->children; h; h = h->sister) collect_terms(h, db); - } else { - if (! get_attrib(tree, "id", &id)) { /* Make sure there's an ID */ - id = gen_id(tree); - set_attrib(tree, "id", id); - } - if (get_attrib(tree, "title", &title)) /* Use title if it exists */ - s = normalize(newstring(title)); - else /* otherwise grab contents */ - s = normalize(get_contents(tree)); - - entry.data = strapp(&url, base ? base : (string)"", "#", id, NULL); - for (i = 0; s[i];) { /* Loop over |-separated terms */ - n = strcspn(s + i, "|"); - entry.key = newnstring(s + i, n); - /* Add to hash table and to db file, if not already there */ - if (! (e = hsearch(entry, FIND)) - || ! eq((string)e->data, (string)entry.data)) { - hsearch(entry, ENTER); - if (db) fprintf(db, "%s\t%s\n", entry.key, (char*)entry.data); - } - i += n; - if (s[i]) i++; /* Skip "|" */ - } - } - break; - default: - assert(!"Cannot happen"); - } -} - - -/* find_instances -- walk tree, make instances of defined terms into links */ -static void find_instances(Tree tree) -{ - ENTRY entry, *e; - string title; - Node *h; - - switch (tree->tp) { - case Text: case Comment: case Declaration: case Procins: - break; - case Root: - for (h = tree->children; h; h = h->sister) find_instances(h); - break; - case Element: - if (eq(tree->name, "a") || eq(tree->name, "dfn")) - ; /* Don't descend into these */ - else if (eq(tree->name, "abbr") || eq(tree->name, "acronym") - || eq(tree->name, "b") || eq(tree->name, "bdo") - || eq(tree->name, "big") || eq(tree->name, "cite") - || eq(tree->name, "code") || eq(tree->name, "del") - /*|| eq(tree->name, "dt")*/ || eq(tree->name, "em") - || eq(tree->name, "i") || eq(tree->name, "ins") - || eq(tree->name, "kbd") || eq(tree->name, "label") - || eq(tree->name, "legend") || eq(tree->name, "q") - || eq(tree->name, "samp") || eq(tree->name, "small") - || eq(tree->name, "span") || eq(tree->name, "strong") - || eq(tree->name, "sub") || eq(tree->name, "sup") - || eq(tree->name, "tt") || eq(tree->name, "var")) { - if (get_attrib(tree, "title", &title)) /* Use title if it exists */ - entry.key = normalize(newstring(title)); - else /* Get flattened contents */ - entry.key = normalize(get_contents(tree)); - if (! (e = hsearch(entry, FIND))) { /* If not an instance */ - for (h = tree->children; h; h = h->sister) find_instances(h); - } else { /* Found an instance */ - h = wrap_contents(tree, "a", NULL); /* Wrap contents in an <a> */ - set_attrib(h, "href", e->data); - } - dispose(entry.key); - } else { /* Not an inline element */ - for (h = tree->children; h; h = h->sister) find_instances(h); - } - break; - default: - assert(!"Cannot happen"); - } -} - - -/* write_doc -- write the tree to a file */ -static void write_doc(Tree n, Boolean do_xml, FILE *f) -{ - pairlist h; - Tree l; - - switch (n->tp) { - case Root: - for (l = n->children; l; l = l->sister) write_doc(l, do_xml, f); - break; - case Text: - fprintf(f, "%s", n->text); - break; - case Comment: - fprintf(f, "<!--%s-->", n->text); - break; - case Declaration: - fprintf(f, "<!DOCTYPE %s", n->name); - if (n->text) fprintf(f, " PUBLIC \"%s\"", n->text); - else fprintf(f, " SYSTEM"); - if (n->url) fprintf(f, " \"%s\"", n->url); - fprintf(f, ">"); - break; - case Procins: - fprintf(f, "<?%s>", n->text); - break; - case Element: - fprintf(f, "<%s", n->name); - for (h = n->attribs; h != NULL; h = h->next) { - fprintf(f, " %s", h->name); - if (h->value != NULL) fprintf(f, "=\"%s\"", h->value); - else if (do_xml) fprintf(f, "=\"%s\"", h->name); - } - if (is_empty(n->name)) { - assert(n->children == NULL); - fprintf(f, do_xml ? " />" : ">"); - } else { - fprintf(f, ">"); - for (l = n->children; l; l = l->sister) write_doc(l, do_xml, f); - fprintf(f, "</%s>", n->name); - } - break; - default: - assert(!"Cannot happen"); - } -} - - -/* usage -- print usage message and exit */ -static void usage(void) -{ - fprintf(stderr, - "Version %s\nUsage: %s [-b base] [-i index] [-x] [--] [input [output]]\n", - VERSION, progname); - exit(1); -} - - -/* main -- main body of xref */ -int main(int argc, char *argv[]) -{ - int i; - FILE *outfile = NULL, *db = NULL; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Parse command line */ - progname = argv[0]; - yyin = NULL; - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'b': - if (!argv[i][2] && i + 1 == argc) usage(); /* Missing argument */ - if (base) usage(); /* Option was already set */ - base = argv[i][2] ? argv[i] + 2 : argv[++i]; - break; - case 'x': - if (do_xml) usage(); /* Option was already set */ - do_xml = True; - break; - case 'i': - if (!argv[i][2] && i + 1 == argc) usage(); /* Missing argument */ - if (db) usage(); /* Index was already set */ - db = fopen(argv[i][2] ? argv[i] + 2 : argv[++i], "a+"); - if (! db) errexit("%s: %s\n", argv[i], strerror(errno)); - break; - case '\0': - if (!yyin) yyin = stdin; - else if (!outfile) outfile = stdout; - else usage(); /* Was already set */ - break; - default: - usage(); /* Unknown option */ - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i < argc) { - if (yyin) usage(); /* Input was already set */ - if (eq(argv[i], "-")) yyin = stdin; - else yyin = fopenurl(argv[i], "r"); - if (! yyin) errexit("%s: %s\n", argv[i], strerror(errno)); - } - if (++i < argc) { - if (outfile) usage(); /* Output was already set */ - if (eq(argv[i], "-")) outfile = stdout; - else outfile = fopen(argv[i], "w"); - if (! outfile) perror(argv[i]); - } - if (++i < argc) usage(); /* Too many args */ - - if (! yyin) yyin = stdin; - if (! outfile) outfile = stdout; - - if (! hcreate(HASHSIZE)) - errexit("%s: cannot create hash table (out of memory?)\n", argv[0]); - - if (db) { - if (fseek(db, 0L, SEEK_SET) == -1) - errexit("%s: %s\n", progname, strerror(errno)); - load_definitions(db); - } - - if (yyparse() != 0) exit(3); - - tree = get_root(tree); - collect_terms(tree, db); - find_instances(tree); - - if (db) fclose(db); - - write_doc(tree, do_xml, outfile); - - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/xref.e b/arid_examples/html-xml-utils-3.0/testruns/xref.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/xselect.c b/arid_examples/html-xml-utils-3.0/testruns/xselect.c deleted file mode 100644 index 010eb541b..000000000 --- a/arid_examples/html-xml-utils-3.0/testruns/xselect.c +++ /dev/null @@ -1,465 +0,0 @@ -/* - * select -- extract elements matching a selector - * - * Assumes that class selectors (".foo") refer to an attribute called - * "class". - * - * Assumes that ID selectors ("#foo") refer to an attribute called - * "id". - * - * Options: - * - * -l language - * - * Sets the default language, in case the root element doesn't - * have an xml: lang attribute. Example: -l en. Default: none. - * - * -s separator - * - * A string to print after each match. Accepts C-like escapes. - * Example: -s '\n\n' to print an empty line after each match. - * Default: empty string. - * - * -i - * - * Match case-insensitively. Useful for HTML and some other - * SGML-based languages. - * - * -c - * - * Print content only. Without -c, the start and end tag of the - * matched element are printed as well; with -c only the contents - * of the matched element are printed. - * - * Copyright © 2001 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 5 Jul 2001 - * Version: $Id: xselect.c,v 1.7 2003/04/09 10:07:13 bbos Exp $ - * - **/ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#include <unistd.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include "export.h" -#include "types.e" -#include "heap.e" -#include "html.e" -#include "scan.e" -#include "errexit.e" -#include "selector.e" - - -typedef struct _Node { - string name; - pairlist attribs; - string language; - struct _Node *child; /* Youngest(!) child */ - struct _Node *sister; /* Older(!) sister */ - struct _Node *parent; -} Node, *Tree; - -static Tree tree = NULL; /* Current elt in tree */ -static Selector selector; /* The selector to match */ -static int copying = 0; /* >0 means: inside a match */ -static string language = ""; /* Initial language */ -static Boolean content_only = False; /* Omit start/end tag */ -static string separator = ""; /* Printed between matches */ -static Boolean case_insensitive = False; /* How to match elems/attrs */ - - -/* push -- add an element to the tree, make tree point to that element */ -static void push(const string name, const pairlist attribs) -{ - pairlist p; - Node *h; - - new(h); - h->name = name; - h->attribs = attribs; - for (p = attribs; p && !eq(p->name, "xml:lang"); p = p->next) ; - if (p) h->language = p->value; /* Explicit */ - else if (tree) h->language = tree->language; /* Inherit */ - else h->language = language; /* Initial */ - h->child = NULL; - h->parent = tree; - h->sister = tree ? tree->child : NULL; - if (tree) tree->child = h; - tree = h; -} - -/* pop -- make tree point to parent of current node */ -static void pop(const string name) -{ - if (!tree || !tree->name || !eq(tree->name, name)) - errexit("Input is not well-formed. (Maybe try normalize?)\n"); - tree = tree->parent; -} - -/* same -- compare two names, case-(in)sensitively, depending */ -static Boolean same(const string a, const string b) -{ - return case_insensitive ? strcasecmp(a, b) == 0 : eq(a, b); -} - -/* nr_sisters -- return # of elder sisters of a node */ -static int nr_sisters(const Node *n) -{ - if (!n->sister) return 0; - else return 1 + nr_sisters(n->sister); -} - -/* nr_typed_sisters -- return # of elder sisters of type t */ -static int nr_typed_sisters(const Node *n, const Node *t) -{ - if (!n->sister) - return 0; - else if (!same(n->sister->name, t->name)) - return nr_typed_sisters(n->sister, t); - else - return 1 + nr_typed_sisters(n->sister, t); -} - -/* get_attr -- return the value of the named attribute, or NULL */ -static string get_attr(const Node *n, const string name) -{ - pairlist p; - - for (p = n->attribs; p && !same(p->name, name); p = p->next) ; - return p ? p->value : NULL; -} - -/* includes -- check for word in the space-separated words of line */ -static Boolean includes(const string line, const string word) -{ - int i = 0, n = strlen(word); - - /* What should happen if word is the empty string? */ - /* To do: compare with contains() in class.c, keep the best */ - while (line[i]) { - if (case_insensitive) { - if (!strncasecmp(line+i, word, n) && (!line[i+n] || isspace(line[i+n]))) - return True; - } else { - if (!strncmp(line+i, word, n) && (!line[i+n] || isspace(line[i+n]))) - return True; - } - do i++; while (line[i] && !isspace(line[i])); - while (isspace(line[i])) i++; - } - return False; -} - -/* starts_with -- check if line starts with prefix */ -static Boolean starts_with(const string line, const string prefix) -{ - return case_insensitive - ? strncasecmp(line, prefix, strlen(prefix)) == 0 - : strncmp(line, prefix, strlen(prefix)) == 0; -} - -/* ends_with -- check if line ends with suffix */ -static Boolean ends_with(const string line, const string suffix) -{ - int n1 = strlen(line), n2 = strlen(suffix); - return n1 >= n2 && eq(line + n1 - n2, suffix); -} - -/* contains -- check if line contains s */ -static Boolean contains(const string line, const string s) -{ - return strstr(line, s) != NULL; -} - -/* lang_match -- check if language specific is subset of general */ -static Boolean lang_match(const string specific, const string general) -{ - int n = strlen(general); - return !strncasecmp(specific, general, n) - && (specific[n] == '-' || !specific[n]); -} - -/* simple_match -- check if a node matches a simple selector */ -static Boolean simple_match(const Node *n, const SimpleSelector *s) -{ - AttribCond *p; - PseudoCond *q; - string h; - int i; - - /* Match the type selector */ - if (s->name && !same(s->name, n->name)) return False; - - /* Match the attribute selectors, including class and ID */ - for (p = s->attribs; p; p = p->next) { - if (!(h = get_attr(n, (p->op == HasClass) ? (string)"class" - : (p->op == HasID) ? (string) "id" : p->name))) - return False; - switch (p->op) { - case Exists: break; - case Equals: - case HasID: if (!eq(p->value, h)) return False; break; - case Includes: - case HasClass: if (!includes(h, p->value)) return False; break; - case StartsWith: if (!starts_with(h, p->value)) return False; break; - case EndsWidth: if (!ends_with(h, p->value)) return False; break; - case Contains: if (!contains(h, p->value)) return False; break; - case LangMatch: if (!lang_match(h, p->value)) return False; break; - default: assert(!"Cannot happen"); - } - } - - /* Match the pseudo-classes */ - for (q = s->pseudos; q; q = q->next) { - switch (q->type) { - case Root: - if (n->parent) return False; - break; - case NthChild: - i = nr_sisters(n) + 1; - if (q->a == 0) {if (i != q->b) return False;} - else {if ((i-q->b)/q->a < 0 || (i-q->b)%q->a != 0) return False;} - break; - case NthOfType: - i = nr_typed_sisters(n, n) + 1; - if (q->a == 0) {if (i != q->b) return False;} - else {if ((i-q->b)/q->a < 0 || (i-q->b)%q->a != 0) return False;} - break; - case FirstChild: - if (n->sister) return False; - break; - case FirstOfType: - if (nr_typed_sisters(n, n) != 0) return False; - break; - case Lang: - if (!lang_match(n->language, q->s)) return False; - break; - default: - assert(!"Cannot happen"); - } - } - return True; -} - -/* matches_sel -- check if node matches selector (recursively) */ -static Boolean matches_sel(const Tree t, const Selector s) -{ - Tree h; - - if (!simple_match(t, s)) return False; - if (!s->context) return True; - switch (s->combinator) { - case Descendant: - for (h = t->parent; h && !matches_sel(h, s->context); h = h->parent); - return h != NULL; - case Child: - return t->parent && matches_sel(t->parent, s->context); - case Adjacent: - return t->sister && matches_sel(t->sister, s->context); - case Sibling: - for (h = t->sister; h && !matches_sel(h, s->context); h = h->sister); - return h != NULL; - default: - assert(!"Cannot happen"); - return False; - } -} - -/* matches -- check if current node matches the selector */ -static Boolean matches(void) -{ - return matches_sel(tree, selector); -} - -/* printtag -- print a start tag or an XML-style empty tag */ -static void printtag(const string name, const pairlist attribs, - Boolean slash) -{ - pairlist p; - - printf("<%s", name); - for (p = attribs; p; p = p->next) { - printf(" %s=\"%s\"", p->name, p->value); - } - if (slash) putchar('/'); - putchar('>'); -} - -/* printsep -- print the separator string, interpret escapes */ -static void printsep(const string separator) -{ - string s = separator; - int c; - - while (*s) { - if (*s != '\\') putchar(*(s++)); - else if ('0' <= *(++s) && *s <= '7') { - c = *s - '0'; - if ('0' <= *(++s) && *s <= '7') { - c = 8 * c + *s - '0'; - if ('0' <= *(++s) && *s <= '7') c = 8 * c + *s - '0'; - } - putchar(c); s++; - } else - switch (*s) { - case '\0': putchar('\\'); break; - case 'n': putchar('\n'); s++; break; - case 't': putchar('\t'); s++; break; - case 'r': putchar('\r'); s++; break; - case 'f': putchar('\f'); s++; break; - default: putchar(*(s++)); break; - } - } -} - - -/* handle_error -- called when a parse error occurred */ -static void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -static void* start(void) -{ - return NULL; -} - -/* end -- called after the last event is reported */ -static void end(void *clientdata) -{ -} - -/* handle_comment -- called after a comment is parsed */ -static void handle_comment(void *clientdata, const string commenttext) -{ - free(commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -static void handle_text(void *clientdata, const string text) -{ - if (copying) printf("%s", text); - free(text); -} - -/* handle_declaration -- called after a declaration is parsed */ -static void handle_decl(void *clientdata, const string gi, const string fpi, - const string url) -{ - free(gi); - free(fpi); - free(url); -} - -/* handle_proc_instr -- called after a PI is parsed */ -static void handle_pi(void *clientdata, const string pi_text) -{ - free(pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -static void handle_starttag(void *clientdata, const string name, - pairlist attribs) -{ - assert(copying >= 0); - push(name, attribs); /* Add to tree */ - if (copying || matches()) copying++; /* Level of copying */ - if (copying > 1 || (copying == 1 && !content_only)) - printtag(name, attribs, False); /* Print a start tag */ -} - -/* handle_emptytag -- called after an empty tag is parsed */ -static void handle_emptytag(void *clientdata, const string name, - pairlist attribs) -{ - assert(copying >= 0); - push(name, attribs); /* Add to tree */ - if (copying || matches()) copying++; /* Level of copying */ - if (copying > 1 || (copying == 1 && !content_only)) - printtag(name, attribs, True); /* Print a start tag */ - if (copying == 1) printsep(separator); /* Separate the matches */ - if (copying) copying--; - pop(name); /* Remove from tree again */ -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -static void handle_endtag(void *clientdata, const string name) -{ - assert(copying >= 0); - if (copying > 1 || (copying == 1 && !content_only)) printf("</%s>", name); - if (copying == 1) printsep(separator); /* Separate the matches */ - if (copying) copying--; - pop(name); - free(name); -} - -/* usage -- print usage message and exit */ -static void usage(const string name) -{ - errexit("Version %s\n\ -Usage: %s [-i] [-c] [-l language] [-s separator] selector\n", VERSION, name); -} - - -int main(int argc, char *argv[]) -{ - string s; - int c; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Command line options */ - while ((c = getopt(argc, argv, "icl:s:")) != -1) { - switch (c) { - case 'c': content_only = True; break; - case 'l': language = optarg; break; - case 's': separator = optarg; break; - case 'i': case_insensitive = True; break; - case '?': usage(argv[0]); break; - default: assert(!"Cannot happen"); - } - } - - /* Parse the selector */ - if (optind >= argc) usage(argv[0]); /* Need at least 1 arg */ - for (s = newstring(argv[optind++]); optind < argc; optind++) - strapp(&s, " ", argv[optind], NULL); - selector = parse_selector(s); - -#if 0 - /* Debugging */ - fprintf(stderr, "--> %s\n", selector_to_string(selector)); -#endif - - /* Walk the tree */ - yyin = stdin; - if (yyparse() != 0) exit(3); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/testruns/xselect.e b/arid_examples/html-xml-utils-3.0/testruns/xselect.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/y*.e b/arid_examples/html-xml-utils-3.0/testruns/y*.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/testruns/z*.e b/arid_examples/html-xml-utils-3.0/testruns/z*.e deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/textwrap.c b/arid_examples/html-xml-utils-3.0/textwrap.c deleted file mode 100644 index c2a23cfdb..000000000 --- a/arid_examples/html-xml-utils-3.0/textwrap.c +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Routines to wrap lines and indent them. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos - * Created 10 May 1998 - * $Id: textwrap.c,v 1.17 2004/04/26 12:34:24 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#include <ctype.h> -#include <assert.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include "export.h" -#include "types.e" -#include "errexit.e" - -/* To do: get rid of this arbitrary limit */ -#define MAXLINE 32768 -#define NBSP 128 /* Marks non-break-space */ - -static unsigned char buf[MAXLINE]; -static int len = 0; /* Length of buf */ -static int linelen = 0; /* Length of printed line */ -static int level = 0; /* Indentation level */ -static int indent = 2; /* # of spaces per indent */ -static int maxlinelen = 72; /* Desired line length */ -static char prev = NBSP; /* Previously added char */ - -/* set_indent -- set the amount of indent per level */ -EXPORT void set_indent(int n) {indent = n;} - -/* set_linelen -- set the maximum length of a line */ -EXPORT void set_linelen(int n) {maxlinelen = n;} - -/* flush -- print word in buf */ -EXPORT void flush() -{ - int i, j; - - assert(len <= sizeof(buf)); - while (len != 0 && linelen + len >= maxlinelen) { /* Line needs break */ - /* Find last space before maxlinelen */ - for (i = maxlinelen - linelen - 1; i >= 0 && buf[i] != ' '; i--) ; - /* If none, find first space after maxlinelen, or end of buffer */ - if (i < 0) - for (i = linelen <= maxlinelen ? maxlinelen - linelen : 0; - i < len && buf[i] != ' '; i++) ; - if (i == len) break; /* No breakpoint */ - assert(i >= 0); /* Found a breakpoint at i */ - assert(buf[i] == ' '); - /* Print up to breakpoint (removing non-break-space markers) */ - for (j = 0; j < i; j++) putchar(buf[j] != NBSP ? buf[j] : ' '); - putchar('\n'); /* Break line */ - linelen = 0; - assert(level >= 0); - assert(len >= 0); - assert(i <= len); - i++; /* Skip the breakpoint */ -#if 0 - while (i < len && buf[i] == ' ') i++; /* Skip any subseq. spaces */ -#endif - memmove(buf + level * indent, buf + i, len - i); - for (j = 0; j < level * indent; j++) buf[j] = NBSP; /* Indent */ - len += level * indent - i; - } - /* Print rest, if any (removing non-break-space markers) */ - /* First remove spaces at end of line */ - while (len > 0 && buf[len-1] == ' ') len--; - for (j = 0; j < len; j++) putchar(buf[j] != NBSP ? buf[j] : ' '); - linelen += len; - len = 0; -} - -/* outc -- add one character to output buffer */ -EXPORT void outc(unsigned char c, Boolean preformatted) -{ - if (c == '\n' && !preformatted) c = ' '; /* Newline is just a space */ - if (c == '\r' && !preformatted) c = ' '; /* CR is just a space */ - if (c == '\t' && !preformatted) c = ' '; /* Tab is just a space */ - if (c == '\f' && !preformatted) c = ' '; /* Formfeed is just a space */ - if (c == ' ' && preformatted) c = NBSP; /* Non-break-space marker */ - if (c == ' ' && prev == ' ') return; /* Don't add another space */ - if (c == ' ' && linelen + len >= maxlinelen) flush(); /* Empty the buf */ - if (c == '\n' || c == '\r' || c == '\f') flush(); /* Empty the buf */ - if (c == ' ' && linelen + len == 0) return; /* No ins at BOL */ - if (level * indent >= MAXLINE) errexit("Buffer overflow, sorry\n"); /* Hmm */ - if (linelen + len == 0) while (len < level * indent) buf[len++] = NBSP; - if (c == ' ' && len && buf[len-1] == ' ') return; /* Skip multiple spaces */ - if (len >= MAXLINE) errexit("Buffer overflow, sorry\n"); /* Hmm... */ - buf[len++] = c; /* Finally, insert c */ - prev = c; /* Remember for next round */ -} - -/* out -- add text to current output line, print line if getting too long */ -EXPORT void out(unsigned char *s, Boolean preformatted) -{ - if (s) for (; *s; s++) outc(*s, preformatted); -} - -/* outn -- add n chars to current output, print line if getting too long */ -EXPORT void outn(unsigned char *s, size_t n, Boolean preformatted) -{ - size_t i; - for (i = 0; i < n; i++) outc(s[i], preformatted); -} - -/* outln -- add string to output buffer, followed by '\n' */ -EXPORT void outln(unsigned char *s, Boolean preformatted) -{ - out(s, preformatted); - flush(); - assert(len == 0); - putchar('\n'); - linelen = 0; -} - -/* outbreak -- conditional new line; make sure next text starts on new line */ -EXPORT void outbreak() -{ - flush(); - assert(len == 0); - if (linelen != 0) { - putchar('\n'); - linelen = 0; - } -} - -/* inc_indent -- increase indentation level by 1 */ -EXPORT void inc_indent(void) -{ - flush(); - level++; -} - -/* decc_indent -- decrease indentation level by 1 */ -EXPORT void dec_indent(void) -{ - flush(); - level--; -} diff --git a/arid_examples/html-xml-utils-3.0/textwrap.e b/arid_examples/html-xml-utils-3.0/textwrap.e deleted file mode 100644 index 4d7709d35..000000000 --- a/arid_examples/html-xml-utils-3.0/textwrap.e +++ /dev/null @@ -1,10 +0,0 @@ - void set_indent(int n); - void set_linelen(int n); - void flush(); - void outc(unsigned char c, Boolean preformatted); - void out(unsigned char *s, Boolean preformatted); - void outn(unsigned char *s, size_t n, Boolean preformatted); - void outln(unsigned char *s, Boolean preformatted); - void outbreak(); - void inc_indent(void); - void dec_indent(void); diff --git a/arid_examples/html-xml-utils-3.0/tfind.c b/arid_examples/html-xml-utils-3.0/tfind.c deleted file mode 100644 index 6427d958e..000000000 --- a/arid_examples/html-xml-utils-3.0/tfind.c +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: tfind.c,v 1.2 1999/09/16 11:45:37 lukem Exp $ */ -/* $FreeBSD: src/lib/libc/stdlib/tfind.c,v 1.1.2.1 2000/08/17 07:38:39 jhb Exp $ */ - -/* - * Tree search generalized from Knuth (6.2.2) Algorithm T just like - * the AT&T man page says. - * - * The node_t structure is for internal use only, lint doesn't grok it. - * - * Written by reading the System V Interface Definition, not the code. - * - * Totally public domain. - */ - -#include <sys/cdefs.h> -#if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: tfind.c,v 1.2 1999/09/16 11:45:37 lukem Exp $"); -#endif /* LIBC_SCCS and not lint */ - -#include <assert.h> -#define _SEARCH_PRIVATE -#include <stdlib.h> -#include "config.h" -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif - -/* find a node, or return 0 */ -void * -tfind(vkey, vrootp, compar) - const void *vkey; /* key to be found */ - void **vrootp; /* address of the tree root */ - int (*compar) __P((const void *, const void *)); -{ - node_t **rootp = (node_t **)vrootp; - - if (rootp == NULL) - return NULL; - - while (*rootp != NULL) { /* T1: */ - int r; - - if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */ - return *rootp; /* key found */ - rootp = (r < 0) ? - &(*rootp)->llink : /* T3: follow left branch */ - &(*rootp)->rlink; /* T4: follow right branch */ - } - return NULL; -} diff --git a/arid_examples/html-xml-utils-3.0/timing_runs.sh b/arid_examples/html-xml-utils-3.0/timing_runs.sh deleted file mode 100755 index fea49bb40..000000000 --- a/arid_examples/html-xml-utils-3.0/timing_runs.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -. /home/jdh8d/peasoup/set_env - -benchs="count wls xref" -links="dynamic static" -echo "Running NATIVE" - -for l1 in $links -do - for b1 in $benchs - do - scr_to_run="native_build.$l1.sh" - echo "-------------------------------------------------" - time -o native.$l1.$b1.time.out -f "%E real\n%U user\n%S sys\n" sh ${scr_to_run} $b1 - echo "-------------------------------------------------" - done -done -echo "END NATIVE" - -echo "Running PS" - -for l in $links -do - for b in $benchs - do - script_to_run="${l}_ps.sh" - echo "-------------------------------------------------" - echo " BEGIN " - echo " Running time sh ${l}_ps.sh $b" - echo "-------------------------------------------------" - echo - time -o ps_$l.$b.time.out -f "%E real\n%U user\n%S sys\n" sh ${script_to_run} $b - echo "-------------------------------------------------" - echo "Time for $l configure and ps_analyze for $b above" - echo "-------------------------------------------------" - echo " END" - echo "-------------------------------------------------" - done -done - -echo "END PS" - - diff --git a/arid_examples/html-xml-utils-3.0/toc.1 b/arid_examples/html-xml-utils-3.0/toc.1 deleted file mode 100644 index 5cf471326..000000000 --- a/arid_examples/html-xml-utils-3.0/toc.1 +++ /dev/null @@ -1,92 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "2 Dec 1998" -.SH NAME -toc \- insert a table of contents in an HTML file -.SH SYNOPSIS -.B toc -.RB "[\| " \-x " \|]" -.RB "[\| " \-l -.IR low " \|]" -.RB "[\| " \-h -.IR high " \|]" -.RB "[\| " file " \|]" -.RB "[\| " \-t " \|]" -.SH DESCRIPTION -.LP -The -.B toc -command reads an HTML file, inserts ID attributes in all H1 to H6 that -don't have one already, and also inserts A elements with NAME -attributes, so old browsers will recognize the H1 to H6 headers as -target anchors as well. The output is written to stdout. -.LP -If there is a comment of the form -.d -<!\-\-toc\-\-> -.e -or a pair of comments -.d -<!\-\-begin-toc\-\-> -<!\-\-end-toc\-\-> -.e -then the comment, or the pair with everything in between will be -replaced by a table of contents, consisting of a list (UL) of links to -all headers in the document. -.LP -If a header has a CLASS attribute with as value (or one of its values) -the keyword "no-toc", then that header will not appear in the table -of contents. -.SH OPTIONS -The following options are supported: -.TP 10 -.B \-x -Use XML conventions: empty elements are written with a slash at the -end: <IMG\ /> -.TP -.BI \-l " low" -Sets the lowest numbered header to appear in the table of -content. Default is 1 (i.e., H1). -.TP -.BI \-h " high" -Sets the highest numbered header to appear in the table of -content. Default is 6 (i.e., H6). -.TP -.B \-t -Normally, -.B toc -adds both ID attributes and empty A elements with a NAME attribute and -CLASS="bctarget", so that older browsers that do no understand ID will -still find the target. With this option, the A elements will not be -generated. -.SH OPERANDS -The following operand is supported: -.TP 10 -.I file -The name of an HTML file. If absent, standard input is read instead. -.SH "EXIT STATUS" -The following exit values are returned: -.TP 10 -.B 0 -Successful completion. -.TP -.B >0 -An error occurred in the parsing of the HTML file. -.B toc -will try to correct the error and produce output anyway. -.SH "SEE ALSO" -.BR num (1), -.BR normalize (1), -.BR xml2asc (1) -.BR asc2xml (1) -.SH BUGS -.LP -The error recovery for incorrect HTML is primitive. diff --git a/arid_examples/html-xml-utils-3.0/toc.c b/arid_examples/html-xml-utils-3.0/toc.c deleted file mode 100644 index b0065168e..000000000 --- a/arid_examples/html-xml-utils-3.0/toc.c +++ /dev/null @@ -1,381 +0,0 @@ -/* - * Insert an active ToC between "<!--begin-toc-->" and "<!--end-toc-->", - * or replacing the comment "<!--toc-->" - * - * Headers with class "no-toc" will not be listed in the ToC. - * - * The ToC links to elements with ID attributes as well as with - * empty <A NAME> elements. - * - * Tags for a <SPAN> with class "index" are assumed to be used by - * a cross-reference generator and will not be copied to the ToC. - * - * Any <A> tags with a class of "bctarget" are not copied, but - * regenerated. They are assumed to be backwards-compatible versions - * of ID attributes on their parent elements. With the option -t or -x - * they are removed. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created Sep 1997 - * Version: $Id: toc.c,v 1.34 2003/04/09 10:07:12 bbos Exp $ - * - **/ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif - -#include "export.h" -#include "types.e" -#include "heap.e" -#include "tree.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "errexit.e" -#include "genid.e" -#include "class.e" - -#define BEGIN_TOC "begin-toc" /* <!--begin-toc--> */ -#define END_TOC "end-toc" /* <!--end-toc--> */ -#define TOC "toc" /* <!--toc--> */ -#define NO_TOC "no-toc" /* CLASS="... no-toc..." */ -#define INDEX "index" /* CLASS="... index..." */ -#define TARGET "bctarget" /* CLASS="...bctarget..." */ - -#define EXPAND True -#define NO_EXPAND False -#define KEEP_ANCHORS True -#define REMOVE_ANCHORS False - -#define INDENT " " /* Amount to indent ToC per level */ - -static Tree tree; -static int toc_low = 1, toc_high = 6; /* Which headers to include */ -static Boolean xml = False; /* Use <empty /> convention */ -static Boolean bctarget = True; /* Generate <a name=> after IDs */ - - -/* handle_error -- called when a parse error occurred */ -EXPORT void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -EXPORT void* start(void) -{ - tree = create(); - return NULL; -} - -/* end -- called after the last event is reported */ -EXPORT void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -EXPORT void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - -/* handle_text -- called after a tex chunk is parsed */ -EXPORT void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - -/* handle_declaration -- called after a declaration is parsed */ -EXPORT void handle_decl(void *clientdata, string gi, - string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - -/* handle_proc_instr -- called after a PI is parsed */ -EXPORT void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -EXPORT void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - tree = html_push(tree, name, attribs); - - /* If it has an ID, store it (so we don't accidentally generate it) */ - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, "id") == 0 && p->value) storeID(p->value); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -EXPORT void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - handle_starttag(clientdata, name, attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -EXPORT void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - -/* indent -- print level times a number of spaces */ -static void indent(int level) -{ - for (; level > 0; level--) printf(INDENT); -} - -static void expand(Tree t, Boolean *write, Boolean exp, Boolean keep_anchors); - -/* toc -- create a table of contents */ -static void toc(Tree t, int *curlevel, Boolean *item_is_open) -{ - int level; - Tree h; - unsigned char *id, *val; - Boolean write = True; - - switch (t->tp) { - case Text: break; - case Comment: break; - case Declaration: break; - case Procins: break; - case Element: - /* Check if the element is a heading */ - if (eq(t->name, "h1")) level = 1; - else if (eq(t->name, "h2")) level = 2; - else if (eq(t->name, "h3")) level = 3; - else if (eq(t->name, "h4")) level = 4; - else if (eq(t->name, "h5")) level = 5; - else if (eq(t->name, "h6")) level = 6; - else level = -1; - /* Check if it has a "no-toc" class */ - if (level > 0 && get_attrib(t, "class", &val) && contains(val, NO_TOC)) - level = -1; - /* If it's a header for the ToC, create a list item for it */ - if (level >= toc_low && level <= toc_high) { - /* Ensure there is an ID to point to */ - if (! get_attrib(t, "id", NULL)) set_attrib(t, "id", gen_id(t)); - assert(*curlevel <= level || *item_is_open); - while (*curlevel > level) { - printf(xml ? "</li>\n" : "\n"); - indent(*curlevel - toc_low); - printf("</ul>"); - (*curlevel)--; - } - if (*curlevel == level && *item_is_open) { - printf(xml ? "</li>\n" : "\n"); - } else if (*item_is_open) { - printf("\n"); - (*curlevel)++; - indent(*curlevel - toc_low); - printf("<ul class=\"%s\">\n", TOC); - } - while (*curlevel < level) { - indent(*curlevel - toc_low); - printf("<li>\n"); - (*curlevel)++; - indent(*curlevel - toc_low); - printf("<ul class=\"%s\">\n", TOC); - } - (void) get_attrib(t, "id", &id); - indent(*curlevel - toc_low); - printf("<li><a href=\"#%s\">", id); - expand(t, &write, NO_EXPAND, REMOVE_ANCHORS); - printf("</a>"); - *item_is_open = True; - } else { - for (h = t->children; h != NULL; h = h->sister) toc(h, curlevel, item_is_open); - } - break; - case Root: - for (h = t->children; h != NULL; h = h->sister) toc(h, curlevel, item_is_open); - break; - default: assert(! "Cannot happen"); - } -} - -/* expand -- write the tree, inserting ID's at H* and inserting a toc */ -static void expand(Tree t, Boolean *write, Boolean exp, Boolean keep_anchors) -{ - Tree h; - pairlist a; - int level; - Boolean item_is_open = False; - - for (h = t->children; h != NULL; h = h->sister) { - switch (h->tp) { - case Text: - if (*write) printf("%s", h->text); - break; - case Comment: - if (exp && (eq(h->text, TOC) || eq(h->text, BEGIN_TOC))) { - printf("<!--%s-->\n", BEGIN_TOC); - printf("<ul class=\"%s\">\n", TOC); - level = toc_low; - toc(get_root(t), &level, &item_is_open); - while (level > toc_low) { - printf(xml ? "</li>\n" : "\n"); - indent(level - toc_low); - printf("</ul>"); - level--; - } - if (item_is_open && xml) printf("</li>\n"); - printf("</ul>\n"); - printf("<!--%s-->", END_TOC); - if (eq(h->text, BEGIN_TOC)) - *write = False; /* Suppress old ToC */ - } else if (exp && eq(h->text, END_TOC)) { - *write = True; - } else { - printf("<!--%s-->", h->text); - } - break; - case Declaration: - printf("<!DOCTYPE %s", h->name); - if (h->text) printf(" PUBLIC \"%s\"", h->text); else printf(" SYSTEM"); - if (h->url) printf(" \"%s\"", h->url); - printf(">"); - break; - case Procins: - if (*write) printf("<?%s>", h->text); - break; - case Element: - if (eq(h->name, "h1") || eq(h->name, "h2") || eq(h->name, "h3") - || eq(h->name, "h4") || eq(h->name, "h5") || eq(h->name, "h6")) { - /* Give headers an ID, if they don't have one */ - if (! get_attrib(h, "id", NULL)) set_attrib(h, "id", gen_id(h)); - } - if (*write) { - if (! keep_anchors && eq(h->name, "a")) { - /* Don't write the <a> and </a> tags */ - expand(h, write, exp, False); - } else if (! keep_anchors && eq(h->name, "span") - && has_class(h->attribs, INDEX)) { - /* Don't write <span.index>...</span> tags */ - expand(h, write, exp, False); - } else if (eq(h->name, "a") && (has_class(h->attribs, TARGET) - || has_class(h->attribs, TOC))) { - /* This <a> was inserted by toc itself; remove it */ - expand(h, write, exp, False); - } else { - printf("<%s", h->name); - for (a = h->attribs; a != NULL; a = a->next) { - if (keep_anchors || !eq(a->name, "id")) { - /* If we don't keep anchors, we don't keep IDs either */ - printf(" %s", a->name); - if (a->value != NULL) printf("=\"%s\"", a->value); - } - } - if (is_empty(h->name)) { - assert(h->children == NULL); - printf(xml ? " />" : ">"); - } else { - string val; - printf(">"); - /* Insert an <A NAME> if element has an ID and is not <A> */ - if (bctarget && is_mixed(h->name) && get_attrib(h, "id", &val) - && !eq(h->name, "a") && ! xml) - printf("<a class=\"%s\" name=\"%s\"></a>", TARGET, val); - expand(h, write, exp, keep_anchors); - printf("</%s>", h->name); - } - } - } - break; - case Root: - assert(! "Cannot happen"); - break; - default: - assert(! "Cannot happen"); - } - } -} - -/* usage -- print usage message and exit */ -static void usage(string name) -{ - errexit("Version %s\nUsage: %s [-l low] [-h high] [-x] [-t] [html-file]\n", - VERSION, name); -} - - -int main(int argc, char *argv[]) -{ - int i; - Boolean write = True; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - yyin = stdin; - for (i = 1; i < argc; i++) { - if (eq(argv[i], "-l")) { - if (i >= argc - 1) usage(argv[0]); - toc_low = atoi(argv[++i]); - } else if (eq(argv[i], "-h")) { - if (i >= argc - 1) usage(argv[0]); - toc_high = atoi(argv[++i]); - } else if (eq(argv[i], "-x")) { - xml = True; - } else if (eq(argv[i], "-t")) { - bctarget = False; - } else if (eq(argv[i], "-")) { - /* yyin = stdin; */ - } else { - yyin = fopenurl(argv[i], "r"); - if (yyin == NULL) { - perror(argv[1]); - exit(2); - } - } - } - if (toc_low < 1) toc_low = 1; - if (toc_high > 6) toc_high = 6; - - if (yyparse() != 0) exit(3); - - tree = get_root(tree); - expand(tree, &write, EXPAND, KEEP_ANCHORS); - tree_delete(tree); /* Just to test memory mgmt */ - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/tree.c b/arid_examples/html-xml-utils-3.0/tree.c deleted file mode 100644 index a35651958..000000000 --- a/arid_examples/html-xml-utils-3.0/tree.c +++ /dev/null @@ -1,509 +0,0 @@ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: tree.c,v 1.34 2003/12/04 13:23:14 bbos Exp $ - **/ -#include <config.h> -#include <assert.h> -#include <stdlib.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRDUP -# include "strdup.e" -# endif -#endif -#include <ctype.h> -#include <stdio.h> -#include "export.h" -#include "heap.e" -#include "types.e" -#include "dtd.e" - -EXPORT typedef enum { - Element, Text, Comment, Declaration, Procins, Root -} Nodetype; - -EXPORT typedef struct _node { - Nodetype tp; - string name; - pairlist attribs; - string text; - string url; - struct _node *parent; - struct _node *sister; - struct _node *children; -} Node, *Tree; - - - -/* down -- convert a string to lowercase, return pointer to arg */ -static inline string down(string s) -{ - string t; - for (t = s; *t; t++) *t = tolower(*t); - return s; -} - -/* create -- create an empty tree */ -EXPORT Tree create(void) -{ - Tree t = malloc(sizeof(*t)); - assert(t != NULL); - t->tp = Root; - t->name = ""; - t->children = t->children = NULL; - return t; -} - -/* tree_delete -- recursively free the memory occupied by a tree */ -EXPORT void tree_delete(Tree t) -{ - if (t != NULL) { - switch (t->tp) { - case Element: - dispose(t->name); - pairlist_delete(t->attribs); - tree_delete(t->sister); - tree_delete(t->children); - break; - case Text: - dispose(t->text); - assert(t->children == NULL); - tree_delete(t->sister); - break; - case Comment: - dispose(t->text); - assert(t->children == NULL); - tree_delete(t->sister); - break; - case Declaration: - dispose(t->name); - dispose(t->text); - dispose(t->url); - assert(t->children == NULL); - tree_delete(t->sister); - break; - case Procins: - dispose(t->text); - assert(t->children == NULL); - tree_delete(t->sister); - break; - case Root: - assert(t->sister == NULL); - tree_delete(t->children); - break; - default: - assert(!"Cannot happen"); - } - dispose(t); - } -} - -/* get_root -- return root of tree */ -EXPORT Tree get_root(Tree t) -{ - while (t->tp != Root) t = t->parent; - return t; -} - -/* get_attrib -- return a ptr to the value of a named attibute, or False */ -EXPORT Boolean get_attrib(Node *e, const string attname, string *val) -{ - pairlist h; - - assert(e->tp == Element); - for (h = e->attribs; h != NULL; h = h->next) { - if (strcasecmp(h->name, attname) == 0) { - if (val != NULL) *val = h->value; - return True; - } - } - return False; -} - -/* set_attrib -- set an attribute to a value */ -EXPORT void set_attrib(Node *e, string name, string value) -{ - pairlist h, p; - assert(e->tp == Element); - for (h = e->attribs; h != NULL; h = h->next) { - if (strcasecmp(h->name, name) == 0) { - free(h->value); - h->value = strdup(value); - return; - } - } - h = malloc(sizeof(*h)); - assert(h != NULL); - h->name = strdup(name); - down(h->name); - h->value = strdup(value); - h->next = NULL; - /* Insert into sorted list */ - /* ToDo: the list is not sorted by html_push; do we need sorting? */ - if (e->attribs == NULL || strcmp(h->name, e->attribs->name) < 0) { - h->next = e->attribs; - e->attribs = h; - } else { - p = e->attribs; - while (p->next != NULL && strcmp(h->name, p->next->name) > 0) p = p->next; - h->next = p->next; - p->next = h; - } -} - -/* wrap_contents -- wrap contents of a node in an element, return new elt */ -EXPORT Tree wrap_contents(Node *n, const string elem, pairlist attr) -{ - Node *h, *k; - - new(h); - h->tp = Element; - h->name = down(newstring(elem)); - h->attribs = attr; - h->sister = NULL; - h->parent = n; - h->children = n->children; - n->children = h; - for (k = h->children; k; k = k->sister) k->parent = h; - return h; -} - -/* push -- add a child node to the tree */ -static Tree push(Tree t, Node *n) -{ - if (t->children == NULL) { - t->children = n; - } else { - Tree h = t->children; - while (h->sister != NULL) h = h->sister; - h->sister = n; - } - n->parent = t; - return n; -} - -/* pop -- go up one level */ -static Tree pop(Tree t) -{ - assert(t != NULL); - assert(t->tp != Root); - return t->parent; -} - -/* append -- add at end of children */ -static Tree append(Tree t, Node *n) -{ - assert(t != NULL); - if (t->children == NULL) { - t->children = n; - } else { - Tree h = t->children; - while (h->sister != NULL) h = h->sister; - h->sister = n; - } - n->parent = t; - return t; -} - -/* lookup -- lookup info about an element case-insensitively */ -static const ElementType *lookup(const string e) -{ - unsigned char h[MAXNAMELEN+2]; - down(strncpy(h, e, sizeof(h) - 1)); - return lookup_element(h, strlen(e)); -} - -/* is_known -- true if the element is an HTML 4 element */ -EXPORT Boolean is_known(const string e) -{ - return lookup(e) != NULL; -} - -/* is_pre -- true if the element has preformatted content */ -EXPORT Boolean is_pre(const string e) -{ - const ElementType *info = lookup(e); - return info && info->pre; -} - -/* need_stag -- true if the element's start tag is required */ -EXPORT Boolean need_stag(const string e) -{ - const ElementType *info = lookup(e); - return !info || info->stag; -} - -/* need_etag -- true if the element's end tag is required */ -EXPORT Boolean need_etag(const string e) -{ - const ElementType *info = lookup(e); - return !info || info->etag; -} - -/* is_empty -- true if element is empty */ -EXPORT Boolean is_empty(const string e) -{ - const ElementType *info = lookup(e); - return info && info->empty; -} - -/* has_parent -- true if c accepts p as a parent */ -static Boolean has_parent(const char *c, const char *p) -{ - const ElementType *info = lookup_element(c, strlen(c)); - int i; - if (!info) return False; - for (i = 0; info->parents[i]; i++) - if (eq(info->parents[i], p)) return True; - return False; -} - -/* preferred_parent -- return first possible parent of e */ -static char *preferred_parent(const char *e) -{ - const ElementType *info = lookup_element(e, strlen(e)); - assert(info != NULL); /* element is known */ - assert(info->parents[0] != NULL); /* element is not root */ - return info->parents[0]; -} - -/* is_root -- true if e has no possible parents */ -static Boolean is_root(const char *e) -{ - const ElementType *info = lookup_element(e, strlen(e)); - assert(info != NULL); /* element is known */ - return info->parents[0] == NULL; -} - -/* is_mixed -- true if e accepts text content */ -EXPORT Boolean is_mixed(const string e) -{ - const ElementType *info = lookup(e); - return !info || info->mixed; -} - -/* break_before -- true if element looks better with a newline before it */ -EXPORT Boolean break_before(const string e) -{ - const ElementType *info = lookup(e); - return info && info->break_before; -} - -/* break_after -- true if element looks better with a newline after it */ -EXPORT Boolean break_after(const string e) -{ - const ElementType *info = lookup(e); - return info && info->break_after; -} - -/* build_path -- try to add omittable start tags to make elem acceptable */ -static Boolean build_path(Tree *t, string elem) -{ - const ElementType *info; - Node *n; - int i; - - assert(is_known(elem)); - assert(is_known((*t)->name)); - - /* Check if we are done */ - if (has_parent(elem, (*t)->name)) return True; - - /* Try recursively if any possible parent can be a child of t */ - info = lookup(elem); - for (i = 0; info->parents[i]; i++) { - if (!need_stag(info->parents[i]) && build_path(t, info->parents[i])) { - /* Success, so add this parent and return True */ - n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Element; - n->name = newstring(info->parents[i]); - assert(islower(n->name[0])); - n->attribs = NULL; - n->sister = n->children = NULL; - *t = push(*t, n); - return True; - } - } - return False; -} - -/* html_push -- add an element to the tree, open or close missing elements */ -EXPORT Tree html_push(Tree t, string elem, pairlist attr) -{ - pairlist a; - Node *h, *n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Element; - n->name = down(newstring(elem)); - for (a = attr; a; a = a->next) down(a->name); - n->attribs = attr; - n->sister = n->children = NULL; - - /* Unknown elements are just pushed where they are */ - if (!is_known(n->name)) return push(t, n); - - if (is_root(n->name)) { - while (t->tp != Root) t = pop(t); /* Make sure root is at root */ - } else if (is_known(t->name) && build_path(&t, n->name)) { - ; /* Added missing start tags */ - } else { - /* Check if there is a possible parent further up the tree */ - for (h=t; h->tp!=Root && is_known(h->name) && !has_parent(n->name,h->name); - h = h->parent) ; - /* Close omitted end tags */ - if (h->tp != Root) while (t != h) t = pop(t); - /* If no valid parent, fabricate one */ - if (t->tp == Root || (is_known(t->name) && !has_parent(n->name, t->name))) - t = html_push(t, preferred_parent(n->name), NULL); - } - t = push(t, n); - - if (is_empty(n->name)) t = pop(t); - return t; -} - -/* html_pop -- close an open element */ -EXPORT Tree html_pop(Tree t, string elem) -{ - Tree h = t; - assert(t != NULL); - down(elem); - if (*elem == '\0') { /* </> */ - if (t->tp != Root) t = pop(t); - } else { /* </name> */ - for (h = t; h->tp != Root && !eq(h->name, elem); h = h->parent) ; - if (h->tp != Root) { /* Found open element */ - while (t != h) t = pop(t); - t = pop(t); - } - } - return t; -} - -/* append_comment -- add a comment to the tree */ -EXPORT Tree append_comment(Tree t, string comment) -{ - Node *n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Comment; - n->text = comment; - n->sister = n->children = NULL; - return append(t, n); -} - -/* append_declaration -- add a declaration to the tree */ -EXPORT Tree append_declaration(Tree t, string gi, - string fpi, string url) -{ - Node *n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Declaration; - n->name = down(gi); - n->text = fpi; - n->url = url; - n->sister = n->children = NULL; - return append(t, n); -} - -/* append_procins -- append a processing instruction */ -EXPORT Tree append_procins(Tree t, string procins) -{ - Node *n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Procins; - n->text = procins; - n->sister = n->children = NULL; - return append(t, n); -} - -/* is_whitespace -- true if whole string consists of whitespace */ -static Boolean is_whitespace(string s) -{ - for (;*s != '\0'; s++) - if (*s != ' ' && *s != '\t' && *s != '\r' && *s != '\n') return False; - return True; -} - -/* append_text -- append a text chunk to the document tree */ -EXPORT Tree append_text(Tree t, string text) -{ - Node *n; - string new_parent; - - if (is_whitespace(text) - && (t->tp == Root || !is_mixed(t->name))) { - /* Drop text, since it is non-significant whitespace */ - return t; - } - if (t->tp == Root || !is_mixed(t->name)) { - /* Need heuristics to make a valid tree */ - new_parent = preferred_parent("%data"); - /* Close omitted end tags until text or preferred parent fits */ - while (t->tp != Root && !is_mixed(t->name) && !need_etag(t->name) - && !has_parent(new_parent, t->name)) - t = pop(t); - /* Fabricate a parent if needed */ - if (t->tp == Root || !is_mixed(t->name)) - t = html_push(t, new_parent, NULL); - } - n = malloc(sizeof(*n)); - assert(n != NULL); - n->tp = Text; - n->text = text; - assert(n->text != NULL); - n->sister = n->children = NULL; - return append(t, n); -} - -static void dump2(Tree n) -{ - pairlist h; - Tree l; - - switch (n->tp) { - case Text: printf("%s", n->text); break; - case Comment: printf("<!--%s-->", n->text); break; - case Declaration: - printf("<!DOCTYPE %s", n->name); - if (n->text) printf(" \"%s\"", n->text); else printf(" SYSTEM"); - if (n->url) printf(" \"%s\"", n->url); - printf(">\n"); - break; - case Procins: printf("<?%s>", n->text); break; - case Element: - printf("<%s", n->name); - for (h = n->attribs; h != NULL; h = h->next) { - printf(" %s", h->name); - if (h->value != NULL) printf("=\"%s\"", h->value); - } - if (is_empty(n->name)) { - assert(n->children == NULL); - printf(" />"); - } else { - printf(">"); - for (l = n->children; l != NULL; l = l->sister) dump2(l); - printf("</%s>", n->name); - } - break; - default: - assert(!"Cannot happen"); - } -} - -/* dumptree -- write out the tree below t (t's children, not t itself)*/ -EXPORT void dumptree(Tree t) -{ - Tree h; - - for (h = t->children; h != NULL; h = h->sister) dump2(h); -} diff --git a/arid_examples/html-xml-utils-3.0/tree.e b/arid_examples/html-xml-utils-3.0/tree.e deleted file mode 100644 index b9bd545ee..000000000 --- a/arid_examples/html-xml-utils-3.0/tree.e +++ /dev/null @@ -1,35 +0,0 @@ - typedef enum { - Element, Text, Comment, Declaration, Procins, Root -} Nodetype; - typedef struct _node { - Nodetype tp; - string name; - pairlist attribs; - string text; - string url; - struct _node *parent; - struct _node *sister; - struct _node *children; -} Node, *Tree; - Tree create(void); - void tree_delete(Tree t); - Tree get_root(Tree t); - Boolean get_attrib(Node *e, const string attname, string *val); - void set_attrib(Node *e, string name, string value); - Tree wrap_contents(Node *n, const string elem, pairlist attr); - Boolean is_known(const string e); - Boolean is_pre(const string e); - Boolean need_stag(const string e); - Boolean need_etag(const string e); - Boolean is_empty(const string e); - Boolean is_mixed(const string e); - Boolean break_before(const string e); - Boolean break_after(const string e); - Tree html_push(Tree t, string elem, pairlist attr); - Tree html_pop(Tree t, string elem); - Tree append_comment(Tree t, string comment); - Tree append_declaration(Tree t, string gi, - string fpi, string url); - Tree append_procins(Tree t, string procins); - Tree append_text(Tree t, string text); - void dumptree(Tree t); diff --git a/arid_examples/html-xml-utils-3.0/tsearch.c b/arid_examples/html-xml-utils-3.0/tsearch.c deleted file mode 100644 index fbe9510a9..000000000 --- a/arid_examples/html-xml-utils-3.0/tsearch.c +++ /dev/null @@ -1,62 +0,0 @@ -/* $NetBSD: tsearch.c,v 1.3 1999/09/16 11:45:37 lukem Exp $ */ -/* $FreeBSD: src/lib/libc/stdlib/tsearch.c,v 1.1.2.1 2000/08/17 07:38:39 jhb Exp $ */ - -/* - * Tree search generalized from Knuth (6.2.2) Algorithm T just like - * the AT&T man page says. - * - * The node_t structure is for internal use only, lint doesn't grok it. - * - * Written by reading the System V Interface Definition, not the code. - * - * Totally public domain. - */ - -#include <sys/cdefs.h> -#if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: tsearch.c,v 1.3 1999/09/16 11:45:37 lukem Exp $"); -#endif /* LIBC_SCCS and not lint */ - -#include <assert.h> -#define _SEARCH_PRIVATE -#include "config.h" -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif -#include <stdlib.h> - -/* find or insert datum into search tree */ -void * -tsearch(vkey, vrootp, compar) - const void *vkey; /* key to be located */ - void **vrootp; /* address of tree root */ - int (*compar) __P((const void *, const void *)); -{ - node_t *q; - node_t **rootp = (node_t **)vrootp; - - if (rootp == NULL) - return NULL; - - while (*rootp != NULL) { /* Knuth's T1: */ - int r; - - if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */ - return *rootp; /* we found it! */ - - rootp = (r < 0) ? - &(*rootp)->llink : /* T3: follow left branch */ - &(*rootp)->rlink; /* T4: follow right branch */ - } - - q = malloc(sizeof(node_t)); /* T5: key not found */ - if (q != 0) { /* make new node */ - *rootp = q; /* link new node to old */ - /* LINTED const castaway ok */ - q->key = (void *)vkey; /* initialize new node */ - q->llink = q->rlink = NULL; - } - return q; -} diff --git a/arid_examples/html-xml-utils-3.0/twalk.c b/arid_examples/html-xml-utils-3.0/twalk.c deleted file mode 100644 index 7af27a347..000000000 --- a/arid_examples/html-xml-utils-3.0/twalk.c +++ /dev/null @@ -1,62 +0,0 @@ -/* $NetBSD: twalk.c,v 1.1 1999/02/22 10:33:16 christos Exp $ */ -/* $FreeBSD: src/lib/libc/stdlib/twalk.c,v 1.1.2.1 2000/08/17 07:38:39 jhb Exp $ */ - -/* - * Tree search generalized from Knuth (6.2.2) Algorithm T just like - * the AT&T man page says. - * - * The node_t structure is for internal use only, lint doesn't grok it. - * - * Written by reading the System V Interface Definition, not the code. - * - * Totally public domain. - */ - -#include <sys/cdefs.h> -#if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: twalk.c,v 1.1 1999/02/22 10:33:16 christos Exp $"); -#endif /* LIBC_SCCS and not lint */ - -#include <assert.h> -#define _SEARCH_PRIVATE -#include "config.h" -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "search-freebsd.h" -#endif -#include <stdlib.h> - -static void trecurse __P((const node_t *, - void (*action)(const void *, VISIT, int), int level)); - -/* Walk the nodes of a tree */ -static void -trecurse(root, action, level) - const node_t *root; /* Root of the tree to be walked */ - void (*action) __P((const void *, VISIT, int)); - int level; -{ - - if (root->llink == NULL && root->rlink == NULL) - (*action)(root, leaf, level); - else { - (*action)(root, preorder, level); - if (root->llink != NULL) - trecurse(root->llink, action, level + 1); - (*action)(root, postorder, level); - if (root->rlink != NULL) - trecurse(root->rlink, action, level + 1); - (*action)(root, endorder, level); - } -} - -/* Walk the nodes of a tree */ -void -twalk(vroot, action) - const void *vroot; /* Root of the tree to be walked */ - void (*action) __P((const void *, VISIT, int)); -{ - if (vroot != NULL && action != NULL) - trecurse(vroot, action, 0); -} diff --git a/arid_examples/html-xml-utils-3.0/types.c b/arid_examples/html-xml-utils-3.0/types.c deleted file mode 100644 index 7bcc794dc..000000000 --- a/arid_examples/html-xml-utils-3.0/types.c +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 1997 - * Version: $Id: types.c,v 1.13 2003/01/21 19:45:38 bbos Exp $ - **/ -#include <config.h> -#include <stdlib.h> -#include <stdarg.h> -#ifdef HAVE_STRING_H -# include <string.h> -#elif HAVE_STRINGS_H -# include <strings.h> -#endif -#include "export.h" -#include "heap.e" - -EXPORT typedef enum { False, True } Boolean; - -EXPORT typedef unsigned char *string; - -EXPORT typedef struct _pairlist { - unsigned char *name, *value; - struct _pairlist *next; -} *pairlist; - -EXPORT typedef unsigned int MediaSet; -EXPORT enum _Media { - MediaNone = 0, - MediaPrint = (1 << 0), - MediaScreen = (1 << 1), - MediaTTY = (1 << 2), - MediaBraille = (1 << 3), - MediaTV = (1 << 4), - MediaProjection = (1 << 5), - MediaEmbossed = (1 << 6), - MediaAll = 0xFF -}; - -#define eq(s, t) (*s == *t && strcmp(s, t) == 0) -EXPORTDEF(eq(s, t)) - -#define hexval(c) ((c) <= '9' ? (c)-'0' : (c) <= 'F' ? 10+(c)-'A' : 10+(c)-'a') -EXPORTDEF(hexval(c)) - -/* pairlist_delete -- free all memory occupied by a pairlist */ -EXPORT void pairlist_delete(pairlist p) -{ - if (p) { - pairlist_delete(p->next); - dispose(p->name); - dispose(p->value); - dispose(p); - } -} - -/* pairlist_copy -- make a deep copy of a pairlist */ -EXPORT pairlist pairlist_copy(const pairlist p) -{ - pairlist h = NULL; - - if (p) { - new(h); - h->name = newstring(p->name); - h->value = newstring(p->value); - h->next = pairlist_copy(p->next); - } - return h; -} - -/* strapp -- append to a string, re-allocating memory; last arg must be 0 */ -EXPORT string strapp(string *s,...) -{ - va_list ap; - int i, j; - string h; - - va_start(ap, s); - i = *s ? strlen(*s) : 0; - while ((h = va_arg(ap, string))) { - j = strlen(h); - renewarray(*s, i + j + 1); - strcpy(*s + i, h); - i += j; - } - va_end(ap); - return *s; -} - -/* chomp -- remove trailing \n (if any) from string */ -EXPORT void chomp(string s) -{ - int i; - - if (s && (i = strlen(s)) != 0 && s[i-1] == '\n') s[i-1] = '\0'; -} - -EXPORT inline int min(int a, int b) { return a < b ? a : b; } -EXPORT inline int max(int a, int b) { return a > b ? a : b; } diff --git a/arid_examples/html-xml-utils-3.0/types.e b/arid_examples/html-xml-utils-3.0/types.e deleted file mode 100644 index 3a3220426..000000000 --- a/arid_examples/html-xml-utils-3.0/types.e +++ /dev/null @@ -1,26 +0,0 @@ - typedef enum { False, True } Boolean; - typedef unsigned char *string; - typedef struct _pairlist { - unsigned char *name, *value; - struct _pairlist *next; -} *pairlist; - typedef unsigned int MediaSet; - enum _Media { - MediaNone = 0, - MediaPrint = (1 << 0), - MediaScreen = (1 << 1), - MediaTTY = (1 << 2), - MediaBraille = (1 << 3), - MediaTV = (1 << 4), - MediaProjection = (1 << 5), - MediaEmbossed = (1 << 6), - MediaAll = 0xFF -}; -#define eq(s, t) (*s == *t && strcmp(s, t) == 0) -#define hexval(c) ((c) <= '9' ? (c)-'0' : (c) <= 'F' ? 10+(c)-'A' : 10+(c)-'a') - void pairlist_delete(pairlist p); - pairlist pairlist_copy(const pairlist p); - string strapp(string *s,...); - void chomp(string s); - inline int min(int a, int b); - inline int max(int a, int b); diff --git a/arid_examples/html-xml-utils-3.0/uncdata.c b/arid_examples/html-xml-utils-3.0/uncdata.c deleted file mode 100644 index 0ff4157ab..000000000 --- a/arid_examples/html-xml-utils-3.0/uncdata.c +++ /dev/null @@ -1,141 +0,0 @@ -/* - * uncdata -- remove CDATA sections from an XML file - * - * The input is scanned for occurrences of "<![CDATA[" and - * corresponding "]]>". Those strings are removed and all occurrences - * of "&", "<" and ">" in between them will be replaced by "&", - * "&;t;" and ">" resp. - * - * The input must be 1 byte per character. If it is not, convert it to - * UTF-8 first. - * - * Author: Bert Bos <bert@w3.org> - * Created: 20 Feb 2002 - * Version: $Id: uncdata.c,v 1.3 2002/10/29 18:58:32 bbos Exp $ - */ - -#include <stdio.h> -#include <assert.h> -#include <string.h> - - -/* process -- process one file */ -static void process(FILE *f) -{ - int c; - enum {INITIAL, START, CDATA1, CDATA2, CDATA3, CDATA4, CDATA5, - CDATA6, CDATA7, CDATA98, CDATA99, CDATA, MARKUP, DECL1, DECL, - COMMENT1, COMMENT, COMMENT99, DQUOTE, SQUOTE} state = INITIAL; - - /* No attempt at reporting errors for impossible XML, - and no support for internal DTD subsets - */ - while ((c = getc(f)) != EOF) { - switch (state) { - case INITIAL: - if (c == '<') state = START; - else putchar(c); - break; - case START: /* Seen "<" */ - if (c == '!') state = DECL1; - else if (c == '>') {putchar('<'); putchar('>'); state = INITIAL;} - else {putchar('<'); putchar(c); state = MARKUP;} - break; - case MARKUP: /* Inside "<...>" */ - if (c == '"') {putchar('"'); state = DQUOTE;} - else if (c == '\'') {putchar('\''); state = SQUOTE;} - else if (c == '>') {putchar('>'); state = INITIAL;} - else putchar(c); - break; - case DQUOTE: /* Inside double quotes */ - if (c == '"') {putchar('"'); state = MARKUP;} - else putchar(c); - break; - case SQUOTE: /* Inside single quotes */ - if (c == '\'') {putchar('\''); state = MARKUP;} - else putchar(c); - break; - case DECL1: /* Seen "<!" */ - if (c == '-') {printf("<!-"); state = COMMENT1;} - else if (c == '[') state = CDATA1; - else {putchar('<'); putchar('!'); putchar(c); state = DECL;} - break; - case DECL: /* Inside "<!...>" */ - if (c == '-') {putchar('-'); state = COMMENT1;} - else if (c == '>') {putchar('>'); state = INITIAL;} - else putchar(c); - break; - case COMMENT1: /* Seen "-" */ - if (c == '-') {putchar('-'); state = COMMENT;} - else {putchar(c); state = DECL;} - break; - case COMMENT: /* Seen "--" */ - if (c == '-') {putchar('-'); state = COMMENT99;} - else putchar(c); - break; - case COMMENT99: /* Seen "-" */ - if (c == '-') {putchar('-'); state = DECL;} - else {putchar(c); state = COMMENT;} - break; - case CDATA1: /* Seen "<![" */ - if (c == 'C') state = CDATA2; - else {printf("<![%c", c); state = INITIAL;} - break; - case CDATA2: /* Seen "<![C" */ - if (c == 'D') state = CDATA3; - else {printf("<![C%c", c); state = INITIAL;} - break; - case CDATA3: /* Seen "<![CD" */ - if (c == 'A') state = CDATA4; - else {printf("<![CD%c", c); state = INITIAL;} - break; - case CDATA4: /* Seen "<![CDA" */ - if (c == 'T') state = CDATA5; - else {printf("<![CDA%c", c); state = INITIAL;} - break; - case CDATA5: /* Seen "<![CDAT" */ - if (c == 'A') state = CDATA6; - else {printf("<![CDAT%c", c); state = INITIAL;} - break; - case CDATA6: /* Seen "<![CDATA" */ - if (c == '[') state = CDATA; - else {printf("<![CDATA%c", c); state = INITIAL;} - break; - case CDATA: /* Inside "<![CDATA[...]]>" */ - if (c == ']') state = CDATA98; - else if (c == '<') puts("<"); - else if (c == '>') puts(">"); - else if (c == '&') puts("&"); - else putchar(c); - break; - case CDATA98: /* Seen "]" */ - if (c == ']') state = CDATA99; - else {putchar(']'); putchar(c); state = CDATA;} - break; - case CDATA99: /* Seen "]]" */ - if (c == '>') state = INITIAL; - else {putchar(']'); putchar(']'); putchar(c); state = CDATA;} - break; - default: - assert(!"Cannot happen!"); - } - } -} - -int main(int argc, char *argv[]) -{ - int i, err = 0; - FILE *f; - - if (argc == 1) - process(stdin); - else if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-?") == 0) - printf("Usage: %s [XML-FILE]...\n", argv[0]); - else - for (i = 1; i < argc; i++) { - if (!(f = fopen(argv[i], "r"))) {perror(argv[i]); err++; continue;} - process(f); - if (fclose(f) != 0) {perror(argv[i]); err++; continue;} - } - return err; -} diff --git a/arid_examples/html-xml-utils-3.0/unent.1 b/arid_examples/html-xml-utils-3.0/unent.1 deleted file mode 100644 index 791ec68d3..000000000 --- a/arid_examples/html-xml-utils-3.0/unent.1 +++ /dev/null @@ -1,18 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 Mar 2000" -.SH NAME -unent \- replace HTML predefined character entities to UTF-8 -.SH SYNOPSIS -.B unent -.RI "[\| " file " \|]" -.SH DESCRIPTION -[ToDo] diff --git a/arid_examples/html-xml-utils-3.0/unent.c b/arid_examples/html-xml-utils-3.0/unent.c deleted file mode 100644 index e69de29bb..000000000 diff --git a/arid_examples/html-xml-utils-3.0/unent.hash b/arid_examples/html-xml-utils-3.0/unent.hash deleted file mode 100644 index 5a7c81ce0..000000000 --- a/arid_examples/html-xml-utils-3.0/unent.hash +++ /dev/null @@ -1,399 +0,0 @@ -%{ /* -*-indented-text-*- */ - -/* - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 2 Dec 1998 - * Version: $Id: unent.hash,v 1.8 2004/04/28 08:57:55 bbos Exp $ - * - * Input file for gperf, to generate a perfect hash function - * of all HTML named character entities. This list translates - * names to Unicode numbers. - */ -#include <config.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <stdio.h> -#include <ctype.h> - -%} -struct _Entity {char *name; unsigned int code;} - -%% -nbsp, 160 -iexcl, 161 -cent, 162 -pound, 163 -curren, 164 -yen, 165 -brvbar, 166 -sect, 167 -uml, 168 -copy, 169 -ordf, 170 -laquo, 171 -not, 172 -shy, 173 -reg, 174 -macr, 175 -deg, 176 -plusmn, 177 -sup2, 178 -sup3, 179 -acute, 180 -micro, 181 -para, 182 -middot, 183 -cedil, 184 -sup1, 185 -ordm, 186 -raquo, 187 -frac14, 188 -frac12, 189 -frac34, 190 -iquest, 191 -Agrave, 192 -Aacute, 193 -Acirc, 194 -Atilde, 195 -Auml, 196 -Aring, 197 -AElig, 198 -Ccedil, 199 -Egrave, 200 -Eacute, 201 -Ecirc, 202 -Euml, 203 -Igrave, 204 -Iacute, 205 -Icirc, 206 -Iuml, 207 -ETH, 208 -Ntilde, 209 -Ograve, 210 -Oacute, 211 -Ocirc, 212 -Otilde, 213 -Ouml, 214 -times, 215 -Oslash, 216 -Ugrave, 217 -Uacute, 218 -Ucirc, 219 -Uuml, 220 -Yacute, 221 -THORN, 222 -szlig, 223 -agrave, 224 -aacute, 225 -acirc, 226 -atilde, 227 -auml, 228 -aring, 229 -aelig, 230 -ccedil, 231 -egrave, 232 -eacute, 233 -ecirc, 234 -euml, 235 -igrave, 236 -iacute, 237 -icirc, 238 -iuml, 239 -eth, 240 -ntilde, 241 -ograve, 242 -oacute, 243 -ocirc, 244 -otilde, 245 -ouml, 246 -divide, 247 -oslash, 248 -ugrave, 249 -uacute, 250 -ucirc, 251 -uuml, 252 -yacute, 253 -thorn, 254 -yuml, 255 -fnof, 402 -Alpha, 913 -Beta, 914 -Gamma, 915 -Delta, 916 -Epsilon, 917 -Zeta, 918 -Eta, 919 -Theta, 920 -Iota, 921 -Kappa, 922 -Lambda, 923 -Mu, 924 -Nu, 925 -Xi, 926 -Omicron, 927 -Pi, 928 -Rho, 929 -Sigma, 931 -Tau, 932 -Upsilon, 933 -Phi, 934 -Chi, 935 -Psi, 936 -Omega, 937 -alpha, 945 -beta, 946 -gamma, 947 -delta, 948 -epsilon, 949 -zeta, 950 -eta, 951 -theta, 952 -iota, 953 -kappa, 954 -lambda, 955 -mu, 956 -nu, 957 -xi, 958 -omicron, 959 -pi, 960 -rho, 961 -sigmaf, 962 -sigma, 963 -tau, 964 -upsilon, 965 -phi, 966 -chi, 967 -psi, 968 -omega, 969 -thetasym, 977 -upsih, 978 -piv, 982 -bull, 8226 -hellip, 8230 -prime, 8242 -Prime, 8243 -oline, 8254 -frasl, 8260 -weierp, 8472 -image, 8465 -real, 8476 -trade, 8482 -alefsym, 8501 -larr, 8592 -uarr, 8593 -rarr, 8594 -darr, 8595 -harr, 8596 -crarr, 8629 -lArr, 8656 -uArr, 8657 -rArr, 8658 -dArr, 8659 -hArr, 8660 -forall, 8704 -part, 8706 -exist, 8707 -empty, 8709 -nabla, 8711 -isin, 8712 -notin, 8713 -ni, 8715 -prod, 8719 -sum, 8721 -minus, 8722 -lowast, 8727 -radic, 8730 -prop, 8733 -infin, 8734 -ang, 8736 -and, 8743 -or, 8744 -cap, 8745 -cup, 8746 -int, 8747 -there4, 8756 -sim, 8764 -cong, 8773 -asymp, 8776 -ne, 8800 -equiv, 8801 -le, 8804 -ge, 8805 -sub, 8834 -sup, 8835 -nsub, 8836 -sube, 8838 -supe, 8839 -oplus, 8853 -otimes, 8855 -perp, 8869 -sdot, 8901 -lceil, 8968 -rceil, 8969 -lfloor, 8970 -rfloor, 8971 -lang, 9001 -rang, 9002 -loz, 9674 -spades, 9824 -clubs, 9827 -hearts, 9829 -diams, 9830 -quot, 34 -amp, 38 -lt, 60 -gt, 62 -OElig, 338 -oelig, 339 -Scaron, 352 -scaron, 353 -Yuml, 376 -circ, 710 -tilde, 732 -ensp, 8194 -emsp, 8195 -thinsp, 8201 -zwnj, 8204 -zwj, 8205 -lrm, 8206 -rlm, 8207 -ndash, 8211 -mdash, 8212 -lsquo, 8216 -rsquo, 8217 -sbquo, 8218 -ldquo, 8220 -rdquo, 8221 -bdquo, 8222 -dagger, 8224 -Dagger, 8225 -permil, 8240 -lsaquo, 8249 -rsaquo, 8250 -euro, 8364 -%% - -static int leave_builtin = 0; /* Leave standard entities untouched */ - -/* append_utf8 -- append the UTF-8 sequence for code n */ -static void append_utf8(const unsigned int n) -{ - if (n <= 0x7F) { - putchar((unsigned char)(n)); - } else if (n <= 0x7FF) { - putchar((unsigned char)(0xC0 | (n >> 6))); - putchar((unsigned char)(0x80 | (n & 0x3F))); - } else if (n <= 0xFFFF) { - putchar((unsigned char)(0xE0 | (n >> 12))); - putchar((unsigned char)(0x80 | ((n >> 6) & 0x3F))); - putchar((unsigned char)(0x80 | (n & 0x3F))); - } else if (n <= 0x1FFFFF) { - putchar((unsigned char)(0xF0 | (n >> 18))); - putchar((unsigned char)(0x80 | ((n >> 12) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 6) & 0x3F))); - putchar((unsigned char)(0x80 | (n & 0x3F))); - } else if (n <= 0x3FFFFFF) { - putchar((unsigned char)(0xF0 | (n >> 24))); - putchar((unsigned char)(0x80 | ((n >> 18) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 12) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 6) & 0x3F))); - putchar((unsigned char)(0x80 | (n & 0x3F))); - } else { - putchar((unsigned char)(0xF0 | (n >> 30))); - putchar((unsigned char)(0x80 | ((n >> 24) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 18) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 12) & 0x3F))); - putchar((unsigned char)(0x80 | ((n >> 6) & 0x3F))); - putchar((unsigned char)(0x80 | (n & 0x3F))); - } -} - -/* append_named -- append the UTF-8 sequence of a named entity */ -static void append_named(const unsigned char *name, unsigned int len) -{ - const struct _Entity *e = lookup_entity(name, len); - int i; - - if (!e || (leave_builtin && (e->code == 38 || e->code == 60 - || e->code == 62 || e->code == 34))) { /* Keep it */ - putchar('&'); - for (i = 0; i < len; i++) putchar(name[i]); - putchar(';'); - } else { /* Convert to Unicode */ - append_utf8(e->code); - } -} - -/* expand -- print string, expanding entities to UTF-8 sequences */ -static void expand(const unsigned char *s) -{ - unsigned int i, n; - - for (i = 0; s[i];) { - if (s[i] != '&') { /* Literal character */ - putchar(s[i++]); - } else if (isalnum(s[i+1])) { /* Named entity, eg. é */ - for (i++, n = 1; isalnum(s[i+n]); n++) ; - append_named(s + i, n); - i += n; - if (s[i] == ';') i++; - } else if (s[i+1] != '#') { /* SGML-style "&" on its own */ - append_named("amp", 3); - i++; - } else if (s[i+2] != 'x') { /* Decimal entity, eg. F */ - for (n = 0, i += 2; isdigit(s[i]); i++) n = 10 * n + s[i] - '0'; - if (leave_builtin && (n == 38 || n == 60 || n == 62 || n == 34)) - printf("&#%d;", n); - else - append_utf8(n); - if (s[i] == ';') i++; - } else { /* Hex entity, eg. _ */ - for (n = 0, i += 3; isxdigit(s[i]); i++) - if (isdigit(s[i])) n = 16 * n + s[i] - '0'; - else n = 16 * n + toupper(s[i]) - 'A' + 10; - if (leave_builtin && (n == 38 || n == 60 || n == 62 || n == 34)) - printf("&#x%x;", n); - else - append_utf8(n); - if (s[i] == ';') i++; - } - } -} - -/* main -- read input, expand entities, write out again */ -int main(int argc, char *argv[]) -{ - unsigned char buf[4096]; - FILE *infile; - int i = 1; - - if (i < argc && strcmp(argv[i], "-b") == 0) { - leave_builtin = 1; - i++; - } - if (i == argc) { - infile = stdin; - } else if (argc != i + 1) { - fprintf(stderr, "Version %s\nUsage: %s [-b] [file]\n\ -(input is UTF-8 with &-entities, output is UTF-8 without &-entities)\n", - VERSION, argv[0]); - exit(2); - } else if (!(infile = fopen(argv[1], "r"))) { - perror(argv[1]); - exit(1); - } - - while (fgets(buf, sizeof(buf), infile)) expand(buf); - - fclose(infile); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/unpipe.1 b/arid_examples/html-xml-utils-3.0/unpipe.1 deleted file mode 100644 index 3b6e84eee..000000000 --- a/arid_examples/html-xml-utils-3.0/unpipe.1 +++ /dev/null @@ -1,19 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 Mar 2000" -.SH NAME -unpipe \- convert output of pipe back to XML format -.SH SYNOPSIS -.B unpipe -.RB "[\| " \-x " \|]" -.RI "[\| " file " \|]" -.SH DESCRIPTION -[ToDo] diff --git a/arid_examples/html-xml-utils-3.0/unpipe.c b/arid_examples/html-xml-utils-3.0/unpipe.c deleted file mode 100644 index 3433dc4f3..000000000 --- a/arid_examples/html-xml-utils-3.0/unpipe.c +++ /dev/null @@ -1,150 +0,0 @@ -/* - * unpipe - takes output of pipe and convert to HTML/XML form - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 23 May 1999 - * Version: $Id: unpipe.c,v 1.9 2003/01/21 19:26:03 bbos Exp $ - */ -#include <config.h> -#include <stdio.h> -#include <ctype.h> -#include <stdlib.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <assert.h> -#ifdef HAVE_STRING_H -# include <string.h> -#elif HAVE_STRINGS_H -# include <strings.h> -#endif -#include "export.h" -#include "types.e" -#include "heap.e" -#include "errexit.e" -#include "openurl.e" - -#define MAXSTRING 4096 - -static Boolean do_xml = False; -static int nrattrs = 0; -static char **attrs = NULL; - -/* put_text -- replace newlines and print text */ -static void put_text(char *buf) -{ - int i; - - for (i = 0; buf[i]; i++) { - if (buf[i] != '\\') { - putchar(buf[i]); - } else { - i++; - switch (buf[i]) { - case 'n': putchar('\n'); break; - case 'r': putchar('\r'); break; - case 't': putchar('\t'); break; - default: putchar(buf[i]); - } - } - } -} - -/* store_attr -- store attributes temporarily */ -static void store_attr(const char *buf) -{ - assert(buf[0] == 'A'); - renewarray(attrs, ++nrattrs); - attrs[nrattrs-1] = newstring(buf); -} - -/* put_attr -- write out attributes */ -static void put_attr(void) -{ - int i, j; - - for (j = 0; j < nrattrs; j++) { - putchar(' '); - for (i = 1; attrs[j][i] != ' '; i++) putchar(attrs[j][i]); - putchar('='); - for (i++; attrs[j][i] != ' '; i++) ; /* skip type ("CDATA") */ - putchar('"'); - put_text(attrs[j] + i + 1); - putchar('"'); - dispose(attrs[j]); - } - nrattrs = 0; -} - -/* put_decl -- write a DOCTYPE declaration */ -static void put_decl(const char *buf) -{ - int i; - - assert(buf[0] == '!'); - printf("<!DOCTYPE "); - /* write name of root element */ - for (i = 1; buf[i] && buf[i] != ' '; i++) putchar(buf[i]); - if (! buf[i]) errexit("Incorrect DOCTYPE declaration: %s\n", buf); - if (buf[++i] != '"') errexit("Incorrect DOCTYPE declaration: %s\n", buf); - /* write FPI if present */ - if (buf[++i] != '"') { /* FPI */ - printf(" PUBLIC \""); - for (; buf[i] && buf[i] != '"'; i++) putchar(buf[i]); - putchar('"'); - } else { /* No FPI */ - printf(" SYSTEM"); - } - if (! buf[i]) errexit("Incorrect DOCTYPE declaration: %s\n", buf); - i++; - if (buf[++i]) printf(" \"%s\"", buf + i); /* URL */ - printf(">"); -} - -/* usage -- print usage message and exit */ -static void usage(unsigned char *prog) -{ - fprintf(stderr, "Version %s\nUsage: %s [-x] [file_or_url]\n", VERSION, prog); - exit(1); -} - -int main(int argc, char *argv[]) -{ - int c; - char buf[MAXSTRING]; - FILE *in = NULL; - - while ((c = getopt(argc, argv, "x")) != -1) - switch (c) { - case 'x': do_xml = True; break; - default: usage(argv[0]); - } - if (optind == argc) in = stdin; - else if (optind == argc - 1) in = fopenurl(argv[optind], "r"); - else usage(argv[0]); - if (in == NULL) { perror(argv[optind]); exit(2); } - - /* ToDo: recognize empty elements */ - - while (fgets(buf, sizeof(buf), in)) { - buf[strlen(buf)-1] = '\0'; /* Remove newline */ - switch (buf[0]) { - case '-': put_text(buf + 1); break; - case '?': printf("<?"); put_text(buf + 1); printf(">"); break; - case '*': printf("<!--"); put_text(buf + 1); printf("-->"); break; - case 'L': break; - case 'A': store_attr(buf); break; - case '(': printf("<%s", buf + 1); put_attr(); putchar('>'); break; - case ')': printf("</%s>", buf + 1); break; - case '|': printf("<%s", buf + 1); put_attr(); printf(" />"); break; - case '!': put_decl(buf); break; - default: errexit("Unknown code at start of line: %c\n", buf[0]); - } - } - if (! feof(in)) { perror(argv[0]); exit(1); } - fclose(in); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/url.c b/arid_examples/html-xml-utils-3.0/url.c deleted file mode 100644 index be8779fee..000000000 --- a/arid_examples/html-xml-utils-3.0/url.c +++ /dev/null @@ -1,256 +0,0 @@ -/* - * Routines and data structures to parse URLs - * - * Assumes the strings are encoded in UTF-8 - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 7 March 1999 - * Version: $Id: url.c,v 1.11 2000/04/01 12:10:08 bbos Exp $ - */ -#include <config.h> -#include <stdlib.h> -#include <assert.h> -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include <ctype.h> -#include <regex.h> -#include "export.h" -#include "heap.e" -#include "types.e" - -EXPORT typedef struct { - string full; /* Full URL as a string */ - string proto; /* Protocol */ - string user; /* User name */ - string password; /* User's password */ - string machine; /* Domain name or IP number */ - string port; /* Port number or service */ - string path; /* Path part of URL */ - string fragment; /* Fragment ID part of URL */ -} *URL; - - -/* down -- convert a string to lowercase, return pointer to arg */ -static string down(string s) -{ - string t; - for (t = s; *t; t++) *t = tolower(*t); - return s; -} - -/* utf8tohex -- convert UTF-8 to %HH hex encoding, allocate on heap */ -static string utf8tohex(const string s) -{ - static string hex = "0123456789ABCDEF"; - string h; - int i, j; - - newarray(h, 3 * strlen(s) + 1); /* Usually too much */ - for (i = 0, j = 0; s[i]; i++) { - if (s[i] <= 127) h[j++] = s[i]; - else { h[j++] = '%'; h[j++] = hex[s[i]/16]; h[j++] = hex[s[i]%16]; } - } - h[j] = '\0'; - return h; -} - -/* URL_dispose -- free the memory used by a URL struct */ -EXPORT void URL_dispose(URL url) -{ - if (url) { - dispose(url->full); - dispose(url->proto); - dispose(url->user); - dispose(url->password); - dispose(url->machine); - dispose(url->port); - dispose(url->path); - dispose(url->fragment); - dispose(url); - } -} - -/* URL_new -- create a new URL struct; return NULL if not a valid URL */ -EXPORT URL URL_new(const string url) -{ - static const char* pat = - "^(([A-Za-z0-9+.-]+):)?(//(([^:@]+)(:([^@]+))?@)?([^:/]+)(:([0-9]+))?)?([^#]*)?(#(.*))?|([^#]*)(#(.*))?$"; - /* 12 2 1 3 45 56 7 76 4 8 89 A A9 3 B B C D DC E EF G GF - * 2 = proto, 5 = user, 7 = passwd, 8 = machine, A = port, B = path, D = fragment - * E = path in case it is not a well-formed URL, G = fragment if ditto - */ -# define MAXSUB 18 - static regex_t re; - static int initialized = 0; - regmatch_t pm[MAXSUB]; - URL result; - - assert(url != NULL); - - /* Compile the regexp, only once */ - if (! initialized) { - assert(regcomp(&re, pat, REG_EXTENDED) == 0); /* Could be memory, though... */ - initialized = 1; - } - - /* Match the URL against the pattern; return NULL if no match */ - if (regexec(&re, url, MAXSUB, pm, 0) != 0) return NULL; - - /* Store the various parts */ - new(result); - result->full = utf8tohex(url); - result->proto = pm[2].rm_so == -1 - ? NULL : down(newnstring(url, pm[2].rm_eo)); - result->user = pm[5].rm_so == -1 - ? NULL : newnstring(url + pm[5].rm_so, pm[5].rm_eo - pm[5].rm_so); - result->password = pm[7].rm_so == -1 - ? NULL : newnstring(url + pm[7].rm_so, pm[7].rm_eo - pm[7].rm_so); - result->machine = pm[8].rm_so == -1 - ? NULL : newnstring(url + pm[8].rm_so, pm[8].rm_eo - pm[8].rm_so); - result->port = pm[10].rm_so == -1 - ? NULL : newnstring(url + pm[10].rm_so, pm[10].rm_eo - pm[10].rm_so); - result->path = pm[11].rm_so == -1 - ? NULL : newnstring(url + pm[11].rm_so, pm[11].rm_eo - pm[11].rm_so); - result->fragment = pm[13].rm_so == -1 - ? NULL : newnstring(url + pm[13].rm_so, pm[13].rm_eo - pm[13].rm_so); - if (pm[14].rm_so != -1) { - result->path = newnstring(url + pm[14].rm_so, pm[14].rm_eo - pm[14].rm_so); - result->fragment = pm[16].rm_so == -1 - ? NULL : newnstring(url + pm[16].rm_so, pm[16].rm_eo - pm[16].rm_so); - } - return result; -} - -/* merge_path -- make path absolute */ -static string merge_path(const string base, const string path) -{ - static regex_t re; - static int initialized = 0; - regmatch_t pm[1]; - string p, s; - size_t len; - - assert(*path != '/'); - if (base && (p = strrchr(base, '/'))) { - newarray(s, (p - base) + strlen(path) + 2); - strncpy(s, base, (p - base) + 1); - strcpy(s + ((p - base) + 1), path); - } else { - newarray(s, strlen(path) + 2); -#if 0 - s[0] = '/'; - strcpy(s + 1, path); -#else - strcpy(s, path); -#endif - } - - /* Replace all substrings of form "/xxx/../" with "/" */ - if (! initialized) { - assert(regcomp(&re, "/[^/]+/\\.\\./", REG_EXTENDED) == 0); - initialized = 1; - } - len = strlen(s); - while (regexec(&re, s, 1, pm, 0) == 0) { - memmove(s + pm[0].rm_so, s + (pm[0].rm_eo - 1), len - pm[0].rm_eo + 2); - len -= pm[0].rm_eo - pm[0].rm_so - 1; - } - - /* Replace all substrings of the form "/./" with "/" */ - /*len = strlen(s);*/ - for (p = s; (p = strstr(p, "/./")); ) { - memmove(p, p + 2, len - (p - s) - 1); - len -= 2; - } - - return s; -} - -/* URL_absolutize -- make a relative URL absolute */ -EXPORT URL URL_absolutize(const URL base, const URL url) -{ - URL abs; - string s; - - new(abs); - if (url->proto) { /* Not relative at all */ - abs->proto = newstring(url->proto); - abs->user = newstring(url->user); - abs->password = newstring(url->password); - abs->machine = newstring(url->machine); - abs->port = newstring(url->port); - abs->path = newstring(url->path); - } else { /* Missing proto */ - abs->proto = newstring(base->proto); /* Copy proto from base */ - if (url->machine) { /* Missing machine */ - abs->user = newstring(url->user); - abs->password = newstring(url->password); - abs->machine = newstring(url->machine); - abs->port = newstring(url->port); - abs->path = newstring(url->path); - } else { - abs->user = newstring(base->user); - abs->password = newstring(base->password); - abs->machine = newstring(base->machine); - abs->port = newstring(base->port); - if (!url->path || *(url->path) == '/') { /* Absolute path */ - abs->path = newstring(url->path); - } else { - abs->path = merge_path(base->path, url->path); - } - } - } - abs->fragment = newstring(url->fragment); - - newarray(s, (abs->proto ? strlen(abs->proto) + 1 : 0) - + (abs->user ? strlen(abs->user) + 1 : 0) - + (abs->password ? strlen(abs->password) + 1 : 0) - + (abs->machine ? strlen(abs->machine) + 2 : 0) - + (abs->port ? strlen(abs->port) + 1 : 0) - + (abs->path ? strlen(abs->path) : 0) - + (abs->fragment ? strlen(abs->fragment) + 1 : 0) - + 1); - sprintf(s, "%s%s%s%s%s%s%s%s%s%s%s%s%s", - abs->proto ? abs->proto : (string) "", - abs->proto ? (string) ":" : (string) "", - abs->machine ? (string) "//" : (string) "", - abs->user ? abs->user : (string) "", - abs->password ? (string) ":" : (string) "", - abs->password ? abs->password : (string) "", - abs->user ? (string) "@" : (string) "", - abs->machine ? abs->machine : (string) "", - abs->port ? (string) ":" : (string) "", - abs->port ? abs->port : (string) "", - abs->path ? abs->path : (string) "", - abs->fragment ? (string) "#" : (string) "", - abs->fragment ? abs->fragment : (string) ""); - abs->full = utf8tohex(s); - dispose(s); - - return abs; -} - -/* URL_s_absolutize -- make a relative URL absolute */ -EXPORT string URL_s_absolutize(const string base, const string url) -{ - URL url1 = URL_new(url), base1 = URL_new(base); - URL abs = URL_absolutize(base1, url1); - string result = newstring(abs->full); - URL_dispose(abs); - URL_dispose(url1); - URL_dispose(base1); - return result; -} diff --git a/arid_examples/html-xml-utils-3.0/url.e b/arid_examples/html-xml-utils-3.0/url.e deleted file mode 100644 index d9fbca906..000000000 --- a/arid_examples/html-xml-utils-3.0/url.e +++ /dev/null @@ -1,14 +0,0 @@ - typedef struct { - string full; - string proto; - string user; - string password; - string machine; - string port; - string path; - string fragment; -} *URL; - void URL_dispose(URL url); - URL URL_new(const string url); - URL URL_absolutize(const URL base, const URL url); - string URL_s_absolutize(const string base, const string url); diff --git a/arid_examples/html-xml-utils-3.0/wls.1 b/arid_examples/html-xml-utils-3.0/wls.1 deleted file mode 100644 index 66b08ddae..000000000 --- a/arid_examples/html-xml-utils-3.0/wls.1 +++ /dev/null @@ -1,71 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 July 1999" -.SH NAME -wls \- list links in an HTML file -.SH SYNOPSIS -.B wls -.RB "[\| " \-l " \|]" -.RB "[\| " \-r " \|]" -.RB "[\| " \-h " \|]" -.RB "[\| " \-b -.IR " base" " \|]" -.RB "[\| " file " \|]" -.SH DESCRIPTION -.LP -The -.B wls -command reads an HTML file (standard input by default) and prints out -all links it finds. The output is written to stdout. -.SH OPTIONS -The following options are supported: -.TP 10 -.B \-l -Produce a long listing. Instead of just the URI, -.B wls -prints three columns: the element name, the value of the REL -attribute, and the URI. -.TP -.BI \-r -Print relative URLs as they are, without converting them to absolute -URLs. -.TP -.BI \-b " base" -Use -.I base -as the initial base URL. If there is a <base> element in the document, -it will override the -b option. -.TP -.BI \-h -Output as HTML. The output will be listed in the form of <a> elements. -.SH OPERANDS -The following operands are supported: -.TP 10 -.I file -The name or the URL of an HTML file. If absent, standard input is read instead. -.SH "EXIT STATUS" -The following exit values are returned: -.TP 10 -.B 0 -Successful completion. -.TP -.B >0 -An error occurred in the parsing of the HTML file. -.B toc -will try to correct the error and produce output anyway. -.SH "SEE ALSO" -.BR num (1), -.BR normalize (1), -.BR xml2asc (1) -.BR asc2xml (1) -.SH BUGS -.LP -None known yet. diff --git a/arid_examples/html-xml-utils-3.0/wls.c b/arid_examples/html-xml-utils-3.0/wls.c deleted file mode 100644 index 470b80f22..000000000 --- a/arid_examples/html-xml-utils-3.0/wls.c +++ /dev/null @@ -1,279 +0,0 @@ -/* - * List all links from the given document. - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Bert Bos <bert@w3.org> - * Created 31 July 1999 - * $Id: wls.c,v 1.12 2000/08/07 12:28:44 bbos Exp $ - */ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRDUP -# include "strdup.e" -# endif -#endif -#include "export.h" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" -#include "url.e" - -extern int yylineno; /* From scan.l */ - -static Boolean has_error = False; -static string base = NULL; -static string self; -static enum {Short, Long, HTML, Tuple} format = Short; /* Option -l -h -t */ -static Boolean relative = False; /* Option -r */ - - -/* down -- convert a string to lowercase, return pointer to arg */ -static inline string down(string s) -{ - string t; - for (t = s; *t; t++) *t = tolower(*t); - return s; -} - - -/* attval -- find a named attribute in the list, return ptr to string */ -static string attval(pairlist attribs, const string name) -{ - for (; attribs; attribs = attribs->next) - if (strcasecmp(attribs->name, name) == 0) - return attribs->value; - return NULL; -} - - -/* output -- print the link (lowercases rel argument) */ -static void output(string type, string rel, string url) -{ - string h = NULL; - - if (url) { /* If we found a URL */ - if (! relative && base) { - h = URL_s_absolutize(base, url); - url = h; - } - if (rel) down(rel); - switch (format) { - case HTML: - printf("<li><a class=\"%s\" rel=\"%s\" href=\"%s\">%s</a></li>\n", - type, rel ? rel : (string)"", url, url); - break; - case Long: - printf("%s\t%s\t%s\n", type, rel ? rel : (string)"", url); - break; - case Short: - printf("%s\n", url); - break; - case Tuple: - printf("%s\t%s\t%s\t%s\n", self, type, rel ? rel : (string)"", url); - break; - default: - assert(!"Cannot happen!"); - } - } - if (h) free(h); -} - - -/* --------------- implements parser interface api------------------------- */ - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_error = True; -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - if (format == HTML) { - printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\"\n"); - printf(" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"); - printf("<html>\n"); - printf("<head><title>Output of listlinks</title></head>\n"); - printf("<body>\n"); - printf("<ol>\n"); - } - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - if (format == HTML) { - printf("</ol>\n"); - printf("</body>\n"); - printf("</html>\n"); - } -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - free(commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - /* There may be several consecutive calls to this routine. */ - /* escape(text); */ - free(text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, string fpi, string url) -{ - /* skip */ - if (gi) free(gi); - if (fpi) free(fpi); - if (url) free(url); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - if (pi_text) free(pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - /* ToDo: print text of anchor, if available */ - string h; - - if (strcasecmp(name, "base") == 0) { - h = attval(attribs, "href"); - if (h) base = strdup(h); /* Use as base from now on */ - output("base", NULL, h); - } else if (strcasecmp(name, "link") == 0) { - output("link", attval(attribs, "rel"), attval(attribs, "href")); - } else if (strcasecmp(name, "a") == 0) { - output("a", attval(attribs, "rel"), attval(attribs, "href")); - } else if (strcasecmp(name, "img") == 0) { - output("img", NULL, attval(attribs, "src")); - output("longdesc", NULL, attval(attribs, "longdesc")); - } else if (strcasecmp(name, "input") == 0) { - output("input", NULL, attval(attribs, "href")); - } else if (strcasecmp(name, "object") == 0) { - output("object", NULL, attval(attribs, "data")); - } else if (strcasecmp(name, "area") == 0) { - output("area", attval(attribs, "rel"), attval(attribs, "href")); - } else if (strcasecmp(name, "ins") == 0) { - output("ins", NULL, attval(attribs, "cite")); - } else if (strcasecmp(name, "del") == 0) { - output("del", NULL, attval(attribs, "cite")); - } else if (strcasecmp(name, "q") == 0) { - output("q", NULL, attval(attribs, "cite")); - } else if (strcasecmp(name, "blockquote") == 0) { - output("bq", NULL, attval(attribs, "cite")); - } else if (strcasecmp(name, "form") == 0) { - output("form", attval(attribs, "method"), attval(attribs, "action")); - } else if (strcasecmp(name, "frame") == 0) { - output("frame", NULL, attval(attribs, "src")); - } else if (strcasecmp(name, "iframe") == 0) { - output("iframe", NULL, attval(attribs, "src")); - } else if (strcasecmp(name, "head") == 0) { - output("head", NULL, attval(attribs, "profile")); - } else if (strcasecmp(name, "script") == 0) { - output("script", NULL, attval(attribs, "src")); - } else if (strcasecmp(name, "body") == 0) { - output("body", NULL, attval(attribs, "background")); - } - - /* Free memory */ - pairlist_delete(attribs); - free(name); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - handle_starttag(clientdata, name, attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - free(name); -} - -/* --------------------------------------------------------------------- */ - - -/* usage -- print usage message and exit */ -static void usage(string progname) -{ - fprintf(stderr, - "Version %s\nUsage: %s [-l] [-r] [-h] [-b base] [-t] [HTML-file]\n", - VERSION, progname); - exit(1); -} - - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Parse command line arguments */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'l': format = Long; break; /* Long listing */ - case 'b': base = strdup(argv[++i]); break; /* Set base of URL */ - case 'r': relative = True; break; /* Do not make URLs absolute */ - case 'h': format = HTML; break; /* Output in HTML format */ - case 't': format = Tuple; break; /* Output as 4-tuples */ - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) { - yyin = stdin; - self = "-"; - } else if (i == argc - 1) { - if (!base) base = strdup(argv[i]); - if (eq(argv[i], "-")) yyin = stdin; else yyin = fopenurl(argv[i], "r"); - self = argv[i]; - } else { - usage(argv[0]); - } - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) exit(3); - - if (base) free(base); - - return has_error ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/xml2asc.1 b/arid_examples/html-xml-utils-3.0/xml2asc.1 deleted file mode 100644 index 99f47cf0b..000000000 --- a/arid_examples/html-xml-utils-3.0/xml2asc.1 +++ /dev/null @@ -1,36 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 Mar 2000" -.SH NAME -xml2asc \- convert UTF8 to &#nnn; entities -.SH SYNOPSIS -.B xml2asc -.SH DESCRIPTION -.LP -Reads a UTF-8 encoded text from standard input and writes to standard -output, converting all non-ASCII characters to &#nnn; entities, so -that the result is ASCII-encoded. -.LP -One example use is to convert ISO-8859-1 to ASCII with &#nnn; -entities, by first running -.B asc2xml -to convert ISO-8859-1 to UTF-8 and the pipe the result into -.B xml2asc -to convert to ASCII with &#nnn; entities for all accented characters. -.SH "SEE ALSO" -.BR asc2xml (1), -.BR UTF-8 -(RFC 2279) -.SH BUGS -.LP -Doesn't distinguish mark-up from content, so if the input uses -non-ASCII characters in XML element names, they will be output with -numerical entities in them, which is not legal in XML. diff --git a/arid_examples/html-xml-utils-3.0/xml2asc.c b/arid_examples/html-xml-utils-3.0/xml2asc.c deleted file mode 100644 index 08e0dedba..000000000 --- a/arid_examples/html-xml-utils-3.0/xml2asc.c +++ /dev/null @@ -1,115 +0,0 @@ -/* - * - * Program to convert files from UTF-8 to ASCII and UTF8, using the - * &#-escapes from XML to escape non-ASCII characters. - * - * Usage: - * - * xml2asc - * - * Reads from stdin and write to stdout. Converts from UTF8 (with or - * without &#-escapes) to ASCII, inserting &#-escapes for all - * non-ASCII characters. - * - * Version: $Revision: 1.2 $ ($Date: 2003/01/21 19:26:03 $) - * Author: Bert Bos <bert@w3.org> - * - * Copyright © 1994-2002 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - **/ -#include <config.h> -#include <stdio.h> -#include <stdlib.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <ctype.h> - -/* getUTF8 -- read a UTF8 encoded character from stdin */ -static long getUTF8() -{ - long c; - int b; - if ((b = getchar()) == EOF) { /* EOF */ - c = EOF; - } else if (b <= 0x7F) { /* ASCII */ - c = b; - } else if ((b & 0xE0) == 0xC0) { /* 110xxxxx 10xxxxxx */ - c = (b & 0x1F) << 6; - b = getchar(); /* Don't check for 10xxxxxx */ - c |= b & 0x3F; - } else if ((b & 0xF0) == 0xE0) { /* 1110xxxx + 2 */ - c = (b & 0x0F) << 12; - b = getchar(); - c |= (b & 0x3F) << 6; - b = getchar(); - c |= b & 0x3F; - } else if ((b & 0xF1) == 0xF0) { /* 11110xxx + 3 */ - c = (b & 0x0F) << 18; - b = getchar(); - c |= (b & 0x3F) << 12; - b = getchar(); - c |= (b & 0x3F) << 6; - b = getchar(); - c |= b & 0x3F; - } else if ((b & 0xFD) == 0xF8) { /* 111110xx + 4 */ - c = (b & 0x0F) << 24; - b = getchar(); - c |= (b & 0x0F) << 18; - b = getchar(); - c |= (b & 0x3F) << 12; - b = getchar(); - c |= (b & 0x3F) << 6; - b = getchar(); - c |= b & 0x3F; - } else if ((b & 0xFE) == 0xFC) { /* 1111110x + 5 */ - c = (b & 0x0F) << 30; - b = getchar(); - c |= (b & 0x0F) << 24; - b = getchar(); - c |= (b & 0x0F) << 18; - b = getchar(); - c |= (b & 0x3F) << 12; - b = getchar(); - c |= (b & 0x3F) << 6; - b = getchar(); - c |= b & 0x3F; - } else { - c = 0; - /* Error */ - } - return c; -} - -/* xml2asc -- copy stdin to stdout, converting UTF8 XML to ASCII XML */ -static void xml2asc(void) -{ - long c; - while ((c = getUTF8()) != EOF) { - if (c <= 127) - putchar(c); - else - printf("&#%ld;", c); - } -} - -/* Print usage message, then exit */ -static void usage(char *progname) -{ - fprintf(stderr, "Version %s\nUsage: %s <infile >outfile\n", VERSION, progname); - exit(1); -} - -/* main -- main body */ -int main(int argc, char *argv[]) -{ - if (argc != 1) usage(argv[0]); - xml2asc(); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/xmlns.1 b/arid_examples/html-xml-utils-3.0/xmlns.1 deleted file mode 100644 index b1707126a..000000000 --- a/arid_examples/html-xml-utils-3.0/xmlns.1 +++ /dev/null @@ -1,31 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "31 Mar 2000" -.SH NAME -xmlns \- replace XML Namespace prefixes by "global names" -.SH SYNOPSIS -.B xmlns -.RB "[\| " \-d " \|]" -.RB "[\| " \-\- " \|]" -.RI "[\| " file " \|]" -.SH DESCRIPTION -.B xmlns -expands all element and attribute names to "global names" by expanding -the prefix. All names will be printed as "{URL}name". Attribute names -without a prefix will have an empty namespace part: "{}name". The -namespace attributes (those that start with "xmlns") will be removed. -.PP -By default comments, PIs and the doctype declaration are removed, but -with option -.B \-d -they are kept unchanged. -.PP -[ToDo] diff --git a/arid_examples/html-xml-utils-3.0/xmlns.c b/arid_examples/html-xml-utils-3.0/xmlns.c deleted file mode 100644 index a3d597d77..000000000 --- a/arid_examples/html-xml-utils-3.0/xmlns.c +++ /dev/null @@ -1,285 +0,0 @@ -/* - * xmlns - expand XML Namespace prefixes - * - * Expand all element and attribute names to "global names" by - * expanding the prefix. All names will be printed as "{URL}name". - * Attribute names without a prefix will have an empty namespace part: - * "{}name". - * - * Copyright © 1994-2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos - * Created: 22 Mar 2000 - * Version: $Id: xmlns.c,v 1.7 2000/08/21 11:36:05 bbos Exp $ - * - **/ -#include <config.h> -#include <stdio.h> -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <ctype.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif -#include <stdlib.h> -#include <assert.h> -#include "export.h" -#include "types.e" -#include "heap.e" -#include "html.e" -#include "scan.e" -#include "openurl.e" - -extern int yylineno; /* From scan.l */ - -/* The symbol table is a chain of prefix/uri pairs. Every time an - * element starts, the prefixes defined by it are added at the end. To - * expand a prefix, the most recently added prefix/uri pair is used. - * When en element ends, the chain is reduced to what it was when the - * element started. The stack keeps track of where the chain ended at - * the start of the element. - * - * ToDo: should we hash the prefixes? or is linear search good enough? - **/ -typedef struct _Symbol { - string prefix; - string uri; - struct _Symbol *next; -} Symbol, *SymbolTable; - -typedef struct _StackElt { - Symbol *frame; - struct _StackElt *next; -} *Stack; - -static Symbol xml = {"xml", "http://www.w3.org/XML/1998/namespace", NULL}; -static Boolean has_error = False; -static SymbolTable symtable = &xml; -static Stack stack = NULL; -static Boolean do_decls = True; /* Print decl, comment, PI? */ - - -/* print_globalname -- print a name with expanded prefix */ -static void print_globalname(string name, Boolean use_default) -{ - string h, prefix, local; - Symbol *s; - - /* Split the name */ - h = strchr(name, ':'); - if (!h && !use_default) { /* No prefix & no default ns */ - printf("{}%s", name); - return; - } - if (h) { - *h = '\0'; - prefix = name; - local = h + 1; - } else { - prefix = ""; - local = name; - } - /* Find the prefix in the symbol table */ - for (s = symtable; s && !eq(prefix, s->prefix); s = s->next) ; - - if (!s) { - fprintf(stderr, "%d: prefix \"%s\" not defined\n", yylineno, prefix); - has_error = True; - } - /* ToDo: check that any '}' in uri is escaped */ - printf("{%s}%s", s ? s->uri : (string)"", local); -} - -/* do_tag -- print a start or empty tag expanded */ -static void do_tag(string name, pairlist attribs, Boolean empty) -{ - Stack h; - pairlist p; - Symbol *sym; - - /* Mark the current end of the symbol table */ - new(h); - h->next = stack; - h->frame = symtable; - stack = h; - - /* Scan the attributes for namespace definitions and store them */ - for (p = attribs; p; p = p->next) { - if (strncmp(p->name, "xmlns", 5) == 0) { - new(sym); - sym->prefix = newstring(p->name + (p->name[5] ? 6 : 5)); - sym->uri = newstring(p->value); - sym->next = symtable; - symtable = sym; - } - } - /* Print the tag with prefixes expanded */ - putchar('<'); - print_globalname(name, True); - for (p = attribs; p; p = p->next) { - if (strncmp(p->name, "xmlns", 5) != 0) { - putchar(' '); - print_globalname(p->name, False); - printf("=\"%s\"", p->value); - } - } - printf(empty ? "/>" : ">"); -} - -/* pop_symboltable -- unwind the symbol table to previous mark */ -static void pop_symboltable(string name) -{ - Symbol *h; - Stack p; - - if (!stack) { - if (! has_error) fprintf(stderr, "%d: too many end tags\n", yylineno); - has_error = True; - return; - } - /* Remove entries from symbol table chain until last mark */ - while (symtable != stack->frame) { - h = symtable; - symtable = symtable->next; - dispose(h->prefix); - dispose(h->uri); - dispose(h); - } - /* Pop stack itself */ - p = stack; - stack = stack->next; - dispose(p); -} - -/* handle_error -- called when a parse error occurred */ -void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); - has_error = True; -} - -/* start -- called before the first event is reported */ -void* start(void) -{ - return NULL; -} - -/* end -- called after the last event is reported */ -void end(void *clientdata) -{ - /* skip */ -} - -/* handle_comment -- called after a comment is parsed */ -void handle_comment(void *clientdata, string commenttext) -{ - if (do_decls) printf("<!--%s-->", commenttext); - free(commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -void handle_text(void *clientdata, string text) -{ - printf("%s", text); - free(text); -} - -/* handle_decl -- called after a declaration is parsed */ -void handle_decl(void *clientdata, string gi, string fpi, string url) -{ - if (do_decls) { - if (!fpi) printf("<!DOCTYPE %s SYSTEM \"%s\">", gi, url); - else if (!url) printf("<!DOCTYPE %s PUBLIC \"%s\">", gi, fpi); - else printf("<!DOCTYPE %s PUBLIC \"%s\" \"%s\">", gi, fpi, url); - } - free(gi); - if (fpi) free(fpi); - if (url) free(url); -} - -/* handle_pi -- called after a PI is parsed */ -void handle_pi(void *clientdata, string pi_text) -{ - if (do_decls) printf("<?%s>", pi_text); - free(pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - do_tag(name, attribs, False); - free(name); - pairlist_delete(attribs); -} - -/* handle_emptytag -- called after an empty tag is parsed */ -void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - do_tag(name, attribs, True); - pop_symboltable(name); - free(name); - pairlist_delete(attribs); -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -void handle_endtag(void *clientdata, string name) -{ - /* Printf the end tag */ - printf("</"); - print_globalname(name, True); - putchar('>'); - - /* Unwind the symbol table */ - pop_symboltable(name); - free(name); -} - -/* usage -- print usage message and exit */ -static void usage(string prog) -{ - fprintf(stderr, "Version %s\nUsage: %s [-d] [xml-file-or-url]\n", VERSION, prog); - exit(2); -} - -int main(int argc, char *argv[]) -{ - int i; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Parse command line arguments */ - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'd': do_decls = False; break; - default: usage(argv[0]); - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i == argc) yyin = stdin; - else if (i == argc - 1) yyin = fopenurl(argv[i], "r"); - else usage(argv[0]); - - if (yyin == NULL) {perror(argv[i]); exit(1);} - - if (yyparse() != 0) exit(3); - - return has_error ? 1 : 0; -} diff --git a/arid_examples/html-xml-utils-3.0/xref.1 b/arid_examples/html-xml-utils-3.0/xref.1 deleted file mode 100644 index 1bb27b699..000000000 --- a/arid_examples/html-xml-utils-3.0/xref.1 +++ /dev/null @@ -1,105 +0,0 @@ -.de d \" begin display -.sp -.in +4 -.nf -.. -.de e \" end display -.in -4 -.fi -.sp -.. -.TH man 1 "4 Aug 2000" -.SH NAME -xref \- generate cross-references inside and between HTML files -.SH SYNOPSIS -.B xref -.RB "[\| " \-x " \|]" -.RB "[\| " \-b -.IR base " \|]" -.RB "[\| " \-i -.IR index " \|]" -.RI "[\| -- \|] [\| " input " [\| " output " \|] \|]" -.SH DESCRIPTION -.LP -The -.B xref -command links inline elements to DFN elements with the same content. -It adds ID attributes where necessary. If the content of a DFN or -other element isn't suitable, the TITLE attribute may be used to -provide the term to use for comparisons. -.LP -Here is an example: -.d -<p>A <dfn>b-box</dfn> is defined to be... -<p>For every b there is a <em>b-box</em>... -.e -The output of -.B xref -will be similar to this: -.d -<p>A <dfn id="b-box">b-box</dfn> is defined to be... -<p>For every b there is a <em><a href="#b-box">b-box<a/></em>... -.e -.SH OPTIONS -The following options are supported: -.TP 10 -.B \-x -Use XML conventions: empty elements are written with a slash at the -end: <IMG\ /> -.TP -.BI \-b " base" -Sets the prefix for the generated URLs. By default -.I base -is empty, which generates URLs like "#b-box" above. If -.I base -is set to, e.g., "http://xyz/", the URLs will look like -"http://xyz/#b-box". -.TP -.BI \-i " index" -Directs -.I xref -to read terms from a database file before looking for them in the -document and afterwards store the terms that were found in the same -file. DFN element in the document ovrride terms found in -.IR index "." -This allows -.I xref -to be run multiple times on different files, to make the files refer -to each other. It may be necessary to run the commands twice, to -resolve all cross-references. -.SH OPERANDS -The following operands are supported: -.TP 10 -.I input -The name of an HTML file. If absent, standard input is read instead. -The special name "-" also indicates standard input. The -.I input -may be a URL. -.TP -.I output -The file to write to. If absent, standard output is used. This may -.I not -be a URL. -.SH "EXIT STATUS" -The following exit values are returned: -.TP 10 -.B 0 -Successful completion. -.TP -.B >0 -An error occurred in the parsing of the HTML file. -.B toc -will try to correct the error and produce output anyway. -.SH "SEE ALSO" -.BR index (1), -.BR num (1), -.BR toc (1), -.BR normalize (1), -.BR xml2asc (1) -.BR asc2xml (1) -.SH BUGS -.LP -The error recovery for incorrect HTML is primitive. -.LP -The program generates ID attributes, but doesn't generate <a name=...> -tags, so the links only work in browsers that recognize ID attributes. diff --git a/arid_examples/html-xml-utils-3.0/xref.c b/arid_examples/html-xml-utils-3.0/xref.c deleted file mode 100644 index 204ae1a10..000000000 --- a/arid_examples/html-xml-utils-3.0/xref.c +++ /dev/null @@ -1,455 +0,0 @@ -/* - * Program to (semi-)automatically link instances of terms and phrases - * in an HTML file to their definitions. - * - * The program collects all <dfn> elements, and stores either their - * title attribute, or if there is none, their content (without - * mark-up). Then it looks for occurrences of the same text and makes - * a link from the occurrence to the corresponding <dfn> element. The - * occurrences that are checked are the contents of all inline - * elements, such as <em> and <span>. HTML unfortunately forbids - * nested links, so the program doesn't look for occurrences inside an - * <a>. - * - * The program can store the <dfn> elements (the terms they define, - * the file they occur in and their ID) in a file, so that - * cross-references among several files are possible, by running the - * program on each of the files. It may be necessary to run the - * program twice on a series of files, to create all the references. - * - * Copyright © 2000 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 4 August 2000 - * Version: $Id: xref.c,v 1.19 2003/08/11 14:53:40 bbos Exp $ - **/ - -#include <config.h> -#include <assert.h> -#include <stdio.h> -#include <stdlib.h> -#include <ctype.h> - -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif -#ifdef HAVE_SEARCH_H -# include <search.h> -#else -# include "hash.e" -#endif - -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include "heap.e" -#include "types.e" -#include "html.e" -#include "scan.e" -#include "tree.e" -#include "openurl.e" -#include "genid.e" -#include "errexit.e" - - -/* Warning: arbitrary limit! */ -#define MAXLINE 4096 /* Max. len. of url + term */ -#define HASHSIZE 4096 /* Size of hash table */ - - -static Tree tree; -static string base = NULL, progname; -static Boolean do_xml = False; - - -/* handle_error -- called when a parse error occurred */ -static void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - - -/* start -- called before the first event is reported */ -static void* start(void) -{ - tree = create(); - return NULL; -} - - -/* end -- called after the last event is reported */ -static void end(void *clientdata) -{ - /* skip */ -} - - -/* handle_comment -- called after a comment is parsed */ -static void handle_comment(void *clientdata, string commenttext) -{ - tree = append_comment(tree, commenttext); -} - - -/* handle_text -- called after a tex chunk is parsed */ -static void handle_text(void *clientdata, string text) -{ - tree = append_text(tree, text); -} - - -/* handle_declaration -- called after a declaration is parsed */ -static void handle_decl(void *clientdata, string gi, string fpi, string url) -{ - tree = append_declaration(tree, gi, fpi, url); -} - - -/* handle_proc_instr -- called after a PI is parsed */ -static void handle_pi(void *clientdata, string pi_text) -{ - tree = append_procins(tree, pi_text); -} - - -/* handle_starttag -- called after a start tag is parsed */ -static void handle_starttag(void *clientdata, string name, pairlist attribs) -{ - pairlist p; - - tree = html_push(tree, name, attribs); - - /* If it has an ID, store it (so we don't accidentally generate it) */ - for (p = attribs; p; p = p->next) - if (strcasecmp(p->name, "id") == 0 && p->value) storeID(p->value); -} - - -/* handle_emptytag -- called after an empty tag is parsed */ -static void handle_emptytag(void *clientdata, string name, pairlist attribs) -{ - handle_starttag(clientdata, name, attribs); -} - - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -static void handle_endtag(void *clientdata, string name) -{ - tree = html_pop(tree, name); -} - - -/* load_definitions -- read already defined terms from file */ -static void load_definitions(FILE *f) -{ - char buf[MAXLINE]; - ENTRY entry; - char *h; - - while (fgets(buf, sizeof(buf), f)) { /* Format is PHRASE\tURL\n */ - h = strchr(buf, '\t'); - if (! h) errexit("%s: index file not in correct format\n", progname); - chomp(h); - entry.key = newnstring(buf, h - buf); - entry.data = newstring(h + 1); - hsearch(entry, ENTER); - } -} - - -/* get_contents -- collect all text content of an elt into a single string */ -static string get_contents(Tree t) -{ - Node *h; - string contents = NULL, k; - - assert(t->tp == Element); - for (h = t->children; h; h = h->sister) { - if (h->tp == Text) { - strapp(&contents, h->text, NULL); - } else if (h->tp == Element && !eq(h->name, "a") && !eq(h->name, "dfn") - && (k = get_contents(h))) { - strapp(&contents, k, NULL); - dispose(k); - } - } - return contents; -} - - -/* normalize -- collapse whitespace, trim, lowercase (modifies s) */ -static string normalize(string s) -{ - int i = 0, j; - - if (!s) return newstring(""); - - for (j = 0; isspace(s[j]); j++) ; /* Skip initial whitespace */ - - for (; s[j]; j++) - if (isupper(s[j])) s[i++] = tolower(s[j]); /* Upper -> lowercase */ - else if (isalnum(s[j]) || s[j] == '-') s[i++] = s[j]; /* Keep these */ - else if (! isspace(s[j])) ; /* Skip rest, except spaces */ - else if (s[i-1] != ' ') s[i++] = ' '; /* Collapse whitespace */ - - for (; i > 0 && s[i-1] == ' '; i--) ; /* Remove trailing spaces */ - - s[i] = '\0'; - return s; -} - - -/* collect_terms -- walk the document tree looking for <dfn> elements */ -static void collect_terms(Tree tree, FILE *db) -{ - string title, url = NULL, id, s; - ENTRY entry, *e; - int i, n; - Node *h; - - switch (tree->tp) { - case Text: - case Comment: - case Declaration: - case Procins: - break; - case Root: - for (h = tree->children; h; h = h->sister) collect_terms(h, db); - break; - case Element: - if (! eq(tree->name, "dfn")) { - for (h = tree->children; h; h = h->sister) collect_terms(h, db); - } else { - if (! get_attrib(tree, "id", &id)) { /* Make sure there's an ID */ - id = gen_id(tree); - set_attrib(tree, "id", id); - } - if (get_attrib(tree, "title", &title)) /* Use title if it exists */ - s = normalize(newstring(title)); - else /* otherwise grab contents */ - s = normalize(get_contents(tree)); - - entry.data = strapp(&url, base ? base : (string)"", "#", id, NULL); - for (i = 0; s[i];) { /* Loop over |-separated terms */ - n = strcspn(s + i, "|"); - entry.key = newnstring(s + i, n); - /* Add to hash table and to db file, if not already there */ - if (! (e = hsearch(entry, FIND)) - || ! eq((string)e->data, (string)entry.data)) { - hsearch(entry, ENTER); - if (db) fprintf(db, "%s\t%s\n", entry.key, (char*)entry.data); - } - i += n; - if (s[i]) i++; /* Skip "|" */ - } - } - break; - default: - assert(!"Cannot happen"); - } -} - - -/* find_instances -- walk tree, make instances of defined terms into links */ -static void find_instances(Tree tree) -{ - ENTRY entry, *e; - string title; - Node *h; - - switch (tree->tp) { - case Text: case Comment: case Declaration: case Procins: - break; - case Root: - for (h = tree->children; h; h = h->sister) find_instances(h); - break; - case Element: - if (eq(tree->name, "a") || eq(tree->name, "dfn")) - ; /* Don't descend into these */ - else if (eq(tree->name, "abbr") || eq(tree->name, "acronym") - || eq(tree->name, "b") || eq(tree->name, "bdo") - || eq(tree->name, "big") || eq(tree->name, "cite") - || eq(tree->name, "code") || eq(tree->name, "del") - /*|| eq(tree->name, "dt")*/ || eq(tree->name, "em") - || eq(tree->name, "i") || eq(tree->name, "ins") - || eq(tree->name, "kbd") || eq(tree->name, "label") - || eq(tree->name, "legend") || eq(tree->name, "q") - || eq(tree->name, "samp") || eq(tree->name, "small") - || eq(tree->name, "span") || eq(tree->name, "strong") - || eq(tree->name, "sub") || eq(tree->name, "sup") - || eq(tree->name, "tt") || eq(tree->name, "var")) { - if (get_attrib(tree, "title", &title)) /* Use title if it exists */ - entry.key = normalize(newstring(title)); - else /* Get flattened contents */ - entry.key = normalize(get_contents(tree)); - if (! (e = hsearch(entry, FIND))) { /* If not an instance */ - for (h = tree->children; h; h = h->sister) find_instances(h); - } else { /* Found an instance */ - h = wrap_contents(tree, "a", NULL); /* Wrap contents in an <a> */ - set_attrib(h, "href", e->data); - } - dispose(entry.key); - } else { /* Not an inline element */ - for (h = tree->children; h; h = h->sister) find_instances(h); - } - break; - default: - assert(!"Cannot happen"); - } -} - - -/* write_doc -- write the tree to a file */ -static void write_doc(Tree n, Boolean do_xml, FILE *f) -{ - pairlist h; - Tree l; - - switch (n->tp) { - case Root: - for (l = n->children; l; l = l->sister) write_doc(l, do_xml, f); - break; - case Text: - fprintf(f, "%s", n->text); - break; - case Comment: - fprintf(f, "<!--%s-->", n->text); - break; - case Declaration: - fprintf(f, "<!DOCTYPE %s", n->name); - if (n->text) fprintf(f, " PUBLIC \"%s\"", n->text); - else fprintf(f, " SYSTEM"); - if (n->url) fprintf(f, " \"%s\"", n->url); - fprintf(f, ">"); - break; - case Procins: - fprintf(f, "<?%s>", n->text); - break; - case Element: - fprintf(f, "<%s", n->name); - for (h = n->attribs; h != NULL; h = h->next) { - fprintf(f, " %s", h->name); - if (h->value != NULL) fprintf(f, "=\"%s\"", h->value); - else if (do_xml) fprintf(f, "=\"%s\"", h->name); - } - if (is_empty(n->name)) { - assert(n->children == NULL); - fprintf(f, do_xml ? " />" : ">"); - } else { - fprintf(f, ">"); - for (l = n->children; l; l = l->sister) write_doc(l, do_xml, f); - fprintf(f, "</%s>", n->name); - } - break; - default: - assert(!"Cannot happen"); - } -} - - -/* usage -- print usage message and exit */ -static void usage(void) -{ - fprintf(stderr, - "Version %s\nUsage: %s [-b base] [-i index] [-x] [--] [input [output]]\n", - VERSION, progname); - exit(1); -} - - -/* main -- main body of xref */ -int main(int argc, char *argv[]) -{ - int i; - FILE *outfile = NULL, *db = NULL; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Parse command line */ - progname = argv[0]; - yyin = NULL; - for (i = 1; i < argc && argv[i][0] == '-' && !eq(argv[i], "--"); i++) { - switch (argv[i][1]) { - case 'b': - if (!argv[i][2] && i + 1 == argc) usage(); /* Missing argument */ - if (base) usage(); /* Option was already set */ - base = argv[i][2] ? argv[i] + 2 : argv[++i]; - break; - case 'x': - if (do_xml) usage(); /* Option was already set */ - do_xml = True; - break; - case 'i': - if (!argv[i][2] && i + 1 == argc) usage(); /* Missing argument */ - if (db) usage(); /* Index was already set */ - db = fopen(argv[i][2] ? argv[i] + 2 : argv[++i], "a+"); - if (! db) errexit("%s: %s\n", argv[i], strerror(errno)); - break; - case '\0': - if (!yyin) yyin = stdin; - else if (!outfile) outfile = stdout; - else usage(); /* Was already set */ - break; - default: - usage(); /* Unknown option */ - } - } - if (i < argc && eq(argv[i], "--")) i++; - - if (i < argc) { - if (yyin) usage(); /* Input was already set */ - if (eq(argv[i], "-")) yyin = stdin; - else yyin = fopenurl(argv[i], "r"); - if (! yyin) errexit("%s: %s\n", argv[i], strerror(errno)); - } - if (++i < argc) { - if (outfile) usage(); /* Output was already set */ - if (eq(argv[i], "-")) outfile = stdout; - else outfile = fopen(argv[i], "w"); - if (! outfile) perror(argv[i]); - } - if (++i < argc) usage(); /* Too many args */ - - if (! yyin) yyin = stdin; - if (! outfile) outfile = stdout; - - if (! hcreate(HASHSIZE)) - errexit("%s: cannot create hash table (out of memory?)\n", argv[0]); - - if (db) { - if (fseek(db, 0L, SEEK_SET) == -1) - errexit("%s: %s\n", progname, strerror(errno)); - load_definitions(db); - } - - if (yyparse() != 0) exit(3); - - tree = get_root(tree); - collect_terms(tree, db); - find_instances(tree); - - if (db) fclose(db); - - write_doc(tree, do_xml, outfile); - - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/xselect.c b/arid_examples/html-xml-utils-3.0/xselect.c deleted file mode 100644 index 010eb541b..000000000 --- a/arid_examples/html-xml-utils-3.0/xselect.c +++ /dev/null @@ -1,465 +0,0 @@ -/* - * select -- extract elements matching a selector - * - * Assumes that class selectors (".foo") refer to an attribute called - * "class". - * - * Assumes that ID selectors ("#foo") refer to an attribute called - * "id". - * - * Options: - * - * -l language - * - * Sets the default language, in case the root element doesn't - * have an xml: lang attribute. Example: -l en. Default: none. - * - * -s separator - * - * A string to print after each match. Accepts C-like escapes. - * Example: -s '\n\n' to print an empty line after each match. - * Default: empty string. - * - * -i - * - * Match case-insensitively. Useful for HTML and some other - * SGML-based languages. - * - * -c - * - * Print content only. Without -c, the start and end tag of the - * matched element are printed as well; with -c only the contents - * of the matched element are printed. - * - * Copyright © 2001 World Wide Web Consortium - * See http://www.w3.org/Consortium/Legal/copyright-software-19980720.html - * - * Author: Bert Bos <bert@w3.org> - * Created: 5 Jul 2001 - * Version: $Id: xselect.c,v 1.7 2003/04/09 10:07:13 bbos Exp $ - * - **/ -#include <config.h> -#include <assert.h> -#include <ctype.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> -#include <unistd.h> -#if STDC_HEADERS -# include <string.h> -#else -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -# ifndef HAVE_STRSTR -# include "strstr.e" -# endif -#endif -#include "export.h" -#include "types.e" -#include "heap.e" -#include "html.e" -#include "scan.e" -#include "errexit.e" -#include "selector.e" - - -typedef struct _Node { - string name; - pairlist attribs; - string language; - struct _Node *child; /* Youngest(!) child */ - struct _Node *sister; /* Older(!) sister */ - struct _Node *parent; -} Node, *Tree; - -static Tree tree = NULL; /* Current elt in tree */ -static Selector selector; /* The selector to match */ -static int copying = 0; /* >0 means: inside a match */ -static string language = ""; /* Initial language */ -static Boolean content_only = False; /* Omit start/end tag */ -static string separator = ""; /* Printed between matches */ -static Boolean case_insensitive = False; /* How to match elems/attrs */ - - -/* push -- add an element to the tree, make tree point to that element */ -static void push(const string name, const pairlist attribs) -{ - pairlist p; - Node *h; - - new(h); - h->name = name; - h->attribs = attribs; - for (p = attribs; p && !eq(p->name, "xml:lang"); p = p->next) ; - if (p) h->language = p->value; /* Explicit */ - else if (tree) h->language = tree->language; /* Inherit */ - else h->language = language; /* Initial */ - h->child = NULL; - h->parent = tree; - h->sister = tree ? tree->child : NULL; - if (tree) tree->child = h; - tree = h; -} - -/* pop -- make tree point to parent of current node */ -static void pop(const string name) -{ - if (!tree || !tree->name || !eq(tree->name, name)) - errexit("Input is not well-formed. (Maybe try normalize?)\n"); - tree = tree->parent; -} - -/* same -- compare two names, case-(in)sensitively, depending */ -static Boolean same(const string a, const string b) -{ - return case_insensitive ? strcasecmp(a, b) == 0 : eq(a, b); -} - -/* nr_sisters -- return # of elder sisters of a node */ -static int nr_sisters(const Node *n) -{ - if (!n->sister) return 0; - else return 1 + nr_sisters(n->sister); -} - -/* nr_typed_sisters -- return # of elder sisters of type t */ -static int nr_typed_sisters(const Node *n, const Node *t) -{ - if (!n->sister) - return 0; - else if (!same(n->sister->name, t->name)) - return nr_typed_sisters(n->sister, t); - else - return 1 + nr_typed_sisters(n->sister, t); -} - -/* get_attr -- return the value of the named attribute, or NULL */ -static string get_attr(const Node *n, const string name) -{ - pairlist p; - - for (p = n->attribs; p && !same(p->name, name); p = p->next) ; - return p ? p->value : NULL; -} - -/* includes -- check for word in the space-separated words of line */ -static Boolean includes(const string line, const string word) -{ - int i = 0, n = strlen(word); - - /* What should happen if word is the empty string? */ - /* To do: compare with contains() in class.c, keep the best */ - while (line[i]) { - if (case_insensitive) { - if (!strncasecmp(line+i, word, n) && (!line[i+n] || isspace(line[i+n]))) - return True; - } else { - if (!strncmp(line+i, word, n) && (!line[i+n] || isspace(line[i+n]))) - return True; - } - do i++; while (line[i] && !isspace(line[i])); - while (isspace(line[i])) i++; - } - return False; -} - -/* starts_with -- check if line starts with prefix */ -static Boolean starts_with(const string line, const string prefix) -{ - return case_insensitive - ? strncasecmp(line, prefix, strlen(prefix)) == 0 - : strncmp(line, prefix, strlen(prefix)) == 0; -} - -/* ends_with -- check if line ends with suffix */ -static Boolean ends_with(const string line, const string suffix) -{ - int n1 = strlen(line), n2 = strlen(suffix); - return n1 >= n2 && eq(line + n1 - n2, suffix); -} - -/* contains -- check if line contains s */ -static Boolean contains(const string line, const string s) -{ - return strstr(line, s) != NULL; -} - -/* lang_match -- check if language specific is subset of general */ -static Boolean lang_match(const string specific, const string general) -{ - int n = strlen(general); - return !strncasecmp(specific, general, n) - && (specific[n] == '-' || !specific[n]); -} - -/* simple_match -- check if a node matches a simple selector */ -static Boolean simple_match(const Node *n, const SimpleSelector *s) -{ - AttribCond *p; - PseudoCond *q; - string h; - int i; - - /* Match the type selector */ - if (s->name && !same(s->name, n->name)) return False; - - /* Match the attribute selectors, including class and ID */ - for (p = s->attribs; p; p = p->next) { - if (!(h = get_attr(n, (p->op == HasClass) ? (string)"class" - : (p->op == HasID) ? (string) "id" : p->name))) - return False; - switch (p->op) { - case Exists: break; - case Equals: - case HasID: if (!eq(p->value, h)) return False; break; - case Includes: - case HasClass: if (!includes(h, p->value)) return False; break; - case StartsWith: if (!starts_with(h, p->value)) return False; break; - case EndsWidth: if (!ends_with(h, p->value)) return False; break; - case Contains: if (!contains(h, p->value)) return False; break; - case LangMatch: if (!lang_match(h, p->value)) return False; break; - default: assert(!"Cannot happen"); - } - } - - /* Match the pseudo-classes */ - for (q = s->pseudos; q; q = q->next) { - switch (q->type) { - case Root: - if (n->parent) return False; - break; - case NthChild: - i = nr_sisters(n) + 1; - if (q->a == 0) {if (i != q->b) return False;} - else {if ((i-q->b)/q->a < 0 || (i-q->b)%q->a != 0) return False;} - break; - case NthOfType: - i = nr_typed_sisters(n, n) + 1; - if (q->a == 0) {if (i != q->b) return False;} - else {if ((i-q->b)/q->a < 0 || (i-q->b)%q->a != 0) return False;} - break; - case FirstChild: - if (n->sister) return False; - break; - case FirstOfType: - if (nr_typed_sisters(n, n) != 0) return False; - break; - case Lang: - if (!lang_match(n->language, q->s)) return False; - break; - default: - assert(!"Cannot happen"); - } - } - return True; -} - -/* matches_sel -- check if node matches selector (recursively) */ -static Boolean matches_sel(const Tree t, const Selector s) -{ - Tree h; - - if (!simple_match(t, s)) return False; - if (!s->context) return True; - switch (s->combinator) { - case Descendant: - for (h = t->parent; h && !matches_sel(h, s->context); h = h->parent); - return h != NULL; - case Child: - return t->parent && matches_sel(t->parent, s->context); - case Adjacent: - return t->sister && matches_sel(t->sister, s->context); - case Sibling: - for (h = t->sister; h && !matches_sel(h, s->context); h = h->sister); - return h != NULL; - default: - assert(!"Cannot happen"); - return False; - } -} - -/* matches -- check if current node matches the selector */ -static Boolean matches(void) -{ - return matches_sel(tree, selector); -} - -/* printtag -- print a start tag or an XML-style empty tag */ -static void printtag(const string name, const pairlist attribs, - Boolean slash) -{ - pairlist p; - - printf("<%s", name); - for (p = attribs; p; p = p->next) { - printf(" %s=\"%s\"", p->name, p->value); - } - if (slash) putchar('/'); - putchar('>'); -} - -/* printsep -- print the separator string, interpret escapes */ -static void printsep(const string separator) -{ - string s = separator; - int c; - - while (*s) { - if (*s != '\\') putchar(*(s++)); - else if ('0' <= *(++s) && *s <= '7') { - c = *s - '0'; - if ('0' <= *(++s) && *s <= '7') { - c = 8 * c + *s - '0'; - if ('0' <= *(++s) && *s <= '7') c = 8 * c + *s - '0'; - } - putchar(c); s++; - } else - switch (*s) { - case '\0': putchar('\\'); break; - case 'n': putchar('\n'); s++; break; - case 't': putchar('\t'); s++; break; - case 'r': putchar('\r'); s++; break; - case 'f': putchar('\f'); s++; break; - default: putchar(*(s++)); break; - } - } -} - - -/* handle_error -- called when a parse error occurred */ -static void handle_error(void *clientdata, const string s, int lineno) -{ - fprintf(stderr, "%d: %s\n", lineno, s); -} - -/* start -- called before the first event is reported */ -static void* start(void) -{ - return NULL; -} - -/* end -- called after the last event is reported */ -static void end(void *clientdata) -{ -} - -/* handle_comment -- called after a comment is parsed */ -static void handle_comment(void *clientdata, const string commenttext) -{ - free(commenttext); -} - -/* handle_text -- called after a text chunk is parsed */ -static void handle_text(void *clientdata, const string text) -{ - if (copying) printf("%s", text); - free(text); -} - -/* handle_declaration -- called after a declaration is parsed */ -static void handle_decl(void *clientdata, const string gi, const string fpi, - const string url) -{ - free(gi); - free(fpi); - free(url); -} - -/* handle_proc_instr -- called after a PI is parsed */ -static void handle_pi(void *clientdata, const string pi_text) -{ - free(pi_text); -} - -/* handle_starttag -- called after a start tag is parsed */ -static void handle_starttag(void *clientdata, const string name, - pairlist attribs) -{ - assert(copying >= 0); - push(name, attribs); /* Add to tree */ - if (copying || matches()) copying++; /* Level of copying */ - if (copying > 1 || (copying == 1 && !content_only)) - printtag(name, attribs, False); /* Print a start tag */ -} - -/* handle_emptytag -- called after an empty tag is parsed */ -static void handle_emptytag(void *clientdata, const string name, - pairlist attribs) -{ - assert(copying >= 0); - push(name, attribs); /* Add to tree */ - if (copying || matches()) copying++; /* Level of copying */ - if (copying > 1 || (copying == 1 && !content_only)) - printtag(name, attribs, True); /* Print a start tag */ - if (copying == 1) printsep(separator); /* Separate the matches */ - if (copying) copying--; - pop(name); /* Remove from tree again */ -} - -/* handle_endtag -- called after an endtag is parsed (name may be "") */ -static void handle_endtag(void *clientdata, const string name) -{ - assert(copying >= 0); - if (copying > 1 || (copying == 1 && !content_only)) printf("</%s>", name); - if (copying == 1) printsep(separator); /* Separate the matches */ - if (copying) copying--; - pop(name); - free(name); -} - -/* usage -- print usage message and exit */ -static void usage(const string name) -{ - errexit("Version %s\n\ -Usage: %s [-i] [-c] [-l language] [-s separator] selector\n", VERSION, name); -} - - -int main(int argc, char *argv[]) -{ - string s; - int c; - - /* Bind the parser callback routines to our handlers */ - set_error_handler(handle_error); - set_start_handler(start); - set_end_handler(end); - set_comment_handler(handle_comment); - set_text_handler(handle_text); - set_decl_handler(handle_decl); - set_pi_handler(handle_pi); - set_starttag_handler(handle_starttag); - set_emptytag_handler(handle_emptytag); - set_endtag_handler(handle_endtag); - - /* Command line options */ - while ((c = getopt(argc, argv, "icl:s:")) != -1) { - switch (c) { - case 'c': content_only = True; break; - case 'l': language = optarg; break; - case 's': separator = optarg; break; - case 'i': case_insensitive = True; break; - case '?': usage(argv[0]); break; - default: assert(!"Cannot happen"); - } - } - - /* Parse the selector */ - if (optind >= argc) usage(argv[0]); /* Need at least 1 arg */ - for (s = newstring(argv[optind++]); optind < argc; optind++) - strapp(&s, " ", argv[optind], NULL); - selector = parse_selector(s); - -#if 0 - /* Debugging */ - fprintf(stderr, "--> %s\n", selector_to_string(selector)); -#endif - - /* Walk the tree */ - yyin = stdin; - if (yyparse() != 0) exit(3); - return 0; -} diff --git a/arid_examples/html-xml-utils-3.0/ylwrap b/arid_examples/html-xml-utils-3.0/ylwrap deleted file mode 100755 index f86e21730..000000000 --- a/arid_examples/html-xml-utils-3.0/ylwrap +++ /dev/null @@ -1,222 +0,0 @@ -#! /bin/sh -# ylwrap - wrapper for lex/yacc invocations. - -scriptversion=2003-11-18.20 - -# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003 -# Free Software Foundation, Inc. -# -# Written by Tom Tromey <tromey@cygnus.com>. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# This file is maintained in Automake, please report -# bugs to <bug-automake@gnu.org> or send patches to -# <automake-patches@gnu.org>. - -case "$1" in - '') - echo "$0: No files given. Try \`$0 --help' for more information." 1>&2 - exit 1 - ;; - --basedir) - basedir=$2 - shift 2 - ;; - -h|--h*) - cat <<\EOF -Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]... - -Wrapper for lex/yacc invocations, renaming files as desired. - - INPUT is the input file - OUTPUT is one file PROG generates - DESIRED is the file we actually want instead of OUTPUT - PROGRAM is program to run - ARGS are passed to PROG - -Any number of OUTPUT,DESIRED pairs may be used. - -Report bugs to <bug-automake@gnu.org>. -EOF - exit 0 - ;; - -v|--v*) - echo "ylwrap $scriptversion" - exit 0 - ;; -esac - - -# The input. -input="$1" -shift -case "$input" in - [\\/]* | ?:[\\/]*) - # Absolute path; do nothing. - ;; - *) - # Relative path. Make it absolute. - input="`pwd`/$input" - ;; -esac - -pairlist= -while test "$#" -ne 0; do - if test "$1" = "--"; then - shift - break - fi - pairlist="$pairlist $1" - shift -done - -# The program to run. -prog="$1" -shift -# Make any relative path in $prog absolute. -case "$prog" in - [\\/]* | ?:[\\/]*) ;; - *[\\/]*) prog="`pwd`/$prog" ;; -esac - -# FIXME: add hostname here for parallel makes that run commands on -# other machines. But that might take us over the 14-char limit. -dirname=ylwrap$$ -trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15 -mkdir $dirname || exit 1 - -cd $dirname - -case $# in - 0) $prog "$input" ;; - *) $prog "$@" "$input" ;; -esac -status=$? - -if test $status -eq 0; then - set X $pairlist - shift - first=yes - # Since DOS filename conventions don't allow two dots, - # the DOS version of Bison writes out y_tab.c instead of y.tab.c - # and y_tab.h instead of y.tab.h. Test to see if this is the case. - y_tab_nodot="no" - if test -f y_tab.c || test -f y_tab.h; then - y_tab_nodot="yes" - fi - - # The directory holding the input. - input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'` - # Quote $INPUT_DIR so we can use it in a regexp. - # FIXME: really we should care about more than `.' and `\'. - input_rx=`echo "$input_dir" | sed 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'` - - while test "$#" -ne 0; do - from="$1" - # Handle y_tab.c and y_tab.h output by DOS - if test $y_tab_nodot = "yes"; then - if test $from = "y.tab.c"; then - from="y_tab.c" - else - if test $from = "y.tab.h"; then - from="y_tab.h" - fi - fi - fi - if test -f "$from"; then - # If $2 is an absolute path name, then just use that, - # otherwise prepend `../'. - case "$2" in - [\\/]* | ?:[\\/]*) target="$2";; - *) target="../$2";; - esac - - # We do not want to overwrite a header file if it hasn't - # changed. This avoid useless recompilations. However the - # parser itself (the first file) should always be updated, - # because it is the destination of the .y.c rule in the - # Makefile. Divert the output of all other files to a temporary - # file so we can compare them to existing versions. - if test $first = no; then - realtarget="$target" - target="tmp-`echo $target | sed s/.*[\\/]//g`" - fi - # Edit out `#line' or `#' directives. - # - # We don't want the resulting debug information to point at - # an absolute srcdir; it is better for it to just mention the - # .y file with no path. - # - # We want to use the real output file name, not yy.lex.c for - # instance. - # - # We want the include guards to be adjusted too. - FROM=`echo "$from" | sed \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\ - -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'` - TARGET=`echo "$2" | sed \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\ - -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'` - - sed -e "/^#/!b" -e "s,$input_rx,," -e "s,$from,$2," \ - -e "s,$FROM,$TARGET," "$from" >"$target" || status=$? - - # Check whether header files must be updated. - if test $first = no; then - if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then - echo "$2" is unchanged - rm -f "$target" - else - echo updating "$2" - mv -f "$target" "$realtarget" - fi - fi - else - # A missing file is only an error for the first file. This - # is a blatant hack to let us support using "yacc -d". If -d - # is not specified, we don't want an error when the header - # file is "missing". - if test $first = yes; then - status=1 - fi - fi - shift - shift - first=no - done -else - status=$? -fi - -# Remove the directory. -cd .. -rm -rf $dirname - -exit $status - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff --git a/arid_examples/ss_test_data/cobertura-html/css/help.css b/arid_examples/ss_test_data/cobertura-html/css/help.css deleted file mode 100644 index c6fbb2897..000000000 --- a/arid_examples/ss_test_data/cobertura-html/css/help.css +++ /dev/null @@ -1,22 +0,0 @@ -dl { - float: left; - width: 100%; -} - -dt { - border-top: 1px solid #808080; - float: left; - font-weight: bold; - margin: 0; - padding: 1em; - width: 20%; -} - -dd { - border-top: 1px solid #808080; - float: left; - font-style: italic; - margin: 0; - padding: 1em; - width: 60%; -} diff --git a/arid_examples/ss_test_data/cobertura-html/css/main.css b/arid_examples/ss_test_data/cobertura-html/css/main.css deleted file mode 100644 index 952dd2156..000000000 --- a/arid_examples/ss_test_data/cobertura-html/css/main.css +++ /dev/null @@ -1,131 +0,0 @@ -@import url("help.css"); -@import url("source-viewer.css"); -@import url("tooltip.css"); - -.hidden { - display: none; -} - -a.dfn { - border-bottom: 1px dotted #00aa00; - cursor: help; -} - -a.dfn:active, a.dfn:link, a.dfn:visited { - color: #000000; - text-decoration: none; -} - -a.dfn:hover { - color: #0000ff; - text-decoration: none; -} - -body { - font-family: verdana, arial, helvetica; -} - -h1, h2, h3, h4, h5, h6 { - margin-bottom: 0.5em; -} - -h5 { - margin-top: 0.5em; -} - -div.footer { - font-size: 68%; - margin-top: 1.5em; -} - -div.percentgraph -{ - background-color: #f02020; - border: #808080 1px solid; - height: 1.3em; - magin: 0px; - padding: 0px; - width: 100px; -} - -div.percentgraph div.greenbar -{ - background-color: #00f000; - height: 1.3em; - magin: 0px; - padding: 0px; -} - -div.percentgraph div.na -{ - background-color: #eaeaea; - height: 1.3em; - magin: 0px; - padding: 0px; -} - -div.percentgraph span.text -{ - display: block; - position: absolute; - text-align: center; - width: 100px; -} - -div.separator { - height: 10px; -} - -table tr td, table tr th { - font-size: 68%; -} - -td.value table tr td { - font-size: 11px; -} - -table.percentgraph { - border: 0px; - font-size: 130%; - margin: 0px; - margin-left: auto; - margin-right: 0px; - padding: 0px; -} - -table.percentgraph tr.percentgraph { - border: 0px; - margin: 0px; - padding: 0px; -} - -table.percentgraph td.percentgraph { - border: 0px; - margin: 0px; - padding: 0px; - padding-left: 4px; -} - -table.report { - border-collapse: collapse; - width: 100%; -} - -table.report td { - border: #d0d0d0 1px solid; -} - -table.report td.heading { - background: #dcecff; - font-weight: bold; - text-align: center; -} - -table.report td.heading:hover { - background: #c0ffc0; - cursor: pointer; -} - -table.report td.value { - text-align: right; -} diff --git a/arid_examples/ss_test_data/cobertura-html/css/sortabletable.css b/arid_examples/ss_test_data/cobertura-html/css/sortabletable.css deleted file mode 100644 index 970e2b55c..000000000 --- a/arid_examples/ss_test_data/cobertura-html/css/sortabletable.css +++ /dev/null @@ -1,50 +0,0 @@ -.sort-table { - font: Icon; - border: 1px Solid ThreeDShadow; - background: Window; - color: WindowText; -} - -.sort-table thead { - background: ButtonFace; -} - -.sort-table td { - padding: 2px 5px; -} - -.sort-table thead td { - border: 1px solid; - border-color: ButtonHighlight ButtonShadow - ButtonShadow ButtonHighlight; - cursor: default; -} - -.sort-table thead td:active { - border-color: ButtonShadow ButtonHighlight - ButtonHighlight ButtonShadow; - padding: 3px 4px 1px 6px; -} - -.sort-table thead td[_sortType=None]:active { - border-color: ButtonHighlight ButtonShadow - ButtonShadow ButtonHighlight; - padding: 2px 5px; -} - -.sort-arrow { - width: 11px; - height: 11px; - background-position: center center; - background-repeat: no-repeat; - margin: 0 2px; -} - -.sort-arrow.descending { - background-image: url("../images/downsimple.png"); - -} - -.sort-arrow.ascending { - background-image: url("../images/upsimple.png"); -} \ No newline at end of file diff --git a/arid_examples/ss_test_data/cobertura-html/css/source-viewer.css b/arid_examples/ss_test_data/cobertura-html/css/source-viewer.css deleted file mode 100644 index 4b8b6aa0d..000000000 --- a/arid_examples/ss_test_data/cobertura-html/css/source-viewer.css +++ /dev/null @@ -1,74 +0,0 @@ -pre.src { - background: #ffffff; - margin-top: 0px; - margin-bottom: 0px; -} - -table.src { - border: #dcdcdc 1px solid; - font-size: 16px; -} - -td.numLine { - background: #f0f0f0; - border-right: #dcdcdc 1px solid; - padding-right: 3px; - text-align: right; -} - -td.numLineCover { - background: #80ff80; - border-right: #dcdcdc 1px solid; - padding-right: 3px; - text-align: right; -} - -td.nbHits { - background: #f0f0f0; - border-right: #dcdcdc 1px solid; - padding-right: 3px; - text-align: right; -} - -td.nbHitsCovered { - background: #80ff80; - border-right: #dcdcdc 1px solid; - padding-right: 3px; - text-align: right; -} - -td.nbHitsUncovered { - background: #ff9090; - border-right: #dcdcdc 1px solid; - font-weight: bold; - padding-right: 3px; - text-align: right; -} - -td.src { - width: 100%; -} - -span.comment { - color: #b22222; - font-style: italic; -} - -span.keyword { - color: #2020bf; - font-weight: bold; -} - -span.srcUncovered { - background: #ff9090; - font-weight: bold; -} - -span.string { - color: #2a00ff; -} - -span.text_italic { - font-size: 12px; - font-style: italic; -} diff --git a/arid_examples/ss_test_data/cobertura-html/css/tooltip.css b/arid_examples/ss_test_data/cobertura-html/css/tooltip.css deleted file mode 100644 index c790d8104..000000000 --- a/arid_examples/ss_test_data/cobertura-html/css/tooltip.css +++ /dev/null @@ -1,49 +0,0 @@ -a.hastooltip { - border-bottom: 1px dotted #00aa00; - color: #000000; - cursor: help; - font-style: normal; - position: relative; /* This is the key */ - text-decoration: none; - z-index: 24; /* What does this do? */ -} - -a.hastooltip:active { - color: #000000; - text-decoration: none; -} - -a.hastooltip:link { - color: #000000; - text-decoration: none; -} - -a.hastooltip:hover { - background-color: #a0b8ff; - color: #000000; - text-decoration: none; - z-index: 25; -} - -a.hastooltip:visited { - color: #000000; - text-decoration: none; -} - -a.hastooltip span { - display: none; -} - -a.hastooltip:hover span { - background-color: #eeeeee; - border: 1px solid #000000; - color: #000000; - display: block; - padding: 5px; - left: -15.2em; - position: absolute; - text-align: center; - text-decoration: none; - top: 2em; - width: 20em; -} diff --git a/arid_examples/ss_test_data/cobertura-html/frame-packages.html b/arid_examples/ss_test_data/cobertura-html/frame-packages.html deleted file mode 100644 index 9a3a3f3af..000000000 --- a/arid_examples/ss_test_data/cobertura-html/frame-packages.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css" /> -</head> -<body> -<h5>Packages</h5> -<table width="100%"> -<tr> -<td nowrap="nowrap"><a href="frame-summary.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles.html"' target="summary">All</a></td> -</tr> -<tr> -<td nowrap="nowrap"><a href="frame-summary-test.first.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.first.html"' target="summary">test.first</a></td> -</tr> -<tr> -<td nowrap="nowrap"><a href="frame-summary-test.second.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.second.html"' target="summary">test.second</a></td> -</tr> -</table> -</body> -</html> diff --git a/arid_examples/ss_test_data/cobertura-html/frame-sourcefiles-test.first.html b/arid_examples/ss_test_data/cobertura-html/frame-sourcefiles-test.first.html deleted file mode 100644 index e47a6bbab..000000000 --- a/arid_examples/ss_test_data/cobertura-html/frame-sourcefiles-test.first.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report Classes</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -</head> -<body> -<h5> -test.first -</h5> -<div class="separator"> </div> -<h5>Classes</h5> -<table width="100%"> -<tbody> -<tr> -<td nowrap="nowrap"><a target="summary" href="test.first.A.html">A</a> <i>(0%)</i></td> -</tr> -</tbody> -</table> -</body> -</html> diff --git a/arid_examples/ss_test_data/cobertura-html/frame-sourcefiles-test.second.html b/arid_examples/ss_test_data/cobertura-html/frame-sourcefiles-test.second.html deleted file mode 100644 index 61faf1b35..000000000 --- a/arid_examples/ss_test_data/cobertura-html/frame-sourcefiles-test.second.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report Classes</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -</head> -<body> -<h5> -test.second -</h5> -<div class="separator"> </div> -<h5>Classes</h5> -<table width="100%"> -<tbody> -<tr> -<td nowrap="nowrap"><a target="summary" href="test.second.A.html">A</a> <i>(0%)</i></td> -</tr> -</tbody> -</table> -</body> -</html> diff --git a/arid_examples/ss_test_data/cobertura-html/frame-sourcefiles.html b/arid_examples/ss_test_data/cobertura-html/frame-sourcefiles.html deleted file mode 100644 index 3422aa9eb..000000000 --- a/arid_examples/ss_test_data/cobertura-html/frame-sourcefiles.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report Classes</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -</head> -<body> -<h5> -All Packages -</h5> -<div class="separator"> </div> -<h5>Classes</h5> -<table width="100%"> -<tbody> -<tr> -<td nowrap="nowrap"><a target="summary" href="test.first.A.html">A</a> <i>(0%)</i></td> -</tr> -<tr> -<td nowrap="nowrap"><a target="summary" href="test.second.A.html">A</a> <i>(0%)</i></td> -</tr> -</tbody> -</table> -</body> -</html> diff --git a/arid_examples/ss_test_data/cobertura-html/frame-summary-test.first.html b/arid_examples/ss_test_data/cobertura-html/frame-summary-test.first.html deleted file mode 100644 index 89aca87a1..000000000 --- a/arid_examples/ss_test_data/cobertura-html/frame-summary-test.first.html +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<link title="Style" type="text/css" rel="stylesheet" href="css/sortabletable.css"/> -<script type="text/javascript" src="js/popup.js"></script> -<script type="text/javascript" src="js/sortabletable.js"></script> -<script type="text/javascript" src="js/customsorttypes.js"></script> -</head> -<body> -<h5>Coverage Report - test.first</h5> -<div class="separator"> </div> -<table class="report" id="packageResults"> -<thead><tr> <td class="heading">Package</td> <td class="heading"># Classes</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> -<tbody> - <tr><td><a href="frame-summary-test.first.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.first.html"'>test.first</a></td><td class="value">1</td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> -</tbody> -</table> -<script type="text/javascript"> -var packageTable = new SortableTable(document.getElementById("packageResults"), - ["String", "Number", "Percentage", "Percentage", "FormattedNumber"]); -packageTable.sort(0); -</script> -<div class="separator"> </div> -<table class="report" id="classResults"> -<thead><tr> <td class="heading">Classes in this Package</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> -<tbody> - <tr><td><a href="test.first.A.html">A</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - -</tbody> -</table> -<script type="text/javascript"> -var classTable = new SortableTable(document.getElementById("classResults"), - ["String", "Percentage", "Percentage", "FormattedNumber"]); -classTable.sort(0); -</script> -<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> null on 8/10/11 5:10 PM.</div> -</body> -</html> diff --git a/arid_examples/ss_test_data/cobertura-html/frame-summary-test.second.html b/arid_examples/ss_test_data/cobertura-html/frame-summary-test.second.html deleted file mode 100644 index 3581a9e2d..000000000 --- a/arid_examples/ss_test_data/cobertura-html/frame-summary-test.second.html +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<link title="Style" type="text/css" rel="stylesheet" href="css/sortabletable.css"/> -<script type="text/javascript" src="js/popup.js"></script> -<script type="text/javascript" src="js/sortabletable.js"></script> -<script type="text/javascript" src="js/customsorttypes.js"></script> -</head> -<body> -<h5>Coverage Report - test.second</h5> -<div class="separator"> </div> -<table class="report" id="packageResults"> -<thead><tr> <td class="heading">Package</td> <td class="heading"># Classes</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> -<tbody> - <tr><td><a href="frame-summary-test.second.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.second.html"'>test.second</a></td><td class="value">1</td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> -</tbody> -</table> -<script type="text/javascript"> -var packageTable = new SortableTable(document.getElementById("packageResults"), - ["String", "Number", "Percentage", "Percentage", "FormattedNumber"]); -packageTable.sort(0); -</script> -<div class="separator"> </div> -<table class="report" id="classResults"> -<thead><tr> <td class="heading">Classes in this Package</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> -<tbody> - <tr><td><a href="test.second.A.html">A</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - -</tbody> -</table> -<script type="text/javascript"> -var classTable = new SortableTable(document.getElementById("classResults"), - ["String", "Percentage", "Percentage", "FormattedNumber"]); -classTable.sort(0); -</script> -<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> null on 8/10/11 5:10 PM.</div> -</body> -</html> diff --git a/arid_examples/ss_test_data/cobertura-html/frame-summary.html b/arid_examples/ss_test_data/cobertura-html/frame-summary.html deleted file mode 100644 index fd471f782..000000000 --- a/arid_examples/ss_test_data/cobertura-html/frame-summary.html +++ /dev/null @@ -1,31 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<link title="Style" type="text/css" rel="stylesheet" href="css/sortabletable.css"/> -<script type="text/javascript" src="js/popup.js"></script> -<script type="text/javascript" src="js/sortabletable.js"></script> -<script type="text/javascript" src="js/customsorttypes.js"></script> -</head> -<body> -<h5>Coverage Report - All Packages</h5> -<div class="separator"> </div> -<table class="report" id="packageResults"> -<thead><tr> <td class="heading">Package</td> <td class="heading"># Classes</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> -<tbody> - <tr><td><b>All Packages</b></td><td class="value">2</td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/20</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - <tr><td><a href="frame-summary-test.first.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.first.html"'>test.first</a></td><td class="value">1</td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - <tr><td><a href="frame-summary-test.second.html" onclick='parent.sourceFileList.location.href="frame-sourcefiles-test.second.html"'>test.second</a></td><td class="value">1</td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> -</tbody> -</table> -<script type="text/javascript"> -var packageTable = new SortableTable(document.getElementById("packageResults"), - ["String", "Number", "Percentage", "Percentage", "FormattedNumber"]); -packageTable.sort(0); -</script> -<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> null on 8/10/11 5:10 PM.</div> -</body> -</html> diff --git a/arid_examples/ss_test_data/cobertura-html/help.html b/arid_examples/ss_test_data/cobertura-html/help.html deleted file mode 100644 index 4c518dcd3..000000000 --- a/arid_examples/ss_test_data/cobertura-html/help.html +++ /dev/null @@ -1,31 +0,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" xml:lang="en" lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<title>Coverage Report - Help</title> -</head> - -<body> - -<dl> - -<dt>Line Coverage</dt> -<dd>The percent of lines executed by this test run.</dd> - -<dt>Branch Coverage</dt> -<dd>The percent of branches executed by this test run.</dd> - -<dt>Complexity</dt> -<dd>Average McCabe's cyclomatic code complexity for all methods. This is basically a count of the number of different code paths in a method (incremented by 1 for each if statement, while loop, etc.)</dd> - -<dt>N/A</dt> -<dd>Line coverage and branch coverage will appear as "Not Applicable" when Cobertura can not find line number information in the .class file. This happens for stub and skeleton classes, interfaces, or when the class was not compiled with "debug=true."</dd> - -</dl> - -</body> - -</html> diff --git a/arid_examples/ss_test_data/cobertura-html/images/blank.png b/arid_examples/ss_test_data/cobertura-html/images/blank.png deleted file mode 100644 index cee9cd37a10ebe8d7fe6a6ed0d8d74a2889f6e9f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 144 zcmeAS@N?(olHy`uVBq!ia0vp^!ayv*$P6UUaa~gcQtTz3zOL*Scz7A*wL3%Pb^(Pr z3p^r=85p=efH0%e8j~47LAC&&5LY1m|NsA`H|O64vY1MO{DS{8Jl$^K1?2I2x;TbZ j+)DoO|34!$s|3ToYTbu_uiJV9r5HS2{an^LB{Ts5Dp4nx diff --git a/arid_examples/ss_test_data/cobertura-html/images/downsimple.png b/arid_examples/ss_test_data/cobertura-html/images/downsimple.png deleted file mode 100644 index 4accf927bed9f998040ada65a35695bb758c78f1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^96-#@!3-ps+W+JLDVB6cUq=Rp^(V|(yIunMk|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5XI0Jk_T>t<7-_p_o<lWUhu@*=% zmjw9*|NqZ${S+_IKn8P97srr_TS*Bm3~UVyNeL-T%wU>nv&0MrCXRCq913h|0^A-< nECO>F1soiX9N|!6VB%rmQep^;zw7l7Xas|&tDnm{r-UW|t_U_c diff --git a/arid_examples/ss_test_data/cobertura-html/images/upsimple.png b/arid_examples/ss_test_data/cobertura-html/images/upsimple.png deleted file mode 100644 index c82b76ffe2c9d41a2f38a1c1115013cc0852f522..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^96-#@!3-ps+W+JLDVB6cUq=Rp^(V|(yIunMk|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5XI0Jk_Tw7XN{{R0E<UJ0b{uxLy zmjw9*0|l<1;sqMWVD9PS7*cU7DIqB-DS<_Zf$<2#l9@9abQ&0%j2W0Z7+snp7#La7 o8CV3EXRvJoiZlvxF);BkaQicapRMMX0~*2L>FVdQ&MBb@01yl}4*&oF diff --git a/arid_examples/ss_test_data/cobertura-html/index.html b/arid_examples/ss_test_data/cobertura-html/index.html deleted file mode 100644 index 573719b81..000000000 --- a/arid_examples/ss_test_data/cobertura-html/index.html +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -</head> - -<frameset cols="20%,80%"> - <frameset rows="30%,70%"> - <frame src="frame-packages.html" name="packageList" title="All Packages"/> - <frame src="frame-sourcefiles.html" name="sourceFileList" title="All classes and interfaces (except non-static nested types)"/> - </frameset> - <frame src="frame-summary.html" name="summary" title="Package, class and interface descriptions" scrolling="yes"/> - - <noframes> - <body> - <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a frame-incapable web client.</p> - <p><a href="frame-summary.html">Click here to view a non-frame version.</a></p> - </body> - </noframes> -</frameset> - -</html> diff --git a/arid_examples/ss_test_data/cobertura-html/js/customsorttypes.js b/arid_examples/ss_test_data/cobertura-html/js/customsorttypes.js deleted file mode 100644 index 1fe955903..000000000 --- a/arid_examples/ss_test_data/cobertura-html/js/customsorttypes.js +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Cobertura - http://cobertura.sourceforge.net/ - * - * Copyright (C) 2005 Mark Doliner - * Copyright (C) 2005 Olivier Parent - * - * Cobertura is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, - * or (at your option) any later version. - * - * Cobertura 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 - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Cobertura; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA - */ - - - -function percentageSortType( s ) -{ - var ret; - var i = s.indexOf( "%" ); - - if (i != -1) { - s = s.substr( 0, i ); - } - ret = parseFloat(s); - if (isNaN(ret)) { - ret = -1; - } - - return ret; -} - -SortableTable.prototype.addSortType( "Percentage", percentageSortType ); - - - -// This is needed for correctly sorting numbers in different -// locales. The stock number converter only expects to sort -// numbers which use a period as a separator instead of a -// comma (like French). -function formattedNumberSortType( s ) -{ - var ret; - var i = s.indexOf(';'); - - if (i != -1) { - s = s.substring(0, i); - } - ret = parseFloat(s); - if (isNaN(ret)) { - return -1; - } - - return ret; -} - -SortableTable.prototype.addSortType( "FormattedNumber", formattedNumberSortType ); diff --git a/arid_examples/ss_test_data/cobertura-html/js/popup.js b/arid_examples/ss_test_data/cobertura-html/js/popup.js deleted file mode 100644 index 4a0907226..000000000 --- a/arid_examples/ss_test_data/cobertura-html/js/popup.js +++ /dev/null @@ -1,8 +0,0 @@ -var newwindow; -function popupwindow(url) -{ - newwindow=window.open(url,'name','height=500,width=500,resizable=yes,scrollbars=yes'); - if (window.focus) { - newwindow.focus() - } -} diff --git a/arid_examples/ss_test_data/cobertura-html/js/sortabletable.js b/arid_examples/ss_test_data/cobertura-html/js/sortabletable.js deleted file mode 100644 index 0dad65724..000000000 --- a/arid_examples/ss_test_data/cobertura-html/js/sortabletable.js +++ /dev/null @@ -1,455 +0,0 @@ - -/*----------------------------------------------------------------------------\ -| Sortable Table 1.12 | -|-----------------------------------------------------------------------------| -| Created by Erik Arvidsson | -| (http://webfx.eae.net/contact.html#erik) | -| For WebFX (http://webfx.eae.net/) | -|-----------------------------------------------------------------------------| -| A DOM 1 based script that allows an ordinary HTML table to be sortable. | -|-----------------------------------------------------------------------------| -| Copyright (c) 1998 - 2004 Erik Arvidsson | -|-----------------------------------------------------------------------------| -| This software is provided "as is", without warranty of any kind, express or | -| implied, including but not limited to the warranties of merchantability, | -| fitness for a particular purpose and noninfringement. In no event shall the | -| authors or copyright holders be liable for any claim, damages or other | -| liability, whether in an action of contract, tort or otherwise, arising | -| from, out of or in connection with the software or the use or other | -| dealings in the software. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| This software is available under the three different licenses mentioned | -| below. To use this software you must chose, and qualify, for one of those. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| The WebFX Non-Commercial License http://webfx.eae.net/license.html | -| Permits anyone the right to use the software in a non-commercial context | -| free of charge. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| The WebFX Commercial license http://webfx.eae.net/commercial.html | -| Permits the license holder the right to use the software in a commercial | -| context. Such license must be specifically obtained, however it's valid for | -| any number of implementations of the licensed software. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| GPL - The GNU General Public License http://www.gnu.org/licenses/gpl.txt | -| Permits anyone the right to use and modify the software without limitations | -| as long as proper credits are given and the original and modified source | -| code are included. Requires that the final product, software derivate from | -| the original source or any software utilizing a GPL component, such as | -| this, is also licensed under the GPL license. | -|-----------------------------------------------------------------------------| -| 2003-01-10 | First version | -| 2003-01-19 | Minor changes to the date parsing | -| 2003-01-28 | JScript 5.0 fixes (no support for 'in' operator) | -| 2003-02-01 | Sloppy typo like error fixed in getInnerText | -| 2003-07-04 | Added workaround for IE cellIndex bug. | -| 2003-11-09 | The bDescending argument to sort was not correctly working | -| | Using onclick DOM0 event if no support for addEventListener | -| | or attachEvent | -| 2004-01-13 | Adding addSortType and removeSortType which makes it a lot | -| | easier to add new, custom sort types. | -| 2004-01-27 | Switch to use descending = false as the default sort order. | -| | Change defaultDescending to suit your needs. | -| 2004-03-14 | Improved sort type None look and feel a bit | -| 2004-08-26 | Made the handling of tBody and tHead more flexible. Now you | -| | can use another tHead or no tHead, and you can chose some | -| | other tBody. | -|-----------------------------------------------------------------------------| -| Created 2003-01-10 | All changes are in the log above. | Updated 2004-08-26 | -\----------------------------------------------------------------------------*/ - - -function SortableTable(oTable, oSortTypes) { - - this.sortTypes = oSortTypes || []; - - this.sortColumn = null; - this.descending = null; - - var oThis = this; - this._headerOnclick = function (e) { - oThis.headerOnclick(e); - }; - - if (oTable) { - this.setTable( oTable ); - this.document = oTable.ownerDocument || oTable.document; - } - else { - this.document = document; - } - - - // only IE needs this - var win = this.document.defaultView || this.document.parentWindow; - this._onunload = function () { - oThis.destroy(); - }; - if (win && typeof win.attachEvent != "undefined") { - win.attachEvent("onunload", this._onunload); - } -} - -SortableTable.gecko = navigator.product == "Gecko"; -SortableTable.msie = /msie/i.test(navigator.userAgent); -// Mozilla is faster when doing the DOM manipulations on -// an orphaned element. MSIE is not -SortableTable.removeBeforeSort = SortableTable.gecko; - -SortableTable.prototype.onsort = function () {}; - -// default sort order. true -> descending, false -> ascending -SortableTable.prototype.defaultDescending = false; - -// shared between all instances. This is intentional to allow external files -// to modify the prototype -SortableTable.prototype._sortTypeInfo = {}; - -SortableTable.prototype.setTable = function (oTable) { - if ( this.tHead ) - this.uninitHeader(); - this.element = oTable; - this.setTHead( oTable.tHead ); - this.setTBody( oTable.tBodies[0] ); -}; - -SortableTable.prototype.setTHead = function (oTHead) { - if (this.tHead && this.tHead != oTHead ) - this.uninitHeader(); - this.tHead = oTHead; - this.initHeader( this.sortTypes ); -}; - -SortableTable.prototype.setTBody = function (oTBody) { - this.tBody = oTBody; -}; - -SortableTable.prototype.setSortTypes = function ( oSortTypes ) { - if ( this.tHead ) - this.uninitHeader(); - this.sortTypes = oSortTypes || []; - if ( this.tHead ) - this.initHeader( this.sortTypes ); -}; - -// adds arrow containers and events -// also binds sort type to the header cells so that reordering columns does -// not break the sort types -SortableTable.prototype.initHeader = function (oSortTypes) { - if (!this.tHead) return; - var cells = this.tHead.rows[0].cells; - var doc = this.tHead.ownerDocument || this.tHead.document; - this.sortTypes = oSortTypes || []; - var l = cells.length; - var img, c; - for (var i = 0; i < l; i++) { - c = cells[i]; - if (this.sortTypes[i] != null && this.sortTypes[i] != "None") { - img = doc.createElement("IMG"); - img.src = "images/blank.png"; - c.appendChild(img); - if (this.sortTypes[i] != null) - c._sortType = this.sortTypes[i]; - if (typeof c.addEventListener != "undefined") - c.addEventListener("click", this._headerOnclick, false); - else if (typeof c.attachEvent != "undefined") - c.attachEvent("onclick", this._headerOnclick); - else - c.onclick = this._headerOnclick; - } - else - { - c.setAttribute( "_sortType", oSortTypes[i] ); - c._sortType = "None"; - } - } - this.updateHeaderArrows(); -}; - -// remove arrows and events -SortableTable.prototype.uninitHeader = function () { - if (!this.tHead) return; - var cells = this.tHead.rows[0].cells; - var l = cells.length; - var c; - for (var i = 0; i < l; i++) { - c = cells[i]; - if (c._sortType != null && c._sortType != "None") { - c.removeChild(c.lastChild); - if (typeof c.removeEventListener != "undefined") - c.removeEventListener("click", this._headerOnclick, false); - else if (typeof c.detachEvent != "undefined") - c.detachEvent("onclick", this._headerOnclick); - c._sortType = null; - c.removeAttribute( "_sortType" ); - } - } -}; - -SortableTable.prototype.updateHeaderArrows = function () { - if (!this.tHead) return; - var cells = this.tHead.rows[0].cells; - var l = cells.length; - var img; - for (var i = 0; i < l; i++) { - if (cells[i]._sortType != null && cells[i]._sortType != "None") { - img = cells[i].lastChild; - if (i == this.sortColumn) - img.className = "sort-arrow " + (this.descending ? "descending" : "ascending"); - else - img.className = "sort-arrow"; - } - } -}; - -SortableTable.prototype.headerOnclick = function (e) { - // find TD element - var el = e.target || e.srcElement; - while (el.tagName != "TD") - el = el.parentNode; - - this.sort(SortableTable.msie ? SortableTable.getCellIndex(el) : el.cellIndex); -}; - -// IE returns wrong cellIndex when columns are hidden -SortableTable.getCellIndex = function (oTd) { - var cells = oTd.parentNode.childNodes - var l = cells.length; - var i; - for (i = 0; cells[i] != oTd && i < l; i++) - ; - return i; -}; - -SortableTable.prototype.getSortType = function (nColumn) { - return this.sortTypes[nColumn] || "String"; -}; - -// only nColumn is required -// if bDescending is left out the old value is taken into account -// if sSortType is left out the sort type is found from the sortTypes array - -SortableTable.prototype.sort = function (nColumn, bDescending, sSortType) { - if (!this.tBody) return; - if (sSortType == null) - sSortType = this.getSortType(nColumn); - - // exit if None - if (sSortType == "None") - return; - - if (bDescending == null) { - if (this.sortColumn != nColumn) - this.descending = this.defaultDescending; - else - this.descending = !this.descending; - } - else - this.descending = bDescending; - - this.sortColumn = nColumn; - - if (typeof this.onbeforesort == "function") - this.onbeforesort(); - - var f = this.getSortFunction(sSortType, nColumn); - var a = this.getCache(sSortType, nColumn); - var tBody = this.tBody; - - a.sort(f); - - if (this.descending) - a.reverse(); - - if (SortableTable.removeBeforeSort) { - // remove from doc - var nextSibling = tBody.nextSibling; - var p = tBody.parentNode; - p.removeChild(tBody); - } - - // insert in the new order - var l = a.length; - for (var i = 0; i < l; i++) - tBody.appendChild(a[i].element); - - if (SortableTable.removeBeforeSort) { - // insert into doc - p.insertBefore(tBody, nextSibling); - } - - this.updateHeaderArrows(); - - this.destroyCache(a); - - if (typeof this.onsort == "function") - this.onsort(); -}; - -SortableTable.prototype.asyncSort = function (nColumn, bDescending, sSortType) { - var oThis = this; - this._asyncsort = function () { - oThis.sort(nColumn, bDescending, sSortType); - }; - window.setTimeout(this._asyncsort, 1); -}; - -SortableTable.prototype.getCache = function (sType, nColumn) { - if (!this.tBody) return []; - var rows = this.tBody.rows; - var l = rows.length; - var a = new Array(l); - var r; - for (var i = 0; i < l; i++) { - r = rows[i]; - a[i] = { - value: this.getRowValue(r, sType, nColumn), - element: r - }; - }; - return a; -}; - -SortableTable.prototype.destroyCache = function (oArray) { - var l = oArray.length; - for (var i = 0; i < l; i++) { - oArray[i].value = null; - oArray[i].element = null; - oArray[i] = null; - } -}; - -SortableTable.prototype.getRowValue = function (oRow, sType, nColumn) { - // if we have defined a custom getRowValue use that - if (this._sortTypeInfo[sType] && this._sortTypeInfo[sType].getRowValue) - return this._sortTypeInfo[sType].getRowValue(oRow, nColumn); - - var s; - var c = oRow.cells[nColumn]; - if (typeof c.innerText != "undefined") - s = c.innerText; - else - s = SortableTable.getInnerText(c); - return this.getValueFromString(s, sType); -}; - -SortableTable.getInnerText = function (oNode) { - var s = ""; - var cs = oNode.childNodes; - var l = cs.length; - for (var i = 0; i < l; i++) { - switch (cs[i].nodeType) { - case 1: //ELEMENT_NODE - s += SortableTable.getInnerText(cs[i]); - break; - case 3: //TEXT_NODE - s += cs[i].nodeValue; - break; - } - } - return s; -}; - -SortableTable.prototype.getValueFromString = function (sText, sType) { - if (this._sortTypeInfo[sType]) - return this._sortTypeInfo[sType].getValueFromString( sText ); - return sText; - /* - switch (sType) { - case "Number": - return Number(sText); - case "CaseInsensitiveString": - return sText.toUpperCase(); - case "Date": - var parts = sText.split("-"); - var d = new Date(0); - d.setFullYear(parts[0]); - d.setDate(parts[2]); - d.setMonth(parts[1] - 1); - return d.valueOf(); - } - return sText; - */ - }; - -SortableTable.prototype.getSortFunction = function (sType, nColumn) { - if (this._sortTypeInfo[sType]) - return this._sortTypeInfo[sType].compare; - return SortableTable.basicCompare; -}; - -SortableTable.prototype.destroy = function () { - this.uninitHeader(); - var win = this.document.parentWindow; - if (win && typeof win.detachEvent != "undefined") { // only IE needs this - win.detachEvent("onunload", this._onunload); - } - this._onunload = null; - this.element = null; - this.tHead = null; - this.tBody = null; - this.document = null; - this._headerOnclick = null; - this.sortTypes = null; - this._asyncsort = null; - this.onsort = null; -}; - -// Adds a sort type to all instance of SortableTable -// sType : String - the identifier of the sort type -// fGetValueFromString : function ( s : string ) : T - A function that takes a -// string and casts it to a desired format. If left out the string is just -// returned -// fCompareFunction : function ( n1 : T, n2 : T ) : Number - A normal JS sort -// compare function. Takes two values and compares them. If left out less than, -// <, compare is used -// fGetRowValue : function( oRow : HTMLTRElement, nColumn : int ) : T - A function -// that takes the row and the column index and returns the value used to compare. -// If left out then the innerText is first taken for the cell and then the -// fGetValueFromString is used to convert that string the desired value and type - -SortableTable.prototype.addSortType = function (sType, fGetValueFromString, fCompareFunction, fGetRowValue) { - this._sortTypeInfo[sType] = { - type: sType, - getValueFromString: fGetValueFromString || SortableTable.idFunction, - compare: fCompareFunction || SortableTable.basicCompare, - getRowValue: fGetRowValue - }; -}; - -// this removes the sort type from all instances of SortableTable -SortableTable.prototype.removeSortType = function (sType) { - delete this._sortTypeInfo[sType]; -}; - -SortableTable.basicCompare = function compare(n1, n2) { - if (n1.value < n2.value) - return -1; - if (n2.value < n1.value) - return 1; - return 0; -}; - -SortableTable.idFunction = function (x) { - return x; -}; - -SortableTable.toUpperCase = function (s) { - return s.toUpperCase(); -}; - -SortableTable.toDate = function (s) { - var parts = s.split("-"); - var d = new Date(0); - d.setFullYear(parts[0]); - d.setDate(parts[2]); - d.setMonth(parts[1] - 1); - return d.valueOf(); -}; - - -// add sort types -SortableTable.prototype.addSortType("Number", Number); -SortableTable.prototype.addSortType("CaseInsensitiveString", SortableTable.toUpperCase); -SortableTable.prototype.addSortType("Date", SortableTable.toDate); -SortableTable.prototype.addSortType("String"); -// None is a special case diff --git a/arid_examples/ss_test_data/cobertura-html/js/stringbuilder.js b/arid_examples/ss_test_data/cobertura-html/js/stringbuilder.js deleted file mode 100644 index 464a1cacb..000000000 --- a/arid_examples/ss_test_data/cobertura-html/js/stringbuilder.js +++ /dev/null @@ -1,79 +0,0 @@ -/*----------------------------------------------------------------------------\ -| String Builder 1.02 | -|-----------------------------------------------------------------------------| -| Created by Erik Arvidsson | -| (http://webfx.eae.net/contact.html#erik) | -| For WebFX (http://webfx.eae.net/) | -|-----------------------------------------------------------------------------| -| A class that allows more efficient building of strings than concatenation. | -|-----------------------------------------------------------------------------| -| Copyright (c) 1999 - 2002 Erik Arvidsson | -|-----------------------------------------------------------------------------| -| This software is provided "as is", without warranty of any kind, express or | -| implied, including but not limited to the warranties of merchantability, | -| fitness for a particular purpose and noninfringement. In no event shall the | -| authors or copyright holders be liable for any claim, damages or other | -| liability, whether in an action of contract, tort or otherwise, arising | -| from, out of or in connection with the software or the use or other | -| dealings in the software. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| This software is available under the three different licenses mentioned | -| below. To use this software you must chose, and qualify, for one of those. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| The WebFX Non-Commercial License http://webfx.eae.net/license.html | -| Permits anyone the right to use the software in a non-commercial context | -| free of charge. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| The WebFX Commercial license http://webfx.eae.net/commercial.html | -| Permits the license holder the right to use the software in a commercial | -| context. Such license must be specifically obtained, however it's valid for | -| any number of implementations of the licensed software. | -| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -| GPL - The GNU General Public License http://www.gnu.org/licenses/gpl.txt | -| Permits anyone the right to use and modify the software without limitations | -| as long as proper credits are given and the original and modified source | -| code are included. Requires that the final product, software derivate from | -| the original source or any software utilizing a GPL component, such as | -| this, is also licensed under the GPL license. | -|-----------------------------------------------------------------------------| -| 2000-10-02 | First version | -| 2000-10-05 | Added a cache of the string so that it does not need to be | -| | regenerated every time in toString | -| 2002-10-03 | Added minor improvement in the toString method | -|-----------------------------------------------------------------------------| -| Created 2000-10-02 | All changes are in the log above. | Updated 2002-10-03 | -\----------------------------------------------------------------------------*/ function StringBuilder(sString) { - - // public - this.length = 0; - - this.append = function (sString) { - // append argument - this.length += (this._parts[this._current++] = String(sString)).length; - - // reset cache - this._string = null; - return this; - }; - - this.toString = function () { - if (this._string != null) - return this._string; - - var s = this._parts.join(""); - this._parts = [s]; - this._current = 1; - this.length = s.length; - - return this._string = s; - }; - - // private - this._current = 0; - this._parts = []; - this._string = null; // used to cache the string - - // init - if (sString != null) - this.append(sString); -} diff --git a/arid_examples/ss_test_data/cobertura-html/test.first.A.html b/arid_examples/ss_test_data/cobertura-html/test.first.A.html deleted file mode 100644 index 3f41560ba..000000000 --- a/arid_examples/ss_test_data/cobertura-html/test.first.A.html +++ /dev/null @@ -1,124 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<script type="text/javascript" src="js/popup.js"></script> -</head> -<body> -<h5>Coverage Report - test.first.A</h5> -<div class="separator"> </div> -<table class="report"> -<thead><tr> <td class="heading">Classes in this File</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> - <tr><td><a href="test.first.A.html">A</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - -</table> -<div class="separator"> </div> -<table cellspacing="0" cellpadding="0" class="src"> -<tr> <td class="numLine"> 1</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment">/*</span></pre></td></tr> -<tr> <td class="numLine"> 2</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura - http://cobertura.sourceforge.net/</span></pre></td></tr> -<tr> <td class="numLine"> 3</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 4</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Copyright (C) 2006 John Lewis</span></pre></td></tr> -<tr> <td class="numLine"> 5</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 6</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Note: This file is dual licensed under the GPL and the Apache</span></pre></td></tr> -<tr> <td class="numLine"> 7</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Source License (so that it can be used from both the main</span></pre></td></tr> -<tr> <td class="numLine"> 8</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura classes and the ant tasks).</span></pre></td></tr> -<tr> <td class="numLine"> 9</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 10</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura is free software; you can redistribute it and/or modify</span></pre></td></tr> -<tr> <td class="numLine"> 11</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * it under the terms of the GNU General Public License as published</span></pre></td></tr> -<tr> <td class="numLine"> 12</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * by the Free Software Foundation; either version 2 of the License,</span></pre></td></tr> -<tr> <td class="numLine"> 13</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * or (at your option) any later version.</span></pre></td></tr> -<tr> <td class="numLine"> 14</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 15</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura is distributed in the hope that it will be useful, but</span></pre></td></tr> -<tr> <td class="numLine"> 16</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span></pre></td></tr> -<tr> <td class="numLine"> 17</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></pre></td></tr> -<tr> <td class="numLine"> 18</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * General Public License for more details.</span></pre></td></tr> -<tr> <td class="numLine"> 19</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 20</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * You should have received a copy of the GNU General Public License</span></pre></td></tr> -<tr> <td class="numLine"> 21</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * along with Cobertura; if not, write to the Free Software</span></pre></td></tr> -<tr> <td class="numLine"> 22</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307</span></pre></td></tr> -<tr> <td class="numLine"> 23</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * USA</span></pre></td></tr> -<tr> <td class="numLine"> 24</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr> -<tr> <td class="numLine"> 25</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 26</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">package</span> test.first;</pre></td></tr> -<tr> <td class="numLine"> 27</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 28</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment">/**</span></pre></td></tr> -<tr> <td class="numLine"> 29</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Simple class used in functional testing.</span></pre></td></tr> -<tr> <td class="numLine"> 30</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * </span></pre></td></tr> -<tr> <td class="numLine"> 31</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * @author John Lewis</span></pre></td></tr> -<tr> <td class="numLine"> 32</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr> -<tr> <td class="numLineCover"> 33</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">public</span> <span class="keyword">class</span> A</span></pre></td></tr> -<tr> <td class="numLine"> 34</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLine"> 35</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 36</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">void</span> call()</pre></td></tr> -<tr> <td class="numLine"> 37</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 38</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> someMethod();</span></pre></td></tr> -<tr> <td class="numLineCover"> 39</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 40</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 41</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">void</span> dontCall()</pre></td></tr> -<tr> <td class="numLine"> 42</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 43</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> someMethod();</span></pre></td></tr> -<tr> <td class="numLineCover"> 44</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 45</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 46</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">void</span> someMethod()</pre></td></tr> -<tr> <td class="numLine"> 47</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 48</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> String a = <span class="keyword">null</span>;</span></pre></td></tr> -<tr> <td class="numLineCover"> 49</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> String b = <span class="keyword">null</span>;</span></pre></td></tr> -<tr> <td class="numLine"> 50</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLineCover"> 51</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> a = b;</span></pre></td></tr> -<tr> <td class="numLineCover"> 52</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> b = a;</span></pre></td></tr> -<tr> <td class="numLineCover"> 53</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 54</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 55</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> }</pre></td></tr> -</table> - -<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> null on 8/10/11 5:10 PM.</div> -</body> -</html> diff --git a/arid_examples/ss_test_data/cobertura-html/test.second.A.html b/arid_examples/ss_test_data/cobertura-html/test.second.A.html deleted file mode 100644 index da0227413..000000000 --- a/arid_examples/ss_test_data/cobertura-html/test.second.A.html +++ /dev/null @@ -1,124 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<title>Coverage Report</title> -<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/> -<script type="text/javascript" src="js/popup.js"></script> -</head> -<body> -<h5>Coverage Report - test.second.A</h5> -<div class="separator"> </div> -<table class="report"> -<thead><tr> <td class="heading">Classes in this File</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead> - <tr><td><a href="test.second.A.html">A</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr> - -</table> -<div class="separator"> </div> -<table cellspacing="0" cellpadding="0" class="src"> -<tr> <td class="numLine"> 1</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment">/*</span></pre></td></tr> -<tr> <td class="numLine"> 2</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura - http://cobertura.sourceforge.net/</span></pre></td></tr> -<tr> <td class="numLine"> 3</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 4</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Copyright (C) 2006 John Lewis</span></pre></td></tr> -<tr> <td class="numLine"> 5</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 6</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Note: This file is dual licensed under the GPL and the Apache</span></pre></td></tr> -<tr> <td class="numLine"> 7</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Source License (so that it can be used from both the main</span></pre></td></tr> -<tr> <td class="numLine"> 8</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura classes and the ant tasks).</span></pre></td></tr> -<tr> <td class="numLine"> 9</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 10</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura is free software; you can redistribute it and/or modify</span></pre></td></tr> -<tr> <td class="numLine"> 11</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * it under the terms of the GNU General Public License as published</span></pre></td></tr> -<tr> <td class="numLine"> 12</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * by the Free Software Foundation; either version 2 of the License,</span></pre></td></tr> -<tr> <td class="numLine"> 13</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * or (at your option) any later version.</span></pre></td></tr> -<tr> <td class="numLine"> 14</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 15</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Cobertura is distributed in the hope that it will be useful, but</span></pre></td></tr> -<tr> <td class="numLine"> 16</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span></pre></td></tr> -<tr> <td class="numLine"> 17</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></pre></td></tr> -<tr> <td class="numLine"> 18</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * General Public License for more details.</span></pre></td></tr> -<tr> <td class="numLine"> 19</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> *</span></pre></td></tr> -<tr> <td class="numLine"> 20</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * You should have received a copy of the GNU General Public License</span></pre></td></tr> -<tr> <td class="numLine"> 21</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * along with Cobertura; if not, write to the Free Software</span></pre></td></tr> -<tr> <td class="numLine"> 22</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307</span></pre></td></tr> -<tr> <td class="numLine"> 23</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * USA</span></pre></td></tr> -<tr> <td class="numLine"> 24</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr> -<tr> <td class="numLine"> 25</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 26</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">package</span> test.second;</pre></td></tr> -<tr> <td class="numLine"> 27</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 28</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment">/**</span></pre></td></tr> -<tr> <td class="numLine"> 29</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * Simple class used in functional testing.</span></pre></td></tr> -<tr> <td class="numLine"> 30</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * </span></pre></td></tr> -<tr> <td class="numLine"> 31</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> * @author John Lewis</span></pre></td></tr> -<tr> <td class="numLine"> 32</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr> -<tr> <td class="numLineCover"> 33</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">public</span> <span class="keyword">class</span> A</span></pre></td></tr> -<tr> <td class="numLine"> 34</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLine"> 35</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 36</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">void</span> call()</pre></td></tr> -<tr> <td class="numLine"> 37</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 38</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> someMethod();</span></pre></td></tr> -<tr> <td class="numLineCover"> 39</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 40</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 41</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">void</span> dontCall()</pre></td></tr> -<tr> <td class="numLine"> 42</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 43</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> someMethod();</span></pre></td></tr> -<tr> <td class="numLineCover"> 44</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 45</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 46</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">void</span> someMethod()</pre></td></tr> -<tr> <td class="numLine"> 47</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> {</pre></td></tr> -<tr> <td class="numLineCover"> 48</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> String a = <span class="keyword">null</span>;</span></pre></td></tr> -<tr> <td class="numLineCover"> 49</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> String b = <span class="keyword">null</span>;</span></pre></td></tr> -<tr> <td class="numLine"> 50</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLineCover"> 51</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> a = b;</span></pre></td></tr> -<tr> <td class="numLineCover"> 52</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> b = a;</span></pre></td></tr> -<tr> <td class="numLineCover"> 53</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr> -<tr> <td class="numLine"> 54</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> </pre></td></tr> -<tr> <td class="numLine"> 55</td> <td class="nbHits"> </td> - <td class="src"><pre class="src"> }</pre></td></tr> -</table> - -<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> null on 8/10/11 5:10 PM.</div> -</body> -</html> diff --git a/arid_examples/wls.out b/arid_examples/wls.out deleted file mode 100644 index 7d83d641d..000000000 --- a/arid_examples/wls.out +++ /dev/null @@ -1,4 +0,0 @@ -ss_test_data/cobertura-html/frame-packages.html -ss_test_data/cobertura-html/frame-sourcefiles.html -ss_test_data/cobertura-html/frame-summary.html -ss_test_data/cobertura-html/frame-summary.html diff --git a/arid_examples/wls.stock b/arid_examples/wls.stock deleted file mode 100755 index 801e24b6e8588eb51e8b3713041ef100c2343c6a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 82760 zcmeFa3t&{$)i%7(oHLWjOu__6AV4A$5+LE0gqz&uHh>Bh<!S{($OWQ-#AL$7ih@a$ zag2hM)~dBolxn>ct75cX0-*#fYD7gWR#CCe7_?E*f}-<1&)#Py6U3^#-}nCi`~P1~ z_Bng4z1G@muYJGFIoElnPti0@g#Ro;7layaHta+3JmFShLxo$|MW*N@(uECph7DZ{ z8aT-SGAnQfoX#-7L)Rf3t}|ddhEW=w{39>i<mE!pkzXX3;pOnRA{?#(49O76co}ZN zBN5?=2&3Bzn2zC$gKiplrXg-RH(<JO*vt>Sh0V)^X#Uu+)1@GcE*yR_!U2BgFDyU1 zv}AF1Y2m=qlI2ya233{~8mxGsnoQf&pUsiH)RR21aJ0z~IHsNHT-)E$i!klTzpT`o zQy#kT{e}^r`BRq6$)~7xe~ZY7Khk%CyM+M$mLL+sjS><f6;HxrOgKz`g$b`P!{0Mu z(vjX2FR^aiZ;(DAmcu9vA7m2z3x2|%nc)?{6Rt4fKj2Atr%8Xc314T1hvWN`314OM zUt+=^n)D8n-($k-O?aS5f4>R;&V>2oUzq;_1&XK4@H<VI>7afECj4s?US{%tW!kgZ zgda7-hna966V5XE!|A!-ga_kE`MOCTFzHX3;eE~UCrp@jApK+$4)ech!nJ02jtTcN z;eDq3ktY0_86MUr-3(uBh8reaX2N?-IKzaWG5K!;p8BMi;f*FtJMnKm9K*dP9FC9q z%)eVr`X)1c%f*U*i3um0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5SiaoSVdS{pSUDxbq2rM; zWg3QSQa3IgBf7MmXvBj!6V|R+;gr@)V_5mmn{!?<GKu%X=X-m)`?}($wZ>Vv*z<n^ DYMS*A diff --git a/arid_examples/xref.stock b/arid_examples/xref.stock deleted file mode 100755 index 708a75c53c22e16def4400e6c02623f644d96be3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 168618 zcmeEv3t&{m)&Fd=fi($kkbo#bSB*+U9syJWL3u6MRw|0|QHmiX8<HB5nB3)I)kZhl za(i7(wY0XM4=A>^R$FQnQ4s>c1T1Pqs%fPamFnFFYeb5G)cyZ{GxzQz22s9#wtv}N zhM6;SX6DS9GiS~`?%nTrFPY|WIE4L|B2opR<##w;W8gRYQe@H?;Snw|M4Tng5WNt? zv@s39fs+}KDGhN>xKySA9&-!Q;raolV;ak*lYh($cjILaLC5?eOQp-WH_}`;!tF(d zG8D>snNEtDfZv2Py3K&;n9e%rE=Hb<Q8%3jFrA$?^KV+23;A6yrMc*GkVa>xUxsvm zpZK%OA5m2~Z$wquu&T;x|Kj2GHN!`#ydX`sZTi=XWM0zAJjcP2Cl|rlakmOFd1=Y2 z6vj=0n+mt@q+vJa4Zbbs;jg{bJa&(fGry=L>&<JNbD9s_H@5gkcag+|zemwV{;@Ak zfE#DQUx82fmvH=>k4g#uQ$j)vhEJGv^3TqHg961u_)I^M#Nux?9O09#@(V540s$%h z-Y-K!RD+SkZ?zESTlCaf@OwyO`bZ0AJmIBq{3G3jn+V{K;z{@^3!iinz8j8zHa#yX zP+V`}&$Hln;1mDrR(`JqcUkZ-3*Te4_kIiRZNYZ_Z&>9$X{E2V;NccrZ^1vd;6K9W z-$9ha`X^iE{mx4No|S%<1?NfZSbLUO>2~`vEchVsSl)9M{wNEcZl#-6dAC~Wms#l( zt@N`k_*E<Yw-$Vf1>5EIweW*h`dBOdbPFDDwWq*>ds+B4z3g}X&4VMo9FzR3fg?;l z@~;>^;c-@Zxd;<}8;*Z>TIq8w{1yv7$Ab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