pdf2json 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (473) hide show
  1. data/README.markdown +9 -0
  2. data/bin/.gitkeep +0 -0
  3. data/ext/extconf.rb +30 -0
  4. data/lib/pdf2json.rb +8 -0
  5. data/pdf2json-0.52-source/AUTHORS +24 -0
  6. data/pdf2json-0.52-source/CHANGES +11 -0
  7. data/pdf2json-0.52-source/Makefile +84 -0
  8. data/pdf2json-0.52-source/Makefile.in +84 -0
  9. data/pdf2json-0.52-source/aclocal.m4 +274 -0
  10. data/pdf2json-0.52-source/aconf-win32.h +86 -0
  11. data/pdf2json-0.52-source/aconf.h +42 -0
  12. data/pdf2json-0.52-source/aconf.h.in +41 -0
  13. data/pdf2json-0.52-source/autom4te.cache/output.0 +6908 -0
  14. data/pdf2json-0.52-source/autom4te.cache/requests +76 -0
  15. data/pdf2json-0.52-source/autom4te.cache/traces.0 +466 -0
  16. data/pdf2json-0.52-source/config.log +1259 -0
  17. data/pdf2json-0.52-source/config.status +1050 -0
  18. data/pdf2json-0.52-source/configure +6908 -0
  19. data/pdf2json-0.52-source/configure.ac +93 -0
  20. data/pdf2json-0.52-source/doc/pdffonts.1 +130 -0
  21. data/pdf2json-0.52-source/doc/pdffonts.cat +107 -0
  22. data/pdf2json-0.52-source/doc/pdffonts.hlp +117 -0
  23. data/pdf2json-0.52-source/doc/pdfimages.1 +102 -0
  24. data/pdf2json-0.52-source/doc/pdfimages.cat +92 -0
  25. data/pdf2json-0.52-source/doc/pdfimages.hlp +101 -0
  26. data/pdf2json-0.52-source/doc/pdfinfo.1 +158 -0
  27. data/pdf2json-0.52-source/doc/pdfinfo.cat +119 -0
  28. data/pdf2json-0.52-source/doc/pdfinfo.hlp +129 -0
  29. data/pdf2json-0.52-source/doc/pdftoppm.1 +115 -0
  30. data/pdf2json-0.52-source/doc/pdftoppm.cat +105 -0
  31. data/pdf2json-0.52-source/doc/pdftoppm.hlp +114 -0
  32. data/pdf2json-0.52-source/doc/pdftops.1 +229 -0
  33. data/pdf2json-0.52-source/doc/pdftops.cat +221 -0
  34. data/pdf2json-0.52-source/doc/pdftops.hlp +231 -0
  35. data/pdf2json-0.52-source/doc/pdftotext.1 +137 -0
  36. data/pdf2json-0.52-source/doc/pdftotext.cat +120 -0
  37. data/pdf2json-0.52-source/doc/pdftotext.hlp +133 -0
  38. data/pdf2json-0.52-source/doc/sample-xpdfrc +91 -0
  39. data/pdf2json-0.52-source/doc/xpdf.1 +513 -0
  40. data/pdf2json-0.52-source/doc/xpdf.cat +476 -0
  41. data/pdf2json-0.52-source/doc/xpdf.hlp +489 -0
  42. data/pdf2json-0.52-source/doc/xpdfrc.5 +480 -0
  43. data/pdf2json-0.52-source/doc/xpdfrc.cat +474 -0
  44. data/pdf2json-0.52-source/doc/xpdfrc.hlp +479 -0
  45. data/pdf2json-0.52-source/fofi/.DS_Store +0 -0
  46. data/pdf2json-0.52-source/fofi/FoFiBase.cc +156 -0
  47. data/pdf2json-0.52-source/fofi/FoFiBase.h +57 -0
  48. data/pdf2json-0.52-source/fofi/FoFiBase.o +0 -0
  49. data/pdf2json-0.52-source/fofi/FoFiEncodings.cc +994 -0
  50. data/pdf2json-0.52-source/fofi/FoFiEncodings.h +36 -0
  51. data/pdf2json-0.52-source/fofi/FoFiEncodings.o +0 -0
  52. data/pdf2json-0.52-source/fofi/FoFiTrueType.cc +2027 -0
  53. data/pdf2json-0.52-source/fofi/FoFiTrueType.h +174 -0
  54. data/pdf2json-0.52-source/fofi/FoFiTrueType.o +0 -0
  55. data/pdf2json-0.52-source/fofi/FoFiType1.cc +252 -0
  56. data/pdf2json-0.52-source/fofi/FoFiType1.h +59 -0
  57. data/pdf2json-0.52-source/fofi/FoFiType1.o +0 -0
  58. data/pdf2json-0.52-source/fofi/FoFiType1C.cc +2603 -0
  59. data/pdf2json-0.52-source/fofi/FoFiType1C.h +233 -0
  60. data/pdf2json-0.52-source/fofi/FoFiType1C.o +0 -0
  61. data/pdf2json-0.52-source/fofi/Makefile +70 -0
  62. data/pdf2json-0.52-source/fofi/Makefile.dep +0 -0
  63. data/pdf2json-0.52-source/fofi/Makefile.in +70 -0
  64. data/pdf2json-0.52-source/fofi/libfofi.a +0 -0
  65. data/pdf2json-0.52-source/fofi/vms_make.com +0 -0
  66. data/pdf2json-0.52-source/freetype.win32/.DS_Store +0 -0
  67. data/pdf2json-0.52-source/freetype.win32/include/.DS_Store +0 -0
  68. data/pdf2json-0.52-source/freetype.win32/include/freetype/config/ftconfig.h +528 -0
  69. data/pdf2json-0.52-source/freetype.win32/include/freetype/config/ftheader.h +780 -0
  70. data/pdf2json-0.52-source/freetype.win32/include/freetype/config/ftmodule.h +32 -0
  71. data/pdf2json-0.52-source/freetype.win32/include/freetype/config/ftoption.h +733 -0
  72. data/pdf2json-0.52-source/freetype.win32/include/freetype/config/ftstdlib.h +173 -0
  73. data/pdf2json-0.52-source/freetype.win32/include/freetype/freetype.h +3919 -0
  74. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftadvanc.h +179 -0
  75. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftbbox.h +94 -0
  76. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftbdf.h +209 -0
  77. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftbitmap.h +227 -0
  78. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftcache.h +1128 -0
  79. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftchapters.h +103 -0
  80. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftcid.h +166 -0
  81. data/pdf2json-0.52-source/freetype.win32/include/freetype/fterrdef.h +244 -0
  82. data/pdf2json-0.52-source/freetype.win32/include/freetype/fterrors.h +206 -0
  83. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftgasp.h +120 -0
  84. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftglyph.h +613 -0
  85. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftgxval.h +358 -0
  86. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftgzip.h +102 -0
  87. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftimage.h +1313 -0
  88. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftincrem.h +353 -0
  89. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftlcdfil.h +213 -0
  90. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftlist.h +277 -0
  91. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftlzw.h +99 -0
  92. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftmac.h +274 -0
  93. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftmm.h +378 -0
  94. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftmodapi.h +483 -0
  95. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftmoderr.h +155 -0
  96. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftotval.h +203 -0
  97. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftoutln.h +537 -0
  98. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftpfr.h +172 -0
  99. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftrender.h +230 -0
  100. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftsizes.h +159 -0
  101. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftsnames.h +200 -0
  102. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftstroke.h +716 -0
  103. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftsynth.h +80 -0
  104. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftsystem.h +347 -0
  105. data/pdf2json-0.52-source/freetype.win32/include/freetype/fttrigon.h +350 -0
  106. data/pdf2json-0.52-source/freetype.win32/include/freetype/fttypes.h +588 -0
  107. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftwinfnt.h +274 -0
  108. data/pdf2json-0.52-source/freetype.win32/include/freetype/ftxf86.h +83 -0
  109. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/autohint.h +231 -0
  110. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftcalc.h +179 -0
  111. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftdebug.h +250 -0
  112. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftdriver.h +422 -0
  113. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftgloadr.h +168 -0
  114. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftmemory.h +380 -0
  115. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftobjs.h +1428 -0
  116. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftpic.h +67 -0
  117. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftrfork.h +196 -0
  118. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftserv.h +620 -0
  119. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftstream.h +539 -0
  120. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/fttrace.h +139 -0
  121. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftvalid.h +150 -0
  122. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/internal.h +51 -0
  123. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/pcftypes.h +56 -0
  124. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/psaux.h +873 -0
  125. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/pshints.h +712 -0
  126. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svbdf.h +77 -0
  127. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svcid.h +83 -0
  128. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svgldict.h +82 -0
  129. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svgxval.h +72 -0
  130. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svkern.h +51 -0
  131. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svmm.h +104 -0
  132. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svotval.h +55 -0
  133. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svpfr.h +66 -0
  134. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svpostnm.h +79 -0
  135. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svpscmap.h +164 -0
  136. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svpsinfo.h +92 -0
  137. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svsfnt.h +102 -0
  138. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svttcmap.h +106 -0
  139. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svtteng.h +53 -0
  140. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svttglyf.h +67 -0
  141. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svwinfnt.h +50 -0
  142. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svxf86nm.h +55 -0
  143. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/sfnt.h +897 -0
  144. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/t1types.h +270 -0
  145. data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/tttypes.h +1543 -0
  146. data/pdf2json-0.52-source/freetype.win32/include/freetype/t1tables.h +504 -0
  147. data/pdf2json-0.52-source/freetype.win32/include/freetype/ttnameid.h +1247 -0
  148. data/pdf2json-0.52-source/freetype.win32/include/freetype/tttables.h +759 -0
  149. data/pdf2json-0.52-source/freetype.win32/include/freetype/tttags.h +107 -0
  150. data/pdf2json-0.52-source/freetype.win32/include/freetype/ttunpat.h +59 -0
  151. data/pdf2json-0.52-source/freetype.win32/include/ft2build.h +39 -0
  152. data/pdf2json-0.52-source/freetype.win32/lib/freetype_a.lib +0 -0
  153. data/pdf2json-0.52-source/goo/.DS_Store +0 -0
  154. data/pdf2json-0.52-source/goo/FixedPoint.cc +118 -0
  155. data/pdf2json-0.52-source/goo/FixedPoint.h +155 -0
  156. data/pdf2json-0.52-source/goo/FixedPoint.o +0 -0
  157. data/pdf2json-0.52-source/goo/GHash.cc +380 -0
  158. data/pdf2json-0.52-source/goo/GHash.h +78 -0
  159. data/pdf2json-0.52-source/goo/GHash.o +0 -0
  160. data/pdf2json-0.52-source/goo/GList.cc +97 -0
  161. data/pdf2json-0.52-source/goo/GList.h +96 -0
  162. data/pdf2json-0.52-source/goo/GList.o +0 -0
  163. data/pdf2json-0.52-source/goo/GMutex.h +49 -0
  164. data/pdf2json-0.52-source/goo/GString.cc +724 -0
  165. data/pdf2json-0.52-source/goo/GString.cc.fixed +718 -0
  166. data/pdf2json-0.52-source/goo/GString.h +136 -0
  167. data/pdf2json-0.52-source/goo/GString.o +0 -0
  168. data/pdf2json-0.52-source/goo/ImgWriter.o +0 -0
  169. data/pdf2json-0.52-source/goo/JpegWriter.o +0 -0
  170. data/pdf2json-0.52-source/goo/Makefile +72 -0
  171. data/pdf2json-0.52-source/goo/Makefile.dep +0 -0
  172. data/pdf2json-0.52-source/goo/Makefile.in +72 -0
  173. data/pdf2json-0.52-source/goo/PNGWriter.o +0 -0
  174. data/pdf2json-0.52-source/goo/gfile.cc +731 -0
  175. data/pdf2json-0.52-source/goo/gfile.h +138 -0
  176. data/pdf2json-0.52-source/goo/gfile.o +0 -0
  177. data/pdf2json-0.52-source/goo/gmem.cc +264 -0
  178. data/pdf2json-0.52-source/goo/gmem.h +79 -0
  179. data/pdf2json-0.52-source/goo/gmem.o +0 -0
  180. data/pdf2json-0.52-source/goo/gmempp.cc +32 -0
  181. data/pdf2json-0.52-source/goo/gmempp.o +0 -0
  182. data/pdf2json-0.52-source/goo/gtypes.h +29 -0
  183. data/pdf2json-0.52-source/goo/libGoo.a +0 -0
  184. data/pdf2json-0.52-source/goo/parseargs.c +190 -0
  185. data/pdf2json-0.52-source/goo/parseargs.h +71 -0
  186. data/pdf2json-0.52-source/goo/parseargs.o +0 -0
  187. data/pdf2json-0.52-source/goo/vms_directory.c +214 -0
  188. data/pdf2json-0.52-source/goo/vms_dirent.h +67 -0
  189. data/pdf2json-0.52-source/goo/vms_make.com +82 -0
  190. data/pdf2json-0.52-source/goo/vms_sys_dirent.h +54 -0
  191. data/pdf2json-0.52-source/goo/vms_unix_time.h +102 -0
  192. data/pdf2json-0.52-source/goo/vms_unix_times.c +42 -0
  193. data/pdf2json-0.52-source/goo/vms_unlink.c +22 -0
  194. data/pdf2json-0.52-source/ms_make.bat +199 -0
  195. data/pdf2json-0.52-source/splash/.DS_Store +0 -0
  196. data/pdf2json-0.52-source/splash/Makefile +103 -0
  197. data/pdf2json-0.52-source/splash/Makefile.dep +0 -0
  198. data/pdf2json-0.52-source/splash/Makefile.in +103 -0
  199. data/pdf2json-0.52-source/splash/Splash.cc +3310 -0
  200. data/pdf2json-0.52-source/splash/Splash.h +293 -0
  201. data/pdf2json-0.52-source/splash/Splash.o +0 -0
  202. data/pdf2json-0.52-source/splash/SplashBitmap.cc +188 -0
  203. data/pdf2json-0.52-source/splash/SplashBitmap.h +64 -0
  204. data/pdf2json-0.52-source/splash/SplashBitmap.o +0 -0
  205. data/pdf2json-0.52-source/splash/SplashClip.cc +382 -0
  206. data/pdf2json-0.52-source/splash/SplashClip.h +107 -0
  207. data/pdf2json-0.52-source/splash/SplashClip.o +0 -0
  208. data/pdf2json-0.52-source/splash/SplashErrorCodes.h +32 -0
  209. data/pdf2json-0.52-source/splash/SplashFTFont.cc +357 -0
  210. data/pdf2json-0.52-source/splash/SplashFTFont.h +58 -0
  211. data/pdf2json-0.52-source/splash/SplashFTFont.o +0 -0
  212. data/pdf2json-0.52-source/splash/SplashFTFontEngine.cc +179 -0
  213. data/pdf2json-0.52-source/splash/SplashFTFontEngine.h +65 -0
  214. data/pdf2json-0.52-source/splash/SplashFTFontEngine.o +0 -0
  215. data/pdf2json-0.52-source/splash/SplashFTFontFile.cc +114 -0
  216. data/pdf2json-0.52-source/splash/SplashFTFontFile.h +73 -0
  217. data/pdf2json-0.52-source/splash/SplashFTFontFile.o +0 -0
  218. data/pdf2json-0.52-source/splash/SplashFont.cc +176 -0
  219. data/pdf2json-0.52-source/splash/SplashFont.h +104 -0
  220. data/pdf2json-0.52-source/splash/SplashFont.o +0 -0
  221. data/pdf2json-0.52-source/splash/SplashFontEngine.cc +317 -0
  222. data/pdf2json-0.52-source/splash/SplashFontEngine.h +91 -0
  223. data/pdf2json-0.52-source/splash/SplashFontEngine.o +0 -0
  224. data/pdf2json-0.52-source/splash/SplashFontFile.cc +55 -0
  225. data/pdf2json-0.52-source/splash/SplashFontFile.h +60 -0
  226. data/pdf2json-0.52-source/splash/SplashFontFile.o +0 -0
  227. data/pdf2json-0.52-source/splash/SplashFontFileID.cc +23 -0
  228. data/pdf2json-0.52-source/splash/SplashFontFileID.h +30 -0
  229. data/pdf2json-0.52-source/splash/SplashFontFileID.o +0 -0
  230. data/pdf2json-0.52-source/splash/SplashGlyphBitmap.h +26 -0
  231. data/pdf2json-0.52-source/splash/SplashMath.h +89 -0
  232. data/pdf2json-0.52-source/splash/SplashPath.cc +184 -0
  233. data/pdf2json-0.52-source/splash/SplashPath.h +121 -0
  234. data/pdf2json-0.52-source/splash/SplashPath.o +0 -0
  235. data/pdf2json-0.52-source/splash/SplashPattern.cc +40 -0
  236. data/pdf2json-0.52-source/splash/SplashPattern.h +65 -0
  237. data/pdf2json-0.52-source/splash/SplashPattern.o +0 -0
  238. data/pdf2json-0.52-source/splash/SplashScreen.cc +383 -0
  239. data/pdf2json-0.52-source/splash/SplashScreen.h +56 -0
  240. data/pdf2json-0.52-source/splash/SplashScreen.o +0 -0
  241. data/pdf2json-0.52-source/splash/SplashState.cc +165 -0
  242. data/pdf2json-0.52-source/splash/SplashState.h +103 -0
  243. data/pdf2json-0.52-source/splash/SplashState.o +0 -0
  244. data/pdf2json-0.52-source/splash/SplashT1Font.cc +287 -0
  245. data/pdf2json-0.52-source/splash/SplashT1Font.h +57 -0
  246. data/pdf2json-0.52-source/splash/SplashT1Font.o +0 -0
  247. data/pdf2json-0.52-source/splash/SplashT1FontEngine.cc +124 -0
  248. data/pdf2json-0.52-source/splash/SplashT1FontEngine.h +53 -0
  249. data/pdf2json-0.52-source/splash/SplashT1FontEngine.o +0 -0
  250. data/pdf2json-0.52-source/splash/SplashT1FontFile.cc +97 -0
  251. data/pdf2json-0.52-source/splash/SplashT1FontFile.h +58 -0
  252. data/pdf2json-0.52-source/splash/SplashT1FontFile.o +0 -0
  253. data/pdf2json-0.52-source/splash/SplashTypes.h +132 -0
  254. data/pdf2json-0.52-source/splash/SplashXPath.cc +438 -0
  255. data/pdf2json-0.52-source/splash/SplashXPath.h +100 -0
  256. data/pdf2json-0.52-source/splash/SplashXPath.o +0 -0
  257. data/pdf2json-0.52-source/splash/SplashXPathScanner.cc +428 -0
  258. data/pdf2json-0.52-source/splash/SplashXPathScanner.h +87 -0
  259. data/pdf2json-0.52-source/splash/SplashXPathScanner.o +0 -0
  260. data/pdf2json-0.52-source/splash/libsplash.a +0 -0
  261. data/pdf2json-0.52-source/splash/vms_make.com +0 -0
  262. data/pdf2json-0.52-source/src/.DS_Store +0 -0
  263. data/pdf2json-0.52-source/src/GVector.h +101 -0
  264. data/pdf2json-0.52-source/src/ImgOutputDev.cc +1243 -0
  265. data/pdf2json-0.52-source/src/ImgOutputDev.h +307 -0
  266. data/pdf2json-0.52-source/src/ImgOutputDev.o +0 -0
  267. data/pdf2json-0.52-source/src/Makefile +68 -0
  268. data/pdf2json-0.52-source/src/Makefile.in +68 -0
  269. data/pdf2json-0.52-source/src/XmlFonts.cc +367 -0
  270. data/pdf2json-0.52-source/src/XmlFonts.h +91 -0
  271. data/pdf2json-0.52-source/src/XmlFonts.o +0 -0
  272. data/pdf2json-0.52-source/src/XmlLinks.cc +101 -0
  273. data/pdf2json-0.52-source/src/XmlLinks.h +54 -0
  274. data/pdf2json-0.52-source/src/XmlLinks.o +0 -0
  275. data/pdf2json-0.52-source/src/pdf2json +0 -0
  276. data/pdf2json-0.52-source/src/pdf2json.cc +343 -0
  277. data/pdf2json-0.52-source/src/pdf2json.o +0 -0
  278. data/pdf2json-0.52-source/src/pdf2xml.dtd +22 -0
  279. data/pdf2json-0.52-source/src/pdf2xmljson.dtd +9 -0
  280. data/pdf2json-0.52-source/xpdf/.DS_Store +0 -0
  281. data/pdf2json-0.52-source/xpdf/Annot.cc +1556 -0
  282. data/pdf2json-0.52-source/xpdf/Annot.h +142 -0
  283. data/pdf2json-0.52-source/xpdf/Annot.o +0 -0
  284. data/pdf2json-0.52-source/xpdf/Array.cc +73 -0
  285. data/pdf2json-0.52-source/xpdf/Array.h +58 -0
  286. data/pdf2json-0.52-source/xpdf/Array.o +0 -0
  287. data/pdf2json-0.52-source/xpdf/BuiltinFont.cc +65 -0
  288. data/pdf2json-0.52-source/xpdf/BuiltinFont.h +57 -0
  289. data/pdf2json-0.52-source/xpdf/BuiltinFont.o +0 -0
  290. data/pdf2json-0.52-source/xpdf/BuiltinFontTables.cc +4284 -0
  291. data/pdf2json-0.52-source/xpdf/BuiltinFontTables.h +23 -0
  292. data/pdf2json-0.52-source/xpdf/BuiltinFontTables.o +0 -0
  293. data/pdf2json-0.52-source/xpdf/CMap.cc +408 -0
  294. data/pdf2json-0.52-source/xpdf/CMap.h +102 -0
  295. data/pdf2json-0.52-source/xpdf/CMap.o +0 -0
  296. data/pdf2json-0.52-source/xpdf/Catalog.cc +374 -0
  297. data/pdf2json-0.52-source/xpdf/Catalog.h +97 -0
  298. data/pdf2json-0.52-source/xpdf/Catalog.o +0 -0
  299. data/pdf2json-0.52-source/xpdf/CharCodeToUnicode.cc +540 -0
  300. data/pdf2json-0.52-source/xpdf/CharCodeToUnicode.h +117 -0
  301. data/pdf2json-0.52-source/xpdf/CharCodeToUnicode.o +0 -0
  302. data/pdf2json-0.52-source/xpdf/CharTypes.h +24 -0
  303. data/pdf2json-0.52-source/xpdf/CompactFontTables.h +464 -0
  304. data/pdf2json-0.52-source/xpdf/CoreOutputDev.cc +61 -0
  305. data/pdf2json-0.52-source/xpdf/CoreOutputDev.h +61 -0
  306. data/pdf2json-0.52-source/xpdf/Decrypt.cc +776 -0
  307. data/pdf2json-0.52-source/xpdf/Decrypt.h +95 -0
  308. data/pdf2json-0.52-source/xpdf/Decrypt.o +0 -0
  309. data/pdf2json-0.52-source/xpdf/Dict.cc +95 -0
  310. data/pdf2json-0.52-source/xpdf/Dict.h +77 -0
  311. data/pdf2json-0.52-source/xpdf/Dict.o +0 -0
  312. data/pdf2json-0.52-source/xpdf/Error.cc +38 -0
  313. data/pdf2json-0.52-source/xpdf/Error.h +23 -0
  314. data/pdf2json-0.52-source/xpdf/Error.o +0 -0
  315. data/pdf2json-0.52-source/xpdf/ErrorCodes.h +36 -0
  316. data/pdf2json-0.52-source/xpdf/FontEncodingTables.cc +1824 -0
  317. data/pdf2json-0.52-source/xpdf/FontEncodingTables.h +20 -0
  318. data/pdf2json-0.52-source/xpdf/FontEncodingTables.o +0 -0
  319. data/pdf2json-0.52-source/xpdf/Function.cc +1573 -0
  320. data/pdf2json-0.52-source/xpdf/Function.h +229 -0
  321. data/pdf2json-0.52-source/xpdf/Function.o +0 -0
  322. data/pdf2json-0.52-source/xpdf/Gfx.cc +4187 -0
  323. data/pdf2json-0.52-source/xpdf/Gfx.h +312 -0
  324. data/pdf2json-0.52-source/xpdf/Gfx.o +0 -0
  325. data/pdf2json-0.52-source/xpdf/GfxFont.cc +1568 -0
  326. data/pdf2json-0.52-source/xpdf/GfxFont.h +320 -0
  327. data/pdf2json-0.52-source/xpdf/GfxFont.o +0 -0
  328. data/pdf2json-0.52-source/xpdf/GfxState.cc +4137 -0
  329. data/pdf2json-0.52-source/xpdf/GfxState.h +1244 -0
  330. data/pdf2json-0.52-source/xpdf/GfxState.o +0 -0
  331. data/pdf2json-0.52-source/xpdf/GlobalParams.cc +2924 -0
  332. data/pdf2json-0.52-source/xpdf/GlobalParams.cc.old +2908 -0
  333. data/pdf2json-0.52-source/xpdf/GlobalParams.h +466 -0
  334. data/pdf2json-0.52-source/xpdf/GlobalParams.h.old +463 -0
  335. data/pdf2json-0.52-source/xpdf/GlobalParams.o +0 -0
  336. data/pdf2json-0.52-source/xpdf/ImageOutputDev.cc +195 -0
  337. data/pdf2json-0.52-source/xpdf/ImageOutputDev.h +76 -0
  338. data/pdf2json-0.52-source/xpdf/ImageOutputDev.o +0 -0
  339. data/pdf2json-0.52-source/xpdf/JArithmeticDecoder.cc +322 -0
  340. data/pdf2json-0.52-source/xpdf/JArithmeticDecoder.h +109 -0
  341. data/pdf2json-0.52-source/xpdf/JArithmeticDecoder.o +0 -0
  342. data/pdf2json-0.52-source/xpdf/JBIG2Stream.cc +3413 -0
  343. data/pdf2json-0.52-source/xpdf/JBIG2Stream.h +145 -0
  344. data/pdf2json-0.52-source/xpdf/JBIG2Stream.o +0 -0
  345. data/pdf2json-0.52-source/xpdf/JPXStream.cc +3144 -0
  346. data/pdf2json-0.52-source/xpdf/JPXStream.h +351 -0
  347. data/pdf2json-0.52-source/xpdf/JPXStream.o +0 -0
  348. data/pdf2json-0.52-source/xpdf/Lexer.cc +485 -0
  349. data/pdf2json-0.52-source/xpdf/Lexer.h +80 -0
  350. data/pdf2json-0.52-source/xpdf/Lexer.o +0 -0
  351. data/pdf2json-0.52-source/xpdf/Link.cc +806 -0
  352. data/pdf2json-0.52-source/xpdf/Link.cc.old +784 -0
  353. data/pdf2json-0.52-source/xpdf/Link.h +415 -0
  354. data/pdf2json-0.52-source/xpdf/Link.h.old +369 -0
  355. data/pdf2json-0.52-source/xpdf/Link.o +0 -0
  356. data/pdf2json-0.52-source/xpdf/Makefile +232 -0
  357. data/pdf2json-0.52-source/xpdf/Makefile.dep +0 -0
  358. data/pdf2json-0.52-source/xpdf/Makefile.in +232 -0
  359. data/pdf2json-0.52-source/xpdf/NameToCharCode.cc +116 -0
  360. data/pdf2json-0.52-source/xpdf/NameToCharCode.h +42 -0
  361. data/pdf2json-0.52-source/xpdf/NameToCharCode.o +0 -0
  362. data/pdf2json-0.52-source/xpdf/NameToUnicodeTable.h +1097 -0
  363. data/pdf2json-0.52-source/xpdf/Object.cc +231 -0
  364. data/pdf2json-0.52-source/xpdf/Object.h +303 -0
  365. data/pdf2json-0.52-source/xpdf/Object.o +0 -0
  366. data/pdf2json-0.52-source/xpdf/Outline.cc +151 -0
  367. data/pdf2json-0.52-source/xpdf/Outline.h +76 -0
  368. data/pdf2json-0.52-source/xpdf/Outline.o +0 -0
  369. data/pdf2json-0.52-source/xpdf/OutputDev.cc +131 -0
  370. data/pdf2json-0.52-source/xpdf/OutputDev.h +253 -0
  371. data/pdf2json-0.52-source/xpdf/OutputDev.o +0 -0
  372. data/pdf2json-0.52-source/xpdf/PDFCore.cc +2044 -0
  373. data/pdf2json-0.52-source/xpdf/PDFCore.h +321 -0
  374. data/pdf2json-0.52-source/xpdf/PDFDoc.cc +404 -0
  375. data/pdf2json-0.52-source/xpdf/PDFDoc.h +183 -0
  376. data/pdf2json-0.52-source/xpdf/PDFDoc.o +0 -0
  377. data/pdf2json-0.52-source/xpdf/PDFDocEncoding.cc +44 -0
  378. data/pdf2json-0.52-source/xpdf/PDFDocEncoding.h +16 -0
  379. data/pdf2json-0.52-source/xpdf/PDFDocEncoding.o +0 -0
  380. data/pdf2json-0.52-source/xpdf/PSOutputDev.cc +6224 -0
  381. data/pdf2json-0.52-source/xpdf/PSOutputDev.h +395 -0
  382. data/pdf2json-0.52-source/xpdf/PSOutputDev.o +0 -0
  383. data/pdf2json-0.52-source/xpdf/PSTokenizer.cc +135 -0
  384. data/pdf2json-0.52-source/xpdf/PSTokenizer.h +41 -0
  385. data/pdf2json-0.52-source/xpdf/PSTokenizer.o +0 -0
  386. data/pdf2json-0.52-source/xpdf/Page.cc +454 -0
  387. data/pdf2json-0.52-source/xpdf/Page.h +187 -0
  388. data/pdf2json-0.52-source/xpdf/Page.o +0 -0
  389. data/pdf2json-0.52-source/xpdf/Parser.cc +227 -0
  390. data/pdf2json-0.52-source/xpdf/Parser.h +59 -0
  391. data/pdf2json-0.52-source/xpdf/Parser.o +0 -0
  392. data/pdf2json-0.52-source/xpdf/PreScanOutputDev.cc +257 -0
  393. data/pdf2json-0.52-source/xpdf/PreScanOutputDev.h +130 -0
  394. data/pdf2json-0.52-source/xpdf/PreScanOutputDev.o +0 -0
  395. data/pdf2json-0.52-source/xpdf/SecurityHandler.cc +390 -0
  396. data/pdf2json-0.52-source/xpdf/SecurityHandler.h +160 -0
  397. data/pdf2json-0.52-source/xpdf/SecurityHandler.o +0 -0
  398. data/pdf2json-0.52-source/xpdf/SplashOutputDev.cc +2845 -0
  399. data/pdf2json-0.52-source/xpdf/SplashOutputDev.h +247 -0
  400. data/pdf2json-0.52-source/xpdf/SplashOutputDev.o +0 -0
  401. data/pdf2json-0.52-source/xpdf/Stream-CCITT.h +459 -0
  402. data/pdf2json-0.52-source/xpdf/Stream.cc +4627 -0
  403. data/pdf2json-0.52-source/xpdf/Stream.h +858 -0
  404. data/pdf2json-0.52-source/xpdf/Stream.o +0 -0
  405. data/pdf2json-0.52-source/xpdf/TextOutputDev.cc +4090 -0
  406. data/pdf2json-0.52-source/xpdf/TextOutputDev.h +661 -0
  407. data/pdf2json-0.52-source/xpdf/TextOutputDev.o +0 -0
  408. data/pdf2json-0.52-source/xpdf/UTF8.h +56 -0
  409. data/pdf2json-0.52-source/xpdf/UnicodeMap.cc +302 -0
  410. data/pdf2json-0.52-source/xpdf/UnicodeMap.cc.old +293 -0
  411. data/pdf2json-0.52-source/xpdf/UnicodeMap.h +135 -0
  412. data/pdf2json-0.52-source/xpdf/UnicodeMap.h.old +123 -0
  413. data/pdf2json-0.52-source/xpdf/UnicodeMap.o +0 -0
  414. data/pdf2json-0.52-source/xpdf/UnicodeMapTables.h +361 -0
  415. data/pdf2json-0.52-source/xpdf/UnicodeTypeTable.cc +949 -0
  416. data/pdf2json-0.52-source/xpdf/UnicodeTypeTable.h +20 -0
  417. data/pdf2json-0.52-source/xpdf/UnicodeTypeTable.o +0 -0
  418. data/pdf2json-0.52-source/xpdf/XPDFApp.cc +447 -0
  419. data/pdf2json-0.52-source/xpdf/XPDFApp.h +114 -0
  420. data/pdf2json-0.52-source/xpdf/XPDFCore.cc +1655 -0
  421. data/pdf2json-0.52-source/xpdf/XPDFCore.h +251 -0
  422. data/pdf2json-0.52-source/xpdf/XPDFTree.cc +931 -0
  423. data/pdf2json-0.52-source/xpdf/XPDFTree.h +45 -0
  424. data/pdf2json-0.52-source/xpdf/XPDFTreeP.h +87 -0
  425. data/pdf2json-0.52-source/xpdf/XPDFViewer.cc +3488 -0
  426. data/pdf2json-0.52-source/xpdf/XPDFViewer.h +352 -0
  427. data/pdf2json-0.52-source/xpdf/XRef.cc +896 -0
  428. data/pdf2json-0.52-source/xpdf/XRef.h +133 -0
  429. data/pdf2json-0.52-source/xpdf/XRef.o +0 -0
  430. data/pdf2json-0.52-source/xpdf/XpdfPluginAPI.cc +262 -0
  431. data/pdf2json-0.52-source/xpdf/XpdfPluginAPI.h +341 -0
  432. data/pdf2json-0.52-source/xpdf/XpdfPluginAPI.o +0 -0
  433. data/pdf2json-0.52-source/xpdf/about-text.h +48 -0
  434. data/pdf2json-0.52-source/xpdf/about.xbm +6 -0
  435. data/pdf2json-0.52-source/xpdf/backArrow.xbm +6 -0
  436. data/pdf2json-0.52-source/xpdf/backArrowDis.xbm +6 -0
  437. data/pdf2json-0.52-source/xpdf/config.h +112 -0
  438. data/pdf2json-0.52-source/xpdf/dblLeftArrow.xbm +6 -0
  439. data/pdf2json-0.52-source/xpdf/dblLeftArrowDis.xbm +6 -0
  440. data/pdf2json-0.52-source/xpdf/dblRightArrow.xbm +6 -0
  441. data/pdf2json-0.52-source/xpdf/dblRightArrowDis.xbm +6 -0
  442. data/pdf2json-0.52-source/xpdf/find.xbm +6 -0
  443. data/pdf2json-0.52-source/xpdf/findDis.xbm +6 -0
  444. data/pdf2json-0.52-source/xpdf/forwardArrow.xbm +6 -0
  445. data/pdf2json-0.52-source/xpdf/forwardArrowDis.xbm +6 -0
  446. data/pdf2json-0.52-source/xpdf/leftArrow.xbm +5 -0
  447. data/pdf2json-0.52-source/xpdf/leftArrowDis.xbm +5 -0
  448. data/pdf2json-0.52-source/xpdf/libXpdf.a +0 -0
  449. data/pdf2json-0.52-source/xpdf/pdffonts +0 -0
  450. data/pdf2json-0.52-source/xpdf/pdffonts.cc +298 -0
  451. data/pdf2json-0.52-source/xpdf/pdffonts.o +0 -0
  452. data/pdf2json-0.52-source/xpdf/pdfimages +0 -0
  453. data/pdf2json-0.52-source/xpdf/pdfimages.cc +155 -0
  454. data/pdf2json-0.52-source/xpdf/pdfimages.o +0 -0
  455. data/pdf2json-0.52-source/xpdf/pdfinfo +0 -0
  456. data/pdf2json-0.52-source/xpdf/pdfinfo.cc +387 -0
  457. data/pdf2json-0.52-source/xpdf/pdfinfo.o +0 -0
  458. data/pdf2json-0.52-source/xpdf/pdftoppm.cc +203 -0
  459. data/pdf2json-0.52-source/xpdf/pdftops +0 -0
  460. data/pdf2json-0.52-source/xpdf/pdftops.cc +344 -0
  461. data/pdf2json-0.52-source/xpdf/pdftops.o +0 -0
  462. data/pdf2json-0.52-source/xpdf/pdftotext +0 -0
  463. data/pdf2json-0.52-source/xpdf/pdftotext.cc +333 -0
  464. data/pdf2json-0.52-source/xpdf/pdftotext.o +0 -0
  465. data/pdf2json-0.52-source/xpdf/print.xbm +6 -0
  466. data/pdf2json-0.52-source/xpdf/printDis.xbm +6 -0
  467. data/pdf2json-0.52-source/xpdf/rightArrow.xbm +5 -0
  468. data/pdf2json-0.52-source/xpdf/rightArrowDis.xbm +5 -0
  469. data/pdf2json-0.52-source/xpdf/vms_make.com +129 -0
  470. data/pdf2json-0.52-source/xpdf/xpdf.cc +344 -0
  471. data/pdf2json-0.52-source/xpdf/xpdfIcon.xpm +62 -0
  472. data/pdf2json.gemspec +29 -0
  473. metadata +518 -0
@@ -0,0 +1,1050 @@
1
+ #! /bin/sh
2
+ # Generated by configure.
3
+ # Run this file to recreate the current configuration.
4
+ # Compiler output produced by configure, useful for debugging
5
+ # configure, is in config.log if it exists.
6
+
7
+ debug=false
8
+ ac_cs_recheck=false
9
+ ac_cs_silent=false
10
+
11
+ SHELL=${CONFIG_SHELL-/bin/sh}
12
+ export SHELL
13
+ ## -------------------- ##
14
+ ## M4sh Initialization. ##
15
+ ## -------------------- ##
16
+
17
+ # Be more Bourne compatible
18
+ DUALCASE=1; export DUALCASE # for MKS sh
19
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
+ emulate sh
21
+ NULLCMD=:
22
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
+ # is contrary to our usage. Disable this feature.
24
+ alias -g '${1+"$@"}'='"$@"'
25
+ setopt NO_GLOB_SUBST
26
+ else
27
+ case `(set -o) 2>/dev/null` in #(
28
+ *posix*) :
29
+ set -o posix ;; #(
30
+ *) :
31
+ ;;
32
+ esac
33
+ fi
34
+
35
+
36
+ as_nl='
37
+ '
38
+ export as_nl
39
+ # Printing a long string crashes Solaris 7 /usr/bin/printf.
40
+ as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
+ # Prefer a ksh shell builtin over an external printf program on Solaris,
44
+ # but without wasting forks for bash or zsh.
45
+ if test -z "$BASH_VERSION$ZSH_VERSION" \
46
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
+ as_echo='print -r --'
48
+ as_echo_n='print -rn --'
49
+ elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
+ as_echo='printf %s\n'
51
+ as_echo_n='printf %s'
52
+ else
53
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
+ as_echo_n='/usr/ucb/echo -n'
56
+ else
57
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
+ as_echo_n_body='eval
59
+ arg=$1;
60
+ case $arg in #(
61
+ *"$as_nl"*)
62
+ expr "X$arg" : "X\\(.*\\)$as_nl";
63
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
+ esac;
65
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
+ '
67
+ export as_echo_n_body
68
+ as_echo_n='sh -c $as_echo_n_body as_echo'
69
+ fi
70
+ export as_echo_body
71
+ as_echo='sh -c $as_echo_body as_echo'
72
+ fi
73
+
74
+ # The user is always right.
75
+ if test "${PATH_SEPARATOR+set}" != set; then
76
+ PATH_SEPARATOR=:
77
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
+ PATH_SEPARATOR=';'
80
+ }
81
+ fi
82
+
83
+
84
+ # IFS
85
+ # We need space, tab and new line, in precisely that order. Quoting is
86
+ # there to prevent editors from complaining about space-tab.
87
+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
+ # splitting by setting IFS to empty value.)
89
+ IFS=" "" $as_nl"
90
+
91
+ # Find who we are. Look in the path if we contain no directory separator.
92
+ as_myself=
93
+ case $0 in #((
94
+ *[\\/]* ) as_myself=$0 ;;
95
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
+ for as_dir in $PATH
97
+ do
98
+ IFS=$as_save_IFS
99
+ test -z "$as_dir" && as_dir=.
100
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101
+ done
102
+ IFS=$as_save_IFS
103
+
104
+ ;;
105
+ esac
106
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
107
+ # in which case we are not to be found in the path.
108
+ if test "x$as_myself" = x; then
109
+ as_myself=$0
110
+ fi
111
+ if test ! -f "$as_myself"; then
112
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
+ exit 1
114
+ fi
115
+
116
+ # Unset variables that we do not need and which cause bugs (e.g. in
117
+ # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
+ # suppresses any "Segmentation fault" message there. '((' could
119
+ # trigger a bug in pdksh 5.2.14.
120
+ for as_var in BASH_ENV ENV MAIL MAILPATH
121
+ do eval test x\${$as_var+set} = xset \
122
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
+ done
124
+ PS1='$ '
125
+ PS2='> '
126
+ PS4='+ '
127
+
128
+ # NLS nuisances.
129
+ LC_ALL=C
130
+ export LC_ALL
131
+ LANGUAGE=C
132
+ export LANGUAGE
133
+
134
+ # CDPATH.
135
+ (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
+
137
+
138
+ # as_fn_error STATUS ERROR [LINENO LOG_FD]
139
+ # ----------------------------------------
140
+ # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
141
+ # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
142
+ # script with STATUS, using 1 if that was 0.
143
+ as_fn_error ()
144
+ {
145
+ as_status=$1; test $as_status -eq 0 && as_status=1
146
+ if test "$4"; then
147
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
148
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
149
+ fi
150
+ $as_echo "$as_me: error: $2" >&2
151
+ as_fn_exit $as_status
152
+ } # as_fn_error
153
+
154
+
155
+ # as_fn_set_status STATUS
156
+ # -----------------------
157
+ # Set $? to STATUS, without forking.
158
+ as_fn_set_status ()
159
+ {
160
+ return $1
161
+ } # as_fn_set_status
162
+
163
+ # as_fn_exit STATUS
164
+ # -----------------
165
+ # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
166
+ as_fn_exit ()
167
+ {
168
+ set +e
169
+ as_fn_set_status $1
170
+ exit $1
171
+ } # as_fn_exit
172
+
173
+ # as_fn_unset VAR
174
+ # ---------------
175
+ # Portably unset VAR.
176
+ as_fn_unset ()
177
+ {
178
+ { eval $1=; unset $1;}
179
+ }
180
+ as_unset=as_fn_unset
181
+ # as_fn_append VAR VALUE
182
+ # ----------------------
183
+ # Append the text in VALUE to the end of the definition contained in VAR. Take
184
+ # advantage of any shell optimizations that allow amortized linear growth over
185
+ # repeated appends, instead of the typical quadratic growth present in naive
186
+ # implementations.
187
+ if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
188
+ eval 'as_fn_append ()
189
+ {
190
+ eval $1+=\$2
191
+ }'
192
+ else
193
+ as_fn_append ()
194
+ {
195
+ eval $1=\$$1\$2
196
+ }
197
+ fi # as_fn_append
198
+
199
+ # as_fn_arith ARG...
200
+ # ------------------
201
+ # Perform arithmetic evaluation on the ARGs, and store the result in the
202
+ # global $as_val. Take advantage of shells that can avoid forks. The arguments
203
+ # must be portable across $(()) and expr.
204
+ if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
205
+ eval 'as_fn_arith ()
206
+ {
207
+ as_val=$(( $* ))
208
+ }'
209
+ else
210
+ as_fn_arith ()
211
+ {
212
+ as_val=`expr "$@" || test $? -eq 1`
213
+ }
214
+ fi # as_fn_arith
215
+
216
+
217
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
218
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
219
+ as_expr=expr
220
+ else
221
+ as_expr=false
222
+ fi
223
+
224
+ if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
225
+ as_basename=basename
226
+ else
227
+ as_basename=false
228
+ fi
229
+
230
+ if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
231
+ as_dirname=dirname
232
+ else
233
+ as_dirname=false
234
+ fi
235
+
236
+ as_me=`$as_basename -- "$0" ||
237
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
238
+ X"$0" : 'X\(//\)$' \| \
239
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
240
+ $as_echo X/"$0" |
241
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
242
+ s//\1/
243
+ q
244
+ }
245
+ /^X\/\(\/\/\)$/{
246
+ s//\1/
247
+ q
248
+ }
249
+ /^X\/\(\/\).*/{
250
+ s//\1/
251
+ q
252
+ }
253
+ s/.*/./; q'`
254
+
255
+ # Avoid depending upon Character Ranges.
256
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
257
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
258
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
259
+ as_cr_digits='0123456789'
260
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
261
+
262
+ ECHO_C= ECHO_N= ECHO_T=
263
+ case `echo -n x` in #(((((
264
+ -n*)
265
+ case `echo 'xy\c'` in
266
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
267
+ xy) ECHO_C='\c';;
268
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
269
+ ECHO_T=' ';;
270
+ esac;;
271
+ *)
272
+ ECHO_N='-n';;
273
+ esac
274
+
275
+ rm -f conf$$ conf$$.exe conf$$.file
276
+ if test -d conf$$.dir; then
277
+ rm -f conf$$.dir/conf$$.file
278
+ else
279
+ rm -f conf$$.dir
280
+ mkdir conf$$.dir 2>/dev/null
281
+ fi
282
+ if (echo >conf$$.file) 2>/dev/null; then
283
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
284
+ as_ln_s='ln -s'
285
+ # ... but there are two gotchas:
286
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
287
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
288
+ # In both cases, we have to default to `cp -p'.
289
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
290
+ as_ln_s='cp -p'
291
+ elif ln conf$$.file conf$$ 2>/dev/null; then
292
+ as_ln_s=ln
293
+ else
294
+ as_ln_s='cp -p'
295
+ fi
296
+ else
297
+ as_ln_s='cp -p'
298
+ fi
299
+ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300
+ rmdir conf$$.dir 2>/dev/null
301
+
302
+
303
+ # as_fn_mkdir_p
304
+ # -------------
305
+ # Create "$as_dir" as a directory, including parents if necessary.
306
+ as_fn_mkdir_p ()
307
+ {
308
+
309
+ case $as_dir in #(
310
+ -*) as_dir=./$as_dir;;
311
+ esac
312
+ test -d "$as_dir" || eval $as_mkdir_p || {
313
+ as_dirs=
314
+ while :; do
315
+ case $as_dir in #(
316
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
317
+ *) as_qdir=$as_dir;;
318
+ esac
319
+ as_dirs="'$as_qdir' $as_dirs"
320
+ as_dir=`$as_dirname -- "$as_dir" ||
321
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
322
+ X"$as_dir" : 'X\(//\)[^/]' \| \
323
+ X"$as_dir" : 'X\(//\)$' \| \
324
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
325
+ $as_echo X"$as_dir" |
326
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327
+ s//\1/
328
+ q
329
+ }
330
+ /^X\(\/\/\)[^/].*/{
331
+ s//\1/
332
+ q
333
+ }
334
+ /^X\(\/\/\)$/{
335
+ s//\1/
336
+ q
337
+ }
338
+ /^X\(\/\).*/{
339
+ s//\1/
340
+ q
341
+ }
342
+ s/.*/./; q'`
343
+ test -d "$as_dir" && break
344
+ done
345
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
346
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
347
+
348
+
349
+ } # as_fn_mkdir_p
350
+ if mkdir -p . 2>/dev/null; then
351
+ as_mkdir_p='mkdir -p "$as_dir"'
352
+ else
353
+ test -d ./-p && rmdir ./-p
354
+ as_mkdir_p=false
355
+ fi
356
+
357
+ if test -x / >/dev/null 2>&1; then
358
+ as_test_x='test -x'
359
+ else
360
+ if ls -dL / >/dev/null 2>&1; then
361
+ as_ls_L_option=L
362
+ else
363
+ as_ls_L_option=
364
+ fi
365
+ as_test_x='
366
+ eval sh -c '\''
367
+ if test -d "$1"; then
368
+ test -d "$1/.";
369
+ else
370
+ case $1 in #(
371
+ -*)set "./$1";;
372
+ esac;
373
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
374
+ ???[sx]*):;;*)false;;esac;fi
375
+ '\'' sh
376
+ '
377
+ fi
378
+ as_executable_p=$as_test_x
379
+
380
+ # Sed expression to map a string onto a valid CPP name.
381
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
382
+
383
+ # Sed expression to map a string onto a valid variable name.
384
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
385
+
386
+
387
+ exec 6>&1
388
+ ## ----------------------------------- ##
389
+ ## Main body of $CONFIG_STATUS script. ##
390
+ ## ----------------------------------- ##
391
+ # Save the log message, to keep $0 and so on meaningful, and to
392
+ # report actual input values of CONFIG_FILES etc. instead of their
393
+ # values after options handling.
394
+ ac_log="
395
+ This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
396
+ generated by GNU Autoconf 2.68. Invocation command line was
397
+
398
+ CONFIG_FILES = $CONFIG_FILES
399
+ CONFIG_HEADERS = $CONFIG_HEADERS
400
+ CONFIG_LINKS = $CONFIG_LINKS
401
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
402
+ $ $0 $@
403
+
404
+ on `(hostname || uname -n) 2>/dev/null | sed 1q`
405
+ "
406
+
407
+ # Files that config.status was made for.
408
+ config_files=" Makefile fofi/Makefile goo/Makefile splash/Makefile src/Makefile xpdf/Makefile"
409
+ config_headers=" aconf.h"
410
+
411
+ ac_cs_usage="\
412
+ \`$as_me' instantiates files and other configuration actions
413
+ from templates according to the current configuration. Unless the files
414
+ and actions are specified as TAGs, all are instantiated by default.
415
+
416
+ Usage: $0 [OPTION]... [TAG]...
417
+
418
+ -h, --help print this help, then exit
419
+ -V, --version print version number and configuration settings, then exit
420
+ --config print configuration, then exit
421
+ -q, --quiet, --silent
422
+ do not print progress messages
423
+ -d, --debug don't remove temporary files
424
+ --recheck update $as_me by reconfiguring in the same conditions
425
+ --file=FILE[:TEMPLATE]
426
+ instantiate the configuration file FILE
427
+ --header=FILE[:TEMPLATE]
428
+ instantiate the configuration header FILE
429
+
430
+ Configuration files:
431
+ $config_files
432
+
433
+ Configuration headers:
434
+ $config_headers
435
+
436
+ Report bugs to <BUG-REPORT-ADDRESS>."
437
+
438
+ ac_cs_config=""
439
+ ac_cs_version="\
440
+ FULL-PACKAGE-NAME config.status VERSION
441
+ configured by ./configure, generated by GNU Autoconf 2.68,
442
+ with options \"$ac_cs_config\"
443
+
444
+ Copyright (C) 2010 Free Software Foundation, Inc.
445
+ This config.status script is free software; the Free Software Foundation
446
+ gives unlimited permission to copy, distribute and modify it."
447
+
448
+ ac_pwd='/Users/zdennis/Downloads/pdf2json-0.52-source'
449
+ srcdir='.'
450
+ test -n "$AWK" || AWK=awk
451
+ # The default lists apply if the user does not specify any file.
452
+ ac_need_defaults=:
453
+ while test $# != 0
454
+ do
455
+ case $1 in
456
+ --*=?*)
457
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
458
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
459
+ ac_shift=:
460
+ ;;
461
+ --*=)
462
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
463
+ ac_optarg=
464
+ ac_shift=:
465
+ ;;
466
+ *)
467
+ ac_option=$1
468
+ ac_optarg=$2
469
+ ac_shift=shift
470
+ ;;
471
+ esac
472
+
473
+ case $ac_option in
474
+ # Handling of the options.
475
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
476
+ ac_cs_recheck=: ;;
477
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
478
+ $as_echo "$ac_cs_version"; exit ;;
479
+ --config | --confi | --conf | --con | --co | --c )
480
+ $as_echo "$ac_cs_config"; exit ;;
481
+ --debug | --debu | --deb | --de | --d | -d )
482
+ debug=: ;;
483
+ --file | --fil | --fi | --f )
484
+ $ac_shift
485
+ case $ac_optarg in
486
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
487
+ '') as_fn_error $? "missing file argument" ;;
488
+ esac
489
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
490
+ ac_need_defaults=false;;
491
+ --header | --heade | --head | --hea )
492
+ $ac_shift
493
+ case $ac_optarg in
494
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
495
+ esac
496
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
497
+ ac_need_defaults=false;;
498
+ --he | --h)
499
+ # Conflict between --help and --header
500
+ as_fn_error $? "ambiguous option: \`$1'
501
+ Try \`$0 --help' for more information.";;
502
+ --help | --hel | -h )
503
+ $as_echo "$ac_cs_usage"; exit ;;
504
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
505
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
506
+ ac_cs_silent=: ;;
507
+
508
+ # This is an error.
509
+ -*) as_fn_error $? "unrecognized option: \`$1'
510
+ Try \`$0 --help' for more information." ;;
511
+
512
+ *) as_fn_append ac_config_targets " $1"
513
+ ac_need_defaults=false ;;
514
+
515
+ esac
516
+ shift
517
+ done
518
+
519
+ ac_configure_extra_args=
520
+
521
+ if $ac_cs_silent; then
522
+ exec 6>/dev/null
523
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
524
+ fi
525
+
526
+ if $ac_cs_recheck; then
527
+ set X '/bin/sh' './configure' $ac_configure_extra_args --no-create --no-recursion
528
+ shift
529
+ $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
530
+ CONFIG_SHELL='/bin/sh'
531
+ export CONFIG_SHELL
532
+ exec "$@"
533
+ fi
534
+
535
+ exec 5>>config.log
536
+ {
537
+ echo
538
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
539
+ ## Running $as_me. ##
540
+ _ASBOX
541
+ $as_echo "$ac_log"
542
+ } >&5
543
+
544
+
545
+ # Handling of arguments.
546
+ for ac_config_target in $ac_config_targets
547
+ do
548
+ case $ac_config_target in
549
+ "aconf.h") CONFIG_HEADERS="$CONFIG_HEADERS aconf.h" ;;
550
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
551
+ "fofi/Makefile") CONFIG_FILES="$CONFIG_FILES fofi/Makefile" ;;
552
+ "goo/Makefile") CONFIG_FILES="$CONFIG_FILES goo/Makefile" ;;
553
+ "splash/Makefile") CONFIG_FILES="$CONFIG_FILES splash/Makefile" ;;
554
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
555
+ "xpdf/Makefile") CONFIG_FILES="$CONFIG_FILES xpdf/Makefile" ;;
556
+
557
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
558
+ esac
559
+ done
560
+
561
+
562
+ # If the user did not use the arguments to specify the items to instantiate,
563
+ # then the envvar interface is used. Set only those that are not.
564
+ # We use the long form for the default assignment because of an extremely
565
+ # bizarre bug on SunOS 4.1.3.
566
+ if $ac_need_defaults; then
567
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
568
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
569
+ fi
570
+
571
+ # Have a temporary directory for convenience. Make it in the build tree
572
+ # simply because there is no reason against having it here, and in addition,
573
+ # creating and moving files from /tmp can sometimes cause problems.
574
+ # Hook for its removal unless debugging.
575
+ # Note that there is a small window in which the directory will not be cleaned:
576
+ # after its creation but before its name has been assigned to `$tmp'.
577
+ $debug ||
578
+ {
579
+ tmp= ac_tmp=
580
+ trap 'exit_status=$?
581
+ : "${ac_tmp:=$tmp}"
582
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
583
+ ' 0
584
+ trap 'as_fn_exit 1' 1 2 13 15
585
+ }
586
+ # Create a (secure) tmp directory for tmp files.
587
+
588
+ {
589
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
590
+ test -d "$tmp"
591
+ } ||
592
+ {
593
+ tmp=./conf$$-$RANDOM
594
+ (umask 077 && mkdir "$tmp")
595
+ } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
596
+ ac_tmp=$tmp
597
+
598
+ # Set up the scripts for CONFIG_FILES section.
599
+ # No need to generate them if there are no CONFIG_FILES.
600
+ # This happens for instance with `./config.status config.h'.
601
+ if test -n "$CONFIG_FILES"; then
602
+
603
+
604
+ ac_cr=`echo X | tr X '\015'`
605
+ # On cygwin, bash can eat \r inside `` if the user requested igncr.
606
+ # But we know of no other shell where ac_cr would be empty at this
607
+ # point, so we can use a bashism as a fallback.
608
+ if test "x$ac_cr" = x; then
609
+ eval ac_cr=\$\'\\r\'
610
+ fi
611
+ ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
612
+ if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
613
+ ac_cs_awk_cr='\\r'
614
+ else
615
+ ac_cs_awk_cr=$ac_cr
616
+ fi
617
+
618
+ echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
619
+ cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
620
+ S["LTLIBOBJS"]=" ${LIBOBJDIR}error$U.lo ${LIBOBJDIR}mktime$U.lo"
621
+ S["LIBOBJS"]=" ${LIBOBJDIR}error$U.o ${LIBOBJDIR}mktime$U.o"
622
+ S["EGREP"]="/usr/bin/grep -E"
623
+ S["GREP"]="/usr/bin/grep"
624
+ S["X_EXTRA_LIBS"]=""
625
+ S["X_LIBS"]=" -L/usr/X11/lib -R/usr/X11/lib"
626
+ S["X_PRE_LIBS"]=" -lSM -lICE"
627
+ S["X_CFLAGS"]=""
628
+ S["CPP"]="gcc -E"
629
+ S["XMKMF"]=""
630
+ S["RANLIB"]="ranlib"
631
+ S["ac_ct_CC"]="gcc"
632
+ S["CFLAGS"]="-g -O2"
633
+ S["CC"]="gcc"
634
+ S["OBJEXT"]="o"
635
+ S["EXEEXT"]=""
636
+ S["ac_ct_CXX"]="g++"
637
+ S["CPPFLAGS"]=""
638
+ S["LDFLAGS"]=""
639
+ S["CXXFLAGS"]="-g -O2"
640
+ S["CXX"]="g++"
641
+ S["target_alias"]=""
642
+ S["host_alias"]=""
643
+ S["build_alias"]=""
644
+ S["LIBS"]="-lm "
645
+ S["ECHO_T"]=""
646
+ S["ECHO_N"]=""
647
+ S["ECHO_C"]="\\c"
648
+ S["DEFS"]="-DHAVE_CONFIG_H"
649
+ S["mandir"]="${datarootdir}/man"
650
+ S["localedir"]="${datarootdir}/locale"
651
+ S["libdir"]="${exec_prefix}/lib"
652
+ S["psdir"]="${docdir}"
653
+ S["pdfdir"]="${docdir}"
654
+ S["dvidir"]="${docdir}"
655
+ S["htmldir"]="${docdir}"
656
+ S["infodir"]="${datarootdir}/info"
657
+ S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
658
+ S["oldincludedir"]="/usr/include"
659
+ S["includedir"]="${prefix}/include"
660
+ S["localstatedir"]="${prefix}/var"
661
+ S["sharedstatedir"]="${prefix}/com"
662
+ S["sysconfdir"]="${prefix}/etc"
663
+ S["datadir"]="${datarootdir}"
664
+ S["datarootdir"]="${prefix}/share"
665
+ S["libexecdir"]="${exec_prefix}/libexec"
666
+ S["sbindir"]="${exec_prefix}/sbin"
667
+ S["bindir"]="${exec_prefix}/bin"
668
+ S["program_transform_name"]="s,x,x,"
669
+ S["prefix"]="/usr/local"
670
+ S["exec_prefix"]="${prefix}"
671
+ S["PACKAGE_URL"]=""
672
+ S["PACKAGE_BUGREPORT"]="BUG-REPORT-ADDRESS"
673
+ S["PACKAGE_STRING"]="FULL-PACKAGE-NAME VERSION"
674
+ S["PACKAGE_VERSION"]="VERSION"
675
+ S["PACKAGE_TARNAME"]="full-package-name"
676
+ S["PACKAGE_NAME"]="FULL-PACKAGE-NAME"
677
+ S["PATH_SEPARATOR"]=":"
678
+ S["SHELL"]="/bin/sh"
679
+ _ACAWK
680
+ cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
681
+ for (key in S) S_is_set[key] = 1
682
+ FS = ""
683
+
684
+ }
685
+ {
686
+ line = $ 0
687
+ nfields = split(line, field, "@")
688
+ substed = 0
689
+ len = length(field[1])
690
+ for (i = 2; i < nfields; i++) {
691
+ key = field[i]
692
+ keylen = length(key)
693
+ if (S_is_set[key]) {
694
+ value = S[key]
695
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
696
+ len += length(value) + length(field[++i])
697
+ substed = 1
698
+ } else
699
+ len += 1 + keylen
700
+ }
701
+
702
+ print line
703
+ }
704
+
705
+ _ACAWK
706
+ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
707
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
708
+ else
709
+ cat
710
+ fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
711
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
712
+ fi # test -n "$CONFIG_FILES"
713
+
714
+ # Set up the scripts for CONFIG_HEADERS section.
715
+ # No need to generate them if there are no CONFIG_HEADERS.
716
+ # This happens for instance with `./config.status Makefile'.
717
+ if test -n "$CONFIG_HEADERS"; then
718
+ cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
719
+ BEGIN {
720
+ D["PACKAGE_NAME"]=" \"FULL-PACKAGE-NAME\""
721
+ D["PACKAGE_TARNAME"]=" \"full-package-name\""
722
+ D["PACKAGE_VERSION"]=" \"VERSION\""
723
+ D["PACKAGE_STRING"]=" \"FULL-PACKAGE-NAME VERSION\""
724
+ D["PACKAGE_BUGREPORT"]=" \"BUG-REPORT-ADDRESS\""
725
+ D["PACKAGE_URL"]=" \"\""
726
+ D["HAVE_DIRENT_H"]=" 1"
727
+ D["HAVE_LIBM"]=" 1"
728
+ D["STDC_HEADERS"]=" 1"
729
+ D["HAVE_SYS_TYPES_H"]=" 1"
730
+ D["HAVE_SYS_STAT_H"]=" 1"
731
+ D["HAVE_STDLIB_H"]=" 1"
732
+ D["HAVE_STRING_H"]=" 1"
733
+ D["HAVE_MEMORY_H"]=" 1"
734
+ D["HAVE_STRINGS_H"]=" 1"
735
+ D["HAVE_INTTYPES_H"]=" 1"
736
+ D["HAVE_STDINT_H"]=" 1"
737
+ D["HAVE_UNISTD_H"]=" 1"
738
+ D["HAVE_FCNTL_H"]=" 1"
739
+ D["HAVE_LIMITS_H"]=" 1"
740
+ D["HAVE_STDDEF_H"]=" 1"
741
+ D["HAVE_STDLIB_H"]=" 1"
742
+ D["HAVE_STRING_H"]=" 1"
743
+ D["HAVE_UNISTD_H"]=" 1"
744
+ D["HAVE__BOOL"]=" 1"
745
+ D["HAVE_STDBOOL_H"]=" 1"
746
+ D["SYSTEM_XPDFRC"]=" \"/usr/local/etc/xpdfrc\""
747
+ D["HAVE_POPEN"]=" 1"
748
+ D["HAVE_MKSTEMP"]=" 1"
749
+ D["HAVE_MKSTEMPS"]=" 1"
750
+ D["HAVE_FSEEKO"]=" 1"
751
+ D["HAVE_STDLIB_H"]=" 1"
752
+ D["HAVE_MALLOC"]=" 1"
753
+ D["TIME_WITH_SYS_TIME"]=" 1"
754
+ D["HAVE_SYS_TIME_H"]=" 1"
755
+ D["HAVE_UNISTD_H"]=" 1"
756
+ D["HAVE_ALARM"]=" 1"
757
+ D["HAVE_STDLIB_H"]=" 1"
758
+ D["HAVE_REALLOC"]=" 1"
759
+ D["HAVE_SPLASH"]=" 1"
760
+ D["HAVE_FLOOR"]=" 1"
761
+ D["HAVE_FTIME"]=" 1"
762
+ D["HAVE_GETCWD"]=" 1"
763
+ D["HAVE_GETTIMEOFDAY"]=" 1"
764
+ D["HAVE_MEMMOVE"]=" 1"
765
+ D["HAVE_MEMSET"]=" 1"
766
+ D["HAVE_POW"]=" 1"
767
+ D["HAVE_SQRT"]=" 1"
768
+ D["HAVE_STRCASECMP"]=" 1"
769
+ D["HAVE_STRCHR"]=" 1"
770
+ D["HAVE_STRCSPN"]=" 1"
771
+ D["HAVE_STRRCHR"]=" 1"
772
+ D["HAVE_STRSTR"]=" 1"
773
+ for (key in D) D_is_set[key] = 1
774
+ FS = ""
775
+ }
776
+ /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
777
+ line = $ 0
778
+ split(line, arg, " ")
779
+ if (arg[1] == "#") {
780
+ defundef = arg[2]
781
+ mac1 = arg[3]
782
+ } else {
783
+ defundef = substr(arg[1], 2)
784
+ mac1 = arg[2]
785
+ }
786
+ split(mac1, mac2, "(") #)
787
+ macro = mac2[1]
788
+ prefix = substr(line, 1, index(line, defundef) - 1)
789
+ if (D_is_set[macro]) {
790
+ # Preserve the white space surrounding the "#".
791
+ print prefix "define", macro P[macro] D[macro]
792
+ next
793
+ } else {
794
+ # Replace #undef with comments. This is necessary, for example,
795
+ # in the case of _POSIX_SOURCE, which is predefined and required
796
+ # on some systems where configure will not decide to define it.
797
+ if (defundef == "undef") {
798
+ print "/*", prefix defundef, macro, "*/"
799
+ next
800
+ }
801
+ }
802
+ }
803
+ { print }
804
+ _ACAWK
805
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
806
+ fi # test -n "$CONFIG_HEADERS"
807
+
808
+
809
+ eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
810
+ shift
811
+ for ac_tag
812
+ do
813
+ case $ac_tag in
814
+ :[FHLC]) ac_mode=$ac_tag; continue;;
815
+ esac
816
+ case $ac_mode$ac_tag in
817
+ :[FHL]*:*);;
818
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
819
+ :[FH]-) ac_tag=-:-;;
820
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
821
+ esac
822
+ ac_save_IFS=$IFS
823
+ IFS=:
824
+ set x $ac_tag
825
+ IFS=$ac_save_IFS
826
+ shift
827
+ ac_file=$1
828
+ shift
829
+
830
+ case $ac_mode in
831
+ :L) ac_source=$1;;
832
+ :[FH])
833
+ ac_file_inputs=
834
+ for ac_f
835
+ do
836
+ case $ac_f in
837
+ -) ac_f="$ac_tmp/stdin";;
838
+ *) # Look for the file first in the build tree, then in the source tree
839
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
840
+ # because $ac_f cannot contain `:'.
841
+ test -f "$ac_f" ||
842
+ case $ac_f in
843
+ [\\/$]*) false;;
844
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
845
+ esac ||
846
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
847
+ esac
848
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
849
+ as_fn_append ac_file_inputs " '$ac_f'"
850
+ done
851
+
852
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
853
+ # use $as_me), people would be surprised to read:
854
+ # /* config.h. Generated by config.status. */
855
+ configure_input='Generated from '`
856
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
857
+ `' by configure.'
858
+ if test x"$ac_file" != x-; then
859
+ configure_input="$ac_file. $configure_input"
860
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
861
+ $as_echo "$as_me: creating $ac_file" >&6;}
862
+ fi
863
+ # Neutralize special characters interpreted by sed in replacement strings.
864
+ case $configure_input in #(
865
+ *\&* | *\|* | *\\* )
866
+ ac_sed_conf_input=`$as_echo "$configure_input" |
867
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
868
+ *) ac_sed_conf_input=$configure_input;;
869
+ esac
870
+
871
+ case $ac_tag in
872
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
873
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
874
+ esac
875
+ ;;
876
+ esac
877
+
878
+ ac_dir=`$as_dirname -- "$ac_file" ||
879
+ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
880
+ X"$ac_file" : 'X\(//\)[^/]' \| \
881
+ X"$ac_file" : 'X\(//\)$' \| \
882
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
883
+ $as_echo X"$ac_file" |
884
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
885
+ s//\1/
886
+ q
887
+ }
888
+ /^X\(\/\/\)[^/].*/{
889
+ s//\1/
890
+ q
891
+ }
892
+ /^X\(\/\/\)$/{
893
+ s//\1/
894
+ q
895
+ }
896
+ /^X\(\/\).*/{
897
+ s//\1/
898
+ q
899
+ }
900
+ s/.*/./; q'`
901
+ as_dir="$ac_dir"; as_fn_mkdir_p
902
+ ac_builddir=.
903
+
904
+ case "$ac_dir" in
905
+ .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
906
+ *)
907
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
908
+ # A ".." for each directory in $ac_dir_suffix.
909
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
910
+ case $ac_top_builddir_sub in
911
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
912
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
913
+ esac ;;
914
+ esac
915
+ ac_abs_top_builddir=$ac_pwd
916
+ ac_abs_builddir=$ac_pwd$ac_dir_suffix
917
+ # for backward compatibility:
918
+ ac_top_builddir=$ac_top_build_prefix
919
+
920
+ case $srcdir in
921
+ .) # We are building in place.
922
+ ac_srcdir=.
923
+ ac_top_srcdir=$ac_top_builddir_sub
924
+ ac_abs_top_srcdir=$ac_pwd ;;
925
+ [\\/]* | ?:[\\/]* ) # Absolute name.
926
+ ac_srcdir=$srcdir$ac_dir_suffix;
927
+ ac_top_srcdir=$srcdir
928
+ ac_abs_top_srcdir=$srcdir ;;
929
+ *) # Relative name.
930
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
931
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
932
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
933
+ esac
934
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
935
+
936
+
937
+ case $ac_mode in
938
+ :F)
939
+ #
940
+ # CONFIG_FILE
941
+ #
942
+
943
+ # If the template does not know about datarootdir, expand it.
944
+ # FIXME: This hack should be removed a few years after 2.60.
945
+ ac_datarootdir_hack=; ac_datarootdir_seen=
946
+ ac_sed_dataroot='
947
+ /datarootdir/ {
948
+ p
949
+ q
950
+ }
951
+ /@datadir@/p
952
+ /@docdir@/p
953
+ /@infodir@/p
954
+ /@localedir@/p
955
+ /@mandir@/p'
956
+ case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
957
+ *datarootdir*) ac_datarootdir_seen=yes;;
958
+ *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
959
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
960
+ $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
961
+ ac_datarootdir_hack='
962
+ s&@datadir@&${datarootdir}&g
963
+ s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
964
+ s&@infodir@&${datarootdir}/info&g
965
+ s&@localedir@&${datarootdir}/locale&g
966
+ s&@mandir@&${datarootdir}/man&g
967
+ s&\${datarootdir}&${prefix}/share&g' ;;
968
+ esac
969
+ ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
970
+ h
971
+ s///
972
+ s/^/:/
973
+ s/[ ]*$/:/
974
+ s/:\$(srcdir):/:/g
975
+ s/:\${srcdir}:/:/g
976
+ s/:@srcdir@:/:/g
977
+ s/^:*//
978
+ s/:*$//
979
+ x
980
+ s/\(=[ ]*\).*/\1/
981
+ G
982
+ s/\n//
983
+ s/^[^=]*=[ ]*$//
984
+ }
985
+
986
+ :t
987
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
988
+ s|@configure_input@|$ac_sed_conf_input|;t t
989
+ s&@top_builddir@&$ac_top_builddir_sub&;t t
990
+ s&@top_build_prefix@&$ac_top_build_prefix&;t t
991
+ s&@srcdir@&$ac_srcdir&;t t
992
+ s&@abs_srcdir@&$ac_abs_srcdir&;t t
993
+ s&@top_srcdir@&$ac_top_srcdir&;t t
994
+ s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
995
+ s&@builddir@&$ac_builddir&;t t
996
+ s&@abs_builddir@&$ac_abs_builddir&;t t
997
+ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
998
+ $ac_datarootdir_hack
999
+ "
1000
+ eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1001
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1002
+
1003
+ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1004
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1005
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1006
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
1007
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1008
+ which seems to be undefined. Please make sure it is defined" >&5
1009
+ $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1010
+ which seems to be undefined. Please make sure it is defined" >&2;}
1011
+
1012
+ rm -f "$ac_tmp/stdin"
1013
+ case $ac_file in
1014
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1015
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1016
+ esac \
1017
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1018
+ ;;
1019
+ :H)
1020
+ #
1021
+ # CONFIG_HEADER
1022
+ #
1023
+ if test x"$ac_file" != x-; then
1024
+ {
1025
+ $as_echo "/* $configure_input */" \
1026
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1027
+ } >"$ac_tmp/config.h" \
1028
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1029
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1030
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1031
+ $as_echo "$as_me: $ac_file is unchanged" >&6;}
1032
+ else
1033
+ rm -f "$ac_file"
1034
+ mv "$ac_tmp/config.h" "$ac_file" \
1035
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1036
+ fi
1037
+ else
1038
+ $as_echo "/* $configure_input */" \
1039
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1040
+ || as_fn_error $? "could not create -" "$LINENO" 5
1041
+ fi
1042
+ ;;
1043
+
1044
+
1045
+ esac
1046
+
1047
+ done # for ac_tag
1048
+
1049
+
1050
+ as_fn_exit 0