tree-sitter 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1857) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +22 -0
  3. data/README.md +36 -0
  4. data/Rakefile +49 -0
  5. data/ext/tree-sitter/extconf.rb +34 -0
  6. data/ext/tree-sitter/tree-sitter.c +114 -0
  7. data/ext/tree-sitter/tree-sitter.h +15 -0
  8. data/ext/tree-sitter/tree-sitter/Makefile +360 -0
  9. data/ext/tree-sitter/tree-sitter/README.md +224 -0
  10. data/ext/tree-sitter/tree-sitter/compiler.target.mk +238 -0
  11. data/ext/tree-sitter/tree-sitter/doc/grammar-schema.json +249 -0
  12. data/ext/tree-sitter/tree-sitter/externals/bandit/CMakeLists.txt +57 -0
  13. data/ext/tree-sitter/tree-sitter/externals/bandit/LICENSE.md +21 -0
  14. data/ext/tree-sitter/tree-sitter/externals/bandit/README.md +64 -0
  15. data/ext/tree-sitter/tree-sitter/externals/bandit/appveyor.yml +12 -0
  16. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/adapters/adapter.h +12 -0
  17. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/adapters/adapters.h +16 -0
  18. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/adapters/snowhouse.h +22 -0
  19. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_exception.h +51 -0
  20. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/BeCloseTo.h +55 -0
  21. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/BeEmpty.h +32 -0
  22. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/BeFalsy.h +39 -0
  23. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/BeGTE.h +45 -0
  24. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/BeGreaterThan.h +39 -0
  25. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/BeLTE.h +45 -0
  26. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/BeLessThan.h +39 -0
  27. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/BeNull.h +29 -0
  28. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/BeTruthy.h +35 -0
  29. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/Contain.h +58 -0
  30. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/Equal.h +90 -0
  31. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/MatchProxy.h +43 -0
  32. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/Matcher.h +74 -0
  33. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/MatcherException.h +16 -0
  34. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/ThrowException.h +60 -0
  35. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/ValueProxy.h +26 -0
  36. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/matchers.h +19 -0
  37. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/matchers/must.h +36 -0
  38. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/CMakeLists.txt +49 -0
  39. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/LICENSE_1_0.txt +23 -0
  40. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/README.md +419 -0
  41. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/cross_compile.sh +50 -0
  42. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/basic_assertions.cpp +228 -0
  43. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/boolean_operators.cpp +48 -0
  44. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/container_spec.cpp +85 -0
  45. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/custom_matchers_test.cpp +69 -0
  46. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/exceptions_tests.cpp +97 -0
  47. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/expression_error_handling.cpp +28 -0
  48. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/main.cpp +43 -0
  49. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/map_tests.cpp +38 -0
  50. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/operator_tests.cpp +137 -0
  51. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/sequence_container_tests.cpp +192 -0
  52. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/string_line_tests.cpp +179 -0
  53. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/string_tests.cpp +65 -0
  54. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/stringize_tests.cpp +111 -0
  55. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/example/tests.h +16 -0
  56. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/assert.h +126 -0
  57. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/assertionexception.h +58 -0
  58. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/assertmacro.h +22 -0
  59. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/constraints.h +23 -0
  60. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/containsconstraint.h +80 -0
  61. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/endswithconstraint.h +53 -0
  62. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/equalsconstraint.h +83 -0
  63. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/equalscontainerconstraint.h +80 -0
  64. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/equalswithdeltaconstraint.h +51 -0
  65. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/expressions/andexpression.h +46 -0
  66. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/expressions/expression.h +38 -0
  67. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/expressions/expression_fwd.h +15 -0
  68. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/expressions/notexpression.h +44 -0
  69. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/expressions/orexpression.h +46 -0
  70. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/fulfillsconstraint.h +51 -0
  71. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/haslengthconstraint.h +60 -0
  72. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/isgreaterthanconstraint.h +55 -0
  73. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/isgreaterthanorequaltoconstraint.h +55 -0
  74. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/islessthanconstraint.h +54 -0
  75. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/islessthanorequaltoconstraint.h +55 -0
  76. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/constraints/startswithconstraint.h +52 -0
  77. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/exceptions.h +120 -0
  78. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/constraintadapter.h +39 -0
  79. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/constraintlist.h +91 -0
  80. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/expressionbuilder.h +357 -0
  81. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/fluent.h +38 -0
  82. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/andoperator.h +54 -0
  83. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/collections/alloperator.h +35 -0
  84. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/collections/atleastoperator.h +41 -0
  85. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/collections/atmostoperator.h +39 -0
  86. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/collections/collectionconstraintevaluator.h +113 -0
  87. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/collections/collectionoperator.h +24 -0
  88. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/collections/exactlyoperator.h +39 -0
  89. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/collections/noneoperator.h +33 -0
  90. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/constraintoperator.h +70 -0
  91. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/invalidexpressionexception.h +28 -0
  92. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/notoperator.h +53 -0
  93. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/fluent/operators/oroperator.h +55 -0
  94. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/snowhouse.h +33 -0
  95. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/stringize.h +104 -0
  96. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/assertion_frameworks/snowhouse/snowhouse/stringizers.h +60 -0
  97. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/bandit.h +44 -0
  98. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/context.h +97 -0
  99. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/external/optionparser.h +2825 -0
  100. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/failure_formatters/default_failure_formatter.h +30 -0
  101. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/failure_formatters/failure_formatter.h +13 -0
  102. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/failure_formatters/failure_formatters.h +16 -0
  103. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/failure_formatters/visual_studio_failure_formatter.h +36 -0
  104. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/grammar.h +185 -0
  105. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/listener.h +27 -0
  106. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/options.h +117 -0
  107. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/registration/registrar.h +25 -0
  108. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/registration/registration.h +7 -0
  109. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/registration/spec_registry.h +17 -0
  110. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/reporters/colorizer.h +141 -0
  111. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/reporters/dots_reporter.h +76 -0
  112. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/reporters/info_reporter.h +319 -0
  113. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/reporters/progress_reporter.h +116 -0
  114. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/reporters/reporters.h +53 -0
  115. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/reporters/single_line_reporter.h +86 -0
  116. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/reporters/spec_reporter.h +126 -0
  117. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/reporters/test_run_summary.h +90 -0
  118. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/reporters/xunit_reporter.h +109 -0
  119. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/run_policies/always_run_policy.h +16 -0
  120. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/run_policies/bandit_run_policy.h +168 -0
  121. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/run_policies/never_run_policy.h +14 -0
  122. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/run_policies/run_policies.h +9 -0
  123. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/run_policies/run_policy.h +66 -0
  124. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/runner.h +103 -0
  125. data/ext/tree-sitter/tree-sitter/externals/bandit/bandit/test_run_error.h +12 -0
  126. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/CMake/cotire.cmake +3695 -0
  127. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/CMakeLists.txt +11 -0
  128. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/HISTORY.md +281 -0
  129. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/MANUAL.md +780 -0
  130. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/OpenCV-2.3.1.patch +299 -0
  131. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/README.md +24 -0
  132. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/bullet-2.80-rev2531.patch +389 -0
  133. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/clang-3.0.src.patch +35 -0
  134. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/clang-3.1.src.patch +35 -0
  135. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/clang-3.3.src.patch +46 -0
  136. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/clang-3.4.src.patch +48 -0
  137. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/clang-3.5.src.patch +39 -0
  138. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/clapack-3.2.1-CMAKE.patch +93 -0
  139. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/cmake-2.8.7.patch +218 -0
  140. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/cminpack-1.1.4.patch +18 -0
  141. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/fsedit-qt5.patch +74 -0
  142. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/fseditor-1.0.patch +68 -0
  143. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/hdf5-1.8.8.patch +118 -0
  144. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/libpng-1.5.9.patch +38 -0
  145. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/llvm-3.0.src.patch +69 -0
  146. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/llvm-3.1.src.patch +69 -0
  147. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/llvm-3.3.src.patch +128 -0
  148. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/llvm-3.4.src.patch +100 -0
  149. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/llvm-3.5.src.patch +99 -0
  150. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/yaml-cpp.patch +37 -0
  151. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/Patches/zlib-1.2.6.patch +23 -0
  152. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/README.md +137 -0
  153. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/license +22 -0
  154. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/src/CMakeLists.txt +33 -0
  155. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/src/example.cpp +24 -0
  156. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/src/example.h +10 -0
  157. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/src/log.cpp +17 -0
  158. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/src/log.h +10 -0
  159. data/ext/tree-sitter/tree-sitter/externals/bandit/cmake/cotire/src/main.cpp +12 -0
  160. data/ext/tree-sitter/tree-sitter/externals/bandit/cross_compile.sh +43 -0
  161. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/before_each_after_each.spec.cpp +78 -0
  162. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/context.spec.cpp +44 -0
  163. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/describe.spec.cpp +117 -0
  164. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/failure_formatters/default_formatter.spec.cpp +21 -0
  165. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/failure_formatters/visual_studio_failure_formatter.spec.cpp +22 -0
  166. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/fakes/fake_context.h +69 -0
  167. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/fakes/fake_reporter.h +78 -0
  168. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/fakes/fakes.h +8 -0
  169. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/fakes/logging_fake.h +32 -0
  170. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/fuzzbox.spec.cpp +77 -0
  171. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/it.spec.cpp +355 -0
  172. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/main.cpp +6 -0
  173. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/be_close_to.cpp +112 -0
  174. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/be_empty.cpp +89 -0
  175. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/be_falsy.cpp +85 -0
  176. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/be_greater_than.cpp +105 -0
  177. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/be_gte.cpp +120 -0
  178. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/be_less_than.cpp +105 -0
  179. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/be_lte.cpp +119 -0
  180. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/be_null.cpp +43 -0
  181. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/be_truthy.cpp +85 -0
  182. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/contain.cpp +156 -0
  183. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/equal.cpp +218 -0
  184. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/matchers/throw_exception.cpp +105 -0
  185. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/options.spec.cpp +134 -0
  186. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/reporters/colorizer.spec.cpp +45 -0
  187. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/reporters/dots_reporter.spec.cpp +206 -0
  188. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/reporters/info_reporter.spec.cpp +377 -0
  189. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/reporters/single_line_reporter.spec.cpp +201 -0
  190. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/reporters/xunit_reporter.spec.cpp +161 -0
  191. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/run.spec.cpp +77 -0
  192. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/run_policies/bandit_run_policy.spec.cpp +247 -0
  193. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/specs.h +10 -0
  194. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/synopsis.spec.cpp +54 -0
  195. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/util/argv_helper.h +62 -0
  196. data/ext/tree-sitter/tree-sitter/externals/bandit/specs/util/util.h +6 -0
  197. data/ext/tree-sitter/tree-sitter/externals/gyp/AUTHORS +11 -0
  198. data/ext/tree-sitter/tree-sitter/externals/gyp/DEPS +24 -0
  199. data/ext/tree-sitter/tree-sitter/externals/gyp/LICENSE +27 -0
  200. data/ext/tree-sitter/tree-sitter/externals/gyp/OWNERS +1 -0
  201. data/ext/tree-sitter/tree-sitter/externals/gyp/PRESUBMIT.py +120 -0
  202. data/ext/tree-sitter/tree-sitter/externals/gyp/buildbot/buildbot_run.py +190 -0
  203. data/ext/tree-sitter/tree-sitter/externals/gyp/codereview.settings +10 -0
  204. data/ext/tree-sitter/tree-sitter/externals/gyp/data/win/large-pdb-shim.cc +12 -0
  205. data/ext/tree-sitter/tree-sitter/externals/gyp/gyp +8 -0
  206. data/ext/tree-sitter/tree-sitter/externals/gyp/gyp.bat +5 -0
  207. data/ext/tree-sitter/tree-sitter/externals/gyp/gyp_main.py +18 -0
  208. data/ext/tree-sitter/tree-sitter/externals/gyp/gyptest.py +274 -0
  209. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSNew.py +340 -0
  210. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSProject.py +208 -0
  211. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSSettings.py +1076 -0
  212. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSSettings_test.py +1483 -0
  213. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSToolFile.py +58 -0
  214. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSUserFile.py +147 -0
  215. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSUtil.py +267 -0
  216. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSVersion.py +409 -0
  217. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/__init__.py +537 -0
  218. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/__init__.pyc +0 -0
  219. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/common.py +521 -0
  220. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/common.pyc +0 -0
  221. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/common_test.py +72 -0
  222. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/easy_xml.py +157 -0
  223. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/easy_xml_test.py +103 -0
  224. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/flock_tool.py +49 -0
  225. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/__init__.py +0 -0
  226. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/__init__.pyc +0 -0
  227. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/android.py +1072 -0
  228. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/cmake.py +1143 -0
  229. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/dump_dependency_json.py +81 -0
  230. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/eclipse.py +335 -0
  231. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/gypd.py +87 -0
  232. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/gypsh.py +56 -0
  233. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/make.py +2181 -0
  234. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/make.pyc +0 -0
  235. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/msvs.py +3342 -0
  236. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/msvs_test.py +37 -0
  237. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/ninja.py +2160 -0
  238. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/ninja_test.py +44 -0
  239. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/xcode.py +1224 -0
  240. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/xcode.pyc +0 -0
  241. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/xcode_test.py +23 -0
  242. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/input.py +2809 -0
  243. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/input.pyc +0 -0
  244. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/input_test.py +90 -0
  245. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/mac_tool.py +510 -0
  246. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/msvs_emulation.py +972 -0
  247. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/ninja_syntax.py +160 -0
  248. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/ordered_dict.py +289 -0
  249. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/win_tool.py +292 -0
  250. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcode_emulation.py +1499 -0
  251. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcode_emulation.pyc +0 -0
  252. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcodeproj_file.py +2889 -0
  253. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcodeproj_file.pyc +0 -0
  254. data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xml_fix.py +69 -0
  255. data/ext/tree-sitter/tree-sitter/externals/gyp/pylintrc +307 -0
  256. data/ext/tree-sitter/tree-sitter/externals/gyp/samples/samples +81 -0
  257. data/ext/tree-sitter/tree-sitter/externals/gyp/samples/samples.bat +5 -0
  258. data/ext/tree-sitter/tree-sitter/externals/gyp/setup.py +19 -0
  259. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-bare/gyptest-bare.py +23 -0
  260. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-bare/src/bare.gyp +25 -0
  261. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-bare/src/bare.py +11 -0
  262. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-multiple/gyptest-all.py +72 -0
  263. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-multiple/src/actions.gyp +226 -0
  264. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-multiple/src/copy.py +9 -0
  265. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-multiple/src/filter.py +12 -0
  266. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-multiple/src/foo.c +11 -0
  267. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-multiple/src/input.txt +1 -0
  268. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-multiple/src/main.c +22 -0
  269. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-none/gyptest-none.py +23 -0
  270. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-none/src/fake_cross.py +12 -0
  271. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-none/src/foo.cc +1 -0
  272. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-none/src/none_with_source_files.gyp +35 -0
  273. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-subdir/gyptest-action.py +26 -0
  274. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-subdir/src/make-file.py +11 -0
  275. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-subdir/src/none.gyp +31 -0
  276. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-subdir/src/subdir/make-subdir-file.py +11 -0
  277. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-subdir/src/subdir/subdir.gyp +28 -0
  278. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/generated-header/action.py +11 -0
  279. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/generated-header/main.cc +7 -0
  280. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/generated-header/test.gyp +34 -0
  281. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/gyptest-all.py +102 -0
  282. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/gyptest-default.py +69 -0
  283. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/gyptest-errors.py +24 -0
  284. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/gyptest-generated-header.py +38 -0
  285. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/action_missing_name.gyp +24 -0
  286. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/actions.gyp +114 -0
  287. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/confirm-dep-files.py +21 -0
  288. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/subdir1/counter.py +44 -0
  289. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/subdir1/executable.gyp +74 -0
  290. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/subdir1/make-prog1.py +20 -0
  291. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/subdir1/make-prog2.py +20 -0
  292. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/subdir1/program.c +12 -0
  293. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/subdir2/make-file.py +11 -0
  294. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/subdir2/none.gyp +33 -0
  295. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/subdir3/generate_main.py +21 -0
  296. data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/subdir3/null_input.gyp +29 -0
  297. data/ext/tree-sitter/tree-sitter/externals/gyp/test/additional-targets/gyptest-additional.py +56 -0
  298. data/ext/tree-sitter/tree-sitter/externals/gyp/test/additional-targets/src/all.gyp +13 -0
  299. data/ext/tree-sitter/tree-sitter/externals/gyp/test/additional-targets/src/dir1/actions.gyp +56 -0
  300. data/ext/tree-sitter/tree-sitter/externals/gyp/test/additional-targets/src/dir1/emit.py +11 -0
  301. data/ext/tree-sitter/tree-sitter/externals/gyp/test/additional-targets/src/dir1/lib1.c +6 -0
  302. data/ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/gyptest-assembly.py +31 -0
  303. data/ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/gyptest-override.py +24 -0
  304. data/ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/src/as.bat +4 -0
  305. data/ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/src/assembly.gyp +62 -0
  306. data/ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/src/lib1.S +15 -0
  307. data/ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/src/lib1.c +3 -0
  308. data/ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/src/override.gyp +34 -0
  309. data/ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/src/override_asm.asm +8 -0
  310. data/ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/src/program.c +12 -0
  311. data/ext/tree-sitter/tree-sitter/externals/gyp/test/build-option/gyptest-build.py +22 -0
  312. data/ext/tree-sitter/tree-sitter/externals/gyp/test/build-option/hello.c +13 -0
  313. data/ext/tree-sitter/tree-sitter/externals/gyp/test/build-option/hello.gyp +15 -0
  314. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/gyptest-all.py +85 -0
  315. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/gyptest-default.py +85 -0
  316. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/builddir.gypi +18 -0
  317. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/func1.c +6 -0
  318. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/func2.c +6 -0
  319. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/func3.c +6 -0
  320. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/func4.c +6 -0
  321. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/func5.c +6 -0
  322. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/prog1.c +10 -0
  323. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/prog1.gyp +30 -0
  324. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/prog2.c +10 -0
  325. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/prog2.gyp +19 -0
  326. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/subdir3/prog3.c +10 -0
  327. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/subdir3/prog3.gyp +19 -0
  328. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/subdir3/subdir4/prog4.c +10 -0
  329. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/subdir3/subdir4/prog4.gyp +19 -0
  330. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/subdir3/subdir4/subdir5/prog5.c +10 -0
  331. data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/subdir3/subdir4/subdir5/prog5.gyp +19 -0
  332. data/ext/tree-sitter/tree-sitter/externals/gyp/test/cflags/cflags.c +15 -0
  333. data/ext/tree-sitter/tree-sitter/externals/gyp/test/cflags/cflags.gyp +23 -0
  334. data/ext/tree-sitter/tree-sitter/externals/gyp/test/cflags/gyptest-cflags.py +104 -0
  335. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compilable/gyptest-headers.py +29 -0
  336. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compilable/src/headers.gyp +26 -0
  337. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compilable/src/lib1.cpp +7 -0
  338. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compilable/src/lib1.hpp +6 -0
  339. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compilable/src/program.cpp +9 -0
  340. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/compiler-global-settings.gyp.in +34 -0
  341. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/compiler-host.gyp +17 -0
  342. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/compiler.gyp +16 -0
  343. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/cxxtest.cc +7 -0
  344. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/gyptest-compiler-env.py +112 -0
  345. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/gyptest-compiler-global-settings.py +73 -0
  346. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/my_cc.py +6 -0
  347. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/my_cxx.py +6 -0
  348. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/my_ld.py +6 -0
  349. data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/test.c +7 -0
  350. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/basics/configurations.c +15 -0
  351. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/basics/configurations.gyp +32 -0
  352. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/basics/gyptest-configurations.py +29 -0
  353. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/configurations.c +21 -0
  354. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/configurations.gyp +40 -0
  355. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/gyptest-inheritance.py +33 -0
  356. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/actions.gyp +18 -0
  357. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/all_dependent_settings.gyp +18 -0
  358. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/configurations.gyp +18 -0
  359. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/dependencies.gyp +18 -0
  360. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/direct_dependent_settings.gyp +18 -0
  361. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/gyptest-configurations.py +36 -0
  362. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/libraries.gyp +18 -0
  363. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/link_settings.gyp +18 -0
  364. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/sources.gyp +18 -0
  365. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/standalone_static_library.gyp +17 -0
  366. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/target_name.gyp +18 -0
  367. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/type.gyp +18 -0
  368. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/target_platform/configurations.gyp +58 -0
  369. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/target_platform/front.c +8 -0
  370. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/target_platform/gyptest-target_platform.py +40 -0
  371. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/target_platform/left.c +3 -0
  372. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/target_platform/right.c +3 -0
  373. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/x64/configurations.c +12 -0
  374. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/x64/configurations.gyp +38 -0
  375. data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/x64/gyptest-x86.py +31 -0
  376. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/gyptest-all.py +40 -0
  377. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/gyptest-attribs.py +41 -0
  378. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/gyptest-default.py +40 -0
  379. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/gyptest-samedir.py +28 -0
  380. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/gyptest-slash.py +38 -0
  381. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/gyptest-updir.py +24 -0
  382. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/copies-attribs.gyp +20 -0
  383. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/copies-samedir.gyp +37 -0
  384. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/copies-slash.gyp +36 -0
  385. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/copies-updir.gyp +21 -0
  386. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/copies.gyp +70 -0
  387. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/directory/file3 +1 -0
  388. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/directory/file4 +1 -0
  389. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/directory/subdir/file5 +1 -0
  390. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/executable-file.sh +3 -0
  391. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/file1 +1 -0
  392. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/file2 +1 -0
  393. data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/src/parentdir/subdir/file6 +1 -0
  394. data/ext/tree-sitter/tree-sitter/externals/gyp/test/custom-generator/gyptest-custom-generator.py +18 -0
  395. data/ext/tree-sitter/tree-sitter/externals/gyp/test/custom-generator/mygenerator.py +14 -0
  396. data/ext/tree-sitter/tree-sitter/externals/gyp/test/custom-generator/test.gyp +15 -0
  397. data/ext/tree-sitter/tree-sitter/externals/gyp/test/cxxflags/cxxflags.cc +15 -0
  398. data/ext/tree-sitter/tree-sitter/externals/gyp/test/cxxflags/cxxflags.gyp +16 -0
  399. data/ext/tree-sitter/tree-sitter/externals/gyp/test/cxxflags/gyptest-cxxflags.py +65 -0
  400. data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines-escaping/defines-escaping.c +11 -0
  401. data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines-escaping/defines-escaping.gyp +19 -0
  402. data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines-escaping/gyptest-defines-escaping.py +184 -0
  403. data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines/defines-env.gyp +22 -0
  404. data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines/defines.c +23 -0
  405. data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines/defines.gyp +38 -0
  406. data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines/gyptest-define-override.py +43 -0
  407. data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines/gyptest-defines-env-regyp.py +51 -0
  408. data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines/gyptest-defines-env.py +85 -0
  409. data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines/gyptest-defines.py +39 -0
  410. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/a.c +9 -0
  411. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/b/b.c +3 -0
  412. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/b/b.gyp +22 -0
  413. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/b/b3.c +9 -0
  414. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/c/c.c +4 -0
  415. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/c/c.gyp +22 -0
  416. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/c/d.c +3 -0
  417. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/double_dependency.gyp +23 -0
  418. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/double_dependent.gyp +12 -0
  419. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/extra_targets.gyp +18 -0
  420. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/gyptest-double-dependency.py +19 -0
  421. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/gyptest-extra-targets.py +21 -0
  422. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/gyptest-lib-only.py +39 -0
  423. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/gyptest-none-traversal.py +25 -0
  424. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/gyptest-sharedlib-linksettings.py +21 -0
  425. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/lib_only.gyp +16 -0
  426. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/main.c +14 -0
  427. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/none_traversal.gyp +46 -0
  428. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/sharedlib-linksettings/program.c +25 -0
  429. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/sharedlib-linksettings/sharedlib.c +16 -0
  430. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/sharedlib-linksettings/staticlib.c +24 -0
  431. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/sharedlib-linksettings/test.gyp +37 -0
  432. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependency-copy/gyptest-copy.py +26 -0
  433. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependency-copy/src/copies.gyp +25 -0
  434. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependency-copy/src/file1.c +7 -0
  435. data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependency-copy/src/file2.c +7 -0
  436. data/ext/tree-sitter/tree-sitter/externals/gyp/test/errors/duplicate_basenames.gyp +13 -0
  437. data/ext/tree-sitter/tree-sitter/externals/gyp/test/errors/duplicate_node.gyp +12 -0
  438. data/ext/tree-sitter/tree-sitter/externals/gyp/test/errors/duplicate_rule.gyp +22 -0
  439. data/ext/tree-sitter/tree-sitter/externals/gyp/test/errors/duplicate_targets.gyp +14 -0
  440. data/ext/tree-sitter/tree-sitter/externals/gyp/test/errors/gyptest-errors.py +47 -0
  441. data/ext/tree-sitter/tree-sitter/externals/gyp/test/errors/missing_dep.gyp +15 -0
  442. data/ext/tree-sitter/tree-sitter/externals/gyp/test/errors/missing_targets.gyp +8 -0
  443. data/ext/tree-sitter/tree-sitter/externals/gyp/test/escaping/colon/test.gyp +21 -0
  444. data/ext/tree-sitter/tree-sitter/externals/gyp/test/escaping/gyptest-colon.py +43 -0
  445. data/ext/tree-sitter/tree-sitter/externals/gyp/test/exclusion/exclusion.gyp +23 -0
  446. data/ext/tree-sitter/tree-sitter/externals/gyp/test/exclusion/gyptest-exclusion.py +22 -0
  447. data/ext/tree-sitter/tree-sitter/externals/gyp/test/exclusion/hello.c +15 -0
  448. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/gyptest-cross.py +31 -0
  449. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/bogus1.cc +1 -0
  450. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/bogus2.c +1 -0
  451. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/cross.gyp +83 -0
  452. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/cross_compile.gypi +23 -0
  453. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/fake_cross.py +18 -0
  454. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/program.cc +16 -0
  455. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/test1.cc +1 -0
  456. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/test2.c +1 -0
  457. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/test3.cc +1 -0
  458. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/test4.c +1 -0
  459. data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/tochar.py +13 -0
  460. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/actions.gyp +16 -0
  461. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/build/README.txt +4 -0
  462. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/subdir1/actions-out/README.txt +4 -0
  463. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/subdir1/build/README.txt +4 -0
  464. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/subdir1/executable.gyp +44 -0
  465. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/subdir1/make-prog1.py +20 -0
  466. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/subdir1/make-prog2.py +20 -0
  467. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/subdir1/program.c +12 -0
  468. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/subdir2/actions-out/README.txt +4 -0
  469. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/subdir2/build/README.txt +4 -0
  470. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/subdir2/make-file.py +11 -0
  471. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/subdir2/none.gyp +31 -0
  472. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/copies/build/README.txt +4 -0
  473. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/copies/copies-out/README.txt +4 -0
  474. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/copies/copies.gyp +50 -0
  475. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/copies/file1 +1 -0
  476. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/copies/file2 +1 -0
  477. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/copies/subdir/build/README.txt +4 -0
  478. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/copies/subdir/copies-out/README.txt +4 -0
  479. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/copies/subdir/file3 +1 -0
  480. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/copies/subdir/file4 +1 -0
  481. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/copies/subdir/subdir.gyp +32 -0
  482. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/gyptest-actions.py +58 -0
  483. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/gyptest-copies.py +59 -0
  484. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/gyptest-depth.py +58 -0
  485. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/gyptest-mac-bundle.py +28 -0
  486. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/gyptest-relocate.py +60 -0
  487. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/gyptest-rules.py +59 -0
  488. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/gyptest-subdir2-deep.py +37 -0
  489. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/gyptest-symlink.py +43 -0
  490. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/gyptest-top-all.py +54 -0
  491. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/mac-bundle/Info.plist +32 -0
  492. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/mac-bundle/app.order +1 -0
  493. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/mac-bundle/header.h +1 -0
  494. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/mac-bundle/main.c +1 -0
  495. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/mac-bundle/resource.sb +1 -0
  496. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/mac-bundle/test.gyp +25 -0
  497. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/build/README.txt +4 -0
  498. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/copy-file.py +12 -0
  499. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/rules.gyp +16 -0
  500. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir1/build/README.txt +4 -0
  501. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir1/define3.in0 +1 -0
  502. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir1/define4.in0 +1 -0
  503. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir1/executable.gyp +59 -0
  504. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir1/function1.in1 +6 -0
  505. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir1/function2.in1 +6 -0
  506. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir1/program.c +18 -0
  507. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir2/build/README.txt +4 -0
  508. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir2/file1.in0 +1 -0
  509. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir2/file2.in0 +1 -0
  510. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir2/file3.in1 +1 -0
  511. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir2/file4.in1 +1 -0
  512. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir2/none.gyp +49 -0
  513. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir2/rules-out/README.txt +4 -0
  514. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/build/README.txt +4 -0
  515. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/inc.h +1 -0
  516. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/inc1/include1.h +1 -0
  517. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/prog1.c +18 -0
  518. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/prog1.gyp +28 -0
  519. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir2/build/README.txt +4 -0
  520. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir2/deeper/build/README.txt +4 -0
  521. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir2/deeper/deeper.c +7 -0
  522. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir2/deeper/deeper.gyp +18 -0
  523. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir2/deeper/deeper.h +1 -0
  524. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir2/inc2/include2.h +1 -0
  525. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir2/prog2.c +18 -0
  526. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir2/prog2.gyp +28 -0
  527. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir3/build/README.txt +4 -0
  528. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir3/inc3/include3.h +1 -0
  529. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir3/prog3.c +18 -0
  530. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir3/prog3.gyp +25 -0
  531. data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/symroot.gypi +16 -0
  532. data/ext/tree-sitter/tree-sitter/externals/gyp/test/gyp-defines/defines.gyp +26 -0
  533. data/ext/tree-sitter/tree-sitter/externals/gyp/test/gyp-defines/echo.py +11 -0
  534. data/ext/tree-sitter/tree-sitter/externals/gyp/test/gyp-defines/gyptest-multiple-values.py +40 -0
  535. data/ext/tree-sitter/tree-sitter/externals/gyp/test/gyp-defines/gyptest-regyp.py +40 -0
  536. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hard_dependency/gyptest-exported-hard-dependency.py +37 -0
  537. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hard_dependency/gyptest-no-exported-hard-dependency.py +36 -0
  538. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hard_dependency/src/a.c +9 -0
  539. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hard_dependency/src/a.h +12 -0
  540. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hard_dependency/src/b.c +9 -0
  541. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hard_dependency/src/b.h +12 -0
  542. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hard_dependency/src/c.c +10 -0
  543. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hard_dependency/src/c.h +10 -0
  544. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hard_dependency/src/d.c +9 -0
  545. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hard_dependency/src/emit.py +11 -0
  546. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hard_dependency/src/hard_dependency.gyp +78 -0
  547. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/gyptest-all.py +24 -0
  548. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/gyptest-default.py +24 -0
  549. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/gyptest-disable-regyp.py +32 -0
  550. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/gyptest-regyp-output.py +36 -0
  551. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/gyptest-regyp.py +32 -0
  552. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/gyptest-target.py +24 -0
  553. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/hello.c +11 -0
  554. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/hello.gyp +15 -0
  555. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/hello2.c +11 -0
  556. data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/hello2.gyp +15 -0
  557. data/ext/tree-sitter/tree-sitter/externals/gyp/test/home_dot_gyp/gyptest-home-includes-config-arg.py +31 -0
  558. data/ext/tree-sitter/tree-sitter/externals/gyp/test/home_dot_gyp/gyptest-home-includes-config-env.py +33 -0
  559. data/ext/tree-sitter/tree-sitter/externals/gyp/test/home_dot_gyp/gyptest-home-includes-regyp.py +44 -0
  560. data/ext/tree-sitter/tree-sitter/externals/gyp/test/home_dot_gyp/gyptest-home-includes.py +30 -0
  561. data/ext/tree-sitter/tree-sitter/externals/gyp/test/home_dot_gyp/src/all.gyp +22 -0
  562. data/ext/tree-sitter/tree-sitter/externals/gyp/test/home_dot_gyp/src/printfoo.c +7 -0
  563. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/gyptest-all.py +43 -0
  564. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/gyptest-default.py +43 -0
  565. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/inc.h +1 -0
  566. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/inc1/include1.h +1 -0
  567. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/includes.c +19 -0
  568. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/includes.gyp +27 -0
  569. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/shadow1/shadow.h +1 -0
  570. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/shadow2/shadow.h +1 -0
  571. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/subdir/inc.h +1 -0
  572. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/subdir/inc2/include2.h +1 -0
  573. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/subdir/subdir_includes.c +14 -0
  574. data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/subdir/subdir_includes.gyp +20 -0
  575. data/ext/tree-sitter/tree-sitter/externals/gyp/test/intermediate_dir/gyptest-intermediate-dir.py +42 -0
  576. data/ext/tree-sitter/tree-sitter/externals/gyp/test/intermediate_dir/src/script.py +24 -0
  577. data/ext/tree-sitter/tree-sitter/externals/gyp/test/intermediate_dir/src/shared_infile.txt +1 -0
  578. data/ext/tree-sitter/tree-sitter/externals/gyp/test/intermediate_dir/src/test.gyp +42 -0
  579. data/ext/tree-sitter/tree-sitter/externals/gyp/test/intermediate_dir/src/test2.gyp +42 -0
  580. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist-error.strings +3 -0
  581. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist.strings +3 -0
  582. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/English.lproj/MainMenu.xib +4119 -0
  583. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/English.lproj/Main_iPhone.storyboard +27 -0
  584. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/TestApp-Info.plist +32 -0
  585. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/check_no_signature.py +13 -0
  586. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/main.m +13 -0
  587. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/only-compile-in-32-bits.m +7 -0
  588. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/only-compile-in-64-bits.m +7 -0
  589. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/test-archs.gyp +110 -0
  590. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/test-device.gyp +79 -0
  591. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/test.gyp +45 -0
  592. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/deployment-target/check-version-min.c +33 -0
  593. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/deployment-target/deployment-target.gyp +58 -0
  594. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-app-ios.py +46 -0
  595. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-archs.py +106 -0
  596. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-deployment-target.py +23 -0
  597. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-per-config-settings.py +147 -0
  598. data/ext/tree-sitter/tree-sitter/externals/gyp/test/lib/README.txt +17 -0
  599. data/ext/tree-sitter/tree-sitter/externals/gyp/test/lib/TestCmd.py +1597 -0
  600. data/ext/tree-sitter/tree-sitter/externals/gyp/test/lib/TestCommon.py +570 -0
  601. data/ext/tree-sitter/tree-sitter/externals/gyp/test/lib/TestGyp.py +1117 -0
  602. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/gyptest-shared-obj-install-path.py +42 -0
  603. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/gyptest-shared.py +84 -0
  604. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/gyptest-static.py +84 -0
  605. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/src/lib1.c +10 -0
  606. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/src/lib1_moveable.c +10 -0
  607. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/src/lib2.c +10 -0
  608. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/src/lib2_moveable.c +10 -0
  609. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/src/library.gyp +58 -0
  610. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/src/program.c +15 -0
  611. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/src/shared_dependency.gyp +33 -0
  612. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library_dirs/gyptest-library-dirs.py +50 -0
  613. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library_dirs/subdir/README.txt +1 -0
  614. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library_dirs/subdir/hello.cc +11 -0
  615. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library_dirs/subdir/mylib.cc +9 -0
  616. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library_dirs/subdir/mylib.h +12 -0
  617. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library_dirs/subdir/test-win.gyp +60 -0
  618. data/ext/tree-sitter/tree-sitter/externals/gyp/test/library_dirs/subdir/test.gyp +68 -0
  619. data/ext/tree-sitter/tree-sitter/externals/gyp/test/link-objects/base.c +6 -0
  620. data/ext/tree-sitter/tree-sitter/externals/gyp/test/link-objects/extra.c +5 -0
  621. data/ext/tree-sitter/tree-sitter/externals/gyp/test/link-objects/gyptest-all.py +28 -0
  622. data/ext/tree-sitter/tree-sitter/externals/gyp/test/link-objects/link-objects.gyp +24 -0
  623. data/ext/tree-sitter/tree-sitter/externals/gyp/test/linux/gyptest-implicit-rpath.py +48 -0
  624. data/ext/tree-sitter/tree-sitter/externals/gyp/test/linux/implicit-rpath/file.c +1 -0
  625. data/ext/tree-sitter/tree-sitter/externals/gyp/test/linux/implicit-rpath/main.c +1 -0
  626. data/ext/tree-sitter/tree-sitter/externals/gyp/test/linux/implicit-rpath/test.gyp +47 -0
  627. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/action-envvars/action/action.gyp +34 -0
  628. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/action-envvars/action/action.sh +8 -0
  629. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist-error.strings +3 -0
  630. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings +3 -0
  631. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/English.lproj/MainMenu.xib +4119 -0
  632. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/English.lproj/utf-16be.strings +0 -0
  633. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/English.lproj/utf-16le.strings +0 -0
  634. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/TestApp-Info.plist +34 -0
  635. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/TestAppAppDelegate.h +13 -0
  636. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/TestAppAppDelegate.m +15 -0
  637. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/main.m +10 -0
  638. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/empty.c +0 -0
  639. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/test-error.gyp +31 -0
  640. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/test.gyp +41 -0
  641. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/empty_main.cc +1 -0
  642. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file.mm +1 -0
  643. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/header.h +1 -0
  644. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/my_file.cc +4 -0
  645. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/my_main_file.cc +9 -0
  646. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/test-archs-multiarch.gyp +72 -0
  647. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/test-archs-x86_64.gyp +27 -0
  648. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/test-no-archs.gyp +21 -0
  649. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/bundle-resources/change.sh +3 -0
  650. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/bundle-resources/executable-file.sh +3 -0
  651. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/bundle-resources/secret.txt +1 -0
  652. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/bundle-resources/test.gyp +59 -0
  653. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/cflags/ccfile.cc +7 -0
  654. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/cflags/ccfile_withcflags.cc +7 -0
  655. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/cflags/cfile.c +7 -0
  656. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/cflags/cppfile.cpp +7 -0
  657. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/cflags/cppfile_withcflags.cpp +7 -0
  658. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/cflags/cxxfile.cxx +7 -0
  659. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/cflags/cxxfile_withcflags.cxx +7 -0
  660. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/cflags/mfile.m +7 -0
  661. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/cflags/mmfile.mm +7 -0
  662. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/cflags/mmfile_withcflags.mm +7 -0
  663. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/cflags/test.gyp +132 -0
  664. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/clang-cxx-language-standard/c++11.cc +8 -0
  665. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/clang-cxx-language-standard/c++98.cc +24 -0
  666. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/clang-cxx-language-standard/clang-cxx-language-standard.gyp +30 -0
  667. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/clang-cxx-library/clang-cxx-library.gyp +32 -0
  668. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/clang-cxx-library/libc++.cc +11 -0
  669. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/clang-cxx-library/libstdc++.cc +11 -0
  670. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/copy-dylib/empty.c +1 -0
  671. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/copy-dylib/test.gyp +31 -0
  672. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/debuginfo/file.c +6 -0
  673. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/debuginfo/test.gyp +82 -0
  674. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/depend-on-bundle/English.lproj/InfoPlist.strings +1 -0
  675. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/depend-on-bundle/Info.plist +28 -0
  676. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/depend-on-bundle/bundle.c +1 -0
  677. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/depend-on-bundle/executable.c +4 -0
  678. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/depend-on-bundle/test.gyp +28 -0
  679. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/deployment-target/check-version-min.c +33 -0
  680. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/deployment-target/deployment-target.gyp +28 -0
  681. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework-dirs/calculate.c +15 -0
  682. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework-dirs/framework-dirs.gyp +21 -0
  683. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework-headers/myframework.h +8 -0
  684. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework-headers/myframework.m +8 -0
  685. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework-headers/test.gyp +44 -0
  686. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework/TestFramework/English.lproj/InfoPlist.strings +2 -0
  687. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework/TestFramework/Info.plist +28 -0
  688. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework/TestFramework/ObjCVector.h +28 -0
  689. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework/TestFramework/ObjCVector.mm +63 -0
  690. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework/TestFramework/ObjCVectorInternal.h +9 -0
  691. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework/TestFramework/TestFramework_Prefix.pch +7 -0
  692. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework/empty.c +0 -0
  693. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/framework/framework.gyp +71 -0
  694. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/global-settings/src/dir1/dir1.gyp +11 -0
  695. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/global-settings/src/dir2/dir2.gyp +22 -0
  696. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/global-settings/src/dir2/file.txt +1 -0
  697. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-action-envvars.py +30 -0
  698. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-app-error.py +43 -0
  699. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-app.py +119 -0
  700. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-archs.py +89 -0
  701. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-bundle-resources.py +58 -0
  702. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-cflags.py +20 -0
  703. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-clang-cxx-language-standard.py +25 -0
  704. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-clang-cxx-library.py +29 -0
  705. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-copies.py +49 -0
  706. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-copy-dylib.py +25 -0
  707. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-debuginfo.py +36 -0
  708. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-depend-on-bundle.py +40 -0
  709. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-deployment-target.py +23 -0
  710. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-framework-dirs.py +23 -0
  711. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-framework-headers.py +38 -0
  712. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-framework.py +74 -0
  713. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-global-settings.py +26 -0
  714. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-infoplist-process.py +51 -0
  715. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-installname.py +79 -0
  716. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-ldflags-passed-to-libtool.py +31 -0
  717. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-ldflags.py +68 -0
  718. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-libraries.py +22 -0
  719. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-loadable-module.py +48 -0
  720. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-missing-cfbundlesignature.py +29 -0
  721. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-non-strs-flattened-to-env.py +33 -0
  722. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-objc-arc.py +26 -0
  723. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-objc-gc.py +45 -0
  724. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-postbuild-copy-bundle.py +75 -0
  725. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-postbuild-defaults.py +29 -0
  726. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-postbuild-fail.py +67 -0
  727. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-postbuild-multiple-configurations.py +26 -0
  728. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-postbuild-static-library.py +28 -0
  729. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-postbuild.py +53 -0
  730. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-prefixheader.py +19 -0
  731. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-rebuild.py +41 -0
  732. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-rpath.py +49 -0
  733. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-sdkroot.py +50 -0
  734. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-sourceless-module.py +72 -0
  735. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-strip-default.py +95 -0
  736. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-strip.py +53 -0
  737. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-type-envvars.py +24 -0
  738. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-unicode-settings.py +20 -0
  739. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-xcode-env-order.py +94 -0
  740. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-xcode-gcc-clang.py +40 -0
  741. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-xcode-gcc.py +56 -0
  742. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-xctest.py +38 -0
  743. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/infoplist-process/Info.plist +36 -0
  744. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/infoplist-process/main.c +7 -0
  745. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/infoplist-process/test1.gyp +25 -0
  746. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/infoplist-process/test2.gyp +25 -0
  747. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/infoplist-process/test3.gyp +25 -0
  748. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/installname/Info.plist +28 -0
  749. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/installname/file.c +1 -0
  750. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/installname/main.c +1 -0
  751. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/installname/test.gyp +93 -0
  752. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/ldflags-libtool/file.c +1 -0
  753. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/ldflags-libtool/test.gyp +17 -0
  754. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/ldflags/subdirectory/Info.plist +8 -0
  755. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/ldflags/subdirectory/file.c +2 -0
  756. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/ldflags/subdirectory/symbol_list.def +1 -0
  757. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/ldflags/subdirectory/test.gyp +66 -0
  758. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/libraries/subdir/README.txt +1 -0
  759. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/libraries/subdir/hello.cc +10 -0
  760. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/libraries/subdir/mylib.c +7 -0
  761. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/libraries/subdir/test.gyp +65 -0
  762. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/loadable-module/Info.plist +26 -0
  763. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/loadable-module/module.c +11 -0
  764. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/loadable-module/test.gyp +18 -0
  765. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/missing-cfbundlesignature/Info.plist +10 -0
  766. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/missing-cfbundlesignature/Other-Info.plist +12 -0
  767. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/missing-cfbundlesignature/Third-Info.plist +12 -0
  768. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/missing-cfbundlesignature/file.c +1 -0
  769. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/missing-cfbundlesignature/test.gyp +34 -0
  770. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/non-strs-flattened-to-env/Info.plist +15 -0
  771. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/non-strs-flattened-to-env/main.c +7 -0
  772. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/non-strs-flattened-to-env/test.gyp +27 -0
  773. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-arc/c-file.c +6 -0
  774. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-arc/cc-file.cc +5 -0
  775. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-arc/m-file-no-arc.m +5 -0
  776. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-arc/m-file.m +5 -0
  777. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-arc/mm-file-no-arc.mm +5 -0
  778. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-arc/mm-file.mm +5 -0
  779. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-arc/test.gyp +45 -0
  780. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-gc/c-file.c +1 -0
  781. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-gc/cc-file.cc +1 -0
  782. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-gc/main.m +6 -0
  783. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-gc/needs-gc-mm.mm +1 -0
  784. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-gc/needs-gc.m +1 -0
  785. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/objc-gc/test.gyp +102 -0
  786. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-copy-bundle/Framework-Info.plist +30 -0
  787. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-copy-bundle/TestApp-Info.plist +32 -0
  788. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-copy-bundle/copied.txt +1 -0
  789. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-copy-bundle/empty.c +0 -0
  790. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-copy-bundle/main.c +4 -0
  791. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-copy-bundle/postbuild-copy-framework.sh +9 -0
  792. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-copy-bundle/resource_file.sb +1 -0
  793. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-copy-bundle/test.gyp +49 -0
  794. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-defaults/Info.plist +13 -0
  795. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-defaults/main.c +7 -0
  796. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-defaults/postbuild-defaults.sh +15 -0
  797. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-defaults/test.gyp +26 -0
  798. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-fail/file.c +6 -0
  799. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-fail/postbuild-fail.sh +6 -0
  800. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-fail/test.gyp +38 -0
  801. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-fail/touch-dynamic.sh +7 -0
  802. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-fail/touch-static.sh +7 -0
  803. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-multiple-configurations/main.c +4 -0
  804. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-multiple-configurations/postbuild-touch-file.sh +7 -0
  805. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-multiple-configurations/test.gyp +26 -0
  806. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-static-library/empty.c +4 -0
  807. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-static-library/postbuild-touch-file.sh +7 -0
  808. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuild-static-library/test.gyp +34 -0
  809. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuilds/copy.sh +3 -0
  810. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuilds/file.c +4 -0
  811. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuilds/file_g.c +4 -0
  812. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuilds/file_h.c +4 -0
  813. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuilds/script/shared_library_postbuild.sh +23 -0
  814. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuilds/script/static_library_postbuild.sh +23 -0
  815. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuilds/subdirectory/copied_file.txt +1 -0
  816. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuilds/subdirectory/nested_target.gyp +53 -0
  817. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/postbuilds/test.gyp +93 -0
  818. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/prefixheader/file.c +1 -0
  819. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/prefixheader/file.cc +1 -0
  820. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/prefixheader/file.m +1 -0
  821. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/prefixheader/file.mm +1 -0
  822. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/prefixheader/header.h +1 -0
  823. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/prefixheader/test.gyp +82 -0
  824. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/rebuild/TestApp-Info.plist +32 -0
  825. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/rebuild/delay-touch.sh +6 -0
  826. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/rebuild/empty.c +0 -0
  827. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/rebuild/main.c +1 -0
  828. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/rebuild/test.gyp +56 -0
  829. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/rpath/file.c +1 -0
  830. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/rpath/main.c +1 -0
  831. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/rpath/test.gyp +48 -0
  832. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/sdkroot/file.cc +5 -0
  833. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/sdkroot/test.gyp +35 -0
  834. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/sdkroot/test_shorthand.sh +20 -0
  835. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/sourceless-module/empty.c +1 -0
  836. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/sourceless-module/empty.txt +2 -0
  837. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/sourceless-module/fun.c +1 -0
  838. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/sourceless-module/test.gyp +96 -0
  839. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/file.c +22 -0
  840. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/main.c +25 -0
  841. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/strip.saves +5 -0
  842. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/subdirectory/nested_file.c +1 -0
  843. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/subdirectory/nested_strip.saves +5 -0
  844. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/subdirectory/subdirectory.gyp +38 -0
  845. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/subdirectory/test_reading_save_file_from_postbuild.sh +5 -0
  846. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/test-defaults.gyp +51 -0
  847. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/test.gyp +119 -0
  848. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/file.c +6 -0
  849. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test.gyp +100 -0
  850. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_bundle_executable.sh +21 -0
  851. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_bundle_loadable_module.sh +22 -0
  852. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_bundle_shared_library.sh +23 -0
  853. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_executable.sh +22 -0
  854. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_loadable_module.sh +21 -0
  855. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_none.sh +22 -0
  856. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_shared_library.sh +21 -0
  857. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_static_library.sh +21 -0
  858. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/unicode-settings/file.cc +2 -0
  859. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/unicode-settings/test.gyp +23 -0
  860. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/unicode-settings/test_bundle_display_name.sh +7 -0
  861. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-env-order/Info.plist +56 -0
  862. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-env-order/file.ext1 +0 -0
  863. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-env-order/file.ext2 +0 -0
  864. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-env-order/file.ext3 +0 -0
  865. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-env-order/main.c +7 -0
  866. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-env-order/test.gyp +121 -0
  867. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/aliasing.cc +13 -0
  868. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/test-clang.gyp +42 -0
  869. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/test.gyp +60 -0
  870. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/valid_c.c +8 -0
  871. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/valid_cc.cc +8 -0
  872. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/valid_m.m +8 -0
  873. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/valid_mm.mm +8 -0
  874. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/warn_about_invalid_offsetof_macro.cc +15 -0
  875. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/warn_about_missing_newline.c +8 -0
  876. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xctest/MyClass.h +8 -0
  877. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xctest/MyClass.m +8 -0
  878. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xctest/TestCase.m +16 -0
  879. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xctest/resource.txt +1 -0
  880. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xctest/test.gyp +47 -0
  881. data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xctest/test.xcodeproj/xcshareddata/xcschemes/classes.xcscheme +69 -0
  882. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/dependencies.gyp +15 -0
  883. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/gyptest-dependencies.py +26 -0
  884. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/gyptest-noload.py +57 -0
  885. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/main.cc +12 -0
  886. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/main.h +0 -0
  887. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/noload/all.gyp +18 -0
  888. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/noload/lib/shared.c +3 -0
  889. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/noload/lib/shared.gyp +16 -0
  890. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/noload/lib/shared.h +1 -0
  891. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/noload/main.c +9 -0
  892. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/basics/gyptest-make_global_settings.py +46 -0
  893. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/basics/make_global_settings.gyp +17 -0
  894. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/env-wrapper/gyptest-wrapper.py +46 -0
  895. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/env-wrapper/wrapper.gyp +17 -0
  896. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/wrapper/gyptest-wrapper.py +47 -0
  897. data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/wrapper/wrapper.gyp +21 -0
  898. data/ext/tree-sitter/tree-sitter/externals/gyp/test/many-actions/file0 +0 -0
  899. data/ext/tree-sitter/tree-sitter/externals/gyp/test/many-actions/file1 +0 -0
  900. data/ext/tree-sitter/tree-sitter/externals/gyp/test/many-actions/file2 +0 -0
  901. data/ext/tree-sitter/tree-sitter/externals/gyp/test/many-actions/file3 +0 -0
  902. data/ext/tree-sitter/tree-sitter/externals/gyp/test/many-actions/file4 +0 -0
  903. data/ext/tree-sitter/tree-sitter/externals/gyp/test/many-actions/gyptest-many-actions-unsorted.py +34 -0
  904. data/ext/tree-sitter/tree-sitter/externals/gyp/test/many-actions/gyptest-many-actions.py +20 -0
  905. data/ext/tree-sitter/tree-sitter/externals/gyp/test/many-actions/many-actions-unsorted.gyp +154 -0
  906. data/ext/tree-sitter/tree-sitter/externals/gyp/test/many-actions/many-actions.gyp +1817 -0
  907. data/ext/tree-sitter/tree-sitter/externals/gyp/test/module/gyptest-default.py +29 -0
  908. data/ext/tree-sitter/tree-sitter/externals/gyp/test/module/src/lib1.c +10 -0
  909. data/ext/tree-sitter/tree-sitter/externals/gyp/test/module/src/lib2.c +10 -0
  910. data/ext/tree-sitter/tree-sitter/externals/gyp/test/module/src/module.gyp +53 -0
  911. data/ext/tree-sitter/tree-sitter/externals/gyp/test/module/src/program.c +111 -0
  912. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/buildevents/buildevents.gyp +14 -0
  913. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/buildevents/gyptest-msbuild-supports-prepostbuild.py +24 -0
  914. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/buildevents/gyptest-ninja-warnings.py +29 -0
  915. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/buildevents/main.cc +5 -0
  916. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/config_attrs/gyptest-config_attrs.py +31 -0
  917. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/config_attrs/hello.c +11 -0
  918. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/config_attrs/hello.gyp +21 -0
  919. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/express/base/base.gyp +22 -0
  920. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/express/express.gyp +19 -0
  921. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/express/gyptest-express.py +29 -0
  922. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/external_builder/external.gyp +68 -0
  923. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/external_builder/external_builder.py +9 -0
  924. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/external_builder/gyptest-all.py +59 -0
  925. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/external_builder/hello.cpp +10 -0
  926. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/external_builder/hello.z +6 -0
  927. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/external_builder/msbuild_action.py +9 -0
  928. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/external_builder/msbuild_rule.py +11 -0
  929. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/filters/filters.gyp +47 -0
  930. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/filters/gyptest-filters-2008.py +68 -0
  931. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/filters/gyptest-filters-2010.py +57 -0
  932. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/list_excluded/gyptest-all.py +51 -0
  933. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/list_excluded/hello.cpp +10 -0
  934. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/list_excluded/hello_exclude.gyp +19 -0
  935. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/list_excluded/hello_mac.cpp +10 -0
  936. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/missing_sources/gyptest-missing.py +43 -0
  937. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/missing_sources/hello_missing.gyp +15 -0
  938. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/props/AppName.props +14 -0
  939. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/props/AppName.vsprops +11 -0
  940. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/props/gyptest-props.py +22 -0
  941. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/props/hello.c +11 -0
  942. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/props/hello.gyp +22 -0
  943. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/shared_output/common.gypi +17 -0
  944. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/shared_output/gyptest-shared_output.py +41 -0
  945. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/shared_output/hello.c +12 -0
  946. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/shared_output/hello.gyp +21 -0
  947. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/shared_output/there/there.c +12 -0
  948. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/shared_output/there/there.gyp +16 -0
  949. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/uldi2010/gyptest-all.py +20 -0
  950. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/uldi2010/hello.c +13 -0
  951. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/uldi2010/hello.gyp +26 -0
  952. data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/uldi2010/hello2.c +10 -0
  953. data/ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/gyptest-all.py +33 -0
  954. data/ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/gyptest-default.py +33 -0
  955. data/ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/src/common.c +7 -0
  956. data/ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/src/multiple.gyp +24 -0
  957. data/ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/src/prog1.c +10 -0
  958. data/ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/src/prog2.c +10 -0
  959. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/gyptest-action-dependencies.py +53 -0
  960. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/src/a.c +10 -0
  961. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/src/a.h +13 -0
  962. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/src/action_dependencies.gyp +88 -0
  963. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/src/b.c +18 -0
  964. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/src/b.h +13 -0
  965. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/src/c.c +10 -0
  966. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/src/c.h +13 -0
  967. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/src/emit.py +11 -0
  968. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/chained-dependency/chained-dependency.gyp +53 -0
  969. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/chained-dependency/chained.c +5 -0
  970. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/chained-dependency/gyptest-chained-dependency.py +26 -0
  971. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/normalize-paths-win/gyptest-normalize-paths.py +42 -0
  972. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/normalize-paths-win/hello.cc +7 -0
  973. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/normalize-paths-win/normalize-paths.gyp +56 -0
  974. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/s-needs-no-depfiles/empty.s +1 -0
  975. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/s-needs-no-depfiles/gyptest-s-needs-no-depfiles.py +42 -0
  976. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/s-needs-no-depfiles/s-needs-no-depfiles.gyp +13 -0
  977. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/solibs_avoid_relinking/gyptest-solibs-avoid-relinking.py +41 -0
  978. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/solibs_avoid_relinking/main.cc +5 -0
  979. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/solibs_avoid_relinking/solib.cc +8 -0
  980. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/solibs_avoid_relinking/solibs_avoid_relinking.gyp +38 -0
  981. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-custom-environment-files/gyptest-use-custom-environment-files.py +28 -0
  982. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-custom-environment-files/use-custom-environment-files.cc +7 -0
  983. data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-custom-environment-files/use-custom-environment-files.gyp +15 -0
  984. data/ext/tree-sitter/tree-sitter/externals/gyp/test/no-cpp/gyptest-no-cpp.py +50 -0
  985. data/ext/tree-sitter/tree-sitter/externals/gyp/test/no-cpp/src/call-f-main.c +2 -0
  986. data/ext/tree-sitter/tree-sitter/externals/gyp/test/no-cpp/src/empty-main.c +1 -0
  987. data/ext/tree-sitter/tree-sitter/externals/gyp/test/no-cpp/src/f.cc +3 -0
  988. data/ext/tree-sitter/tree-sitter/externals/gyp/test/no-cpp/src/test.gyp +25 -0
  989. data/ext/tree-sitter/tree-sitter/externals/gyp/test/no-output/gyptest-no-output.py +21 -0
  990. data/ext/tree-sitter/tree-sitter/externals/gyp/test/no-output/src/nooutput.gyp +17 -0
  991. data/ext/tree-sitter/tree-sitter/externals/gyp/test/product/gyptest-product.py +44 -0
  992. data/ext/tree-sitter/tree-sitter/externals/gyp/test/product/hello.c +15 -0
  993. data/ext/tree-sitter/tree-sitter/externals/gyp/test/product/product.gyp +128 -0
  994. data/ext/tree-sitter/tree-sitter/externals/gyp/test/prune_targets/gyptest-prune-targets.py +64 -0
  995. data/ext/tree-sitter/tree-sitter/externals/gyp/test/prune_targets/lib1.cc +6 -0
  996. data/ext/tree-sitter/tree-sitter/externals/gyp/test/prune_targets/lib2.cc +6 -0
  997. data/ext/tree-sitter/tree-sitter/externals/gyp/test/prune_targets/lib3.cc +6 -0
  998. data/ext/tree-sitter/tree-sitter/externals/gyp/test/prune_targets/lib_indirect.cc +6 -0
  999. data/ext/tree-sitter/tree-sitter/externals/gyp/test/prune_targets/program.cc +7 -0
  1000. data/ext/tree-sitter/tree-sitter/externals/gyp/test/prune_targets/test1.gyp +26 -0
  1001. data/ext/tree-sitter/tree-sitter/externals/gyp/test/prune_targets/test2.gyp +30 -0
  1002. data/ext/tree-sitter/tree-sitter/externals/gyp/test/relative/foo/a/a.cc +9 -0
  1003. data/ext/tree-sitter/tree-sitter/externals/gyp/test/relative/foo/a/a.gyp +13 -0
  1004. data/ext/tree-sitter/tree-sitter/externals/gyp/test/relative/foo/a/c/c.cc +9 -0
  1005. data/ext/tree-sitter/tree-sitter/externals/gyp/test/relative/foo/a/c/c.gyp +12 -0
  1006. data/ext/tree-sitter/tree-sitter/externals/gyp/test/relative/foo/b/b.cc +9 -0
  1007. data/ext/tree-sitter/tree-sitter/externals/gyp/test/relative/foo/b/b.gyp +9 -0
  1008. data/ext/tree-sitter/tree-sitter/externals/gyp/test/relative/gyptest-default.py +25 -0
  1009. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rename/filecase/file.c +1 -0
  1010. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rename/filecase/test-casesensitive.gyp +15 -0
  1011. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rename/filecase/test.gyp +14 -0
  1012. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rename/gyptest-filecase.py +35 -0
  1013. data/ext/tree-sitter/tree-sitter/externals/gyp/test/restat/gyptest-restat.py +31 -0
  1014. data/ext/tree-sitter/tree-sitter/externals/gyp/test/restat/src/create_intermediate.py +17 -0
  1015. data/ext/tree-sitter/tree-sitter/externals/gyp/test/restat/src/restat.gyp +50 -0
  1016. data/ext/tree-sitter/tree-sitter/externals/gyp/test/restat/src/touch.py +16 -0
  1017. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/gyptest-dirname.py +36 -0
  1018. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/actions.gyp +15 -0
  1019. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/copy-file.py +11 -0
  1020. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/a/b/c.gencc +11 -0
  1021. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/a/b/c.printvars +1 -0
  1022. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/foo/bar/baz.gencc +11 -0
  1023. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/foo/bar/baz.printvars +1 -0
  1024. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/input-rule-dirname.gyp +92 -0
  1025. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/main.cc +12 -0
  1026. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/printvars.py +14 -0
  1027. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-rebuild/gyptest-all.py +70 -0
  1028. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-rebuild/gyptest-default.py +91 -0
  1029. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-rebuild/src/main.c +12 -0
  1030. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-rebuild/src/make-sources.py +19 -0
  1031. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-rebuild/src/prog1.in +7 -0
  1032. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-rebuild/src/prog2.in +7 -0
  1033. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-rebuild/src/same_target.gyp +31 -0
  1034. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-use-built-dependencies/gyptest-use-built-dependencies.py +22 -0
  1035. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-use-built-dependencies/src/main.cc +17 -0
  1036. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-use-built-dependencies/src/use-built-dependencies-rule.gyp +42 -0
  1037. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-variables/gyptest-rules-variables.py +26 -0
  1038. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-variables/src/input_ext.c +9 -0
  1039. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-variables/src/input_name/test.c +9 -0
  1040. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-variables/src/input_path/subdir/test.c +9 -0
  1041. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-variables/src/subdir/input_dirname.c +9 -0
  1042. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-variables/src/subdir/test.c +18 -0
  1043. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-variables/src/test.input_root.c +9 -0
  1044. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-variables/src/variables.gyp +40 -0
  1045. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/gyptest-all.py +69 -0
  1046. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/gyptest-default.py +55 -0
  1047. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/gyptest-input-root.py +26 -0
  1048. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/gyptest-special-variables.py +18 -0
  1049. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/actions.gyp +22 -0
  1050. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/an_asm.S +6 -0
  1051. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/as.bat +7 -0
  1052. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/copy-file.py +11 -0
  1053. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/external/external.gyp +66 -0
  1054. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/external/file1.in +1 -0
  1055. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/external/file2.in +1 -0
  1056. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/input-root.gyp +24 -0
  1057. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/noaction/file1.in +1 -0
  1058. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/noaction/no_action_with_rules_fails.gyp +37 -0
  1059. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/rule.py +17 -0
  1060. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/somefile.ext +0 -0
  1061. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/special-variables.gyp +35 -0
  1062. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir1/executable.gyp +37 -0
  1063. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir1/function1.in +6 -0
  1064. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir1/function2.in +6 -0
  1065. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir1/program.c +12 -0
  1066. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/file1.in +1 -0
  1067. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/file2.in +1 -0
  1068. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/never_used.gyp +31 -0
  1069. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/no_action.gyp +38 -0
  1070. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/no_inputs.gyp +32 -0
  1071. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/none.gyp +33 -0
  1072. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir3/executable2.gyp +37 -0
  1073. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir3/function3.in +6 -0
  1074. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir3/program.c +10 -0
  1075. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir4/asm-function.assem +10 -0
  1076. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir4/build-asm.gyp +49 -0
  1077. data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir4/program.c +19 -0
  1078. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-gyp-name/gyptest-all.py +38 -0
  1079. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-gyp-name/gyptest-default.py +38 -0
  1080. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-gyp-name/gyptest-library.py +20 -0
  1081. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-gyp-name/library/one/sub.gyp +11 -0
  1082. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-gyp-name/library/test.gyp +15 -0
  1083. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-gyp-name/library/two/sub.gyp +11 -0
  1084. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-gyp-name/src/all.gyp +16 -0
  1085. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-gyp-name/src/subdir1/executable.gyp +15 -0
  1086. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-gyp-name/src/subdir1/main1.cc +6 -0
  1087. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-gyp-name/src/subdir2/executable.gyp +15 -0
  1088. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-gyp-name/src/subdir2/main2.cc +6 -0
  1089. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-rule-output-file-name/gyptest-all.py +23 -0
  1090. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-rule-output-file-name/src/subdir1/subdir1.gyp +30 -0
  1091. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-rule-output-file-name/src/subdir2/subdir2.gyp +30 -0
  1092. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-rule-output-file-name/src/subdirs.gyp +16 -0
  1093. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-rule-output-file-name/src/touch.py +11 -0
  1094. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-all.py +34 -0
  1095. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-default.py +34 -0
  1096. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-fail-shared.py +18 -0
  1097. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-fail-static.py +18 -0
  1098. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-pass-executable.py +33 -0
  1099. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/all.gyp +30 -0
  1100. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/double-executable.gyp +21 -0
  1101. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/double-shared.gyp +21 -0
  1102. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/double-static.gyp +21 -0
  1103. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/func.c +6 -0
  1104. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/prog1.c +16 -0
  1105. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/prog2.c +16 -0
  1106. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/prog3.c +18 -0
  1107. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/subdir1/func.c +6 -0
  1108. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/subdir2/func.c +6 -0
  1109. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-target-name-different-directory/gyptest-all.py +36 -0
  1110. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-target-name-different-directory/src/subdir1/subdir1.gyp +66 -0
  1111. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-target-name-different-directory/src/subdir2/subdir2.gyp +66 -0
  1112. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-target-name-different-directory/src/subdirs.gyp +16 -0
  1113. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-target-name-different-directory/src/touch.py +11 -0
  1114. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-target-name/gyptest-same-target-name.py +18 -0
  1115. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-target-name/src/all.gyp +16 -0
  1116. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-target-name/src/executable1.gyp +15 -0
  1117. data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-target-name/src/executable2.gyp +15 -0
  1118. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sanitize-rule-names/blah.S +0 -0
  1119. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sanitize-rule-names/gyptest-sanitize-rule-names.py +17 -0
  1120. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sanitize-rule-names/hello.cc +7 -0
  1121. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sanitize-rule-names/sanitize-rule-names.gyp +27 -0
  1122. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sanitize-rule-names/script.py +10 -0
  1123. data/ext/tree-sitter/tree-sitter/externals/gyp/test/self-dependency/common.gypi +13 -0
  1124. data/ext/tree-sitter/tree-sitter/externals/gyp/test/self-dependency/dep.gyp +23 -0
  1125. data/ext/tree-sitter/tree-sitter/externals/gyp/test/self-dependency/gyptest-self-dependency.py +19 -0
  1126. data/ext/tree-sitter/tree-sitter/externals/gyp/test/self-dependency/self_dependency.gyp +15 -0
  1127. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sibling/gyptest-all.py +39 -0
  1128. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sibling/gyptest-relocate.py +41 -0
  1129. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sibling/src/build/all.gyp +16 -0
  1130. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sibling/src/prog1/prog1.c +7 -0
  1131. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sibling/src/prog1/prog1.gyp +15 -0
  1132. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sibling/src/prog2/prog2.c +7 -0
  1133. data/ext/tree-sitter/tree-sitter/externals/gyp/test/sibling/src/prog2/prog2.gyp +15 -0
  1134. data/ext/tree-sitter/tree-sitter/externals/gyp/test/small/gyptest-small.py +55 -0
  1135. data/ext/tree-sitter/tree-sitter/externals/gyp/test/standalone-static-library/gyptest-standalone-static-library.py +52 -0
  1136. data/ext/tree-sitter/tree-sitter/externals/gyp/test/standalone-static-library/invalid.gyp +16 -0
  1137. data/ext/tree-sitter/tree-sitter/externals/gyp/test/standalone-static-library/mylib.c +7 -0
  1138. data/ext/tree-sitter/tree-sitter/externals/gyp/test/standalone-static-library/mylib.gyp +26 -0
  1139. data/ext/tree-sitter/tree-sitter/externals/gyp/test/standalone-static-library/prog.c +7 -0
  1140. data/ext/tree-sitter/tree-sitter/externals/gyp/test/standalone/gyptest-standalone.py +33 -0
  1141. data/ext/tree-sitter/tree-sitter/externals/gyp/test/standalone/standalone.gyp +12 -0
  1142. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/gyptest-SYMROOT-all.py +36 -0
  1143. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/gyptest-SYMROOT-default.py +37 -0
  1144. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/gyptest-subdir-all.py +35 -0
  1145. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/gyptest-subdir-default.py +35 -0
  1146. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/gyptest-subdir2-deep.py +25 -0
  1147. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/gyptest-top-all.py +43 -0
  1148. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/gyptest-top-default.py +43 -0
  1149. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/src/prog1.c +7 -0
  1150. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/src/prog1.gyp +21 -0
  1151. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/src/subdir/prog2.c +7 -0
  1152. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/src/subdir/prog2.gyp +18 -0
  1153. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/src/subdir/subdir2/prog3.c +7 -0
  1154. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/src/subdir/subdir2/prog3.gyp +18 -0
  1155. data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/src/symroot.gypi +16 -0
  1156. data/ext/tree-sitter/tree-sitter/externals/gyp/test/target/gyptest-target.py +37 -0
  1157. data/ext/tree-sitter/tree-sitter/externals/gyp/test/target/hello.c +7 -0
  1158. data/ext/tree-sitter/tree-sitter/externals/gyp/test/target/target.gyp +24 -0
  1159. data/ext/tree-sitter/tree-sitter/externals/gyp/test/toolsets/gyptest-toolsets.py +31 -0
  1160. data/ext/tree-sitter/tree-sitter/externals/gyp/test/toolsets/main.cc +13 -0
  1161. data/ext/tree-sitter/tree-sitter/externals/gyp/test/toolsets/toolsets.cc +11 -0
  1162. data/ext/tree-sitter/tree-sitter/externals/gyp/test/toolsets/toolsets.gyp +62 -0
  1163. data/ext/tree-sitter/tree-sitter/externals/gyp/test/toolsets/toolsets_shared.cc +11 -0
  1164. data/ext/tree-sitter/tree-sitter/externals/gyp/test/toplevel-dir/gyptest-toplevel-dir.py +31 -0
  1165. data/ext/tree-sitter/tree-sitter/externals/gyp/test/toplevel-dir/src/sub1/main.gyp +18 -0
  1166. data/ext/tree-sitter/tree-sitter/externals/gyp/test/toplevel-dir/src/sub1/prog1.c +7 -0
  1167. data/ext/tree-sitter/tree-sitter/externals/gyp/test/toplevel-dir/src/sub2/prog2.c +7 -0
  1168. data/ext/tree-sitter/tree-sitter/externals/gyp/test/toplevel-dir/src/sub2/prog2.gyp +15 -0
  1169. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/commands-repeated.gyp +128 -0
  1170. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/commands-repeated.gyp.stdout +136 -0
  1171. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/commands-repeated.gypd.golden +77 -0
  1172. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/commands.gyp +91 -0
  1173. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/commands.gyp.ignore-env.stdout +96 -0
  1174. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/commands.gyp.stdout +96 -0
  1175. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/commands.gypd.golden +66 -0
  1176. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/commands.gypi +23 -0
  1177. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/gyptest-commands-ignore-env.py +46 -0
  1178. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/gyptest-commands-repeated.py +38 -0
  1179. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/gyptest-commands.py +39 -0
  1180. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/test.py +1 -0
  1181. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/update_golden +11 -0
  1182. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/filelist/filelist.gyp.stdout +26 -0
  1183. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/filelist/filelist.gypd.golden +43 -0
  1184. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/filelist/gyptest-filelist-golden.py +51 -0
  1185. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/filelist/gyptest-filelist.py +29 -0
  1186. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/filelist/src/dummy.py +5 -0
  1187. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/filelist/src/filelist.gyp +93 -0
  1188. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/filelist/src/filelist2.gyp +40 -0
  1189. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/filelist/update_golden +8 -0
  1190. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/latelate/gyptest-latelate.py +25 -0
  1191. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/latelate/src/latelate.gyp +34 -0
  1192. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/latelate/src/program.cc +13 -0
  1193. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/variable-in-path/C1/hello.cc +7 -0
  1194. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/variable-in-path/gyptest-variable-in-path.py +23 -0
  1195. data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/variable-in-path/variable-in-path.gyp +31 -0
  1196. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/asm-files/asm-files.gyp +17 -0
  1197. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/asm-files/b.s +0 -0
  1198. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/asm-files/c.S +0 -0
  1199. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/asm-files/hello.cc +7 -0
  1200. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/batch-file-action/batch-file-action.gyp +21 -0
  1201. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/batch-file-action/infile +1 -0
  1202. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/batch-file-action/somecmd.bat +5 -0
  1203. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/command-quote/a.S +0 -0
  1204. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/command-quote/bat with spaces.bat +7 -0
  1205. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/command-quote/command-quote.gyp +84 -0
  1206. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/command-quote/go.bat +7 -0
  1207. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/command-quote/subdir/and/another/in-subdir.gyp +28 -0
  1208. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/additional-include-dirs.cc +10 -0
  1209. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/additional-include-dirs.gyp +20 -0
  1210. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/additional-options.cc +10 -0
  1211. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/additional-options.gyp +31 -0
  1212. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/analysis.gyp +40 -0
  1213. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/buffer-security-check.gyp +51 -0
  1214. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/buffer-security.cc +12 -0
  1215. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/character-set-mbcs.cc +11 -0
  1216. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/character-set-unicode.cc +15 -0
  1217. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/character-set.gyp +35 -0
  1218. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/debug-format.gyp +48 -0
  1219. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/default-char-is-unsigned.cc +15 -0
  1220. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/default-char-is-unsigned.gyp +20 -0
  1221. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/disable-specific-warnings.cc +9 -0
  1222. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/disable-specific-warnings.gyp +29 -0
  1223. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/exception-handling-on.cc +24 -0
  1224. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/exception-handling.gyp +46 -0
  1225. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/force-include-files-with-precompiled.cc +10 -0
  1226. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/force-include-files.cc +8 -0
  1227. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/force-include-files.gyp +36 -0
  1228. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/function-level-linking.cc +11 -0
  1229. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/function-level-linking.gyp +28 -0
  1230. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/hello.cc +7 -0
  1231. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/optimizations.gyp +207 -0
  1232. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/pdbname-override.gyp +26 -0
  1233. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/pdbname.cc +7 -0
  1234. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/pdbname.gyp +24 -0
  1235. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/precomp.cc +6 -0
  1236. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/rtti-on.cc +11 -0
  1237. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/rtti.gyp +37 -0
  1238. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/runtime-checks.cc +11 -0
  1239. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/runtime-checks.gyp +29 -0
  1240. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/runtime-library-md.cc +19 -0
  1241. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/runtime-library-mdd.cc +19 -0
  1242. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/runtime-library-mt.cc +19 -0
  1243. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/runtime-library-mtd.cc +19 -0
  1244. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/runtime-library.gyp +48 -0
  1245. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/subdir/header.h +0 -0
  1246. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type.gyp +33 -0
  1247. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type1.cc +11 -0
  1248. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type2.cc +11 -0
  1249. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/uninit.cc +13 -0
  1250. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/warning-as-error.cc +9 -0
  1251. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/warning-as-error.gyp +37 -0
  1252. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/warning-level.gyp +115 -0
  1253. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/warning-level1.cc +8 -0
  1254. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/warning-level2.cc +14 -0
  1255. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/warning-level3.cc +11 -0
  1256. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/warning-level4.cc +10 -0
  1257. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/generator-output-different-drive/gyptest-generator-output-different-drive.py +44 -0
  1258. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/generator-output-different-drive/prog.c +10 -0
  1259. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/generator-output-different-drive/prog.gyp +15 -0
  1260. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-asm-files.py +26 -0
  1261. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-additional-include-dirs.py +22 -0
  1262. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-additional-options.py +28 -0
  1263. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-analysis.py +30 -0
  1264. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-buffer-security-check.py +53 -0
  1265. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-character-set.py +22 -0
  1266. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-debug-format.py +43 -0
  1267. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-default-char-is-unsigned.py +22 -0
  1268. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-disable-specific-warnings.py +32 -0
  1269. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-exception-handling.py +33 -0
  1270. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-force-include-files.py +22 -0
  1271. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-function-level-linking.py +52 -0
  1272. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-optimizations.py +105 -0
  1273. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-pdbname-override.py +27 -0
  1274. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-pdbname.py +30 -0
  1275. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-rtti.py +30 -0
  1276. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-runtime-checks.py +30 -0
  1277. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-runtime-library.py +22 -0
  1278. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-treat-wchar-t-as-built-in-type.py +22 -0
  1279. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-warning-as-error.py +30 -0
  1280. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-warning-level.py +41 -0
  1281. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-command-quote.py +37 -0
  1282. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-lib-ltcg.py +22 -0
  1283. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-additional-deps.py +22 -0
  1284. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-additional-options.py +22 -0
  1285. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-aslr.py +35 -0
  1286. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-base-address.py +62 -0
  1287. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-debug-info.py +26 -0
  1288. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-default-libs.py +22 -0
  1289. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-deffile.py +43 -0
  1290. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-defrelink.py +51 -0
  1291. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-delay-load-dlls.py +35 -0
  1292. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-embed-manifest.py +99 -0
  1293. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-enable-uac.py +95 -0
  1294. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-entrypointsymbol.py +24 -0
  1295. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-fixed-base.py +40 -0
  1296. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-force-symbol-reference.py +26 -0
  1297. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-generate-manifest.py +127 -0
  1298. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-incremental.py +37 -0
  1299. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-large-address-aware.py +35 -0
  1300. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-large-pdb.py +70 -0
  1301. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-library-adjust.py +21 -0
  1302. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-library-directories.py +35 -0
  1303. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-ltcg.py +36 -0
  1304. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-mapfile.py +44 -0
  1305. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-nodefaultlib.py +24 -0
  1306. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-nxcompat.py +37 -0
  1307. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-opt-icf.py +41 -0
  1308. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-opt-ref.py +40 -0
  1309. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-ordering.py +101 -0
  1310. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-outputfile.py +28 -0
  1311. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-pdb-output.py +34 -0
  1312. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-pdb.py +35 -0
  1313. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-pgo.py +75 -0
  1314. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-profile.py +37 -0
  1315. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-restat-importlib.py +39 -0
  1316. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-shard.py +27 -0
  1317. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-subsystem.py +38 -0
  1318. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-target-machine.py +28 -0
  1319. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-tsaware.py +33 -0
  1320. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-uldi.py +28 -0
  1321. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-unsupported-manifest.py +27 -0
  1322. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-update-manifest.py +103 -0
  1323. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-warnings-as-errors.py +24 -0
  1324. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-long-command-line.py +23 -0
  1325. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-projectname.py +24 -0
  1326. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-targetname.py +29 -0
  1327. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-vcinstalldir.py +24 -0
  1328. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macros-containing-gyp.py +21 -0
  1329. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macros-in-inputs-and-outputs.py +27 -0
  1330. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-midl-rules.py +24 -0
  1331. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-quoting-commands.py +25 -0
  1332. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-rc-build.py +24 -0
  1333. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-rules/basic-idl.gyp +42 -0
  1334. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-rules/history_indexer.idl +17 -0
  1335. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-rules/history_indexer_user.cc +15 -0
  1336. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/importlib/has-exports.cc +10 -0
  1337. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/importlib/hello.cc +9 -0
  1338. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/importlib/importlib.gyp +30 -0
  1339. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/large-pdb/dllmain.cc +9 -0
  1340. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/large-pdb/large-pdb.gyp +98 -0
  1341. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/large-pdb/main.cc +7 -0
  1342. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/lib-flags/answer.cc +9 -0
  1343. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/lib-flags/answer.h +5 -0
  1344. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/lib-flags/ltcg.gyp +21 -0
  1345. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/a/x.cc +7 -0
  1346. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/a/z.cc +7 -0
  1347. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/additional-deps.cc +10 -0
  1348. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/additional-deps.gyp +30 -0
  1349. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/additional-options.gyp +29 -0
  1350. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/aslr.gyp +35 -0
  1351. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/b/y.cc +7 -0
  1352. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/base-address.gyp +38 -0
  1353. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/debug-info.gyp +28 -0
  1354. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/deffile-multiple.gyp +17 -0
  1355. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/deffile.cc +13 -0
  1356. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/deffile.def +8 -0
  1357. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/deffile.gyp +38 -0
  1358. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/delay-load-dlls.gyp +35 -0
  1359. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/delay-load.cc +10 -0
  1360. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/embed-manifest.gyp +109 -0
  1361. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/enable-uac.gyp +45 -0
  1362. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/entrypointsymbol.cc +13 -0
  1363. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/entrypointsymbol.gyp +28 -0
  1364. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/extra.manifest +11 -0
  1365. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/extra2.manifest +11 -0
  1366. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/fixed-base.gyp +52 -0
  1367. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/force-symbol-reference.gyp +39 -0
  1368. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/generate-manifest.gyp +166 -0
  1369. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/hello.cc +7 -0
  1370. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/incremental.gyp +65 -0
  1371. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/inline_test.cc +12 -0
  1372. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/inline_test.h +5 -0
  1373. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/inline_test_main.cc +15 -0
  1374. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/large-address-aware.gyp +28 -0
  1375. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/library-adjust.cc +10 -0
  1376. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/library-adjust.gyp +16 -0
  1377. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/library-directories-define.cc +7 -0
  1378. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/library-directories-reference.cc +10 -0
  1379. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/library-directories.gyp +42 -0
  1380. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/link-ordering.gyp +95 -0
  1381. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/link-warning.cc +10 -0
  1382. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/ltcg.gyp +42 -0
  1383. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/main-crt.c +8 -0
  1384. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/manifest-in-comment.cc +13 -0
  1385. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/mapfile.cc +12 -0
  1386. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/mapfile.gyp +45 -0
  1387. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/no-default-libs.cc +18 -0
  1388. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/no-default-libs.gyp +13 -0
  1389. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/nodefaultlib.cc +13 -0
  1390. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/nodefaultlib.gyp +30 -0
  1391. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/nxcompat.gyp +35 -0
  1392. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/opt-icf.cc +29 -0
  1393. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/opt-icf.gyp +63 -0
  1394. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/opt-ref.cc +11 -0
  1395. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/opt-ref.gyp +56 -0
  1396. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/outputfile.gyp +58 -0
  1397. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/pdb-output.gyp +36 -0
  1398. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/pgo.gyp +143 -0
  1399. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/profile.gyp +50 -0
  1400. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/program-database.gyp +40 -0
  1401. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/subdir/library.gyp +13 -0
  1402. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/subsystem-windows.cc +9 -0
  1403. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/subsystem.gyp +70 -0
  1404. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/target-machine.gyp +48 -0
  1405. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/tsaware.gyp +28 -0
  1406. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/unsupported-manifest.gyp +13 -0
  1407. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/update_pgd.py +35 -0
  1408. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/warn-as-error.gyp +33 -0
  1409. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/x.cc +7 -0
  1410. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/y.cc +7 -0
  1411. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/z.cc +7 -0
  1412. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/long-command-line/function.cc +7 -0
  1413. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/long-command-line/hello.cc +7 -0
  1414. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/long-command-line/long-command-line.gyp +54 -0
  1415. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/precompiled/gyptest-all.py +21 -0
  1416. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/precompiled/hello.c +14 -0
  1417. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/precompiled/hello.gyp +28 -0
  1418. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/precompiled/hello2.c +13 -0
  1419. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/precompiled/precomp.c +8 -0
  1420. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/Resource.h +26 -0
  1421. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/hello.cpp +30 -0
  1422. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/hello.gyp +92 -0
  1423. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/hello.h +3 -0
  1424. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/hello.ico +0 -0
  1425. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/hello.rc +86 -0
  1426. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/hello3.rc +87 -0
  1427. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/small.ico +0 -0
  1428. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/subdir/hello2.rc +87 -0
  1429. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/subdir/include.h +1 -0
  1430. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/targetver.h +24 -0
  1431. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/hello1.cc +7 -0
  1432. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/hello2.cc +7 -0
  1433. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/hello3.cc +7 -0
  1434. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/hello4.cc +7 -0
  1435. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/shard.gyp +20 -0
  1436. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/uldi/a.cc +7 -0
  1437. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/uldi/b.cc +7 -0
  1438. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/uldi/main.cc +10 -0
  1439. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/uldi/uldi.gyp +45 -0
  1440. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/as.py +18 -0
  1441. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/containing-gyp.gyp +40 -0
  1442. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/do_stuff.py +8 -0
  1443. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/hello.cc +7 -0
  1444. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/input-output-macros.gyp +33 -0
  1445. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/input.S +0 -0
  1446. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/projectname.gyp +29 -0
  1447. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/stuff.blah +1 -0
  1448. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/targetname.gyp +52 -0
  1449. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/test_exists.py +10 -0
  1450. data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/vcinstalldir.gyp +41 -0
  1451. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/README +15 -0
  1452. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/Xcode/README +5 -0
  1453. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/Xcode/Specifications/gyp.pbfilespec +27 -0
  1454. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/Xcode/Specifications/gyp.xclangspec +226 -0
  1455. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/emacs/README +12 -0
  1456. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/emacs/gyp-tests.el +63 -0
  1457. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/emacs/gyp.el +252 -0
  1458. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/emacs/run-unit-tests.sh +7 -0
  1459. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/emacs/testdata/media.gyp +1105 -0
  1460. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/emacs/testdata/media.gyp.fontified +1107 -0
  1461. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/graphviz.py +100 -0
  1462. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/pretty_gyp.py +155 -0
  1463. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/pretty_sln.py +168 -0
  1464. data/ext/tree-sitter/tree-sitter/externals/gyp/tools/pretty_vcproj.py +329 -0
  1465. data/ext/tree-sitter/tree-sitter/externals/json-parser/AUTHORS +20 -0
  1466. data/ext/tree-sitter/tree-sitter/externals/json-parser/LICENSE +26 -0
  1467. data/ext/tree-sitter/tree-sitter/externals/json-parser/Makefile.in +68 -0
  1468. data/ext/tree-sitter/tree-sitter/externals/json-parser/README.md +97 -0
  1469. data/ext/tree-sitter/tree-sitter/externals/json-parser/bindings/python/example/test.json +88 -0
  1470. data/ext/tree-sitter/tree-sitter/externals/json-parser/bindings/python/example/test.py +11 -0
  1471. data/ext/tree-sitter/tree-sitter/externals/json-parser/bindings/python/jsonparser.pyx +9 -0
  1472. data/ext/tree-sitter/tree-sitter/externals/json-parser/bindings/python/setup.py +14 -0
  1473. data/ext/tree-sitter/tree-sitter/externals/json-parser/bindings/python/wrap_json.c +95 -0
  1474. data/ext/tree-sitter/tree-sitter/externals/json-parser/configure +3796 -0
  1475. data/ext/tree-sitter/tree-sitter/externals/json-parser/configure.ac +30 -0
  1476. data/ext/tree-sitter/tree-sitter/externals/json-parser/examples/test_json.c +180 -0
  1477. data/ext/tree-sitter/tree-sitter/externals/json-parser/json-parser.pc.in +10 -0
  1478. data/ext/tree-sitter/tree-sitter/externals/json-parser/json.c +1011 -0
  1479. data/ext/tree-sitter/tree-sitter/externals/json-parser/json.h +283 -0
  1480. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/ext-invalid-0001.json +3 -0
  1481. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/ext-invalid-0002.json +1 -0
  1482. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/ext-valid-0001.json +9 -0
  1483. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/ext-valid-0002.json +4 -0
  1484. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/ext-valid-0003.json +3 -0
  1485. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/invalid-0000.json +0 -0
  1486. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/invalid-0001.json +2 -0
  1487. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/invalid-0002.json +2 -0
  1488. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/invalid-0003.json +88 -0
  1489. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/invalid-0004.json +2 -0
  1490. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/invalid-0005.json +2 -0
  1491. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/invalid-0006.json +3 -0
  1492. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/invalid-0007.json +1 -0
  1493. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/invalid-0008.json +1 -0
  1494. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/invalid-0009.json +1 -0
  1495. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/invalid-0010.json +1 -0
  1496. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/test.py +70 -0
  1497. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0000.json +88 -0
  1498. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0001.json +2 -0
  1499. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0002.json +2 -0
  1500. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0003.json +3 -0
  1501. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0004.json +1 -0
  1502. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0005.json +15 -0
  1503. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0006.json +1 -0
  1504. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0007.json +2 -0
  1505. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0008.json +8 -0
  1506. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0009.json +1 -0
  1507. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0010.json +1 -0
  1508. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0011.json +1 -0
  1509. data/ext/tree-sitter/tree-sitter/externals/json-parser/tests/valid-0012.json +5 -0
  1510. data/ext/tree-sitter/tree-sitter/externals/utf8proc/CMakeLists.txt +31 -0
  1511. data/ext/tree-sitter/tree-sitter/externals/utf8proc/Doxyfile +1528 -0
  1512. data/ext/tree-sitter/tree-sitter/externals/utf8proc/LICENSE.md +93 -0
  1513. data/ext/tree-sitter/tree-sitter/externals/utf8proc/MANIFEST +7 -0
  1514. data/ext/tree-sitter/tree-sitter/externals/utf8proc/Makefile +145 -0
  1515. data/ext/tree-sitter/tree-sitter/externals/utf8proc/NEWS.md +234 -0
  1516. data/ext/tree-sitter/tree-sitter/externals/utf8proc/README.md +67 -0
  1517. data/ext/tree-sitter/tree-sitter/externals/utf8proc/appveyor.yml +42 -0
  1518. data/ext/tree-sitter/tree-sitter/externals/utf8proc/bench/Makefile +39 -0
  1519. data/ext/tree-sitter/tree-sitter/externals/utf8proc/bench/bench.c +56 -0
  1520. data/ext/tree-sitter/tree-sitter/externals/utf8proc/bench/icu.c +61 -0
  1521. data/ext/tree-sitter/tree-sitter/externals/utf8proc/bench/unistring.c +60 -0
  1522. data/ext/tree-sitter/tree-sitter/externals/utf8proc/bench/util.c +39 -0
  1523. data/ext/tree-sitter/tree-sitter/externals/utf8proc/bench/util.h +22 -0
  1524. data/ext/tree-sitter/tree-sitter/externals/utf8proc/data/Makefile +63 -0
  1525. data/ext/tree-sitter/tree-sitter/externals/utf8proc/data/charwidths.jl +190 -0
  1526. data/ext/tree-sitter/tree-sitter/externals/utf8proc/data/data_generator.rb +328 -0
  1527. data/ext/tree-sitter/tree-sitter/externals/utf8proc/lump.md +27 -0
  1528. data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/case.c +50 -0
  1529. data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/charwidth.c +71 -0
  1530. data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/graphemetest.c +74 -0
  1531. data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/iterate.c +160 -0
  1532. data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/normtest.c +64 -0
  1533. data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/printproperty.c +51 -0
  1534. data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/tests.c +46 -0
  1535. data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/tests.h +23 -0
  1536. data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/valid.c +41 -0
  1537. data/ext/tree-sitter/tree-sitter/externals/utf8proc/utf8proc.c +644 -0
  1538. data/ext/tree-sitter/tree-sitter/externals/utf8proc/utf8proc.h +601 -0
  1539. data/ext/tree-sitter/tree-sitter/externals/utf8proc/utf8proc_data.c +16752 -0
  1540. data/ext/tree-sitter/tree-sitter/externals/utf8proc/utils.cmake +20 -0
  1541. data/ext/tree-sitter/tree-sitter/gyp-mac-tool +511 -0
  1542. data/ext/tree-sitter/tree-sitter/include/tree_sitter/compiler.h +32 -0
  1543. data/ext/tree-sitter/tree-sitter/include/tree_sitter/parser.h +188 -0
  1544. data/ext/tree-sitter/tree-sitter/include/tree_sitter/runtime.h +126 -0
  1545. data/ext/tree-sitter/tree-sitter/out/Release/libcompiler.a +0 -0
  1546. data/ext/tree-sitter/tree-sitter/out/Release/libruntime.a +0 -0
  1547. data/ext/tree-sitter/tree-sitter/out/Release/linker.lock +0 -0
  1548. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/externals/json-parser/json.o +0 -0
  1549. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/externals/utf8proc/utf8proc.o +0 -0
  1550. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/build_lex_table.o +0 -0
  1551. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/build_parse_table.o +0 -0
  1552. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/build_tables.o +0 -0
  1553. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lex_conflict_manager.o +0 -0
  1554. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lex_item.o +0 -0
  1555. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lex_item_transitions.o +0 -0
  1556. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lookahead_set.o +0 -0
  1557. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/parse_item.o +0 -0
  1558. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/parse_item_set_builder.o +0 -0
  1559. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/recovery_tokens.o +0 -0
  1560. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/rule_can_be_blank.o +0 -0
  1561. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/compile.o +0 -0
  1562. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/generate_code/c_code.o +0 -0
  1563. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/lex_table.o +0 -0
  1564. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/parse_grammar.o +0 -0
  1565. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/parse_table.o +0 -0
  1566. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/precedence_range.o +0 -0
  1567. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/expand_repeats.o +0 -0
  1568. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/expand_tokens.o +0 -0
  1569. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/extract_choices.o +0 -0
  1570. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/extract_tokens.o +0 -0
  1571. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/flatten_grammar.o +0 -0
  1572. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/intern_symbols.o +0 -0
  1573. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/is_token.o +0 -0
  1574. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/normalize_rules.o +0 -0
  1575. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/parse_regex.o +0 -0
  1576. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/prepare_grammar.o +0 -0
  1577. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/token_description.o +0 -0
  1578. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rule.o +0 -0
  1579. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/blank.o +0 -0
  1580. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/built_in_symbols.o +0 -0
  1581. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/character_range.o +0 -0
  1582. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/character_set.o +0 -0
  1583. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/choice.o +0 -0
  1584. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/metadata.o +0 -0
  1585. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/named_symbol.o +0 -0
  1586. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/pattern.o +0 -0
  1587. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/repeat.o +0 -0
  1588. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/rules.o +0 -0
  1589. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/seq.o +0 -0
  1590. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/string.o +0 -0
  1591. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/symbol.o +0 -0
  1592. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/visitor.o +0 -0
  1593. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/syntax_grammar.o +0 -0
  1594. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/util/string_helpers.o +0 -0
  1595. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/variable.o +0 -0
  1596. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/externals/utf8proc/utf8proc.o +0 -0
  1597. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/document.o +0 -0
  1598. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/error_costs.o +0 -0
  1599. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/language.o +0 -0
  1600. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/lexer.o +0 -0
  1601. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/node.o +0 -0
  1602. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/parser.o +0 -0
  1603. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/stack.o +0 -0
  1604. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/string_input.o +0 -0
  1605. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/tree.o +0 -0
  1606. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/utf16.o +0 -0
  1607. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/distinctive_tokens_spec.o +0 -0
  1608. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/lex_conflict_manager_spec.o +0 -0
  1609. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/lex_item_spec.o +0 -0
  1610. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/parse_item_set_builder_spec.o +0 -0
  1611. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/rule_can_be_blank_spec.o +0 -0
  1612. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/expand_repeats_spec.o +0 -0
  1613. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/expand_tokens_spec.o +0 -0
  1614. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/extract_choices_spec.o +0 -0
  1615. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/extract_tokens_spec.o +0 -0
  1616. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/flatten_grammar_spec.o +0 -0
  1617. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/intern_symbols_spec.o +0 -0
  1618. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/parse_regex_spec.o +0 -0
  1619. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/rules/character_set_spec.o +0 -0
  1620. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/rules/choice_spec.o +0 -0
  1621. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/rules/repeat_spec.o +0 -0
  1622. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/util/string_helpers_spec.o +0 -0
  1623. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/encoding_helpers.o +0 -0
  1624. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/load_language.o +0 -0
  1625. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/point_helpers.o +0 -0
  1626. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/random_helpers.o +0 -0
  1627. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/read_test_entries.o +0 -0
  1628. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/record_alloc.o +0 -0
  1629. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/rule_helpers.o +0 -0
  1630. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/scope_sequence.o +0 -0
  1631. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/spy_input.o +0 -0
  1632. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/spy_logger.o +0 -0
  1633. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/stderr_logger.o +0 -0
  1634. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/stream_methods.o +0 -0
  1635. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/tree_helpers.o +0 -0
  1636. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/integration/compile_grammar_spec.o +0 -0
  1637. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/integration/corpus_specs.o +0 -0
  1638. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/document_spec.o +0 -0
  1639. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/node_spec.o +0 -0
  1640. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/parser_spec.o +0 -0
  1641. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/stack_spec.o +0 -0
  1642. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/tree_spec.o +0 -0
  1643. data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/specs.o +0 -0
  1644. data/ext/tree-sitter/tree-sitter/out/Release/tests +0 -0
  1645. data/ext/tree-sitter/tree-sitter/project.Makefile +6 -0
  1646. data/ext/tree-sitter/tree-sitter/project.gyp +175 -0
  1647. data/ext/tree-sitter/tree-sitter/runtime.target.mk +174 -0
  1648. data/ext/tree-sitter/tree-sitter/script/check-mallocs +20 -0
  1649. data/ext/tree-sitter/tree-sitter/script/ci +7 -0
  1650. data/ext/tree-sitter/tree-sitter/script/clean +7 -0
  1651. data/ext/tree-sitter/tree-sitter/script/configure +7 -0
  1652. data/ext/tree-sitter/tree-sitter/script/fetch-fixtures +28 -0
  1653. data/ext/tree-sitter/tree-sitter/script/format +7 -0
  1654. data/ext/tree-sitter/tree-sitter/script/lint +14 -0
  1655. data/ext/tree-sitter/tree-sitter/script/test +122 -0
  1656. data/ext/tree-sitter/tree-sitter/script/trim-whitespace +3 -0
  1657. data/ext/tree-sitter/tree-sitter/script/util/valgrind.supp +256 -0
  1658. data/ext/tree-sitter/tree-sitter/spec/compiler/build_tables/distinctive_tokens_spec.cc +34 -0
  1659. data/ext/tree-sitter/tree-sitter/spec/compiler/build_tables/lex_conflict_manager_spec.cc +88 -0
  1660. data/ext/tree-sitter/tree-sitter/spec/compiler/build_tables/lex_item_spec.cc +517 -0
  1661. data/ext/tree-sitter/tree-sitter/spec/compiler/build_tables/parse_item_set_builder_spec.cc +133 -0
  1662. data/ext/tree-sitter/tree-sitter/spec/compiler/build_tables/rule_can_be_blank_spec.cc +60 -0
  1663. data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/expand_repeats_spec.cc +152 -0
  1664. data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/expand_tokens_spec.cc +109 -0
  1665. data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/extract_choices_spec.cc +106 -0
  1666. data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/extract_tokens_spec.cc +251 -0
  1667. data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/flatten_grammar_spec.cc +89 -0
  1668. data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/intern_symbols_spec.cc +89 -0
  1669. data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/parse_regex_spec.cc +245 -0
  1670. data/ext/tree-sitter/tree-sitter/spec/compiler/rules/character_set_spec.cc +337 -0
  1671. data/ext/tree-sitter/tree-sitter/spec/compiler/rules/choice_spec.cc +53 -0
  1672. data/ext/tree-sitter/tree-sitter/spec/compiler/rules/repeat_spec.cc +22 -0
  1673. data/ext/tree-sitter/tree-sitter/spec/compiler/util/string_helpers_spec.cc +26 -0
  1674. data/ext/tree-sitter/tree-sitter/spec/fixtures/error_corpus/c_errors.txt +130 -0
  1675. data/ext/tree-sitter/tree-sitter/spec/fixtures/error_corpus/javascript_errors.txt +157 -0
  1676. data/ext/tree-sitter/tree-sitter/spec/fixtures/error_corpus/json_errors.txt +56 -0
  1677. data/ext/tree-sitter/tree-sitter/spec/fixtures/error_corpus/python_errors.txt +29 -0
  1678. data/ext/tree-sitter/tree-sitter/spec/fixtures/external_scanners/extra_external_tokens.c +42 -0
  1679. data/ext/tree-sitter/tree-sitter/spec/fixtures/external_scanners/percent_strings.c +118 -0
  1680. data/ext/tree-sitter/tree-sitter/spec/fixtures/external_scanners/shared_external_tokens.c +63 -0
  1681. data/ext/tree-sitter/tree-sitter/spec/helpers/dedent.h +12 -0
  1682. data/ext/tree-sitter/tree-sitter/spec/helpers/encoding_helpers.cc +58 -0
  1683. data/ext/tree-sitter/tree-sitter/spec/helpers/encoding_helpers.h +15 -0
  1684. data/ext/tree-sitter/tree-sitter/spec/helpers/equals_pointer.h +37 -0
  1685. data/ext/tree-sitter/tree-sitter/spec/helpers/load_language.cc +206 -0
  1686. data/ext/tree-sitter/tree-sitter/spec/helpers/load_language.h +12 -0
  1687. data/ext/tree-sitter/tree-sitter/spec/helpers/point_helpers.cc +45 -0
  1688. data/ext/tree-sitter/tree-sitter/spec/helpers/point_helpers.h +23 -0
  1689. data/ext/tree-sitter/tree-sitter/spec/helpers/random_helpers.cc +35 -0
  1690. data/ext/tree-sitter/tree-sitter/spec/helpers/random_helpers.h +8 -0
  1691. data/ext/tree-sitter/tree-sitter/spec/helpers/read_test_entries.cc +105 -0
  1692. data/ext/tree-sitter/tree-sitter/spec/helpers/read_test_entries.h +15 -0
  1693. data/ext/tree-sitter/tree-sitter/spec/helpers/record_alloc.cc +84 -0
  1694. data/ext/tree-sitter/tree-sitter/spec/helpers/record_alloc.h +16 -0
  1695. data/ext/tree-sitter/tree-sitter/spec/helpers/rule_helpers.cc +55 -0
  1696. data/ext/tree-sitter/tree-sitter/spec/helpers/rule_helpers.h +21 -0
  1697. data/ext/tree-sitter/tree-sitter/spec/helpers/scope_sequence.cc +106 -0
  1698. data/ext/tree-sitter/tree-sitter/spec/helpers/scope_sequence.h +16 -0
  1699. data/ext/tree-sitter/tree-sitter/spec/helpers/spy_input.cc +133 -0
  1700. data/ext/tree-sitter/tree-sitter/spec/helpers/spy_input.h +39 -0
  1701. data/ext/tree-sitter/tree-sitter/spec/helpers/spy_logger.cc +22 -0
  1702. data/ext/tree-sitter/tree-sitter/spec/helpers/spy_logger.h +15 -0
  1703. data/ext/tree-sitter/tree-sitter/spec/helpers/stderr_logger.cc +22 -0
  1704. data/ext/tree-sitter/tree-sitter/spec/helpers/stderr_logger.h +8 -0
  1705. data/ext/tree-sitter/tree-sitter/spec/helpers/stream_methods.cc +140 -0
  1706. data/ext/tree-sitter/tree-sitter/spec/helpers/stream_methods.h +136 -0
  1707. data/ext/tree-sitter/tree-sitter/spec/helpers/tree_helpers.cc +50 -0
  1708. data/ext/tree-sitter/tree-sitter/spec/helpers/tree_helpers.h +16 -0
  1709. data/ext/tree-sitter/tree-sitter/spec/integration/compile_grammar_spec.cc +847 -0
  1710. data/ext/tree-sitter/tree-sitter/spec/integration/corpus_specs.cc +185 -0
  1711. data/ext/tree-sitter/tree-sitter/spec/runtime/document_spec.cc +372 -0
  1712. data/ext/tree-sitter/tree-sitter/spec/runtime/node_spec.cc +436 -0
  1713. data/ext/tree-sitter/tree-sitter/spec/runtime/parser_spec.cc +479 -0
  1714. data/ext/tree-sitter/tree-sitter/spec/runtime/stack_spec.cc +571 -0
  1715. data/ext/tree-sitter/tree-sitter/spec/runtime/tree_spec.cc +439 -0
  1716. data/ext/tree-sitter/tree-sitter/spec/spec_helper.h +19 -0
  1717. data/ext/tree-sitter/tree-sitter/spec/specs.cc +16 -0
  1718. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_lex_table.cc +195 -0
  1719. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_lex_table.h +18 -0
  1720. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_parse_table.cc +604 -0
  1721. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_parse_table.h +22 -0
  1722. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_tables.cc +27 -0
  1723. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_tables.h +24 -0
  1724. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/conflict_type.h +16 -0
  1725. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_conflict_manager.cc +55 -0
  1726. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_conflict_manager.h +31 -0
  1727. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item.cc +118 -0
  1728. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item.h +82 -0
  1729. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item_transitions.cc +188 -0
  1730. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item_transitions.h +17 -0
  1731. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lookahead_set.cc +47 -0
  1732. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lookahead_set.h +28 -0
  1733. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item.cc +148 -0
  1734. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item.h +65 -0
  1735. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item_set_builder.cc +167 -0
  1736. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item_set_builder.h +35 -0
  1737. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/recovery_tokens.cc +89 -0
  1738. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/recovery_tokens.h +19 -0
  1739. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/remove_duplicate_states.h +65 -0
  1740. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/rule_can_be_blank.cc +44 -0
  1741. data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/rule_can_be_blank.h +14 -0
  1742. data/ext/tree-sitter/tree-sitter/src/compiler/compile.cc +72 -0
  1743. data/ext/tree-sitter/tree-sitter/src/compiler/compile.h +16 -0
  1744. data/ext/tree-sitter/tree-sitter/src/compiler/compile_error.h +28 -0
  1745. data/ext/tree-sitter/tree-sitter/src/compiler/generate_code/c_code.cc +691 -0
  1746. data/ext/tree-sitter/tree-sitter/src/compiler/generate_code/c_code.h +21 -0
  1747. data/ext/tree-sitter/tree-sitter/src/compiler/grammar.h +20 -0
  1748. data/ext/tree-sitter/tree-sitter/src/compiler/lex_table.cc +78 -0
  1749. data/ext/tree-sitter/tree-sitter/src/compiler/lex_table.h +75 -0
  1750. data/ext/tree-sitter/tree-sitter/src/compiler/lexical_grammar.h +19 -0
  1751. data/ext/tree-sitter/tree-sitter/src/compiler/parse_grammar.cc +335 -0
  1752. data/ext/tree-sitter/tree-sitter/src/compiler/parse_grammar.h +20 -0
  1753. data/ext/tree-sitter/tree-sitter/src/compiler/parse_table.cc +258 -0
  1754. data/ext/tree-sitter/tree-sitter/src/compiler/parse_table.h +106 -0
  1755. data/ext/tree-sitter/tree-sitter/src/compiler/precedence_range.cc +45 -0
  1756. data/ext/tree-sitter/tree-sitter/src/compiler/precedence_range.h +23 -0
  1757. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/expand_repeats.cc +80 -0
  1758. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/expand_repeats.h +16 -0
  1759. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/expand_tokens.cc +88 -0
  1760. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/expand_tokens.h +18 -0
  1761. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/extract_choices.cc +55 -0
  1762. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/extract_choices.h +15 -0
  1763. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/extract_tokens.cc +213 -0
  1764. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/extract_tokens.h +19 -0
  1765. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/flatten_grammar.cc +124 -0
  1766. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/flatten_grammar.h +20 -0
  1767. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/initial_syntax_grammar.h +24 -0
  1768. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/intern_symbols.cc +110 -0
  1769. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/intern_symbols.h +20 -0
  1770. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/interned_grammar.h +24 -0
  1771. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/is_token.cc +30 -0
  1772. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/is_token.h +14 -0
  1773. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/normalize_rules.cc +19 -0
  1774. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/normalize_rules.h +14 -0
  1775. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/parse_regex.cc +252 -0
  1776. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/parse_regex.h +17 -0
  1777. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/prepare_grammar.cc +69 -0
  1778. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/prepare_grammar.h +21 -0
  1779. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/token_description.cc +69 -0
  1780. data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/token_description.h +15 -0
  1781. data/ext/tree-sitter/tree-sitter/src/compiler/rule.cc +15 -0
  1782. data/ext/tree-sitter/tree-sitter/src/compiler/rule.h +45 -0
  1783. data/ext/tree-sitter/tree-sitter/src/compiler/rules.h +28 -0
  1784. data/ext/tree-sitter/tree-sitter/src/compiler/rules/blank.cc +36 -0
  1785. data/ext/tree-sitter/tree-sitter/src/compiler/rules/blank.h +25 -0
  1786. data/ext/tree-sitter/tree-sitter/src/compiler/rules/built_in_symbols.cc +19 -0
  1787. data/ext/tree-sitter/tree-sitter/src/compiler/rules/built_in_symbols.h +16 -0
  1788. data/ext/tree-sitter/tree-sitter/src/compiler/rules/character_range.cc +36 -0
  1789. data/ext/tree-sitter/tree-sitter/src/compiler/rules/character_range.h +25 -0
  1790. data/ext/tree-sitter/tree-sitter/src/compiler/rules/character_set.cc +220 -0
  1791. data/ext/tree-sitter/tree-sitter/src/compiler/rules/character_set.h +59 -0
  1792. data/ext/tree-sitter/tree-sitter/src/compiler/rules/choice.cc +78 -0
  1793. data/ext/tree-sitter/tree-sitter/src/compiler/rules/choice.h +28 -0
  1794. data/ext/tree-sitter/tree-sitter/src/compiler/rules/metadata.cc +98 -0
  1795. data/ext/tree-sitter/tree-sitter/src/compiler/rules/metadata.h +51 -0
  1796. data/ext/tree-sitter/tree-sitter/src/compiler/rules/named_symbol.cc +35 -0
  1797. data/ext/tree-sitter/tree-sitter/src/compiler/rules/named_symbol.h +26 -0
  1798. data/ext/tree-sitter/tree-sitter/src/compiler/rules/pattern.cc +36 -0
  1799. data/ext/tree-sitter/tree-sitter/src/compiler/rules/pattern.h +26 -0
  1800. data/ext/tree-sitter/tree-sitter/src/compiler/rules/repeat.cc +44 -0
  1801. data/ext/tree-sitter/tree-sitter/src/compiler/rules/repeat.h +27 -0
  1802. data/ext/tree-sitter/tree-sitter/src/compiler/rules/rules.cc +108 -0
  1803. data/ext/tree-sitter/tree-sitter/src/compiler/rules/seq.cc +57 -0
  1804. data/ext/tree-sitter/tree-sitter/src/compiler/rules/seq.h +29 -0
  1805. data/ext/tree-sitter/tree-sitter/src/compiler/rules/string.cc +35 -0
  1806. data/ext/tree-sitter/tree-sitter/src/compiler/rules/string.h +26 -0
  1807. data/ext/tree-sitter/tree-sitter/src/compiler/rules/symbol.cc +82 -0
  1808. data/ext/tree-sitter/tree-sitter/src/compiler/rules/symbol.h +55 -0
  1809. data/ext/tree-sitter/tree-sitter/src/compiler/rules/visitor.cc +44 -0
  1810. data/ext/tree-sitter/tree-sitter/src/compiler/rules/visitor.h +234 -0
  1811. data/ext/tree-sitter/tree-sitter/src/compiler/syntax_grammar.cc +34 -0
  1812. data/ext/tree-sitter/tree-sitter/src/compiler/syntax_grammar.h +52 -0
  1813. data/ext/tree-sitter/tree-sitter/src/compiler/util/hash_combine.h +24 -0
  1814. data/ext/tree-sitter/tree-sitter/src/compiler/util/string_helpers.cc +54 -0
  1815. data/ext/tree-sitter/tree-sitter/src/compiler/util/string_helpers.h +19 -0
  1816. data/ext/tree-sitter/tree-sitter/src/compiler/variable.cc +11 -0
  1817. data/ext/tree-sitter/tree-sitter/src/compiler/variable.h +27 -0
  1818. data/ext/tree-sitter/tree-sitter/src/runtime/alloc.h +85 -0
  1819. data/ext/tree-sitter/tree-sitter/src/runtime/array.h +137 -0
  1820. data/ext/tree-sitter/tree-sitter/src/runtime/document.c +152 -0
  1821. data/ext/tree-sitter/tree-sitter/src/runtime/document.h +17 -0
  1822. data/ext/tree-sitter/tree-sitter/src/runtime/error_costs.c +28 -0
  1823. data/ext/tree-sitter/tree-sitter/src/runtime/error_costs.h +25 -0
  1824. data/ext/tree-sitter/tree-sitter/src/runtime/language.c +56 -0
  1825. data/ext/tree-sitter/tree-sitter/src/runtime/language.h +70 -0
  1826. data/ext/tree-sitter/tree-sitter/src/runtime/length.h +59 -0
  1827. data/ext/tree-sitter/tree-sitter/src/runtime/lexer.c +131 -0
  1828. data/ext/tree-sitter/tree-sitter/src/runtime/lexer.h +40 -0
  1829. data/ext/tree-sitter/tree-sitter/src/runtime/node.c +393 -0
  1830. data/ext/tree-sitter/tree-sitter/src/runtime/node.h +8 -0
  1831. data/ext/tree-sitter/tree-sitter/src/runtime/parser.c +1227 -0
  1832. data/ext/tree-sitter/tree-sitter/src/runtime/parser.h +41 -0
  1833. data/ext/tree-sitter/tree-sitter/src/runtime/point.h +46 -0
  1834. data/ext/tree-sitter/tree-sitter/src/runtime/reduce_action.h +32 -0
  1835. data/ext/tree-sitter/tree-sitter/src/runtime/reusable_node.h +50 -0
  1836. data/ext/tree-sitter/tree-sitter/src/runtime/stack.c +658 -0
  1837. data/ext/tree-sitter/tree-sitter/src/runtime/stack.h +130 -0
  1838. data/ext/tree-sitter/tree-sitter/src/runtime/string_input.c +50 -0
  1839. data/ext/tree-sitter/tree-sitter/src/runtime/string_input.h +17 -0
  1840. data/ext/tree-sitter/tree-sitter/src/runtime/tree.c +551 -0
  1841. data/ext/tree-sitter/tree-sitter/src/runtime/tree.h +117 -0
  1842. data/ext/tree-sitter/tree-sitter/src/runtime/tree_path.h +217 -0
  1843. data/ext/tree-sitter/tree-sitter/src/runtime/utf16.c +24 -0
  1844. data/ext/tree-sitter/tree-sitter/src/runtime/utf16.h +20 -0
  1845. data/ext/tree-sitter/tree-sitter/tests.Makefile +6 -0
  1846. data/ext/tree-sitter/tree-sitter/tests.gyp +58 -0
  1847. data/ext/tree-sitter/tree-sitter/tests.target.mk +176 -0
  1848. data/lib/tree-sitter.rb +11 -0
  1849. data/lib/tree-sitter/version.rb +3 -0
  1850. data/test/test_helper.rb +9 -0
  1851. data/test/tree-sitter/fixtures/arithmetic/grammar.json +67 -0
  1852. data/test/tree-sitter/fixtures/ruby/grammar.json +4803 -0
  1853. data/test/tree-sitter/test_basic.rb +7 -0
  1854. data/test/tree-sitter/test_document.rb +7 -0
  1855. data/test/tree-sitter/test_grammar.rb +34 -0
  1856. data/tree-sitter.gemspec +33 -0
  1857. metadata +2018 -0
@@ -0,0 +1,20 @@
1
+ All contributors arranged by first commit:
2
+
3
+ James McLaughlin
4
+ Alex Gartrell
5
+ Peter Scott
6
+ Mathias Kaerlev
7
+ Emiel Mols
8
+ Czarek Tomczak
9
+ Nicholas Braden
10
+ Ivan Kozub
11
+ Árpád Goretity
12
+ Igor Gnatenko
13
+ Haïkel Guémar
14
+ Tobias Waldekranz
15
+ Patrick Donnelly
16
+ Wilmer van der Gaast
17
+ Jin Wei
18
+ François Cartegnie
19
+ Matthijs Boelstra
20
+
@@ -0,0 +1,26 @@
1
+
2
+ Copyright (C) 2012, 2013 James McLaughlin et al. All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions
6
+ are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright
12
+ notice, this list of conditions and the following disclaimer in the
13
+ documentation and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ SUCH DAMAGE.
26
+
@@ -0,0 +1,68 @@
1
+
2
+ exec_prefix = @exec_prefix@
3
+ prefix = @prefix@
4
+
5
+ includedir = $(DESTDIR)@includedir@
6
+ libdir = $(DESTDIR)@libdir@
7
+ datadir = $(DESTDIR)@datadir@
8
+
9
+ AR = @AR@
10
+ CC = @CC@
11
+ CFLAGS = @CFLAGS@
12
+ LDFLAGS = @LDFLAGS@
13
+ SRCS = $(wildcard *.c)
14
+ OBJS = $(SRCS:.c=.o)
15
+
16
+ ifeq ($(shell uname),Darwin)
17
+ SO_EXT := dylib
18
+ else
19
+ SO_EXT := so
20
+ CFLAGS := -fPIC $(CFLAGS)
21
+ endif
22
+
23
+ SO_NAME := libjsonparser.$(SO_EXT).@VERSION_MAJOR@
24
+ REAL_NAME = libjsonparser.$(SO_EXT).@PACKAGE_VERSION@
25
+
26
+ all: libjsonparser.a libjsonparser.$(SO_EXT)
27
+
28
+ libjsonparser.a: $(OBJS)
29
+ $(AR) rcs libjsonparser.a json.o
30
+
31
+ libjsonparser.so: $(OBJS)
32
+ $(CC) -shared -Wl,-soname,$(SO_NAME) -o libjsonparser.so $^
33
+
34
+ libjsonparser.dylib: $(OBJS)
35
+ $(CC) -dynamiclib json.o -o libjsonparser.dylib
36
+
37
+ %.o: %.c
38
+ $(CC) $(CFLAGS) -c $^
39
+
40
+ clean:
41
+ rm -f libjsonparser.$(SO_EXT) libjsonparser.a json.o
42
+
43
+ install-shared: libjsonparser.$(SO_EXT)
44
+ @echo Installing pkgconfig module: $(datadir)/pkgconfig/json-parser.pc
45
+ @install -d $(datadir)/pkgconfig/ || true
46
+ @install -m 0644 json-parser.pc $(datadir)/pkgconfig/json-parser.pc
47
+ @echo Installing shared library: $(libdir)/libjsonparser.$(SO_EXT)
48
+ @install -d $(libdir) || true
49
+ @install -m 0755 libjsonparser.$(SO_EXT) $(libdir)/$(REAL_NAME)
50
+ @rm -f $(libdir)/$(SO_NAME)
51
+ @ln -s $(REAL_NAME) $(libdir)/$(SO_NAME)
52
+ @rm -f $(libdir)/libjsonparser.$(SO_EXT)
53
+ @ln -s $(SO_NAME) $(libdir)/libjsonparser.$(SO_EXT)
54
+ @install -d $(includedir)/json-parser || true
55
+ @install -m 0644 ./json.h $(includedir)/json-parser/json.h
56
+
57
+ install-static: libjsonparser.a
58
+ @echo Installing static library: $(libdir)/libjsonparser.a
59
+ @install -m 0755 libjsonparser.a $(libdir)/libjsonparser.a
60
+ @install -d $(includedir)/json-parser || true
61
+ @install -m 0644 ./json.h $(includedir)/json-parser/json.h
62
+
63
+ install: install-shared install-static
64
+ @echo Compiler flags: -I$(includedir)/json-parser
65
+ @echo Linker flags: -L$(libdir) -ljsonparser
66
+
67
+ .PHONY: all clean install install-shared install-static
68
+
@@ -0,0 +1,97 @@
1
+ Very low footprint JSON parser written in portable ANSI C.
2
+
3
+ * BSD licensed with no dependencies (i.e. just drop the C file into your project)
4
+ * Never recurses or allocates more memory than it needs
5
+ * Very simple API with operator sugar for C++
6
+
7
+ [![Build Status](https://secure.travis-ci.org/udp/json-parser.png)](http://travis-ci.org/udp/json-parser)
8
+
9
+ _Want to serialize? Check out [json-builder](https://github.com/udp/json-builder)!_
10
+
11
+ Installing
12
+ ----------
13
+
14
+ There is now a makefile which will produce a libjsonparser static and dynamic library. However, this
15
+ is _not_ required to build json-parser, and the source files (`json.c` and `json.h`) should be happy
16
+ in any build system you already have in place.
17
+
18
+
19
+ API
20
+ ---
21
+
22
+ json_value * json_parse (const json_char * json,
23
+ size_t length);
24
+
25
+ json_value * json_parse_ex (json_settings * settings,
26
+ const json_char * json,
27
+ size_t length,
28
+ char * error);
29
+
30
+ void json_value_free (json_value *);
31
+
32
+ The `type` field of `json_value` is one of:
33
+
34
+ * `json_object` (see `u.object.length`, `u.object.values[x].name`, `u.object.values[x].value`)
35
+ * `json_array` (see `u.array.length`, `u.array.values`)
36
+ * `json_integer` (see `u.integer`)
37
+ * `json_double` (see `u.dbl`)
38
+ * `json_string` (see `u.string.ptr`, `u.string.length`)
39
+ * `json_boolean` (see `u.boolean`)
40
+ * `json_null`
41
+
42
+
43
+ Compile-Time Options
44
+ --------------------
45
+
46
+ -DJSON_TRACK_SOURCE
47
+
48
+ Stores the source location (line and column number) inside each `json_value`.
49
+
50
+ This is useful for application-level error reporting.
51
+
52
+
53
+ Runtime Options
54
+ ---------------
55
+
56
+ settings |= json_enable_comments;
57
+
58
+ Enables C-style `// line` and `/* block */` comments.
59
+
60
+ size_t value_extra
61
+
62
+ The amount of space (if any) to allocate at the end of each `json_value`, in
63
+ order to give the application space to add metadata.
64
+
65
+ void * (* mem_alloc) (size_t, int zero, void * user_data);
66
+ void (* mem_free) (void *, void * user_data);
67
+
68
+ Custom allocator routines. If NULL, the default `malloc` and `free` will be used.
69
+
70
+ The `user_data` pointer will be forwarded from `json_settings` to allow application
71
+ context to be passed.
72
+
73
+
74
+ Changes in version 1.1.0
75
+ ------------------------
76
+
77
+ * UTF-8 byte order marks are now skipped if present
78
+
79
+ * Allows cross-compilation by honoring --host if given (@wkz)
80
+
81
+ * Maximum size for error buffer is now exposed in header (@LB--)
82
+
83
+ * GCC warning for `static` after `const` fixed (@batrick)
84
+
85
+ * Optional support for C-style line and block comments added (@Jin-W-FS)
86
+
87
+ * `name_length` field added to object values
88
+
89
+ * It is now possible to retrieve the source line/column number of a parsed `json_value` when `JSON_TRACK_SOURCE` is enabled
90
+
91
+ * The application may now extend `json_value` using the `value_extra` setting
92
+
93
+ * Un-ambiguate pow call in the case of C++ overloaded pow (@fcartegnie)
94
+
95
+ * Fix null pointer de-reference when a non-existing array is closed and no root value is present
96
+
97
+
@@ -0,0 +1,88 @@
1
+ {"web-app": {
2
+ "servlet": [
3
+ {
4
+ "servlet-name": "cofaxCDS",
5
+ "servlet-class": "org.cofax.cds.CDSServlet",
6
+ "init-param": {
7
+ "configGlossary:installationAt": "Philadelphia, PA",
8
+ "configGlossary:adminEmail": "ksm@pobox.com",
9
+ "configGlossary:poweredBy": "Cofax",
10
+ "configGlossary:poweredByIcon": "/images/cofax.gif",
11
+ "configGlossary:staticPath": "/content/static",
12
+ "templateProcessorClass": "org.cofax.WysiwygTemplate",
13
+ "templateLoaderClass": "org.cofax.FilesTemplateLoader",
14
+ "templatePath": "templates",
15
+ "templateOverridePath": "",
16
+ "defaultListTemplate": "listTemplate.htm",
17
+ "defaultFileTemplate": "articleTemplate.htm",
18
+ "useJSP": false,
19
+ "jspListTemplate": "listTemplate.jsp",
20
+ "jspFileTemplate": "articleTemplate.jsp",
21
+ "cachePackageTagsTrack": 200,
22
+ "cachePackageTagsStore": 200,
23
+ "cachePackageTagsRefresh": 60,
24
+ "cacheTemplatesTrack": 100,
25
+ "cacheTemplatesStore": 50,
26
+ "cacheTemplatesRefresh": 15,
27
+ "cachePagesTrack": 200,
28
+ "cachePagesStore": 100,
29
+ "cachePagesRefresh": 10,
30
+ "cachePagesDirtyRead": 10,
31
+ "searchEngineListTemplate": "forSearchEnginesList.htm",
32
+ "searchEngineFileTemplate": "forSearchEngines.htm",
33
+ "searchEngineRobotsDb": "WEB-INF/robots.db",
34
+ "useDataStore": true,
35
+ "dataStoreClass": "org.cofax.SqlDataStore",
36
+ "redirectionClass": "org.cofax.SqlRedirection",
37
+ "dataStoreName": "cofax",
38
+ "dataStoreDriver": "com.microsoft.jdbc.sqlserver.SQLServerDriver",
39
+ "dataStoreUrl": "jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goon",
40
+ "dataStoreUser": "sa",
41
+ "dataStorePassword": "dataStoreTestQuery",
42
+ "dataStoreTestQuery": "SET NOCOUNT ON;select test='test';",
43
+ "dataStoreLogFile": "/usr/local/tomcat/logs/datastore.log",
44
+ "dataStoreInitConns": 10,
45
+ "dataStoreMaxConns": 100,
46
+ "dataStoreConnUsageLimit": 100,
47
+ "dataStoreLogLevel": "debug",
48
+ "maxUrlLength": 500}},
49
+ {
50
+ "servlet-name": "cofaxEmail",
51
+ "servlet-class": "org.cofax.cds.EmailServlet",
52
+ "init-param": {
53
+ "mailHost": "mail1",
54
+ "mailHostOverride": "mail2"}},
55
+ {
56
+ "servlet-name": "cofaxAdmin",
57
+ "servlet-class": "org.cofax.cds.AdminServlet"},
58
+
59
+ {
60
+ "servlet-name": "fileServlet",
61
+ "servlet-class": "org.cofax.cds.FileServlet"},
62
+ {
63
+ "servlet-name": "cofaxTools",
64
+ "servlet-class": "org.cofax.cms.CofaxToolsServlet",
65
+ "init-param": {
66
+ "templatePath": "toolstemplates/",
67
+ "log": 1,
68
+ "logLocation": "/usr/local/tomcat/logs/CofaxTools.log",
69
+ "logMaxSize": "",
70
+ "dataLog": 1,
71
+ "dataLogLocation": "/usr/local/tomcat/logs/dataLog.log",
72
+ "dataLogMaxSize": "",
73
+ "removePageCache": "/content/admin/remove?cache=pages&id=",
74
+ "removeTemplateCache": "/content/admin/remove?cache=templates&id=",
75
+ "fileTransferFolder": "/usr/local/tomcat/webapps/content/fileTransferFolder",
76
+ "lookInContext": 1,
77
+ "adminGroupID": 4,
78
+ "betaServer": true}}],
79
+ "servlet-mapping": {
80
+ "cofaxCDS": "/",
81
+ "cofaxEmail": "/cofaxutil/aemail/*",
82
+ "cofaxAdmin": "/admin/*",
83
+ "fileServlet": "/static/*",
84
+ "cofaxTools": "/tools/*"},
85
+
86
+ "taglib": {
87
+ "taglib-uri": "cofax.tld",
88
+ "taglib-location": "/WEB-INF/tlds/cofax.tld"}}}
@@ -0,0 +1,11 @@
1
+ import sys
2
+ sys.path.append('..')
3
+
4
+ import jsonparser
5
+
6
+ data = open('test.json', 'rb').read()
7
+ try:
8
+ output = jsonparser.decode(data)
9
+ print output
10
+ except jsonparser.JSONException, e:
11
+ print 'Error -> %s' % e
@@ -0,0 +1,9 @@
1
+ cdef extern from "wrap_json.c":
2
+ object decode_json(char * value)
3
+ object get_exception_class()
4
+
5
+ JSONException = get_exception_class()
6
+
7
+ def decode(value):
8
+ value = value.encode('utf-8')
9
+ return decode_json(value)
@@ -0,0 +1,14 @@
1
+ import sys
2
+ from distutils.core import setup
3
+ from Cython.Distutils.extension import Extension
4
+ from Cython.Distutils import build_ext
5
+
6
+ ext_modules = []
7
+ ext_modules.append(Extension('jsonparser',
8
+ ['./jsonparser.pyx'], language = 'c++'))
9
+
10
+ setup(
11
+ name = 'json-parser python wrapper',
12
+ cmdclass = {'build_ext' : build_ext},
13
+ ext_modules = ext_modules
14
+ )
@@ -0,0 +1,95 @@
1
+ /*
2
+ * Copyright (C) 2012 Mathias Kaerlev. All rights reserved.
3
+ *
4
+ * Redistribution and use in source and binary forms, with or without
5
+ * modification, are permitted provided that the following conditions
6
+ * are met:
7
+ *
8
+ * 1. Redistributions of source code must retain the above copyright
9
+ * notice, this list of conditions and the following disclaimer.
10
+ *
11
+ * 2. Redistributions in binary form must reproduce the above copyright
12
+ * notice, this list of conditions and the following disclaimer in the
13
+ * documentation and/or other materials provided with the distribution.
14
+ *
15
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ * SUCH DAMAGE.
26
+ */
27
+
28
+ #include "../../json.c"
29
+
30
+ PyObject * json_exception = PyErr_NewException("jsonparser.JSONException",
31
+ NULL, NULL);
32
+
33
+ PyObject * get_exception_class()
34
+ {
35
+ return json_exception;
36
+ }
37
+
38
+ PyObject * convert_value(json_value * data)
39
+ {
40
+ PyObject * value;
41
+ switch (data->type) {
42
+ case json_object:
43
+ value = PyDict_New();
44
+ for (int i = 0; i < data->u.object.length; i++) {
45
+ PyObject * name = PyUnicode_FromString(
46
+ data->u.object.values[i].name);
47
+ PyObject * object_value = convert_value(
48
+ data->u.object.values[i].value);
49
+ PyDict_SetItem(value, name, object_value);
50
+ }
51
+ break;
52
+ case json_array:
53
+ value = PyList_New(0);
54
+ for (int i = 0; i < data->u.array.length; i++) {
55
+ PyObject * array_value = convert_value(
56
+ data->u.array.values[i]);
57
+ PyList_Append(value, array_value);
58
+ }
59
+ break;
60
+ case json_integer:
61
+ value = PyInt_FromLong(data->u.integer);
62
+ break;
63
+ case json_double:
64
+ value = PyFloat_FromDouble(data->u.dbl);
65
+ break;
66
+ case json_string:
67
+ value = PyUnicode_FromStringAndSize(data->u.string.ptr,
68
+ data->u.string.length);
69
+ break;
70
+ case json_boolean:
71
+ value = PyBool_FromLong((long)data->u.boolean);
72
+ break;
73
+ default:
74
+ // covers json_null, json_none
75
+ Py_INCREF(Py_None);
76
+ value = Py_None;
77
+ break;
78
+ }
79
+ return value;
80
+ }
81
+
82
+ PyObject * decode_json(char * data)
83
+ {
84
+ json_settings settings;
85
+ memset(&settings, 0, sizeof (json_settings));
86
+ settings.settings = json_enable_comments;
87
+ char error[256];
88
+ json_value * value = json_parse_ex(&settings, data, strlen(data), error);
89
+ if (value == 0) {
90
+ return PyErr_Format(json_exception, error);
91
+ }
92
+ PyObject * converted = convert_value(value);
93
+ json_value_free(value);
94
+ return converted;
95
+ }
@@ -0,0 +1,3796 @@
1
+ #! /bin/sh
2
+ # Guess values for system-dependent variables and create Makefiles.
3
+ # Generated by GNU Autoconf 2.69 for libjsonparser 1.1.0.
4
+ #
5
+ #
6
+ # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7
+ #
8
+ #
9
+ # This configure script is free software; the Free Software Foundation
10
+ # gives unlimited permission to copy, distribute and modify it.
11
+ ## -------------------- ##
12
+ ## M4sh Initialization. ##
13
+ ## -------------------- ##
14
+
15
+ # Be more Bourne compatible
16
+ DUALCASE=1; export DUALCASE # for MKS sh
17
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
+ emulate sh
19
+ NULLCMD=:
20
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
+ # is contrary to our usage. Disable this feature.
22
+ alias -g '${1+"$@"}'='"$@"'
23
+ setopt NO_GLOB_SUBST
24
+ else
25
+ case `(set -o) 2>/dev/null` in #(
26
+ *posix*) :
27
+ set -o posix ;; #(
28
+ *) :
29
+ ;;
30
+ esac
31
+ fi
32
+
33
+
34
+ as_nl='
35
+ '
36
+ export as_nl
37
+ # Printing a long string crashes Solaris 7 /usr/bin/printf.
38
+ as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
+ # Prefer a ksh shell builtin over an external printf program on Solaris,
42
+ # but without wasting forks for bash or zsh.
43
+ if test -z "$BASH_VERSION$ZSH_VERSION" \
44
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45
+ as_echo='print -r --'
46
+ as_echo_n='print -rn --'
47
+ elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
+ as_echo='printf %s\n'
49
+ as_echo_n='printf %s'
50
+ else
51
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
+ as_echo_n='/usr/ucb/echo -n'
54
+ else
55
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
+ as_echo_n_body='eval
57
+ arg=$1;
58
+ case $arg in #(
59
+ *"$as_nl"*)
60
+ expr "X$arg" : "X\\(.*\\)$as_nl";
61
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
+ esac;
63
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
+ '
65
+ export as_echo_n_body
66
+ as_echo_n='sh -c $as_echo_n_body as_echo'
67
+ fi
68
+ export as_echo_body
69
+ as_echo='sh -c $as_echo_body as_echo'
70
+ fi
71
+
72
+ # The user is always right.
73
+ if test "${PATH_SEPARATOR+set}" != set; then
74
+ PATH_SEPARATOR=:
75
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77
+ PATH_SEPARATOR=';'
78
+ }
79
+ fi
80
+
81
+
82
+ # IFS
83
+ # We need space, tab and new line, in precisely that order. Quoting is
84
+ # there to prevent editors from complaining about space-tab.
85
+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
+ # splitting by setting IFS to empty value.)
87
+ IFS=" "" $as_nl"
88
+
89
+ # Find who we are. Look in the path if we contain no directory separator.
90
+ as_myself=
91
+ case $0 in #((
92
+ *[\\/]* ) as_myself=$0 ;;
93
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94
+ for as_dir in $PATH
95
+ do
96
+ IFS=$as_save_IFS
97
+ test -z "$as_dir" && as_dir=.
98
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99
+ done
100
+ IFS=$as_save_IFS
101
+
102
+ ;;
103
+ esac
104
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
105
+ # in which case we are not to be found in the path.
106
+ if test "x$as_myself" = x; then
107
+ as_myself=$0
108
+ fi
109
+ if test ! -f "$as_myself"; then
110
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111
+ exit 1
112
+ fi
113
+
114
+ # Unset variables that we do not need and which cause bugs (e.g. in
115
+ # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116
+ # suppresses any "Segmentation fault" message there. '((' could
117
+ # trigger a bug in pdksh 5.2.14.
118
+ for as_var in BASH_ENV ENV MAIL MAILPATH
119
+ do eval test x\${$as_var+set} = xset \
120
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121
+ done
122
+ PS1='$ '
123
+ PS2='> '
124
+ PS4='+ '
125
+
126
+ # NLS nuisances.
127
+ LC_ALL=C
128
+ export LC_ALL
129
+ LANGUAGE=C
130
+ export LANGUAGE
131
+
132
+ # CDPATH.
133
+ (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
+
135
+ # Use a proper internal environment variable to ensure we don't fall
136
+ # into an infinite loop, continuously re-executing ourselves.
137
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138
+ _as_can_reexec=no; export _as_can_reexec;
139
+ # We cannot yet assume a decent shell, so we have to provide a
140
+ # neutralization value for shells without unset; and this also
141
+ # works around shells that cannot unset nonexistent variables.
142
+ # Preserve -v and -x to the replacement shell.
143
+ BASH_ENV=/dev/null
144
+ ENV=/dev/null
145
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146
+ case $- in # ((((
147
+ *v*x* | *x*v* ) as_opts=-vx ;;
148
+ *v* ) as_opts=-v ;;
149
+ *x* ) as_opts=-x ;;
150
+ * ) as_opts= ;;
151
+ esac
152
+ exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153
+ # Admittedly, this is quite paranoid, since all the known shells bail
154
+ # out after a failed `exec'.
155
+ $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156
+ as_fn_exit 255
157
+ fi
158
+ # We don't want this to propagate to other subprocesses.
159
+ { _as_can_reexec=; unset _as_can_reexec;}
160
+ if test "x$CONFIG_SHELL" = x; then
161
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162
+ emulate sh
163
+ NULLCMD=:
164
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165
+ # is contrary to our usage. Disable this feature.
166
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
167
+ setopt NO_GLOB_SUBST
168
+ else
169
+ case \`(set -o) 2>/dev/null\` in #(
170
+ *posix*) :
171
+ set -o posix ;; #(
172
+ *) :
173
+ ;;
174
+ esac
175
+ fi
176
+ "
177
+ as_required="as_fn_return () { (exit \$1); }
178
+ as_fn_success () { as_fn_return 0; }
179
+ as_fn_failure () { as_fn_return 1; }
180
+ as_fn_ret_success () { return 0; }
181
+ as_fn_ret_failure () { return 1; }
182
+
183
+ exitcode=0
184
+ as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185
+ as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186
+ as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187
+ as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188
+ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
+
190
+ else
191
+ exitcode=1; echo positional parameters were not saved.
192
+ fi
193
+ test x\$exitcode = x0 || exit 1
194
+ test -x / || exit 1"
195
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199
+ if (eval "$as_required") 2>/dev/null; then :
200
+ as_have_required=yes
201
+ else
202
+ as_have_required=no
203
+ fi
204
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
+
206
+ else
207
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208
+ as_found=false
209
+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210
+ do
211
+ IFS=$as_save_IFS
212
+ test -z "$as_dir" && as_dir=.
213
+ as_found=:
214
+ case $as_dir in #(
215
+ /*)
216
+ for as_base in sh bash ksh sh5; do
217
+ # Try only shells that exist, to save several forks.
218
+ as_shell=$as_dir/$as_base
219
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221
+ CONFIG_SHELL=$as_shell as_have_required=yes
222
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223
+ break 2
224
+ fi
225
+ fi
226
+ done;;
227
+ esac
228
+ as_found=false
229
+ done
230
+ $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232
+ CONFIG_SHELL=$SHELL as_have_required=yes
233
+ fi; }
234
+ IFS=$as_save_IFS
235
+
236
+
237
+ if test "x$CONFIG_SHELL" != x; then :
238
+ export CONFIG_SHELL
239
+ # We cannot yet assume a decent shell, so we have to provide a
240
+ # neutralization value for shells without unset; and this also
241
+ # works around shells that cannot unset nonexistent variables.
242
+ # Preserve -v and -x to the replacement shell.
243
+ BASH_ENV=/dev/null
244
+ ENV=/dev/null
245
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246
+ case $- in # ((((
247
+ *v*x* | *x*v* ) as_opts=-vx ;;
248
+ *v* ) as_opts=-v ;;
249
+ *x* ) as_opts=-x ;;
250
+ * ) as_opts= ;;
251
+ esac
252
+ exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253
+ # Admittedly, this is quite paranoid, since all the known shells bail
254
+ # out after a failed `exec'.
255
+ $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256
+ exit 255
257
+ fi
258
+
259
+ if test x$as_have_required = xno; then :
260
+ $as_echo "$0: This script requires a shell more modern than all"
261
+ $as_echo "$0: the shells that I found on your system."
262
+ if test x${ZSH_VERSION+set} = xset ; then
263
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265
+ else
266
+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267
+ $0: including any error possibly output before this
268
+ $0: message. Then install a modern shell, or manually run
269
+ $0: the script under such a shell if you do have one."
270
+ fi
271
+ exit 1
272
+ fi
273
+ fi
274
+ fi
275
+ SHELL=${CONFIG_SHELL-/bin/sh}
276
+ export SHELL
277
+ # Unset more variables known to interfere with behavior of common tools.
278
+ CLICOLOR_FORCE= GREP_OPTIONS=
279
+ unset CLICOLOR_FORCE GREP_OPTIONS
280
+
281
+ ## --------------------- ##
282
+ ## M4sh Shell Functions. ##
283
+ ## --------------------- ##
284
+ # as_fn_unset VAR
285
+ # ---------------
286
+ # Portably unset VAR.
287
+ as_fn_unset ()
288
+ {
289
+ { eval $1=; unset $1;}
290
+ }
291
+ as_unset=as_fn_unset
292
+
293
+ # as_fn_set_status STATUS
294
+ # -----------------------
295
+ # Set $? to STATUS, without forking.
296
+ as_fn_set_status ()
297
+ {
298
+ return $1
299
+ } # as_fn_set_status
300
+
301
+ # as_fn_exit STATUS
302
+ # -----------------
303
+ # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304
+ as_fn_exit ()
305
+ {
306
+ set +e
307
+ as_fn_set_status $1
308
+ exit $1
309
+ } # as_fn_exit
310
+
311
+ # as_fn_mkdir_p
312
+ # -------------
313
+ # Create "$as_dir" as a directory, including parents if necessary.
314
+ as_fn_mkdir_p ()
315
+ {
316
+
317
+ case $as_dir in #(
318
+ -*) as_dir=./$as_dir;;
319
+ esac
320
+ test -d "$as_dir" || eval $as_mkdir_p || {
321
+ as_dirs=
322
+ while :; do
323
+ case $as_dir in #(
324
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325
+ *) as_qdir=$as_dir;;
326
+ esac
327
+ as_dirs="'$as_qdir' $as_dirs"
328
+ as_dir=`$as_dirname -- "$as_dir" ||
329
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330
+ X"$as_dir" : 'X\(//\)[^/]' \| \
331
+ X"$as_dir" : 'X\(//\)$' \| \
332
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333
+ $as_echo X"$as_dir" |
334
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335
+ s//\1/
336
+ q
337
+ }
338
+ /^X\(\/\/\)[^/].*/{
339
+ s//\1/
340
+ q
341
+ }
342
+ /^X\(\/\/\)$/{
343
+ s//\1/
344
+ q
345
+ }
346
+ /^X\(\/\).*/{
347
+ s//\1/
348
+ q
349
+ }
350
+ s/.*/./; q'`
351
+ test -d "$as_dir" && break
352
+ done
353
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
354
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
+
356
+
357
+ } # as_fn_mkdir_p
358
+
359
+ # as_fn_executable_p FILE
360
+ # -----------------------
361
+ # Test if FILE is an executable regular file.
362
+ as_fn_executable_p ()
363
+ {
364
+ test -f "$1" && test -x "$1"
365
+ } # as_fn_executable_p
366
+ # as_fn_append VAR VALUE
367
+ # ----------------------
368
+ # Append the text in VALUE to the end of the definition contained in VAR. Take
369
+ # advantage of any shell optimizations that allow amortized linear growth over
370
+ # repeated appends, instead of the typical quadratic growth present in naive
371
+ # implementations.
372
+ if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373
+ eval 'as_fn_append ()
374
+ {
375
+ eval $1+=\$2
376
+ }'
377
+ else
378
+ as_fn_append ()
379
+ {
380
+ eval $1=\$$1\$2
381
+ }
382
+ fi # as_fn_append
383
+
384
+ # as_fn_arith ARG...
385
+ # ------------------
386
+ # Perform arithmetic evaluation on the ARGs, and store the result in the
387
+ # global $as_val. Take advantage of shells that can avoid forks. The arguments
388
+ # must be portable across $(()) and expr.
389
+ if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390
+ eval 'as_fn_arith ()
391
+ {
392
+ as_val=$(( $* ))
393
+ }'
394
+ else
395
+ as_fn_arith ()
396
+ {
397
+ as_val=`expr "$@" || test $? -eq 1`
398
+ }
399
+ fi # as_fn_arith
400
+
401
+
402
+ # as_fn_error STATUS ERROR [LINENO LOG_FD]
403
+ # ----------------------------------------
404
+ # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405
+ # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406
+ # script with STATUS, using 1 if that was 0.
407
+ as_fn_error ()
408
+ {
409
+ as_status=$1; test $as_status -eq 0 && as_status=1
410
+ if test "$4"; then
411
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413
+ fi
414
+ $as_echo "$as_me: error: $2" >&2
415
+ as_fn_exit $as_status
416
+ } # as_fn_error
417
+
418
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
419
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
420
+ as_expr=expr
421
+ else
422
+ as_expr=false
423
+ fi
424
+
425
+ if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426
+ as_basename=basename
427
+ else
428
+ as_basename=false
429
+ fi
430
+
431
+ if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432
+ as_dirname=dirname
433
+ else
434
+ as_dirname=false
435
+ fi
436
+
437
+ as_me=`$as_basename -- "$0" ||
438
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439
+ X"$0" : 'X\(//\)$' \| \
440
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441
+ $as_echo X/"$0" |
442
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
443
+ s//\1/
444
+ q
445
+ }
446
+ /^X\/\(\/\/\)$/{
447
+ s//\1/
448
+ q
449
+ }
450
+ /^X\/\(\/\).*/{
451
+ s//\1/
452
+ q
453
+ }
454
+ s/.*/./; q'`
455
+
456
+ # Avoid depending upon Character Ranges.
457
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460
+ as_cr_digits='0123456789'
461
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
462
+
463
+
464
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
465
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
466
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469
+ sed -n '
470
+ p
471
+ /[$]LINENO/=
472
+ ' <$as_myself |
473
+ sed '
474
+ s/[$]LINENO.*/&-/
475
+ t lineno
476
+ b
477
+ :lineno
478
+ N
479
+ :loop
480
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481
+ t loop
482
+ s/-\n.*//
483
+ ' >$as_me.lineno &&
484
+ chmod +x "$as_me.lineno" ||
485
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
+
487
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488
+ # already done that, so ensure we don't try to do so again and fall
489
+ # in an infinite loop. This has already happened in practice.
490
+ _as_can_reexec=no; export _as_can_reexec
491
+ # Don't try to exec as it changes $[0], causing all sort of problems
492
+ # (the dirname of $[0] is not the place where we might find the
493
+ # original and so on. Autoconf is especially sensitive to this).
494
+ . "./$as_me.lineno"
495
+ # Exit status is that of the last command.
496
+ exit
497
+ }
498
+
499
+ ECHO_C= ECHO_N= ECHO_T=
500
+ case `echo -n x` in #(((((
501
+ -n*)
502
+ case `echo 'xy\c'` in
503
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504
+ xy) ECHO_C='\c';;
505
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506
+ ECHO_T=' ';;
507
+ esac;;
508
+ *)
509
+ ECHO_N='-n';;
510
+ esac
511
+
512
+ rm -f conf$$ conf$$.exe conf$$.file
513
+ if test -d conf$$.dir; then
514
+ rm -f conf$$.dir/conf$$.file
515
+ else
516
+ rm -f conf$$.dir
517
+ mkdir conf$$.dir 2>/dev/null
518
+ fi
519
+ if (echo >conf$$.file) 2>/dev/null; then
520
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
521
+ as_ln_s='ln -s'
522
+ # ... but there are two gotchas:
523
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525
+ # In both cases, we have to default to `cp -pR'.
526
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527
+ as_ln_s='cp -pR'
528
+ elif ln conf$$.file conf$$ 2>/dev/null; then
529
+ as_ln_s=ln
530
+ else
531
+ as_ln_s='cp -pR'
532
+ fi
533
+ else
534
+ as_ln_s='cp -pR'
535
+ fi
536
+ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537
+ rmdir conf$$.dir 2>/dev/null
538
+
539
+ if mkdir -p . 2>/dev/null; then
540
+ as_mkdir_p='mkdir -p "$as_dir"'
541
+ else
542
+ test -d ./-p && rmdir ./-p
543
+ as_mkdir_p=false
544
+ fi
545
+
546
+ as_test_x='test -x'
547
+ as_executable_p=as_fn_executable_p
548
+
549
+ # Sed expression to map a string onto a valid CPP name.
550
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
+
552
+ # Sed expression to map a string onto a valid variable name.
553
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
+
555
+
556
+ test -n "$DJDIR" || exec 7<&0 </dev/null
557
+ exec 6>&1
558
+
559
+ # Name of the host.
560
+ # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561
+ # so uname gets run too.
562
+ ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
+
564
+ #
565
+ # Initializations.
566
+ #
567
+ ac_default_prefix=/usr/local
568
+ ac_clean_files=
569
+ ac_config_libobj_dir=.
570
+ LIBOBJS=
571
+ cross_compiling=no
572
+ subdirs=
573
+ MFLAGS=
574
+ MAKEFLAGS=
575
+
576
+ # Identity of this package.
577
+ PACKAGE_NAME='libjsonparser'
578
+ PACKAGE_TARNAME='libjsonparser'
579
+ PACKAGE_VERSION='1.1.0'
580
+ PACKAGE_STRING='libjsonparser 1.1.0'
581
+ PACKAGE_BUGREPORT=''
582
+ PACKAGE_URL=''
583
+
584
+ ac_subst_vars='LTLIBOBJS
585
+ LIBOBJS
586
+ VERSION_MAJOR
587
+ AR
588
+ OBJEXT
589
+ EXEEXT
590
+ ac_ct_CC
591
+ CPPFLAGS
592
+ LDFLAGS
593
+ CFLAGS
594
+ CC
595
+ target_alias
596
+ host_alias
597
+ build_alias
598
+ LIBS
599
+ ECHO_T
600
+ ECHO_N
601
+ ECHO_C
602
+ DEFS
603
+ mandir
604
+ localedir
605
+ libdir
606
+ psdir
607
+ pdfdir
608
+ dvidir
609
+ htmldir
610
+ infodir
611
+ docdir
612
+ oldincludedir
613
+ includedir
614
+ localstatedir
615
+ sharedstatedir
616
+ sysconfdir
617
+ datadir
618
+ datarootdir
619
+ libexecdir
620
+ sbindir
621
+ bindir
622
+ program_transform_name
623
+ prefix
624
+ exec_prefix
625
+ PACKAGE_URL
626
+ PACKAGE_BUGREPORT
627
+ PACKAGE_STRING
628
+ PACKAGE_VERSION
629
+ PACKAGE_TARNAME
630
+ PACKAGE_NAME
631
+ PATH_SEPARATOR
632
+ SHELL'
633
+ ac_subst_files=''
634
+ ac_user_opts='
635
+ enable_option_checking
636
+ enable_debug
637
+ '
638
+ ac_precious_vars='build_alias
639
+ host_alias
640
+ target_alias
641
+ CC
642
+ CFLAGS
643
+ LDFLAGS
644
+ LIBS
645
+ CPPFLAGS'
646
+
647
+
648
+ # Initialize some variables set by options.
649
+ ac_init_help=
650
+ ac_init_version=false
651
+ ac_unrecognized_opts=
652
+ ac_unrecognized_sep=
653
+ # The variables have the same names as the options, with
654
+ # dashes changed to underlines.
655
+ cache_file=/dev/null
656
+ exec_prefix=NONE
657
+ no_create=
658
+ no_recursion=
659
+ prefix=NONE
660
+ program_prefix=NONE
661
+ program_suffix=NONE
662
+ program_transform_name=s,x,x,
663
+ silent=
664
+ site=
665
+ srcdir=
666
+ verbose=
667
+ x_includes=NONE
668
+ x_libraries=NONE
669
+
670
+ # Installation directory options.
671
+ # These are left unexpanded so users can "make install exec_prefix=/foo"
672
+ # and all the variables that are supposed to be based on exec_prefix
673
+ # by default will actually change.
674
+ # Use braces instead of parens because sh, perl, etc. also accept them.
675
+ # (The list follows the same order as the GNU Coding Standards.)
676
+ bindir='${exec_prefix}/bin'
677
+ sbindir='${exec_prefix}/sbin'
678
+ libexecdir='${exec_prefix}/libexec'
679
+ datarootdir='${prefix}/share'
680
+ datadir='${datarootdir}'
681
+ sysconfdir='${prefix}/etc'
682
+ sharedstatedir='${prefix}/com'
683
+ localstatedir='${prefix}/var'
684
+ includedir='${prefix}/include'
685
+ oldincludedir='/usr/include'
686
+ docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
687
+ infodir='${datarootdir}/info'
688
+ htmldir='${docdir}'
689
+ dvidir='${docdir}'
690
+ pdfdir='${docdir}'
691
+ psdir='${docdir}'
692
+ libdir='${exec_prefix}/lib'
693
+ localedir='${datarootdir}/locale'
694
+ mandir='${datarootdir}/man'
695
+
696
+ ac_prev=
697
+ ac_dashdash=
698
+ for ac_option
699
+ do
700
+ # If the previous option needs an argument, assign it.
701
+ if test -n "$ac_prev"; then
702
+ eval $ac_prev=\$ac_option
703
+ ac_prev=
704
+ continue
705
+ fi
706
+
707
+ case $ac_option in
708
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
709
+ *=) ac_optarg= ;;
710
+ *) ac_optarg=yes ;;
711
+ esac
712
+
713
+ # Accept the important Cygnus configure options, so we can diagnose typos.
714
+
715
+ case $ac_dashdash$ac_option in
716
+ --)
717
+ ac_dashdash=yes ;;
718
+
719
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
720
+ ac_prev=bindir ;;
721
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
722
+ bindir=$ac_optarg ;;
723
+
724
+ -build | --build | --buil | --bui | --bu)
725
+ ac_prev=build_alias ;;
726
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
727
+ build_alias=$ac_optarg ;;
728
+
729
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
730
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
731
+ ac_prev=cache_file ;;
732
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
733
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
734
+ cache_file=$ac_optarg ;;
735
+
736
+ --config-cache | -C)
737
+ cache_file=config.cache ;;
738
+
739
+ -datadir | --datadir | --datadi | --datad)
740
+ ac_prev=datadir ;;
741
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
742
+ datadir=$ac_optarg ;;
743
+
744
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
745
+ | --dataroo | --dataro | --datar)
746
+ ac_prev=datarootdir ;;
747
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
748
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
749
+ datarootdir=$ac_optarg ;;
750
+
751
+ -disable-* | --disable-*)
752
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
753
+ # Reject names that are not valid shell variable names.
754
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
755
+ as_fn_error $? "invalid feature name: $ac_useropt"
756
+ ac_useropt_orig=$ac_useropt
757
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
758
+ case $ac_user_opts in
759
+ *"
760
+ "enable_$ac_useropt"
761
+ "*) ;;
762
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
763
+ ac_unrecognized_sep=', ';;
764
+ esac
765
+ eval enable_$ac_useropt=no ;;
766
+
767
+ -docdir | --docdir | --docdi | --doc | --do)
768
+ ac_prev=docdir ;;
769
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
770
+ docdir=$ac_optarg ;;
771
+
772
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
773
+ ac_prev=dvidir ;;
774
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
775
+ dvidir=$ac_optarg ;;
776
+
777
+ -enable-* | --enable-*)
778
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
779
+ # Reject names that are not valid shell variable names.
780
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
781
+ as_fn_error $? "invalid feature name: $ac_useropt"
782
+ ac_useropt_orig=$ac_useropt
783
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
784
+ case $ac_user_opts in
785
+ *"
786
+ "enable_$ac_useropt"
787
+ "*) ;;
788
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
789
+ ac_unrecognized_sep=', ';;
790
+ esac
791
+ eval enable_$ac_useropt=\$ac_optarg ;;
792
+
793
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
794
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
795
+ | --exec | --exe | --ex)
796
+ ac_prev=exec_prefix ;;
797
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
798
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
799
+ | --exec=* | --exe=* | --ex=*)
800
+ exec_prefix=$ac_optarg ;;
801
+
802
+ -gas | --gas | --ga | --g)
803
+ # Obsolete; use --with-gas.
804
+ with_gas=yes ;;
805
+
806
+ -help | --help | --hel | --he | -h)
807
+ ac_init_help=long ;;
808
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
809
+ ac_init_help=recursive ;;
810
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
811
+ ac_init_help=short ;;
812
+
813
+ -host | --host | --hos | --ho)
814
+ ac_prev=host_alias ;;
815
+ -host=* | --host=* | --hos=* | --ho=*)
816
+ host_alias=$ac_optarg ;;
817
+
818
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
819
+ ac_prev=htmldir ;;
820
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
821
+ | --ht=*)
822
+ htmldir=$ac_optarg ;;
823
+
824
+ -includedir | --includedir | --includedi | --included | --include \
825
+ | --includ | --inclu | --incl | --inc)
826
+ ac_prev=includedir ;;
827
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
828
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
829
+ includedir=$ac_optarg ;;
830
+
831
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
832
+ ac_prev=infodir ;;
833
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
834
+ infodir=$ac_optarg ;;
835
+
836
+ -libdir | --libdir | --libdi | --libd)
837
+ ac_prev=libdir ;;
838
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
839
+ libdir=$ac_optarg ;;
840
+
841
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
842
+ | --libexe | --libex | --libe)
843
+ ac_prev=libexecdir ;;
844
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
845
+ | --libexe=* | --libex=* | --libe=*)
846
+ libexecdir=$ac_optarg ;;
847
+
848
+ -localedir | --localedir | --localedi | --localed | --locale)
849
+ ac_prev=localedir ;;
850
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
851
+ localedir=$ac_optarg ;;
852
+
853
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
854
+ | --localstate | --localstat | --localsta | --localst | --locals)
855
+ ac_prev=localstatedir ;;
856
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
857
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
858
+ localstatedir=$ac_optarg ;;
859
+
860
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
861
+ ac_prev=mandir ;;
862
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
863
+ mandir=$ac_optarg ;;
864
+
865
+ -nfp | --nfp | --nf)
866
+ # Obsolete; use --without-fp.
867
+ with_fp=no ;;
868
+
869
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
870
+ | --no-cr | --no-c | -n)
871
+ no_create=yes ;;
872
+
873
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
874
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
875
+ no_recursion=yes ;;
876
+
877
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
878
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
879
+ | --oldin | --oldi | --old | --ol | --o)
880
+ ac_prev=oldincludedir ;;
881
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
882
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
883
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
884
+ oldincludedir=$ac_optarg ;;
885
+
886
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
887
+ ac_prev=prefix ;;
888
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
889
+ prefix=$ac_optarg ;;
890
+
891
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
892
+ | --program-pre | --program-pr | --program-p)
893
+ ac_prev=program_prefix ;;
894
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
895
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
896
+ program_prefix=$ac_optarg ;;
897
+
898
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
899
+ | --program-suf | --program-su | --program-s)
900
+ ac_prev=program_suffix ;;
901
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
902
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
903
+ program_suffix=$ac_optarg ;;
904
+
905
+ -program-transform-name | --program-transform-name \
906
+ | --program-transform-nam | --program-transform-na \
907
+ | --program-transform-n | --program-transform- \
908
+ | --program-transform | --program-transfor \
909
+ | --program-transfo | --program-transf \
910
+ | --program-trans | --program-tran \
911
+ | --progr-tra | --program-tr | --program-t)
912
+ ac_prev=program_transform_name ;;
913
+ -program-transform-name=* | --program-transform-name=* \
914
+ | --program-transform-nam=* | --program-transform-na=* \
915
+ | --program-transform-n=* | --program-transform-=* \
916
+ | --program-transform=* | --program-transfor=* \
917
+ | --program-transfo=* | --program-transf=* \
918
+ | --program-trans=* | --program-tran=* \
919
+ | --progr-tra=* | --program-tr=* | --program-t=*)
920
+ program_transform_name=$ac_optarg ;;
921
+
922
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
923
+ ac_prev=pdfdir ;;
924
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
925
+ pdfdir=$ac_optarg ;;
926
+
927
+ -psdir | --psdir | --psdi | --psd | --ps)
928
+ ac_prev=psdir ;;
929
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
930
+ psdir=$ac_optarg ;;
931
+
932
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
933
+ | -silent | --silent | --silen | --sile | --sil)
934
+ silent=yes ;;
935
+
936
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
937
+ ac_prev=sbindir ;;
938
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
939
+ | --sbi=* | --sb=*)
940
+ sbindir=$ac_optarg ;;
941
+
942
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
943
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
944
+ | --sharedst | --shareds | --shared | --share | --shar \
945
+ | --sha | --sh)
946
+ ac_prev=sharedstatedir ;;
947
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
948
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
949
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
950
+ | --sha=* | --sh=*)
951
+ sharedstatedir=$ac_optarg ;;
952
+
953
+ -site | --site | --sit)
954
+ ac_prev=site ;;
955
+ -site=* | --site=* | --sit=*)
956
+ site=$ac_optarg ;;
957
+
958
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
959
+ ac_prev=srcdir ;;
960
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
961
+ srcdir=$ac_optarg ;;
962
+
963
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
964
+ | --syscon | --sysco | --sysc | --sys | --sy)
965
+ ac_prev=sysconfdir ;;
966
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
967
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
968
+ sysconfdir=$ac_optarg ;;
969
+
970
+ -target | --target | --targe | --targ | --tar | --ta | --t)
971
+ ac_prev=target_alias ;;
972
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
973
+ target_alias=$ac_optarg ;;
974
+
975
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
976
+ verbose=yes ;;
977
+
978
+ -version | --version | --versio | --versi | --vers | -V)
979
+ ac_init_version=: ;;
980
+
981
+ -with-* | --with-*)
982
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
983
+ # Reject names that are not valid shell variable names.
984
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
985
+ as_fn_error $? "invalid package name: $ac_useropt"
986
+ ac_useropt_orig=$ac_useropt
987
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988
+ case $ac_user_opts in
989
+ *"
990
+ "with_$ac_useropt"
991
+ "*) ;;
992
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
993
+ ac_unrecognized_sep=', ';;
994
+ esac
995
+ eval with_$ac_useropt=\$ac_optarg ;;
996
+
997
+ -without-* | --without-*)
998
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
999
+ # Reject names that are not valid shell variable names.
1000
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1001
+ as_fn_error $? "invalid package name: $ac_useropt"
1002
+ ac_useropt_orig=$ac_useropt
1003
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004
+ case $ac_user_opts in
1005
+ *"
1006
+ "with_$ac_useropt"
1007
+ "*) ;;
1008
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1009
+ ac_unrecognized_sep=', ';;
1010
+ esac
1011
+ eval with_$ac_useropt=no ;;
1012
+
1013
+ --x)
1014
+ # Obsolete; use --with-x.
1015
+ with_x=yes ;;
1016
+
1017
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1018
+ | --x-incl | --x-inc | --x-in | --x-i)
1019
+ ac_prev=x_includes ;;
1020
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1021
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1022
+ x_includes=$ac_optarg ;;
1023
+
1024
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
1025
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1026
+ ac_prev=x_libraries ;;
1027
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1028
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1029
+ x_libraries=$ac_optarg ;;
1030
+
1031
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
1032
+ Try \`$0 --help' for more information"
1033
+ ;;
1034
+
1035
+ *=*)
1036
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1037
+ # Reject names that are not valid shell variable names.
1038
+ case $ac_envvar in #(
1039
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
1040
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1041
+ esac
1042
+ eval $ac_envvar=\$ac_optarg
1043
+ export $ac_envvar ;;
1044
+
1045
+ *)
1046
+ # FIXME: should be removed in autoconf 3.0.
1047
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1048
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1049
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1050
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1051
+ ;;
1052
+
1053
+ esac
1054
+ done
1055
+
1056
+ if test -n "$ac_prev"; then
1057
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1058
+ as_fn_error $? "missing argument to $ac_option"
1059
+ fi
1060
+
1061
+ if test -n "$ac_unrecognized_opts"; then
1062
+ case $enable_option_checking in
1063
+ no) ;;
1064
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1065
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1066
+ esac
1067
+ fi
1068
+
1069
+ # Check all directory arguments for consistency.
1070
+ for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1071
+ datadir sysconfdir sharedstatedir localstatedir includedir \
1072
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1073
+ libdir localedir mandir
1074
+ do
1075
+ eval ac_val=\$$ac_var
1076
+ # Remove trailing slashes.
1077
+ case $ac_val in
1078
+ */ )
1079
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1080
+ eval $ac_var=\$ac_val;;
1081
+ esac
1082
+ # Be sure to have absolute directory names.
1083
+ case $ac_val in
1084
+ [\\/$]* | ?:[\\/]* ) continue;;
1085
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1086
+ esac
1087
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1088
+ done
1089
+
1090
+ # There might be people who depend on the old broken behavior: `$host'
1091
+ # used to hold the argument of --host etc.
1092
+ # FIXME: To remove some day.
1093
+ build=$build_alias
1094
+ host=$host_alias
1095
+ target=$target_alias
1096
+
1097
+ # FIXME: To remove some day.
1098
+ if test "x$host_alias" != x; then
1099
+ if test "x$build_alias" = x; then
1100
+ cross_compiling=maybe
1101
+ elif test "x$build_alias" != "x$host_alias"; then
1102
+ cross_compiling=yes
1103
+ fi
1104
+ fi
1105
+
1106
+ ac_tool_prefix=
1107
+ test -n "$host_alias" && ac_tool_prefix=$host_alias-
1108
+
1109
+ test "$silent" = yes && exec 6>/dev/null
1110
+
1111
+
1112
+ ac_pwd=`pwd` && test -n "$ac_pwd" &&
1113
+ ac_ls_di=`ls -di .` &&
1114
+ ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1115
+ as_fn_error $? "working directory cannot be determined"
1116
+ test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1117
+ as_fn_error $? "pwd does not report name of working directory"
1118
+
1119
+
1120
+ # Find the source files, if location was not specified.
1121
+ if test -z "$srcdir"; then
1122
+ ac_srcdir_defaulted=yes
1123
+ # Try the directory containing this script, then the parent directory.
1124
+ ac_confdir=`$as_dirname -- "$as_myself" ||
1125
+ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1126
+ X"$as_myself" : 'X\(//\)[^/]' \| \
1127
+ X"$as_myself" : 'X\(//\)$' \| \
1128
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1129
+ $as_echo X"$as_myself" |
1130
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1131
+ s//\1/
1132
+ q
1133
+ }
1134
+ /^X\(\/\/\)[^/].*/{
1135
+ s//\1/
1136
+ q
1137
+ }
1138
+ /^X\(\/\/\)$/{
1139
+ s//\1/
1140
+ q
1141
+ }
1142
+ /^X\(\/\).*/{
1143
+ s//\1/
1144
+ q
1145
+ }
1146
+ s/.*/./; q'`
1147
+ srcdir=$ac_confdir
1148
+ if test ! -r "$srcdir/$ac_unique_file"; then
1149
+ srcdir=..
1150
+ fi
1151
+ else
1152
+ ac_srcdir_defaulted=no
1153
+ fi
1154
+ if test ! -r "$srcdir/$ac_unique_file"; then
1155
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1156
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1157
+ fi
1158
+ ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1159
+ ac_abs_confdir=`(
1160
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1161
+ pwd)`
1162
+ # When building in place, set srcdir=.
1163
+ if test "$ac_abs_confdir" = "$ac_pwd"; then
1164
+ srcdir=.
1165
+ fi
1166
+ # Remove unnecessary trailing slashes from srcdir.
1167
+ # Double slashes in file names in object file debugging info
1168
+ # mess up M-x gdb in Emacs.
1169
+ case $srcdir in
1170
+ */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1171
+ esac
1172
+ for ac_var in $ac_precious_vars; do
1173
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1174
+ eval ac_env_${ac_var}_value=\$${ac_var}
1175
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1176
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1177
+ done
1178
+
1179
+ #
1180
+ # Report the --help message.
1181
+ #
1182
+ if test "$ac_init_help" = "long"; then
1183
+ # Omit some internal or obsolete options to make the list less imposing.
1184
+ # This message is too long to be a string in the A/UX 3.1 sh.
1185
+ cat <<_ACEOF
1186
+ \`configure' configures libjsonparser 1.1.0 to adapt to many kinds of systems.
1187
+
1188
+ Usage: $0 [OPTION]... [VAR=VALUE]...
1189
+
1190
+ To assign environment variables (e.g., CC, CFLAGS...), specify them as
1191
+ VAR=VALUE. See below for descriptions of some of the useful variables.
1192
+
1193
+ Defaults for the options are specified in brackets.
1194
+
1195
+ Configuration:
1196
+ -h, --help display this help and exit
1197
+ --help=short display options specific to this package
1198
+ --help=recursive display the short help of all the included packages
1199
+ -V, --version display version information and exit
1200
+ -q, --quiet, --silent do not print \`checking ...' messages
1201
+ --cache-file=FILE cache test results in FILE [disabled]
1202
+ -C, --config-cache alias for \`--cache-file=config.cache'
1203
+ -n, --no-create do not create output files
1204
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
1205
+
1206
+ Installation directories:
1207
+ --prefix=PREFIX install architecture-independent files in PREFIX
1208
+ [$ac_default_prefix]
1209
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1210
+ [PREFIX]
1211
+
1212
+ By default, \`make install' will install all the files in
1213
+ \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1214
+ an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1215
+ for instance \`--prefix=\$HOME'.
1216
+
1217
+ For better control, use the options below.
1218
+
1219
+ Fine tuning of the installation directories:
1220
+ --bindir=DIR user executables [EPREFIX/bin]
1221
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1222
+ --libexecdir=DIR program executables [EPREFIX/libexec]
1223
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1224
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1225
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1226
+ --libdir=DIR object code libraries [EPREFIX/lib]
1227
+ --includedir=DIR C header files [PREFIX/include]
1228
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1229
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1230
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1231
+ --infodir=DIR info documentation [DATAROOTDIR/info]
1232
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1233
+ --mandir=DIR man documentation [DATAROOTDIR/man]
1234
+ --docdir=DIR documentation root [DATAROOTDIR/doc/libjsonparser]
1235
+ --htmldir=DIR html documentation [DOCDIR]
1236
+ --dvidir=DIR dvi documentation [DOCDIR]
1237
+ --pdfdir=DIR pdf documentation [DOCDIR]
1238
+ --psdir=DIR ps documentation [DOCDIR]
1239
+ _ACEOF
1240
+
1241
+ cat <<\_ACEOF
1242
+ _ACEOF
1243
+ fi
1244
+
1245
+ if test -n "$ac_init_help"; then
1246
+ case $ac_init_help in
1247
+ short | recursive ) echo "Configuration of libjsonparser 1.1.0:";;
1248
+ esac
1249
+ cat <<\_ACEOF
1250
+
1251
+ Optional Features:
1252
+ --disable-option-checking ignore unrecognized --enable/--with options
1253
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1254
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1255
+ --enable-debug Build a debug version of json-parser
1256
+ [default=disabled]
1257
+
1258
+ Some influential environment variables:
1259
+ CC C compiler command
1260
+ CFLAGS C compiler flags
1261
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1262
+ nonstandard directory <lib dir>
1263
+ LIBS libraries to pass to the linker, e.g. -l<library>
1264
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1265
+ you have headers in a nonstandard directory <include dir>
1266
+
1267
+ Use these variables to override the choices made by `configure' or to help
1268
+ it to find libraries and programs with nonstandard names/locations.
1269
+
1270
+ Report bugs to the package provider.
1271
+ _ACEOF
1272
+ ac_status=$?
1273
+ fi
1274
+
1275
+ if test "$ac_init_help" = "recursive"; then
1276
+ # If there are subdirs, report their specific --help.
1277
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1278
+ test -d "$ac_dir" ||
1279
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1280
+ continue
1281
+ ac_builddir=.
1282
+
1283
+ case "$ac_dir" in
1284
+ .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1285
+ *)
1286
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1287
+ # A ".." for each directory in $ac_dir_suffix.
1288
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1289
+ case $ac_top_builddir_sub in
1290
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1291
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1292
+ esac ;;
1293
+ esac
1294
+ ac_abs_top_builddir=$ac_pwd
1295
+ ac_abs_builddir=$ac_pwd$ac_dir_suffix
1296
+ # for backward compatibility:
1297
+ ac_top_builddir=$ac_top_build_prefix
1298
+
1299
+ case $srcdir in
1300
+ .) # We are building in place.
1301
+ ac_srcdir=.
1302
+ ac_top_srcdir=$ac_top_builddir_sub
1303
+ ac_abs_top_srcdir=$ac_pwd ;;
1304
+ [\\/]* | ?:[\\/]* ) # Absolute name.
1305
+ ac_srcdir=$srcdir$ac_dir_suffix;
1306
+ ac_top_srcdir=$srcdir
1307
+ ac_abs_top_srcdir=$srcdir ;;
1308
+ *) # Relative name.
1309
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1310
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1311
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1312
+ esac
1313
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1314
+
1315
+ cd "$ac_dir" || { ac_status=$?; continue; }
1316
+ # Check for guested configure.
1317
+ if test -f "$ac_srcdir/configure.gnu"; then
1318
+ echo &&
1319
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1320
+ elif test -f "$ac_srcdir/configure"; then
1321
+ echo &&
1322
+ $SHELL "$ac_srcdir/configure" --help=recursive
1323
+ else
1324
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1325
+ fi || ac_status=$?
1326
+ cd "$ac_pwd" || { ac_status=$?; break; }
1327
+ done
1328
+ fi
1329
+
1330
+ test -n "$ac_init_help" && exit $ac_status
1331
+ if $ac_init_version; then
1332
+ cat <<\_ACEOF
1333
+ libjsonparser configure 1.1.0
1334
+ generated by GNU Autoconf 2.69
1335
+
1336
+ Copyright (C) 2012 Free Software Foundation, Inc.
1337
+ This configure script is free software; the Free Software Foundation
1338
+ gives unlimited permission to copy, distribute and modify it.
1339
+ _ACEOF
1340
+ exit
1341
+ fi
1342
+
1343
+ ## ------------------------ ##
1344
+ ## Autoconf initialization. ##
1345
+ ## ------------------------ ##
1346
+
1347
+ # ac_fn_c_try_compile LINENO
1348
+ # --------------------------
1349
+ # Try to compile conftest.$ac_ext, and return whether this succeeded.
1350
+ ac_fn_c_try_compile ()
1351
+ {
1352
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1353
+ rm -f conftest.$ac_objext
1354
+ if { { ac_try="$ac_compile"
1355
+ case "(($ac_try" in
1356
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1357
+ *) ac_try_echo=$ac_try;;
1358
+ esac
1359
+ eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1360
+ $as_echo "$ac_try_echo"; } >&5
1361
+ (eval "$ac_compile") 2>conftest.err
1362
+ ac_status=$?
1363
+ if test -s conftest.err; then
1364
+ grep -v '^ *+' conftest.err >conftest.er1
1365
+ cat conftest.er1 >&5
1366
+ mv -f conftest.er1 conftest.err
1367
+ fi
1368
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1369
+ test $ac_status = 0; } && {
1370
+ test -z "$ac_c_werror_flag" ||
1371
+ test ! -s conftest.err
1372
+ } && test -s conftest.$ac_objext; then :
1373
+ ac_retval=0
1374
+ else
1375
+ $as_echo "$as_me: failed program was:" >&5
1376
+ sed 's/^/| /' conftest.$ac_ext >&5
1377
+
1378
+ ac_retval=1
1379
+ fi
1380
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1381
+ as_fn_set_status $ac_retval
1382
+
1383
+ } # ac_fn_c_try_compile
1384
+ cat >config.log <<_ACEOF
1385
+ This file contains any messages produced by compilers while
1386
+ running configure, to aid debugging if configure makes a mistake.
1387
+
1388
+ It was created by libjsonparser $as_me 1.1.0, which was
1389
+ generated by GNU Autoconf 2.69. Invocation command line was
1390
+
1391
+ $ $0 $@
1392
+
1393
+ _ACEOF
1394
+ exec 5>>config.log
1395
+ {
1396
+ cat <<_ASUNAME
1397
+ ## --------- ##
1398
+ ## Platform. ##
1399
+ ## --------- ##
1400
+
1401
+ hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1402
+ uname -m = `(uname -m) 2>/dev/null || echo unknown`
1403
+ uname -r = `(uname -r) 2>/dev/null || echo unknown`
1404
+ uname -s = `(uname -s) 2>/dev/null || echo unknown`
1405
+ uname -v = `(uname -v) 2>/dev/null || echo unknown`
1406
+
1407
+ /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1408
+ /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1409
+
1410
+ /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1411
+ /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1412
+ /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1413
+ /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1414
+ /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1415
+ /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1416
+ /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1417
+
1418
+ _ASUNAME
1419
+
1420
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1421
+ for as_dir in $PATH
1422
+ do
1423
+ IFS=$as_save_IFS
1424
+ test -z "$as_dir" && as_dir=.
1425
+ $as_echo "PATH: $as_dir"
1426
+ done
1427
+ IFS=$as_save_IFS
1428
+
1429
+ } >&5
1430
+
1431
+ cat >&5 <<_ACEOF
1432
+
1433
+
1434
+ ## ----------- ##
1435
+ ## Core tests. ##
1436
+ ## ----------- ##
1437
+
1438
+ _ACEOF
1439
+
1440
+
1441
+ # Keep a trace of the command line.
1442
+ # Strip out --no-create and --no-recursion so they do not pile up.
1443
+ # Strip out --silent because we don't want to record it for future runs.
1444
+ # Also quote any args containing shell meta-characters.
1445
+ # Make two passes to allow for proper duplicate-argument suppression.
1446
+ ac_configure_args=
1447
+ ac_configure_args0=
1448
+ ac_configure_args1=
1449
+ ac_must_keep_next=false
1450
+ for ac_pass in 1 2
1451
+ do
1452
+ for ac_arg
1453
+ do
1454
+ case $ac_arg in
1455
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1456
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1457
+ | -silent | --silent | --silen | --sile | --sil)
1458
+ continue ;;
1459
+ *\'*)
1460
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1461
+ esac
1462
+ case $ac_pass in
1463
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1464
+ 2)
1465
+ as_fn_append ac_configure_args1 " '$ac_arg'"
1466
+ if test $ac_must_keep_next = true; then
1467
+ ac_must_keep_next=false # Got value, back to normal.
1468
+ else
1469
+ case $ac_arg in
1470
+ *=* | --config-cache | -C | -disable-* | --disable-* \
1471
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1472
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1473
+ | -with-* | --with-* | -without-* | --without-* | --x)
1474
+ case "$ac_configure_args0 " in
1475
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1476
+ esac
1477
+ ;;
1478
+ -* ) ac_must_keep_next=true ;;
1479
+ esac
1480
+ fi
1481
+ as_fn_append ac_configure_args " '$ac_arg'"
1482
+ ;;
1483
+ esac
1484
+ done
1485
+ done
1486
+ { ac_configure_args0=; unset ac_configure_args0;}
1487
+ { ac_configure_args1=; unset ac_configure_args1;}
1488
+
1489
+ # When interrupted or exit'd, cleanup temporary files, and complete
1490
+ # config.log. We remove comments because anyway the quotes in there
1491
+ # would cause problems or look ugly.
1492
+ # WARNING: Use '\'' to represent an apostrophe within the trap.
1493
+ # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1494
+ trap 'exit_status=$?
1495
+ # Save into config.log some information that might help in debugging.
1496
+ {
1497
+ echo
1498
+
1499
+ $as_echo "## ---------------- ##
1500
+ ## Cache variables. ##
1501
+ ## ---------------- ##"
1502
+ echo
1503
+ # The following way of writing the cache mishandles newlines in values,
1504
+ (
1505
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1506
+ eval ac_val=\$$ac_var
1507
+ case $ac_val in #(
1508
+ *${as_nl}*)
1509
+ case $ac_var in #(
1510
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1511
+ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1512
+ esac
1513
+ case $ac_var in #(
1514
+ _ | IFS | as_nl) ;; #(
1515
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1516
+ *) { eval $ac_var=; unset $ac_var;} ;;
1517
+ esac ;;
1518
+ esac
1519
+ done
1520
+ (set) 2>&1 |
1521
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1522
+ *${as_nl}ac_space=\ *)
1523
+ sed -n \
1524
+ "s/'\''/'\''\\\\'\'''\''/g;
1525
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1526
+ ;; #(
1527
+ *)
1528
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1529
+ ;;
1530
+ esac |
1531
+ sort
1532
+ )
1533
+ echo
1534
+
1535
+ $as_echo "## ----------------- ##
1536
+ ## Output variables. ##
1537
+ ## ----------------- ##"
1538
+ echo
1539
+ for ac_var in $ac_subst_vars
1540
+ do
1541
+ eval ac_val=\$$ac_var
1542
+ case $ac_val in
1543
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1544
+ esac
1545
+ $as_echo "$ac_var='\''$ac_val'\''"
1546
+ done | sort
1547
+ echo
1548
+
1549
+ if test -n "$ac_subst_files"; then
1550
+ $as_echo "## ------------------- ##
1551
+ ## File substitutions. ##
1552
+ ## ------------------- ##"
1553
+ echo
1554
+ for ac_var in $ac_subst_files
1555
+ do
1556
+ eval ac_val=\$$ac_var
1557
+ case $ac_val in
1558
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1559
+ esac
1560
+ $as_echo "$ac_var='\''$ac_val'\''"
1561
+ done | sort
1562
+ echo
1563
+ fi
1564
+
1565
+ if test -s confdefs.h; then
1566
+ $as_echo "## ----------- ##
1567
+ ## confdefs.h. ##
1568
+ ## ----------- ##"
1569
+ echo
1570
+ cat confdefs.h
1571
+ echo
1572
+ fi
1573
+ test "$ac_signal" != 0 &&
1574
+ $as_echo "$as_me: caught signal $ac_signal"
1575
+ $as_echo "$as_me: exit $exit_status"
1576
+ } >&5
1577
+ rm -f core *.core core.conftest.* &&
1578
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1579
+ exit $exit_status
1580
+ ' 0
1581
+ for ac_signal in 1 2 13 15; do
1582
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1583
+ done
1584
+ ac_signal=0
1585
+
1586
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
1587
+ rm -f -r conftest* confdefs.h
1588
+
1589
+ $as_echo "/* confdefs.h */" > confdefs.h
1590
+
1591
+ # Predefined preprocessor variables.
1592
+
1593
+ cat >>confdefs.h <<_ACEOF
1594
+ #define PACKAGE_NAME "$PACKAGE_NAME"
1595
+ _ACEOF
1596
+
1597
+ cat >>confdefs.h <<_ACEOF
1598
+ #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1599
+ _ACEOF
1600
+
1601
+ cat >>confdefs.h <<_ACEOF
1602
+ #define PACKAGE_VERSION "$PACKAGE_VERSION"
1603
+ _ACEOF
1604
+
1605
+ cat >>confdefs.h <<_ACEOF
1606
+ #define PACKAGE_STRING "$PACKAGE_STRING"
1607
+ _ACEOF
1608
+
1609
+ cat >>confdefs.h <<_ACEOF
1610
+ #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1611
+ _ACEOF
1612
+
1613
+ cat >>confdefs.h <<_ACEOF
1614
+ #define PACKAGE_URL "$PACKAGE_URL"
1615
+ _ACEOF
1616
+
1617
+
1618
+ # Let the site file select an alternate cache file if it wants to.
1619
+ # Prefer an explicitly selected file to automatically selected ones.
1620
+ ac_site_file1=NONE
1621
+ ac_site_file2=NONE
1622
+ if test -n "$CONFIG_SITE"; then
1623
+ # We do not want a PATH search for config.site.
1624
+ case $CONFIG_SITE in #((
1625
+ -*) ac_site_file1=./$CONFIG_SITE;;
1626
+ */*) ac_site_file1=$CONFIG_SITE;;
1627
+ *) ac_site_file1=./$CONFIG_SITE;;
1628
+ esac
1629
+ elif test "x$prefix" != xNONE; then
1630
+ ac_site_file1=$prefix/share/config.site
1631
+ ac_site_file2=$prefix/etc/config.site
1632
+ else
1633
+ ac_site_file1=$ac_default_prefix/share/config.site
1634
+ ac_site_file2=$ac_default_prefix/etc/config.site
1635
+ fi
1636
+ for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1637
+ do
1638
+ test "x$ac_site_file" = xNONE && continue
1639
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1640
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1641
+ $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1642
+ sed 's/^/| /' "$ac_site_file" >&5
1643
+ . "$ac_site_file" \
1644
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1645
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1646
+ as_fn_error $? "failed to load site script $ac_site_file
1647
+ See \`config.log' for more details" "$LINENO" 5; }
1648
+ fi
1649
+ done
1650
+
1651
+ if test -r "$cache_file"; then
1652
+ # Some versions of bash will fail to source /dev/null (special files
1653
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1654
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1655
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1656
+ $as_echo "$as_me: loading cache $cache_file" >&6;}
1657
+ case $cache_file in
1658
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
1659
+ *) . "./$cache_file";;
1660
+ esac
1661
+ fi
1662
+ else
1663
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1664
+ $as_echo "$as_me: creating cache $cache_file" >&6;}
1665
+ >$cache_file
1666
+ fi
1667
+
1668
+ # Check that the precious variables saved in the cache have kept the same
1669
+ # value.
1670
+ ac_cache_corrupted=false
1671
+ for ac_var in $ac_precious_vars; do
1672
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
1673
+ eval ac_new_set=\$ac_env_${ac_var}_set
1674
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
1675
+ eval ac_new_val=\$ac_env_${ac_var}_value
1676
+ case $ac_old_set,$ac_new_set in
1677
+ set,)
1678
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1679
+ $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1680
+ ac_cache_corrupted=: ;;
1681
+ ,set)
1682
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1683
+ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1684
+ ac_cache_corrupted=: ;;
1685
+ ,);;
1686
+ *)
1687
+ if test "x$ac_old_val" != "x$ac_new_val"; then
1688
+ # differences in whitespace do not lead to failure.
1689
+ ac_old_val_w=`echo x $ac_old_val`
1690
+ ac_new_val_w=`echo x $ac_new_val`
1691
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
1692
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1693
+ $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1694
+ ac_cache_corrupted=:
1695
+ else
1696
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1697
+ $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1698
+ eval $ac_var=\$ac_old_val
1699
+ fi
1700
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1701
+ $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1702
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1703
+ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1704
+ fi;;
1705
+ esac
1706
+ # Pass precious variables to config.status.
1707
+ if test "$ac_new_set" = set; then
1708
+ case $ac_new_val in
1709
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1710
+ *) ac_arg=$ac_var=$ac_new_val ;;
1711
+ esac
1712
+ case " $ac_configure_args " in
1713
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1714
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1715
+ esac
1716
+ fi
1717
+ done
1718
+ if $ac_cache_corrupted; then
1719
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1720
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1721
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1722
+ $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1723
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1724
+ fi
1725
+ ## -------------------- ##
1726
+ ## Main body of script. ##
1727
+ ## -------------------- ##
1728
+
1729
+ ac_ext=c
1730
+ ac_cpp='$CPP $CPPFLAGS'
1731
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1732
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1733
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1734
+
1735
+
1736
+ VERSION_MAJOR="1.0"
1737
+
1738
+
1739
+
1740
+ ac_ext=c
1741
+ ac_cpp='$CPP $CPPFLAGS'
1742
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1743
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1744
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1745
+ if test -n "$ac_tool_prefix"; then
1746
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1747
+ set dummy ${ac_tool_prefix}gcc; ac_word=$2
1748
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1749
+ $as_echo_n "checking for $ac_word... " >&6; }
1750
+ if ${ac_cv_prog_CC+:} false; then :
1751
+ $as_echo_n "(cached) " >&6
1752
+ else
1753
+ if test -n "$CC"; then
1754
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1755
+ else
1756
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1757
+ for as_dir in $PATH
1758
+ do
1759
+ IFS=$as_save_IFS
1760
+ test -z "$as_dir" && as_dir=.
1761
+ for ac_exec_ext in '' $ac_executable_extensions; do
1762
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
1764
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1765
+ break 2
1766
+ fi
1767
+ done
1768
+ done
1769
+ IFS=$as_save_IFS
1770
+
1771
+ fi
1772
+ fi
1773
+ CC=$ac_cv_prog_CC
1774
+ if test -n "$CC"; then
1775
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1776
+ $as_echo "$CC" >&6; }
1777
+ else
1778
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1779
+ $as_echo "no" >&6; }
1780
+ fi
1781
+
1782
+
1783
+ fi
1784
+ if test -z "$ac_cv_prog_CC"; then
1785
+ ac_ct_CC=$CC
1786
+ # Extract the first word of "gcc", so it can be a program name with args.
1787
+ set dummy gcc; ac_word=$2
1788
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1789
+ $as_echo_n "checking for $ac_word... " >&6; }
1790
+ if ${ac_cv_prog_ac_ct_CC+:} false; then :
1791
+ $as_echo_n "(cached) " >&6
1792
+ else
1793
+ if test -n "$ac_ct_CC"; then
1794
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1795
+ else
1796
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797
+ for as_dir in $PATH
1798
+ do
1799
+ IFS=$as_save_IFS
1800
+ test -z "$as_dir" && as_dir=.
1801
+ for ac_exec_ext in '' $ac_executable_extensions; do
1802
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1803
+ ac_cv_prog_ac_ct_CC="gcc"
1804
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1805
+ break 2
1806
+ fi
1807
+ done
1808
+ done
1809
+ IFS=$as_save_IFS
1810
+
1811
+ fi
1812
+ fi
1813
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
1814
+ if test -n "$ac_ct_CC"; then
1815
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1816
+ $as_echo "$ac_ct_CC" >&6; }
1817
+ else
1818
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1819
+ $as_echo "no" >&6; }
1820
+ fi
1821
+
1822
+ if test "x$ac_ct_CC" = x; then
1823
+ CC=""
1824
+ else
1825
+ case $cross_compiling:$ac_tool_warned in
1826
+ yes:)
1827
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1828
+ $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1829
+ ac_tool_warned=yes ;;
1830
+ esac
1831
+ CC=$ac_ct_CC
1832
+ fi
1833
+ else
1834
+ CC="$ac_cv_prog_CC"
1835
+ fi
1836
+
1837
+ if test -z "$CC"; then
1838
+ if test -n "$ac_tool_prefix"; then
1839
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1840
+ set dummy ${ac_tool_prefix}cc; ac_word=$2
1841
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1842
+ $as_echo_n "checking for $ac_word... " >&6; }
1843
+ if ${ac_cv_prog_CC+:} false; then :
1844
+ $as_echo_n "(cached) " >&6
1845
+ else
1846
+ if test -n "$CC"; then
1847
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1848
+ else
1849
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1850
+ for as_dir in $PATH
1851
+ do
1852
+ IFS=$as_save_IFS
1853
+ test -z "$as_dir" && as_dir=.
1854
+ for ac_exec_ext in '' $ac_executable_extensions; do
1855
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1856
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
1857
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1858
+ break 2
1859
+ fi
1860
+ done
1861
+ done
1862
+ IFS=$as_save_IFS
1863
+
1864
+ fi
1865
+ fi
1866
+ CC=$ac_cv_prog_CC
1867
+ if test -n "$CC"; then
1868
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1869
+ $as_echo "$CC" >&6; }
1870
+ else
1871
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1872
+ $as_echo "no" >&6; }
1873
+ fi
1874
+
1875
+
1876
+ fi
1877
+ fi
1878
+ if test -z "$CC"; then
1879
+ # Extract the first word of "cc", so it can be a program name with args.
1880
+ set dummy cc; ac_word=$2
1881
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1882
+ $as_echo_n "checking for $ac_word... " >&6; }
1883
+ if ${ac_cv_prog_CC+:} false; then :
1884
+ $as_echo_n "(cached) " >&6
1885
+ else
1886
+ if test -n "$CC"; then
1887
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1888
+ else
1889
+ ac_prog_rejected=no
1890
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891
+ for as_dir in $PATH
1892
+ do
1893
+ IFS=$as_save_IFS
1894
+ test -z "$as_dir" && as_dir=.
1895
+ for ac_exec_ext in '' $ac_executable_extensions; do
1896
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1898
+ ac_prog_rejected=yes
1899
+ continue
1900
+ fi
1901
+ ac_cv_prog_CC="cc"
1902
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1903
+ break 2
1904
+ fi
1905
+ done
1906
+ done
1907
+ IFS=$as_save_IFS
1908
+
1909
+ if test $ac_prog_rejected = yes; then
1910
+ # We found a bogon in the path, so make sure we never use it.
1911
+ set dummy $ac_cv_prog_CC
1912
+ shift
1913
+ if test $# != 0; then
1914
+ # We chose a different compiler from the bogus one.
1915
+ # However, it has the same basename, so the bogon will be chosen
1916
+ # first if we set CC to just the basename; use the full file name.
1917
+ shift
1918
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1919
+ fi
1920
+ fi
1921
+ fi
1922
+ fi
1923
+ CC=$ac_cv_prog_CC
1924
+ if test -n "$CC"; then
1925
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1926
+ $as_echo "$CC" >&6; }
1927
+ else
1928
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1929
+ $as_echo "no" >&6; }
1930
+ fi
1931
+
1932
+
1933
+ fi
1934
+ if test -z "$CC"; then
1935
+ if test -n "$ac_tool_prefix"; then
1936
+ for ac_prog in cl.exe
1937
+ do
1938
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1939
+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1940
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1941
+ $as_echo_n "checking for $ac_word... " >&6; }
1942
+ if ${ac_cv_prog_CC+:} false; then :
1943
+ $as_echo_n "(cached) " >&6
1944
+ else
1945
+ if test -n "$CC"; then
1946
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1947
+ else
1948
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1949
+ for as_dir in $PATH
1950
+ do
1951
+ IFS=$as_save_IFS
1952
+ test -z "$as_dir" && as_dir=.
1953
+ for ac_exec_ext in '' $ac_executable_extensions; do
1954
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1955
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1956
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1957
+ break 2
1958
+ fi
1959
+ done
1960
+ done
1961
+ IFS=$as_save_IFS
1962
+
1963
+ fi
1964
+ fi
1965
+ CC=$ac_cv_prog_CC
1966
+ if test -n "$CC"; then
1967
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1968
+ $as_echo "$CC" >&6; }
1969
+ else
1970
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1971
+ $as_echo "no" >&6; }
1972
+ fi
1973
+
1974
+
1975
+ test -n "$CC" && break
1976
+ done
1977
+ fi
1978
+ if test -z "$CC"; then
1979
+ ac_ct_CC=$CC
1980
+ for ac_prog in cl.exe
1981
+ do
1982
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
1983
+ set dummy $ac_prog; ac_word=$2
1984
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1985
+ $as_echo_n "checking for $ac_word... " >&6; }
1986
+ if ${ac_cv_prog_ac_ct_CC+:} false; then :
1987
+ $as_echo_n "(cached) " >&6
1988
+ else
1989
+ if test -n "$ac_ct_CC"; then
1990
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1991
+ else
1992
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993
+ for as_dir in $PATH
1994
+ do
1995
+ IFS=$as_save_IFS
1996
+ test -z "$as_dir" && as_dir=.
1997
+ for ac_exec_ext in '' $ac_executable_extensions; do
1998
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1999
+ ac_cv_prog_ac_ct_CC="$ac_prog"
2000
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2001
+ break 2
2002
+ fi
2003
+ done
2004
+ done
2005
+ IFS=$as_save_IFS
2006
+
2007
+ fi
2008
+ fi
2009
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
2010
+ if test -n "$ac_ct_CC"; then
2011
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2012
+ $as_echo "$ac_ct_CC" >&6; }
2013
+ else
2014
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2015
+ $as_echo "no" >&6; }
2016
+ fi
2017
+
2018
+
2019
+ test -n "$ac_ct_CC" && break
2020
+ done
2021
+
2022
+ if test "x$ac_ct_CC" = x; then
2023
+ CC=""
2024
+ else
2025
+ case $cross_compiling:$ac_tool_warned in
2026
+ yes:)
2027
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2028
+ $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2029
+ ac_tool_warned=yes ;;
2030
+ esac
2031
+ CC=$ac_ct_CC
2032
+ fi
2033
+ fi
2034
+
2035
+ fi
2036
+
2037
+
2038
+ test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2039
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2040
+ as_fn_error $? "no acceptable C compiler found in \$PATH
2041
+ See \`config.log' for more details" "$LINENO" 5; }
2042
+
2043
+ # Provide some information about the compiler.
2044
+ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2045
+ set X $ac_compile
2046
+ ac_compiler=$2
2047
+ for ac_option in --version -v -V -qversion; do
2048
+ { { ac_try="$ac_compiler $ac_option >&5"
2049
+ case "(($ac_try" in
2050
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2051
+ *) ac_try_echo=$ac_try;;
2052
+ esac
2053
+ eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2054
+ $as_echo "$ac_try_echo"; } >&5
2055
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2056
+ ac_status=$?
2057
+ if test -s conftest.err; then
2058
+ sed '10a\
2059
+ ... rest of stderr output deleted ...
2060
+ 10q' conftest.err >conftest.er1
2061
+ cat conftest.er1 >&5
2062
+ fi
2063
+ rm -f conftest.er1 conftest.err
2064
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2065
+ test $ac_status = 0; }
2066
+ done
2067
+
2068
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069
+ /* end confdefs.h. */
2070
+
2071
+ int
2072
+ main ()
2073
+ {
2074
+
2075
+ ;
2076
+ return 0;
2077
+ }
2078
+ _ACEOF
2079
+ ac_clean_files_save=$ac_clean_files
2080
+ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2081
+ # Try to create an executable without -o first, disregard a.out.
2082
+ # It will help us diagnose broken compilers, and finding out an intuition
2083
+ # of exeext.
2084
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2085
+ $as_echo_n "checking whether the C compiler works... " >&6; }
2086
+ ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2087
+
2088
+ # The possible output files:
2089
+ ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2090
+
2091
+ ac_rmfiles=
2092
+ for ac_file in $ac_files
2093
+ do
2094
+ case $ac_file in
2095
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2096
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2097
+ esac
2098
+ done
2099
+ rm -f $ac_rmfiles
2100
+
2101
+ if { { ac_try="$ac_link_default"
2102
+ case "(($ac_try" in
2103
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2104
+ *) ac_try_echo=$ac_try;;
2105
+ esac
2106
+ eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2107
+ $as_echo "$ac_try_echo"; } >&5
2108
+ (eval "$ac_link_default") 2>&5
2109
+ ac_status=$?
2110
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2111
+ test $ac_status = 0; }; then :
2112
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2113
+ # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2114
+ # in a Makefile. We should not override ac_cv_exeext if it was cached,
2115
+ # so that the user can short-circuit this test for compilers unknown to
2116
+ # Autoconf.
2117
+ for ac_file in $ac_files ''
2118
+ do
2119
+ test -f "$ac_file" || continue
2120
+ case $ac_file in
2121
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2122
+ ;;
2123
+ [ab].out )
2124
+ # We found the default executable, but exeext='' is most
2125
+ # certainly right.
2126
+ break;;
2127
+ *.* )
2128
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2129
+ then :; else
2130
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2131
+ fi
2132
+ # We set ac_cv_exeext here because the later test for it is not
2133
+ # safe: cross compilers may not add the suffix if given an `-o'
2134
+ # argument, so we may need to know it at that point already.
2135
+ # Even if this section looks crufty: it has the advantage of
2136
+ # actually working.
2137
+ break;;
2138
+ * )
2139
+ break;;
2140
+ esac
2141
+ done
2142
+ test "$ac_cv_exeext" = no && ac_cv_exeext=
2143
+
2144
+ else
2145
+ ac_file=''
2146
+ fi
2147
+ if test -z "$ac_file"; then :
2148
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2149
+ $as_echo "no" >&6; }
2150
+ $as_echo "$as_me: failed program was:" >&5
2151
+ sed 's/^/| /' conftest.$ac_ext >&5
2152
+
2153
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2154
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2155
+ as_fn_error 77 "C compiler cannot create executables
2156
+ See \`config.log' for more details" "$LINENO" 5; }
2157
+ else
2158
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2159
+ $as_echo "yes" >&6; }
2160
+ fi
2161
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2162
+ $as_echo_n "checking for C compiler default output file name... " >&6; }
2163
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2164
+ $as_echo "$ac_file" >&6; }
2165
+ ac_exeext=$ac_cv_exeext
2166
+
2167
+ rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2168
+ ac_clean_files=$ac_clean_files_save
2169
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2170
+ $as_echo_n "checking for suffix of executables... " >&6; }
2171
+ if { { ac_try="$ac_link"
2172
+ case "(($ac_try" in
2173
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2174
+ *) ac_try_echo=$ac_try;;
2175
+ esac
2176
+ eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2177
+ $as_echo "$ac_try_echo"; } >&5
2178
+ (eval "$ac_link") 2>&5
2179
+ ac_status=$?
2180
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2181
+ test $ac_status = 0; }; then :
2182
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
2183
+ # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2184
+ # work properly (i.e., refer to `conftest.exe'), while it won't with
2185
+ # `rm'.
2186
+ for ac_file in conftest.exe conftest conftest.*; do
2187
+ test -f "$ac_file" || continue
2188
+ case $ac_file in
2189
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2190
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2191
+ break;;
2192
+ * ) break;;
2193
+ esac
2194
+ done
2195
+ else
2196
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198
+ as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2199
+ See \`config.log' for more details" "$LINENO" 5; }
2200
+ fi
2201
+ rm -f conftest conftest$ac_cv_exeext
2202
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2203
+ $as_echo "$ac_cv_exeext" >&6; }
2204
+
2205
+ rm -f conftest.$ac_ext
2206
+ EXEEXT=$ac_cv_exeext
2207
+ ac_exeext=$EXEEXT
2208
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209
+ /* end confdefs.h. */
2210
+ #include <stdio.h>
2211
+ int
2212
+ main ()
2213
+ {
2214
+ FILE *f = fopen ("conftest.out", "w");
2215
+ return ferror (f) || fclose (f) != 0;
2216
+
2217
+ ;
2218
+ return 0;
2219
+ }
2220
+ _ACEOF
2221
+ ac_clean_files="$ac_clean_files conftest.out"
2222
+ # Check that the compiler produces executables we can run. If not, either
2223
+ # the compiler is broken, or we cross compile.
2224
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2225
+ $as_echo_n "checking whether we are cross compiling... " >&6; }
2226
+ if test "$cross_compiling" != yes; then
2227
+ { { ac_try="$ac_link"
2228
+ case "(($ac_try" in
2229
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2230
+ *) ac_try_echo=$ac_try;;
2231
+ esac
2232
+ eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2233
+ $as_echo "$ac_try_echo"; } >&5
2234
+ (eval "$ac_link") 2>&5
2235
+ ac_status=$?
2236
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2237
+ test $ac_status = 0; }
2238
+ if { ac_try='./conftest$ac_cv_exeext'
2239
+ { { case "(($ac_try" in
2240
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2241
+ *) ac_try_echo=$ac_try;;
2242
+ esac
2243
+ eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2244
+ $as_echo "$ac_try_echo"; } >&5
2245
+ (eval "$ac_try") 2>&5
2246
+ ac_status=$?
2247
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2248
+ test $ac_status = 0; }; }; then
2249
+ cross_compiling=no
2250
+ else
2251
+ if test "$cross_compiling" = maybe; then
2252
+ cross_compiling=yes
2253
+ else
2254
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2255
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2256
+ as_fn_error $? "cannot run C compiled programs.
2257
+ If you meant to cross compile, use \`--host'.
2258
+ See \`config.log' for more details" "$LINENO" 5; }
2259
+ fi
2260
+ fi
2261
+ fi
2262
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2263
+ $as_echo "$cross_compiling" >&6; }
2264
+
2265
+ rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2266
+ ac_clean_files=$ac_clean_files_save
2267
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2268
+ $as_echo_n "checking for suffix of object files... " >&6; }
2269
+ if ${ac_cv_objext+:} false; then :
2270
+ $as_echo_n "(cached) " >&6
2271
+ else
2272
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273
+ /* end confdefs.h. */
2274
+
2275
+ int
2276
+ main ()
2277
+ {
2278
+
2279
+ ;
2280
+ return 0;
2281
+ }
2282
+ _ACEOF
2283
+ rm -f conftest.o conftest.obj
2284
+ if { { ac_try="$ac_compile"
2285
+ case "(($ac_try" in
2286
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2287
+ *) ac_try_echo=$ac_try;;
2288
+ esac
2289
+ eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2290
+ $as_echo "$ac_try_echo"; } >&5
2291
+ (eval "$ac_compile") 2>&5
2292
+ ac_status=$?
2293
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2294
+ test $ac_status = 0; }; then :
2295
+ for ac_file in conftest.o conftest.obj conftest.*; do
2296
+ test -f "$ac_file" || continue;
2297
+ case $ac_file in
2298
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2299
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2300
+ break;;
2301
+ esac
2302
+ done
2303
+ else
2304
+ $as_echo "$as_me: failed program was:" >&5
2305
+ sed 's/^/| /' conftest.$ac_ext >&5
2306
+
2307
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2308
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2309
+ as_fn_error $? "cannot compute suffix of object files: cannot compile
2310
+ See \`config.log' for more details" "$LINENO" 5; }
2311
+ fi
2312
+ rm -f conftest.$ac_cv_objext conftest.$ac_ext
2313
+ fi
2314
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2315
+ $as_echo "$ac_cv_objext" >&6; }
2316
+ OBJEXT=$ac_cv_objext
2317
+ ac_objext=$OBJEXT
2318
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2319
+ $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2320
+ if ${ac_cv_c_compiler_gnu+:} false; then :
2321
+ $as_echo_n "(cached) " >&6
2322
+ else
2323
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324
+ /* end confdefs.h. */
2325
+
2326
+ int
2327
+ main ()
2328
+ {
2329
+ #ifndef __GNUC__
2330
+ choke me
2331
+ #endif
2332
+
2333
+ ;
2334
+ return 0;
2335
+ }
2336
+ _ACEOF
2337
+ if ac_fn_c_try_compile "$LINENO"; then :
2338
+ ac_compiler_gnu=yes
2339
+ else
2340
+ ac_compiler_gnu=no
2341
+ fi
2342
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2343
+ ac_cv_c_compiler_gnu=$ac_compiler_gnu
2344
+
2345
+ fi
2346
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2347
+ $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2348
+ if test $ac_compiler_gnu = yes; then
2349
+ GCC=yes
2350
+ else
2351
+ GCC=
2352
+ fi
2353
+ ac_test_CFLAGS=${CFLAGS+set}
2354
+ ac_save_CFLAGS=$CFLAGS
2355
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2356
+ $as_echo_n "checking whether $CC accepts -g... " >&6; }
2357
+ if ${ac_cv_prog_cc_g+:} false; then :
2358
+ $as_echo_n "(cached) " >&6
2359
+ else
2360
+ ac_save_c_werror_flag=$ac_c_werror_flag
2361
+ ac_c_werror_flag=yes
2362
+ ac_cv_prog_cc_g=no
2363
+ CFLAGS="-g"
2364
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2365
+ /* end confdefs.h. */
2366
+
2367
+ int
2368
+ main ()
2369
+ {
2370
+
2371
+ ;
2372
+ return 0;
2373
+ }
2374
+ _ACEOF
2375
+ if ac_fn_c_try_compile "$LINENO"; then :
2376
+ ac_cv_prog_cc_g=yes
2377
+ else
2378
+ CFLAGS=""
2379
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2380
+ /* end confdefs.h. */
2381
+
2382
+ int
2383
+ main ()
2384
+ {
2385
+
2386
+ ;
2387
+ return 0;
2388
+ }
2389
+ _ACEOF
2390
+ if ac_fn_c_try_compile "$LINENO"; then :
2391
+
2392
+ else
2393
+ ac_c_werror_flag=$ac_save_c_werror_flag
2394
+ CFLAGS="-g"
2395
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2396
+ /* end confdefs.h. */
2397
+
2398
+ int
2399
+ main ()
2400
+ {
2401
+
2402
+ ;
2403
+ return 0;
2404
+ }
2405
+ _ACEOF
2406
+ if ac_fn_c_try_compile "$LINENO"; then :
2407
+ ac_cv_prog_cc_g=yes
2408
+ fi
2409
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2410
+ fi
2411
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2412
+ fi
2413
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2414
+ ac_c_werror_flag=$ac_save_c_werror_flag
2415
+ fi
2416
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2417
+ $as_echo "$ac_cv_prog_cc_g" >&6; }
2418
+ if test "$ac_test_CFLAGS" = set; then
2419
+ CFLAGS=$ac_save_CFLAGS
2420
+ elif test $ac_cv_prog_cc_g = yes; then
2421
+ if test "$GCC" = yes; then
2422
+ CFLAGS="-g -O2"
2423
+ else
2424
+ CFLAGS="-g"
2425
+ fi
2426
+ else
2427
+ if test "$GCC" = yes; then
2428
+ CFLAGS="-O2"
2429
+ else
2430
+ CFLAGS=
2431
+ fi
2432
+ fi
2433
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2434
+ $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2435
+ if ${ac_cv_prog_cc_c89+:} false; then :
2436
+ $as_echo_n "(cached) " >&6
2437
+ else
2438
+ ac_cv_prog_cc_c89=no
2439
+ ac_save_CC=$CC
2440
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2441
+ /* end confdefs.h. */
2442
+ #include <stdarg.h>
2443
+ #include <stdio.h>
2444
+ struct stat;
2445
+ /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2446
+ struct buf { int x; };
2447
+ FILE * (*rcsopen) (struct buf *, struct stat *, int);
2448
+ static char *e (p, i)
2449
+ char **p;
2450
+ int i;
2451
+ {
2452
+ return p[i];
2453
+ }
2454
+ static char *f (char * (*g) (char **, int), char **p, ...)
2455
+ {
2456
+ char *s;
2457
+ va_list v;
2458
+ va_start (v,p);
2459
+ s = g (p, va_arg (v,int));
2460
+ va_end (v);
2461
+ return s;
2462
+ }
2463
+
2464
+ /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2465
+ function prototypes and stuff, but not '\xHH' hex character constants.
2466
+ These don't provoke an error unfortunately, instead are silently treated
2467
+ as 'x'. The following induces an error, until -std is added to get
2468
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2469
+ array size at least. It's necessary to write '\x00'==0 to get something
2470
+ that's true only with -std. */
2471
+ int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2472
+
2473
+ /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2474
+ inside strings and character constants. */
2475
+ #define FOO(x) 'x'
2476
+ int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2477
+
2478
+ int test (int i, double x);
2479
+ struct s1 {int (*f) (int a);};
2480
+ struct s2 {int (*f) (double a);};
2481
+ int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2482
+ int argc;
2483
+ char **argv;
2484
+ int
2485
+ main ()
2486
+ {
2487
+ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2488
+ ;
2489
+ return 0;
2490
+ }
2491
+ _ACEOF
2492
+ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2493
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2494
+ do
2495
+ CC="$ac_save_CC $ac_arg"
2496
+ if ac_fn_c_try_compile "$LINENO"; then :
2497
+ ac_cv_prog_cc_c89=$ac_arg
2498
+ fi
2499
+ rm -f core conftest.err conftest.$ac_objext
2500
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
2501
+ done
2502
+ rm -f conftest.$ac_ext
2503
+ CC=$ac_save_CC
2504
+
2505
+ fi
2506
+ # AC_CACHE_VAL
2507
+ case "x$ac_cv_prog_cc_c89" in
2508
+ x)
2509
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2510
+ $as_echo "none needed" >&6; } ;;
2511
+ xno)
2512
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2513
+ $as_echo "unsupported" >&6; } ;;
2514
+ *)
2515
+ CC="$CC $ac_cv_prog_cc_c89"
2516
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2517
+ $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2518
+ esac
2519
+ if test "x$ac_cv_prog_cc_c89" != xno; then :
2520
+
2521
+ fi
2522
+
2523
+ ac_ext=c
2524
+ ac_cpp='$CPP $CPPFLAGS'
2525
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2526
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2527
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2528
+
2529
+ if test -n "$ac_tool_prefix"; then
2530
+ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2531
+ set dummy ${ac_tool_prefix}ar; ac_word=$2
2532
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2533
+ $as_echo_n "checking for $ac_word... " >&6; }
2534
+ if ${ac_cv_prog_AR+:} false; then :
2535
+ $as_echo_n "(cached) " >&6
2536
+ else
2537
+ if test -n "$AR"; then
2538
+ ac_cv_prog_AR="$AR" # Let the user override the test.
2539
+ else
2540
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541
+ for as_dir in $PATH
2542
+ do
2543
+ IFS=$as_save_IFS
2544
+ test -z "$as_dir" && as_dir=.
2545
+ for ac_exec_ext in '' $ac_executable_extensions; do
2546
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2547
+ ac_cv_prog_AR="${ac_tool_prefix}ar"
2548
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2549
+ break 2
2550
+ fi
2551
+ done
2552
+ done
2553
+ IFS=$as_save_IFS
2554
+
2555
+ fi
2556
+ fi
2557
+ AR=$ac_cv_prog_AR
2558
+ if test -n "$AR"; then
2559
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2560
+ $as_echo "$AR" >&6; }
2561
+ else
2562
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2563
+ $as_echo "no" >&6; }
2564
+ fi
2565
+
2566
+
2567
+ fi
2568
+ if test -z "$ac_cv_prog_AR"; then
2569
+ ac_ct_AR=$AR
2570
+ # Extract the first word of "ar", so it can be a program name with args.
2571
+ set dummy ar; ac_word=$2
2572
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2573
+ $as_echo_n "checking for $ac_word... " >&6; }
2574
+ if ${ac_cv_prog_ac_ct_AR+:} false; then :
2575
+ $as_echo_n "(cached) " >&6
2576
+ else
2577
+ if test -n "$ac_ct_AR"; then
2578
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2579
+ else
2580
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581
+ for as_dir in $PATH
2582
+ do
2583
+ IFS=$as_save_IFS
2584
+ test -z "$as_dir" && as_dir=.
2585
+ for ac_exec_ext in '' $ac_executable_extensions; do
2586
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2587
+ ac_cv_prog_ac_ct_AR="ar"
2588
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2589
+ break 2
2590
+ fi
2591
+ done
2592
+ done
2593
+ IFS=$as_save_IFS
2594
+
2595
+ fi
2596
+ fi
2597
+ ac_ct_AR=$ac_cv_prog_ac_ct_AR
2598
+ if test -n "$ac_ct_AR"; then
2599
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2600
+ $as_echo "$ac_ct_AR" >&6; }
2601
+ else
2602
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2603
+ $as_echo "no" >&6; }
2604
+ fi
2605
+
2606
+ if test "x$ac_ct_AR" = x; then
2607
+ AR=":"
2608
+ else
2609
+ case $cross_compiling:$ac_tool_warned in
2610
+ yes:)
2611
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2612
+ $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2613
+ ac_tool_warned=yes ;;
2614
+ esac
2615
+ AR=$ac_ct_AR
2616
+ fi
2617
+ else
2618
+ AR="$ac_cv_prog_AR"
2619
+ fi
2620
+
2621
+
2622
+ # Check whether --enable-debug was given.
2623
+ if test "${enable_debug+set}" = set; then :
2624
+ enableval=$enable_debug; enable_debug="$enableval"
2625
+ else
2626
+ enable_debug=no
2627
+
2628
+ fi
2629
+
2630
+
2631
+ if test "x$enable_debug" = xyes; then
2632
+ CFLAGS="$CFLAGS -g -O0"
2633
+ fi
2634
+
2635
+ VERSION_MAJOR=$VERSION_MAJOR
2636
+
2637
+
2638
+ ac_config_files="$ac_config_files Makefile"
2639
+
2640
+
2641
+ cat >confcache <<\_ACEOF
2642
+ # This file is a shell script that caches the results of configure
2643
+ # tests run on this system so they can be shared between configure
2644
+ # scripts and configure runs, see configure's option --config-cache.
2645
+ # It is not useful on other systems. If it contains results you don't
2646
+ # want to keep, you may remove or edit it.
2647
+ #
2648
+ # config.status only pays attention to the cache file if you give it
2649
+ # the --recheck option to rerun configure.
2650
+ #
2651
+ # `ac_cv_env_foo' variables (set or unset) will be overridden when
2652
+ # loading this file, other *unset* `ac_cv_foo' will be assigned the
2653
+ # following values.
2654
+
2655
+ _ACEOF
2656
+
2657
+ # The following way of writing the cache mishandles newlines in values,
2658
+ # but we know of no workaround that is simple, portable, and efficient.
2659
+ # So, we kill variables containing newlines.
2660
+ # Ultrix sh set writes to stderr and can't be redirected directly,
2661
+ # and sets the high bit in the cache file unless we assign to the vars.
2662
+ (
2663
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2664
+ eval ac_val=\$$ac_var
2665
+ case $ac_val in #(
2666
+ *${as_nl}*)
2667
+ case $ac_var in #(
2668
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2669
+ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2670
+ esac
2671
+ case $ac_var in #(
2672
+ _ | IFS | as_nl) ;; #(
2673
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2674
+ *) { eval $ac_var=; unset $ac_var;} ;;
2675
+ esac ;;
2676
+ esac
2677
+ done
2678
+
2679
+ (set) 2>&1 |
2680
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
2681
+ *${as_nl}ac_space=\ *)
2682
+ # `set' does not quote correctly, so add quotes: double-quote
2683
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
2684
+ sed -n \
2685
+ "s/'/'\\\\''/g;
2686
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2687
+ ;; #(
2688
+ *)
2689
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
2690
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2691
+ ;;
2692
+ esac |
2693
+ sort
2694
+ ) |
2695
+ sed '
2696
+ /^ac_cv_env_/b end
2697
+ t clear
2698
+ :clear
2699
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2700
+ t end
2701
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2702
+ :end' >>confcache
2703
+ if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2704
+ if test -w "$cache_file"; then
2705
+ if test "x$cache_file" != "x/dev/null"; then
2706
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2707
+ $as_echo "$as_me: updating cache $cache_file" >&6;}
2708
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
2709
+ cat confcache >"$cache_file"
2710
+ else
2711
+ case $cache_file in #(
2712
+ */* | ?:*)
2713
+ mv -f confcache "$cache_file"$$ &&
2714
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
2715
+ *)
2716
+ mv -f confcache "$cache_file" ;;
2717
+ esac
2718
+ fi
2719
+ fi
2720
+ else
2721
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2722
+ $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2723
+ fi
2724
+ fi
2725
+ rm -f confcache
2726
+
2727
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
2728
+ # Let make expand exec_prefix.
2729
+ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2730
+
2731
+ # Transform confdefs.h into DEFS.
2732
+ # Protect against shell expansion while executing Makefile rules.
2733
+ # Protect against Makefile macro expansion.
2734
+ #
2735
+ # If the first sed substitution is executed (which looks for macros that
2736
+ # take arguments), then branch to the quote section. Otherwise,
2737
+ # look for a macro that doesn't take arguments.
2738
+ ac_script='
2739
+ :mline
2740
+ /\\$/{
2741
+ N
2742
+ s,\\\n,,
2743
+ b mline
2744
+ }
2745
+ t clear
2746
+ :clear
2747
+ s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2748
+ t quote
2749
+ s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2750
+ t quote
2751
+ b any
2752
+ :quote
2753
+ s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2754
+ s/\[/\\&/g
2755
+ s/\]/\\&/g
2756
+ s/\$/$$/g
2757
+ H
2758
+ :any
2759
+ ${
2760
+ g
2761
+ s/^\n//
2762
+ s/\n/ /g
2763
+ p
2764
+ }
2765
+ '
2766
+ DEFS=`sed -n "$ac_script" confdefs.h`
2767
+
2768
+
2769
+ ac_libobjs=
2770
+ ac_ltlibobjs=
2771
+ U=
2772
+ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2773
+ # 1. Remove the extension, and $U if already installed.
2774
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2775
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2776
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2777
+ # will be set to the directory where LIBOBJS objects are built.
2778
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2779
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2780
+ done
2781
+ LIBOBJS=$ac_libobjs
2782
+
2783
+ LTLIBOBJS=$ac_ltlibobjs
2784
+
2785
+
2786
+
2787
+ : "${CONFIG_STATUS=./config.status}"
2788
+ ac_write_fail=0
2789
+ ac_clean_files_save=$ac_clean_files
2790
+ ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2791
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2792
+ $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2793
+ as_write_fail=0
2794
+ cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2795
+ #! $SHELL
2796
+ # Generated by $as_me.
2797
+ # Run this file to recreate the current configuration.
2798
+ # Compiler output produced by configure, useful for debugging
2799
+ # configure, is in config.log if it exists.
2800
+
2801
+ debug=false
2802
+ ac_cs_recheck=false
2803
+ ac_cs_silent=false
2804
+
2805
+ SHELL=\${CONFIG_SHELL-$SHELL}
2806
+ export SHELL
2807
+ _ASEOF
2808
+ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2809
+ ## -------------------- ##
2810
+ ## M4sh Initialization. ##
2811
+ ## -------------------- ##
2812
+
2813
+ # Be more Bourne compatible
2814
+ DUALCASE=1; export DUALCASE # for MKS sh
2815
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2816
+ emulate sh
2817
+ NULLCMD=:
2818
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2819
+ # is contrary to our usage. Disable this feature.
2820
+ alias -g '${1+"$@"}'='"$@"'
2821
+ setopt NO_GLOB_SUBST
2822
+ else
2823
+ case `(set -o) 2>/dev/null` in #(
2824
+ *posix*) :
2825
+ set -o posix ;; #(
2826
+ *) :
2827
+ ;;
2828
+ esac
2829
+ fi
2830
+
2831
+
2832
+ as_nl='
2833
+ '
2834
+ export as_nl
2835
+ # Printing a long string crashes Solaris 7 /usr/bin/printf.
2836
+ as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2837
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2838
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2839
+ # Prefer a ksh shell builtin over an external printf program on Solaris,
2840
+ # but without wasting forks for bash or zsh.
2841
+ if test -z "$BASH_VERSION$ZSH_VERSION" \
2842
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2843
+ as_echo='print -r --'
2844
+ as_echo_n='print -rn --'
2845
+ elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2846
+ as_echo='printf %s\n'
2847
+ as_echo_n='printf %s'
2848
+ else
2849
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2850
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2851
+ as_echo_n='/usr/ucb/echo -n'
2852
+ else
2853
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2854
+ as_echo_n_body='eval
2855
+ arg=$1;
2856
+ case $arg in #(
2857
+ *"$as_nl"*)
2858
+ expr "X$arg" : "X\\(.*\\)$as_nl";
2859
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2860
+ esac;
2861
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2862
+ '
2863
+ export as_echo_n_body
2864
+ as_echo_n='sh -c $as_echo_n_body as_echo'
2865
+ fi
2866
+ export as_echo_body
2867
+ as_echo='sh -c $as_echo_body as_echo'
2868
+ fi
2869
+
2870
+ # The user is always right.
2871
+ if test "${PATH_SEPARATOR+set}" != set; then
2872
+ PATH_SEPARATOR=:
2873
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2874
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2875
+ PATH_SEPARATOR=';'
2876
+ }
2877
+ fi
2878
+
2879
+
2880
+ # IFS
2881
+ # We need space, tab and new line, in precisely that order. Quoting is
2882
+ # there to prevent editors from complaining about space-tab.
2883
+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2884
+ # splitting by setting IFS to empty value.)
2885
+ IFS=" "" $as_nl"
2886
+
2887
+ # Find who we are. Look in the path if we contain no directory separator.
2888
+ as_myself=
2889
+ case $0 in #((
2890
+ *[\\/]* ) as_myself=$0 ;;
2891
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892
+ for as_dir in $PATH
2893
+ do
2894
+ IFS=$as_save_IFS
2895
+ test -z "$as_dir" && as_dir=.
2896
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2897
+ done
2898
+ IFS=$as_save_IFS
2899
+
2900
+ ;;
2901
+ esac
2902
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
2903
+ # in which case we are not to be found in the path.
2904
+ if test "x$as_myself" = x; then
2905
+ as_myself=$0
2906
+ fi
2907
+ if test ! -f "$as_myself"; then
2908
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2909
+ exit 1
2910
+ fi
2911
+
2912
+ # Unset variables that we do not need and which cause bugs (e.g. in
2913
+ # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2914
+ # suppresses any "Segmentation fault" message there. '((' could
2915
+ # trigger a bug in pdksh 5.2.14.
2916
+ for as_var in BASH_ENV ENV MAIL MAILPATH
2917
+ do eval test x\${$as_var+set} = xset \
2918
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2919
+ done
2920
+ PS1='$ '
2921
+ PS2='> '
2922
+ PS4='+ '
2923
+
2924
+ # NLS nuisances.
2925
+ LC_ALL=C
2926
+ export LC_ALL
2927
+ LANGUAGE=C
2928
+ export LANGUAGE
2929
+
2930
+ # CDPATH.
2931
+ (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2932
+
2933
+
2934
+ # as_fn_error STATUS ERROR [LINENO LOG_FD]
2935
+ # ----------------------------------------
2936
+ # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2937
+ # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2938
+ # script with STATUS, using 1 if that was 0.
2939
+ as_fn_error ()
2940
+ {
2941
+ as_status=$1; test $as_status -eq 0 && as_status=1
2942
+ if test "$4"; then
2943
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2944
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2945
+ fi
2946
+ $as_echo "$as_me: error: $2" >&2
2947
+ as_fn_exit $as_status
2948
+ } # as_fn_error
2949
+
2950
+
2951
+ # as_fn_set_status STATUS
2952
+ # -----------------------
2953
+ # Set $? to STATUS, without forking.
2954
+ as_fn_set_status ()
2955
+ {
2956
+ return $1
2957
+ } # as_fn_set_status
2958
+
2959
+ # as_fn_exit STATUS
2960
+ # -----------------
2961
+ # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2962
+ as_fn_exit ()
2963
+ {
2964
+ set +e
2965
+ as_fn_set_status $1
2966
+ exit $1
2967
+ } # as_fn_exit
2968
+
2969
+ # as_fn_unset VAR
2970
+ # ---------------
2971
+ # Portably unset VAR.
2972
+ as_fn_unset ()
2973
+ {
2974
+ { eval $1=; unset $1;}
2975
+ }
2976
+ as_unset=as_fn_unset
2977
+ # as_fn_append VAR VALUE
2978
+ # ----------------------
2979
+ # Append the text in VALUE to the end of the definition contained in VAR. Take
2980
+ # advantage of any shell optimizations that allow amortized linear growth over
2981
+ # repeated appends, instead of the typical quadratic growth present in naive
2982
+ # implementations.
2983
+ if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2984
+ eval 'as_fn_append ()
2985
+ {
2986
+ eval $1+=\$2
2987
+ }'
2988
+ else
2989
+ as_fn_append ()
2990
+ {
2991
+ eval $1=\$$1\$2
2992
+ }
2993
+ fi # as_fn_append
2994
+
2995
+ # as_fn_arith ARG...
2996
+ # ------------------
2997
+ # Perform arithmetic evaluation on the ARGs, and store the result in the
2998
+ # global $as_val. Take advantage of shells that can avoid forks. The arguments
2999
+ # must be portable across $(()) and expr.
3000
+ if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3001
+ eval 'as_fn_arith ()
3002
+ {
3003
+ as_val=$(( $* ))
3004
+ }'
3005
+ else
3006
+ as_fn_arith ()
3007
+ {
3008
+ as_val=`expr "$@" || test $? -eq 1`
3009
+ }
3010
+ fi # as_fn_arith
3011
+
3012
+
3013
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
3014
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
3015
+ as_expr=expr
3016
+ else
3017
+ as_expr=false
3018
+ fi
3019
+
3020
+ if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3021
+ as_basename=basename
3022
+ else
3023
+ as_basename=false
3024
+ fi
3025
+
3026
+ if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3027
+ as_dirname=dirname
3028
+ else
3029
+ as_dirname=false
3030
+ fi
3031
+
3032
+ as_me=`$as_basename -- "$0" ||
3033
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3034
+ X"$0" : 'X\(//\)$' \| \
3035
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3036
+ $as_echo X/"$0" |
3037
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
3038
+ s//\1/
3039
+ q
3040
+ }
3041
+ /^X\/\(\/\/\)$/{
3042
+ s//\1/
3043
+ q
3044
+ }
3045
+ /^X\/\(\/\).*/{
3046
+ s//\1/
3047
+ q
3048
+ }
3049
+ s/.*/./; q'`
3050
+
3051
+ # Avoid depending upon Character Ranges.
3052
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3053
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3054
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3055
+ as_cr_digits='0123456789'
3056
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
3057
+
3058
+ ECHO_C= ECHO_N= ECHO_T=
3059
+ case `echo -n x` in #(((((
3060
+ -n*)
3061
+ case `echo 'xy\c'` in
3062
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3063
+ xy) ECHO_C='\c';;
3064
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3065
+ ECHO_T=' ';;
3066
+ esac;;
3067
+ *)
3068
+ ECHO_N='-n';;
3069
+ esac
3070
+
3071
+ rm -f conf$$ conf$$.exe conf$$.file
3072
+ if test -d conf$$.dir; then
3073
+ rm -f conf$$.dir/conf$$.file
3074
+ else
3075
+ rm -f conf$$.dir
3076
+ mkdir conf$$.dir 2>/dev/null
3077
+ fi
3078
+ if (echo >conf$$.file) 2>/dev/null; then
3079
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
3080
+ as_ln_s='ln -s'
3081
+ # ... but there are two gotchas:
3082
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3083
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3084
+ # In both cases, we have to default to `cp -pR'.
3085
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3086
+ as_ln_s='cp -pR'
3087
+ elif ln conf$$.file conf$$ 2>/dev/null; then
3088
+ as_ln_s=ln
3089
+ else
3090
+ as_ln_s='cp -pR'
3091
+ fi
3092
+ else
3093
+ as_ln_s='cp -pR'
3094
+ fi
3095
+ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3096
+ rmdir conf$$.dir 2>/dev/null
3097
+
3098
+
3099
+ # as_fn_mkdir_p
3100
+ # -------------
3101
+ # Create "$as_dir" as a directory, including parents if necessary.
3102
+ as_fn_mkdir_p ()
3103
+ {
3104
+
3105
+ case $as_dir in #(
3106
+ -*) as_dir=./$as_dir;;
3107
+ esac
3108
+ test -d "$as_dir" || eval $as_mkdir_p || {
3109
+ as_dirs=
3110
+ while :; do
3111
+ case $as_dir in #(
3112
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3113
+ *) as_qdir=$as_dir;;
3114
+ esac
3115
+ as_dirs="'$as_qdir' $as_dirs"
3116
+ as_dir=`$as_dirname -- "$as_dir" ||
3117
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3118
+ X"$as_dir" : 'X\(//\)[^/]' \| \
3119
+ X"$as_dir" : 'X\(//\)$' \| \
3120
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3121
+ $as_echo X"$as_dir" |
3122
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3123
+ s//\1/
3124
+ q
3125
+ }
3126
+ /^X\(\/\/\)[^/].*/{
3127
+ s//\1/
3128
+ q
3129
+ }
3130
+ /^X\(\/\/\)$/{
3131
+ s//\1/
3132
+ q
3133
+ }
3134
+ /^X\(\/\).*/{
3135
+ s//\1/
3136
+ q
3137
+ }
3138
+ s/.*/./; q'`
3139
+ test -d "$as_dir" && break
3140
+ done
3141
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
3142
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3143
+
3144
+
3145
+ } # as_fn_mkdir_p
3146
+ if mkdir -p . 2>/dev/null; then
3147
+ as_mkdir_p='mkdir -p "$as_dir"'
3148
+ else
3149
+ test -d ./-p && rmdir ./-p
3150
+ as_mkdir_p=false
3151
+ fi
3152
+
3153
+
3154
+ # as_fn_executable_p FILE
3155
+ # -----------------------
3156
+ # Test if FILE is an executable regular file.
3157
+ as_fn_executable_p ()
3158
+ {
3159
+ test -f "$1" && test -x "$1"
3160
+ } # as_fn_executable_p
3161
+ as_test_x='test -x'
3162
+ as_executable_p=as_fn_executable_p
3163
+
3164
+ # Sed expression to map a string onto a valid CPP name.
3165
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3166
+
3167
+ # Sed expression to map a string onto a valid variable name.
3168
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3169
+
3170
+
3171
+ exec 6>&1
3172
+ ## ----------------------------------- ##
3173
+ ## Main body of $CONFIG_STATUS script. ##
3174
+ ## ----------------------------------- ##
3175
+ _ASEOF
3176
+ test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3177
+
3178
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3179
+ # Save the log message, to keep $0 and so on meaningful, and to
3180
+ # report actual input values of CONFIG_FILES etc. instead of their
3181
+ # values after options handling.
3182
+ ac_log="
3183
+ This file was extended by libjsonparser $as_me 1.1.0, which was
3184
+ generated by GNU Autoconf 2.69. Invocation command line was
3185
+
3186
+ CONFIG_FILES = $CONFIG_FILES
3187
+ CONFIG_HEADERS = $CONFIG_HEADERS
3188
+ CONFIG_LINKS = $CONFIG_LINKS
3189
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
3190
+ $ $0 $@
3191
+
3192
+ on `(hostname || uname -n) 2>/dev/null | sed 1q`
3193
+ "
3194
+
3195
+ _ACEOF
3196
+
3197
+ case $ac_config_files in *"
3198
+ "*) set x $ac_config_files; shift; ac_config_files=$*;;
3199
+ esac
3200
+
3201
+
3202
+
3203
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3204
+ # Files that config.status was made for.
3205
+ config_files="$ac_config_files"
3206
+
3207
+ _ACEOF
3208
+
3209
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3210
+ ac_cs_usage="\
3211
+ \`$as_me' instantiates files and other configuration actions
3212
+ from templates according to the current configuration. Unless the files
3213
+ and actions are specified as TAGs, all are instantiated by default.
3214
+
3215
+ Usage: $0 [OPTION]... [TAG]...
3216
+
3217
+ -h, --help print this help, then exit
3218
+ -V, --version print version number and configuration settings, then exit
3219
+ --config print configuration, then exit
3220
+ -q, --quiet, --silent
3221
+ do not print progress messages
3222
+ -d, --debug don't remove temporary files
3223
+ --recheck update $as_me by reconfiguring in the same conditions
3224
+ --file=FILE[:TEMPLATE]
3225
+ instantiate the configuration file FILE
3226
+
3227
+ Configuration files:
3228
+ $config_files
3229
+
3230
+ Report bugs to the package provider."
3231
+
3232
+ _ACEOF
3233
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3234
+ ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3235
+ ac_cs_version="\\
3236
+ libjsonparser config.status 1.1.0
3237
+ configured by $0, generated by GNU Autoconf 2.69,
3238
+ with options \\"\$ac_cs_config\\"
3239
+
3240
+ Copyright (C) 2012 Free Software Foundation, Inc.
3241
+ This config.status script is free software; the Free Software Foundation
3242
+ gives unlimited permission to copy, distribute and modify it."
3243
+
3244
+ ac_pwd='$ac_pwd'
3245
+ srcdir='$srcdir'
3246
+ test -n "\$AWK" || AWK=awk
3247
+ _ACEOF
3248
+
3249
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3250
+ # The default lists apply if the user does not specify any file.
3251
+ ac_need_defaults=:
3252
+ while test $# != 0
3253
+ do
3254
+ case $1 in
3255
+ --*=?*)
3256
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
3257
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3258
+ ac_shift=:
3259
+ ;;
3260
+ --*=)
3261
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
3262
+ ac_optarg=
3263
+ ac_shift=:
3264
+ ;;
3265
+ *)
3266
+ ac_option=$1
3267
+ ac_optarg=$2
3268
+ ac_shift=shift
3269
+ ;;
3270
+ esac
3271
+
3272
+ case $ac_option in
3273
+ # Handling of the options.
3274
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3275
+ ac_cs_recheck=: ;;
3276
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3277
+ $as_echo "$ac_cs_version"; exit ;;
3278
+ --config | --confi | --conf | --con | --co | --c )
3279
+ $as_echo "$ac_cs_config"; exit ;;
3280
+ --debug | --debu | --deb | --de | --d | -d )
3281
+ debug=: ;;
3282
+ --file | --fil | --fi | --f )
3283
+ $ac_shift
3284
+ case $ac_optarg in
3285
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3286
+ '') as_fn_error $? "missing file argument" ;;
3287
+ esac
3288
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
3289
+ ac_need_defaults=false;;
3290
+ --he | --h | --help | --hel | -h )
3291
+ $as_echo "$ac_cs_usage"; exit ;;
3292
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3293
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
3294
+ ac_cs_silent=: ;;
3295
+
3296
+ # This is an error.
3297
+ -*) as_fn_error $? "unrecognized option: \`$1'
3298
+ Try \`$0 --help' for more information." ;;
3299
+
3300
+ *) as_fn_append ac_config_targets " $1"
3301
+ ac_need_defaults=false ;;
3302
+
3303
+ esac
3304
+ shift
3305
+ done
3306
+
3307
+ ac_configure_extra_args=
3308
+
3309
+ if $ac_cs_silent; then
3310
+ exec 6>/dev/null
3311
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
3312
+ fi
3313
+
3314
+ _ACEOF
3315
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3316
+ if \$ac_cs_recheck; then
3317
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3318
+ shift
3319
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3320
+ CONFIG_SHELL='$SHELL'
3321
+ export CONFIG_SHELL
3322
+ exec "\$@"
3323
+ fi
3324
+
3325
+ _ACEOF
3326
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3327
+ exec 5>>config.log
3328
+ {
3329
+ echo
3330
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3331
+ ## Running $as_me. ##
3332
+ _ASBOX
3333
+ $as_echo "$ac_log"
3334
+ } >&5
3335
+
3336
+ _ACEOF
3337
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3338
+ _ACEOF
3339
+
3340
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3341
+
3342
+ # Handling of arguments.
3343
+ for ac_config_target in $ac_config_targets
3344
+ do
3345
+ case $ac_config_target in
3346
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3347
+
3348
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3349
+ esac
3350
+ done
3351
+
3352
+
3353
+ # If the user did not use the arguments to specify the items to instantiate,
3354
+ # then the envvar interface is used. Set only those that are not.
3355
+ # We use the long form for the default assignment because of an extremely
3356
+ # bizarre bug on SunOS 4.1.3.
3357
+ if $ac_need_defaults; then
3358
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3359
+ fi
3360
+
3361
+ # Have a temporary directory for convenience. Make it in the build tree
3362
+ # simply because there is no reason against having it here, and in addition,
3363
+ # creating and moving files from /tmp can sometimes cause problems.
3364
+ # Hook for its removal unless debugging.
3365
+ # Note that there is a small window in which the directory will not be cleaned:
3366
+ # after its creation but before its name has been assigned to `$tmp'.
3367
+ $debug ||
3368
+ {
3369
+ tmp= ac_tmp=
3370
+ trap 'exit_status=$?
3371
+ : "${ac_tmp:=$tmp}"
3372
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3373
+ ' 0
3374
+ trap 'as_fn_exit 1' 1 2 13 15
3375
+ }
3376
+ # Create a (secure) tmp directory for tmp files.
3377
+
3378
+ {
3379
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3380
+ test -d "$tmp"
3381
+ } ||
3382
+ {
3383
+ tmp=./conf$$-$RANDOM
3384
+ (umask 077 && mkdir "$tmp")
3385
+ } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3386
+ ac_tmp=$tmp
3387
+
3388
+ # Set up the scripts for CONFIG_FILES section.
3389
+ # No need to generate them if there are no CONFIG_FILES.
3390
+ # This happens for instance with `./config.status config.h'.
3391
+ if test -n "$CONFIG_FILES"; then
3392
+
3393
+
3394
+ ac_cr=`echo X | tr X '\015'`
3395
+ # On cygwin, bash can eat \r inside `` if the user requested igncr.
3396
+ # But we know of no other shell where ac_cr would be empty at this
3397
+ # point, so we can use a bashism as a fallback.
3398
+ if test "x$ac_cr" = x; then
3399
+ eval ac_cr=\$\'\\r\'
3400
+ fi
3401
+ ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3402
+ if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3403
+ ac_cs_awk_cr='\\r'
3404
+ else
3405
+ ac_cs_awk_cr=$ac_cr
3406
+ fi
3407
+
3408
+ echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3409
+ _ACEOF
3410
+
3411
+
3412
+ {
3413
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
3414
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3415
+ echo "_ACEOF"
3416
+ } >conf$$subs.sh ||
3417
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3418
+ ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3419
+ ac_delim='%!_!# '
3420
+ for ac_last_try in false false false false false :; do
3421
+ . ./conf$$subs.sh ||
3422
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3423
+
3424
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3425
+ if test $ac_delim_n = $ac_delim_num; then
3426
+ break
3427
+ elif $ac_last_try; then
3428
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3429
+ else
3430
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3431
+ fi
3432
+ done
3433
+ rm -f conf$$subs.sh
3434
+
3435
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3436
+ cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3437
+ _ACEOF
3438
+ sed -n '
3439
+ h
3440
+ s/^/S["/; s/!.*/"]=/
3441
+ p
3442
+ g
3443
+ s/^[^!]*!//
3444
+ :repl
3445
+ t repl
3446
+ s/'"$ac_delim"'$//
3447
+ t delim
3448
+ :nl
3449
+ h
3450
+ s/\(.\{148\}\)..*/\1/
3451
+ t more1
3452
+ s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3453
+ p
3454
+ n
3455
+ b repl
3456
+ :more1
3457
+ s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3458
+ p
3459
+ g
3460
+ s/.\{148\}//
3461
+ t nl
3462
+ :delim
3463
+ h
3464
+ s/\(.\{148\}\)..*/\1/
3465
+ t more2
3466
+ s/["\\]/\\&/g; s/^/"/; s/$/"/
3467
+ p
3468
+ b
3469
+ :more2
3470
+ s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3471
+ p
3472
+ g
3473
+ s/.\{148\}//
3474
+ t delim
3475
+ ' <conf$$subs.awk | sed '
3476
+ /^[^""]/{
3477
+ N
3478
+ s/\n//
3479
+ }
3480
+ ' >>$CONFIG_STATUS || ac_write_fail=1
3481
+ rm -f conf$$subs.awk
3482
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3483
+ _ACAWK
3484
+ cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3485
+ for (key in S) S_is_set[key] = 1
3486
+ FS = ""
3487
+
3488
+ }
3489
+ {
3490
+ line = $ 0
3491
+ nfields = split(line, field, "@")
3492
+ substed = 0
3493
+ len = length(field[1])
3494
+ for (i = 2; i < nfields; i++) {
3495
+ key = field[i]
3496
+ keylen = length(key)
3497
+ if (S_is_set[key]) {
3498
+ value = S[key]
3499
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3500
+ len += length(value) + length(field[++i])
3501
+ substed = 1
3502
+ } else
3503
+ len += 1 + keylen
3504
+ }
3505
+
3506
+ print line
3507
+ }
3508
+
3509
+ _ACAWK
3510
+ _ACEOF
3511
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3512
+ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3513
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3514
+ else
3515
+ cat
3516
+ fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3517
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3518
+ _ACEOF
3519
+
3520
+ # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3521
+ # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3522
+ # trailing colons and then remove the whole line if VPATH becomes empty
3523
+ # (actually we leave an empty line to preserve line numbers).
3524
+ if test "x$srcdir" = x.; then
3525
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3526
+ h
3527
+ s///
3528
+ s/^/:/
3529
+ s/[ ]*$/:/
3530
+ s/:\$(srcdir):/:/g
3531
+ s/:\${srcdir}:/:/g
3532
+ s/:@srcdir@:/:/g
3533
+ s/^:*//
3534
+ s/:*$//
3535
+ x
3536
+ s/\(=[ ]*\).*/\1/
3537
+ G
3538
+ s/\n//
3539
+ s/^[^=]*=[ ]*$//
3540
+ }'
3541
+ fi
3542
+
3543
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3544
+ fi # test -n "$CONFIG_FILES"
3545
+
3546
+
3547
+ eval set X " :F $CONFIG_FILES "
3548
+ shift
3549
+ for ac_tag
3550
+ do
3551
+ case $ac_tag in
3552
+ :[FHLC]) ac_mode=$ac_tag; continue;;
3553
+ esac
3554
+ case $ac_mode$ac_tag in
3555
+ :[FHL]*:*);;
3556
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3557
+ :[FH]-) ac_tag=-:-;;
3558
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3559
+ esac
3560
+ ac_save_IFS=$IFS
3561
+ IFS=:
3562
+ set x $ac_tag
3563
+ IFS=$ac_save_IFS
3564
+ shift
3565
+ ac_file=$1
3566
+ shift
3567
+
3568
+ case $ac_mode in
3569
+ :L) ac_source=$1;;
3570
+ :[FH])
3571
+ ac_file_inputs=
3572
+ for ac_f
3573
+ do
3574
+ case $ac_f in
3575
+ -) ac_f="$ac_tmp/stdin";;
3576
+ *) # Look for the file first in the build tree, then in the source tree
3577
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
3578
+ # because $ac_f cannot contain `:'.
3579
+ test -f "$ac_f" ||
3580
+ case $ac_f in
3581
+ [\\/$]*) false;;
3582
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3583
+ esac ||
3584
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3585
+ esac
3586
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3587
+ as_fn_append ac_file_inputs " '$ac_f'"
3588
+ done
3589
+
3590
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
3591
+ # use $as_me), people would be surprised to read:
3592
+ # /* config.h. Generated by config.status. */
3593
+ configure_input='Generated from '`
3594
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3595
+ `' by configure.'
3596
+ if test x"$ac_file" != x-; then
3597
+ configure_input="$ac_file. $configure_input"
3598
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3599
+ $as_echo "$as_me: creating $ac_file" >&6;}
3600
+ fi
3601
+ # Neutralize special characters interpreted by sed in replacement strings.
3602
+ case $configure_input in #(
3603
+ *\&* | *\|* | *\\* )
3604
+ ac_sed_conf_input=`$as_echo "$configure_input" |
3605
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
3606
+ *) ac_sed_conf_input=$configure_input;;
3607
+ esac
3608
+
3609
+ case $ac_tag in
3610
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
3611
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3612
+ esac
3613
+ ;;
3614
+ esac
3615
+
3616
+ ac_dir=`$as_dirname -- "$ac_file" ||
3617
+ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3618
+ X"$ac_file" : 'X\(//\)[^/]' \| \
3619
+ X"$ac_file" : 'X\(//\)$' \| \
3620
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3621
+ $as_echo X"$ac_file" |
3622
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3623
+ s//\1/
3624
+ q
3625
+ }
3626
+ /^X\(\/\/\)[^/].*/{
3627
+ s//\1/
3628
+ q
3629
+ }
3630
+ /^X\(\/\/\)$/{
3631
+ s//\1/
3632
+ q
3633
+ }
3634
+ /^X\(\/\).*/{
3635
+ s//\1/
3636
+ q
3637
+ }
3638
+ s/.*/./; q'`
3639
+ as_dir="$ac_dir"; as_fn_mkdir_p
3640
+ ac_builddir=.
3641
+
3642
+ case "$ac_dir" in
3643
+ .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3644
+ *)
3645
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3646
+ # A ".." for each directory in $ac_dir_suffix.
3647
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3648
+ case $ac_top_builddir_sub in
3649
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3650
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3651
+ esac ;;
3652
+ esac
3653
+ ac_abs_top_builddir=$ac_pwd
3654
+ ac_abs_builddir=$ac_pwd$ac_dir_suffix
3655
+ # for backward compatibility:
3656
+ ac_top_builddir=$ac_top_build_prefix
3657
+
3658
+ case $srcdir in
3659
+ .) # We are building in place.
3660
+ ac_srcdir=.
3661
+ ac_top_srcdir=$ac_top_builddir_sub
3662
+ ac_abs_top_srcdir=$ac_pwd ;;
3663
+ [\\/]* | ?:[\\/]* ) # Absolute name.
3664
+ ac_srcdir=$srcdir$ac_dir_suffix;
3665
+ ac_top_srcdir=$srcdir
3666
+ ac_abs_top_srcdir=$srcdir ;;
3667
+ *) # Relative name.
3668
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3669
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
3670
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3671
+ esac
3672
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3673
+
3674
+
3675
+ case $ac_mode in
3676
+ :F)
3677
+ #
3678
+ # CONFIG_FILE
3679
+ #
3680
+
3681
+ _ACEOF
3682
+
3683
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3684
+ # If the template does not know about datarootdir, expand it.
3685
+ # FIXME: This hack should be removed a few years after 2.60.
3686
+ ac_datarootdir_hack=; ac_datarootdir_seen=
3687
+ ac_sed_dataroot='
3688
+ /datarootdir/ {
3689
+ p
3690
+ q
3691
+ }
3692
+ /@datadir@/p
3693
+ /@docdir@/p
3694
+ /@infodir@/p
3695
+ /@localedir@/p
3696
+ /@mandir@/p'
3697
+ case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3698
+ *datarootdir*) ac_datarootdir_seen=yes;;
3699
+ *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3700
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3701
+ $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3702
+ _ACEOF
3703
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3704
+ ac_datarootdir_hack='
3705
+ s&@datadir@&$datadir&g
3706
+ s&@docdir@&$docdir&g
3707
+ s&@infodir@&$infodir&g
3708
+ s&@localedir@&$localedir&g
3709
+ s&@mandir@&$mandir&g
3710
+ s&\\\${datarootdir}&$datarootdir&g' ;;
3711
+ esac
3712
+ _ACEOF
3713
+
3714
+ # Neutralize VPATH when `$srcdir' = `.'.
3715
+ # Shell code in configure.ac might set extrasub.
3716
+ # FIXME: do we really want to maintain this feature?
3717
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3718
+ ac_sed_extra="$ac_vpsub
3719
+ $extrasub
3720
+ _ACEOF
3721
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3722
+ :t
3723
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3724
+ s|@configure_input@|$ac_sed_conf_input|;t t
3725
+ s&@top_builddir@&$ac_top_builddir_sub&;t t
3726
+ s&@top_build_prefix@&$ac_top_build_prefix&;t t
3727
+ s&@srcdir@&$ac_srcdir&;t t
3728
+ s&@abs_srcdir@&$ac_abs_srcdir&;t t
3729
+ s&@top_srcdir@&$ac_top_srcdir&;t t
3730
+ s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3731
+ s&@builddir@&$ac_builddir&;t t
3732
+ s&@abs_builddir@&$ac_abs_builddir&;t t
3733
+ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3734
+ $ac_datarootdir_hack
3735
+ "
3736
+ eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3737
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3738
+
3739
+ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3740
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3741
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3742
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
3743
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3744
+ which seems to be undefined. Please make sure it is defined" >&5
3745
+ $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3746
+ which seems to be undefined. Please make sure it is defined" >&2;}
3747
+
3748
+ rm -f "$ac_tmp/stdin"
3749
+ case $ac_file in
3750
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3751
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3752
+ esac \
3753
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3754
+ ;;
3755
+
3756
+
3757
+
3758
+ esac
3759
+
3760
+ done # for ac_tag
3761
+
3762
+
3763
+ as_fn_exit 0
3764
+ _ACEOF
3765
+ ac_clean_files=$ac_clean_files_save
3766
+
3767
+ test $ac_write_fail = 0 ||
3768
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3769
+
3770
+
3771
+ # configure is writing to config.log, and then calls config.status.
3772
+ # config.status does its own redirection, appending to config.log.
3773
+ # Unfortunately, on DOS this fails, as config.log is still kept open
3774
+ # by configure, so config.status won't be able to write to it; its
3775
+ # output is simply discarded. So we exec the FD to /dev/null,
3776
+ # effectively closing config.log, so it can be properly (re)opened and
3777
+ # appended to by config.status. When coming back to configure, we
3778
+ # need to make the FD available again.
3779
+ if test "$no_create" != yes; then
3780
+ ac_cs_success=:
3781
+ ac_config_status_args=
3782
+ test "$silent" = yes &&
3783
+ ac_config_status_args="$ac_config_status_args --quiet"
3784
+ exec 5>/dev/null
3785
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3786
+ exec 5>>config.log
3787
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3788
+ # would make configure fail if this is the last instruction.
3789
+ $ac_cs_success || as_fn_exit 1
3790
+ fi
3791
+ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3792
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3793
+ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3794
+ fi
3795
+
3796
+