gecoder-with-gecode 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (634) hide show
  1. data/CHANGES +81 -0
  2. data/COPYING +17 -0
  3. data/LGPL-LICENSE +458 -0
  4. data/README +45 -0
  5. data/Rakefile +13 -0
  6. data/example/example_helper.rb +1 -0
  7. data/example/magic_sequence.rb +43 -0
  8. data/example/queens.rb +43 -0
  9. data/example/raw_bindings.rb +42 -0
  10. data/example/send_more_money.rb +43 -0
  11. data/example/send_most_money.rb +58 -0
  12. data/example/square_tiling.rb +84 -0
  13. data/example/sudoku-set.rb +110 -0
  14. data/example/sudoku.rb +61 -0
  15. data/ext/extconf.rb +29 -0
  16. data/ext/gecode-1.3.1/LICENSE +34 -0
  17. data/ext/gecode-1.3.1/Makefile.contribs +71 -0
  18. data/ext/gecode-1.3.1/Makefile.dep +3928 -0
  19. data/ext/gecode-1.3.1/Makefile.in +966 -0
  20. data/ext/gecode-1.3.1/changelog.in +1065 -0
  21. data/ext/gecode-1.3.1/configure +8590 -0
  22. data/ext/gecode-1.3.1/configure.ac +179 -0
  23. data/ext/gecode-1.3.1/configure.ac.in +175 -0
  24. data/ext/gecode-1.3.1/contribs/README +26 -0
  25. data/ext/gecode-1.3.1/contribs/graph/INSTALL +53 -0
  26. data/ext/gecode-1.3.1/contribs/graph/LICENSE +11 -0
  27. data/ext/gecode-1.3.1/contribs/graph/Makefile +167 -0
  28. data/ext/gecode-1.3.1/contribs/graph/Makefile.in.in +169 -0
  29. data/ext/gecode-1.3.1/contribs/graph/TODO +28 -0
  30. data/ext/gecode-1.3.1/contribs/graph/binarysimple.hh +82 -0
  31. data/ext/gecode-1.3.1/contribs/graph/binarysimple.icc +186 -0
  32. data/ext/gecode-1.3.1/contribs/graph/branch/branch.icc +257 -0
  33. data/ext/gecode-1.3.1/contribs/graph/configure +2160 -0
  34. data/ext/gecode-1.3.1/contribs/graph/configure.ac +33 -0
  35. data/ext/gecode-1.3.1/contribs/graph/doxygen.conf +1226 -0
  36. data/ext/gecode-1.3.1/contribs/graph/doxygen.hh +132 -0
  37. data/ext/gecode-1.3.1/contribs/graph/examples/cpgraph-basic.cc +94 -0
  38. data/ext/gecode-1.3.1/contribs/graph/examples/cpgraph-complement.cc +104 -0
  39. data/ext/gecode-1.3.1/contribs/graph/examples/cpgraph-instUB.cc +105 -0
  40. data/ext/gecode-1.3.1/contribs/graph/examples/cpgraph-path.cc +92 -0
  41. data/ext/gecode-1.3.1/contribs/graph/examples/cpgraph-path2.cc +273 -0
  42. data/ext/gecode-1.3.1/contribs/graph/examples/cpgraph-pathcost.cc +311 -0
  43. data/ext/gecode-1.3.1/contribs/graph/examples/g1.txt +1 -0
  44. data/ext/gecode-1.3.1/contribs/graph/examples/g2.txt +1 -0
  45. data/ext/gecode-1.3.1/contribs/graph/graph.hh +51 -0
  46. data/ext/gecode-1.3.1/contribs/graph/graphutils.h +46 -0
  47. data/ext/gecode-1.3.1/contribs/graph/graphutils.icc +140 -0
  48. data/ext/gecode-1.3.1/contribs/graph/misc/doxygen/footer.html +1 -0
  49. data/ext/gecode-1.3.1/contribs/graph/path.hh +116 -0
  50. data/ext/gecode-1.3.1/contribs/graph/path.icc +64 -0
  51. data/ext/gecode-1.3.1/contribs/graph/path/path.icc +139 -0
  52. data/ext/gecode-1.3.1/contribs/graph/path/pathdegree.icc +133 -0
  53. data/ext/gecode-1.3.1/contribs/graph/path/pathgraphs.icc +341 -0
  54. data/ext/gecode-1.3.1/contribs/graph/shortdesc.ac +1 -0
  55. data/ext/gecode-1.3.1/contribs/graph/stlutility.icc +105 -0
  56. data/ext/gecode-1.3.1/contribs/graph/var.icc +106 -0
  57. data/ext/gecode-1.3.1/contribs/graph/view.icc +373 -0
  58. data/ext/gecode-1.3.1/contribs/graph/view/arcnode.cc +162 -0
  59. data/ext/gecode-1.3.1/contribs/graph/view/arcnode.hh +78 -0
  60. data/ext/gecode-1.3.1/contribs/graph/view/boundsgraphs.icc +349 -0
  61. data/ext/gecode-1.3.1/contribs/graph/view/constant.icc +148 -0
  62. data/ext/gecode-1.3.1/contribs/graph/view/iter.icc +337 -0
  63. data/ext/gecode-1.3.1/contribs/graph/view/nodearcsets.icc +493 -0
  64. data/ext/gecode-1.3.1/contribs/graph/view/nodeset.icc +60 -0
  65. data/ext/gecode-1.3.1/contribs/graph/view/outadjsets.icc +600 -0
  66. data/ext/gecode-1.3.1/contribs/graph/view/prop.icc +135 -0
  67. data/ext/gecode-1.3.1/contribs/map/COMPILING +68 -0
  68. data/ext/gecode-1.3.1/contribs/map/LICENSE +11 -0
  69. data/ext/gecode-1.3.1/contribs/map/Makefile.in.in +173 -0
  70. data/ext/gecode-1.3.1/contribs/map/configure +2285 -0
  71. data/ext/gecode-1.3.1/contribs/map/configure.ac +32 -0
  72. data/ext/gecode-1.3.1/contribs/map/constraints.hh +46 -0
  73. data/ext/gecode-1.3.1/contribs/map/constraints.icc +84 -0
  74. data/ext/gecode-1.3.1/contribs/map/doxygen.conf +1229 -0
  75. data/ext/gecode-1.3.1/contribs/map/doxygen.hh +33 -0
  76. data/ext/gecode-1.3.1/contribs/map/examples/approximateMatching.cc +199 -0
  77. data/ext/gecode-1.3.1/contribs/map/examples/g1.txt +1 -0
  78. data/ext/gecode-1.3.1/contribs/map/examples/g2.txt +1 -0
  79. data/ext/gecode-1.3.1/contribs/map/examples/graph-examples.tgz +0 -0
  80. data/ext/gecode-1.3.1/contribs/map/examples/isomorphism.cc +148 -0
  81. data/ext/gecode-1.3.1/contribs/map/examples/map +0 -0
  82. data/ext/gecode-1.3.1/contribs/map/examples/map.cc +80 -0
  83. data/ext/gecode-1.3.1/contribs/map/examples/subgraphmonomorphism.cc +155 -0
  84. data/ext/gecode-1.3.1/contribs/map/map.hh +65 -0
  85. data/ext/gecode-1.3.1/contribs/map/matching/mono.hh +235 -0
  86. data/ext/gecode-1.3.1/contribs/map/matching/mono.icc +771 -0
  87. data/ext/gecode-1.3.1/contribs/map/shortdesc.ac +2 -0
  88. data/ext/gecode-1.3.1/contribs/map/var.icc +346 -0
  89. data/ext/gecode-1.3.1/contribs/map/var/imp.cc +42 -0
  90. data/ext/gecode-1.3.1/contribs/map/var/imp.icc +436 -0
  91. data/ext/gecode-1.3.1/doxygen.conf.in +1225 -0
  92. data/ext/gecode-1.3.1/doxygen.hh.in +877 -0
  93. data/ext/gecode-1.3.1/examples/all-interval-sort.cc +201 -0
  94. data/ext/gecode-1.3.1/examples/all-interval.cc +114 -0
  95. data/ext/gecode-1.3.1/examples/alpha.cc +112 -0
  96. data/ext/gecode-1.3.1/examples/baseline.cc +71 -0
  97. data/ext/gecode-1.3.1/examples/bibd.cc +173 -0
  98. data/ext/gecode-1.3.1/examples/black-hole.cc +281 -0
  99. data/ext/gecode-1.3.1/examples/cars.cc +165 -0
  100. data/ext/gecode-1.3.1/examples/crew.cc +220 -0
  101. data/ext/gecode-1.3.1/examples/crowded-chess.cc +312 -0
  102. data/ext/gecode-1.3.1/examples/donald.cc +93 -0
  103. data/ext/gecode-1.3.1/examples/eq20.cc +111 -0
  104. data/ext/gecode-1.3.1/examples/golf.cc +242 -0
  105. data/ext/gecode-1.3.1/examples/golomb.cc +141 -0
  106. data/ext/gecode-1.3.1/examples/graph-color.cc +371 -0
  107. data/ext/gecode-1.3.1/examples/grocery.cc +107 -0
  108. data/ext/gecode-1.3.1/examples/hamming.cc +107 -0
  109. data/ext/gecode-1.3.1/examples/ind-set.cc +130 -0
  110. data/ext/gecode-1.3.1/examples/knights.cc +146 -0
  111. data/ext/gecode-1.3.1/examples/langfordnum.cc +244 -0
  112. data/ext/gecode-1.3.1/examples/magic-sequence-gcc.cc +93 -0
  113. data/ext/gecode-1.3.1/examples/magic-sequence.cc +108 -0
  114. data/ext/gecode-1.3.1/examples/magic-square.cc +120 -0
  115. data/ext/gecode-1.3.1/examples/money.cc +92 -0
  116. data/ext/gecode-1.3.1/examples/ortho-latin.cc +156 -0
  117. data/ext/gecode-1.3.1/examples/packing.cc +211 -0
  118. data/ext/gecode-1.3.1/examples/partition.cc +126 -0
  119. data/ext/gecode-1.3.1/examples/photo.cc +155 -0
  120. data/ext/gecode-1.3.1/examples/picture-puzzle.cc +481 -0
  121. data/ext/gecode-1.3.1/examples/queen-armies.cc +240 -0
  122. data/ext/gecode-1.3.1/examples/queens.cc +99 -0
  123. data/ext/gecode-1.3.1/examples/sports-league.cc +454 -0
  124. data/ext/gecode-1.3.1/examples/steiner.cc +148 -0
  125. data/ext/gecode-1.3.1/examples/stress-domain.cc +86 -0
  126. data/ext/gecode-1.3.1/examples/stress-element.cc +95 -0
  127. data/ext/gecode-1.3.1/examples/stress-exec.cc +74 -0
  128. data/ext/gecode-1.3.1/examples/stress-min.cc +84 -0
  129. data/ext/gecode-1.3.1/examples/stress-search.cc +72 -0
  130. data/ext/gecode-1.3.1/examples/sudoku-mixed.cc +282 -0
  131. data/ext/gecode-1.3.1/examples/sudoku-set.cc +162 -0
  132. data/ext/gecode-1.3.1/examples/sudoku.cc +188 -0
  133. data/ext/gecode-1.3.1/examples/sudoku.icc +703 -0
  134. data/ext/gecode-1.3.1/examples/support.cc +160 -0
  135. data/ext/gecode-1.3.1/examples/support.hh +98 -0
  136. data/ext/gecode-1.3.1/examples/support.icc +187 -0
  137. data/ext/gecode-1.3.1/examples/timer.cc +47 -0
  138. data/ext/gecode-1.3.1/examples/timer.hh +72 -0
  139. data/ext/gecode-1.3.1/examples/warehouses.cc +176 -0
  140. data/ext/gecode-1.3.1/extconf.rb +8 -0
  141. data/ext/gecode-1.3.1/gecode.m4 +736 -0
  142. data/ext/gecode-1.3.1/gecode/config.icc.in +50 -0
  143. data/ext/gecode-1.3.1/gecode/int.hh +1426 -0
  144. data/ext/gecode-1.3.1/gecode/int/arithmetic.cc +87 -0
  145. data/ext/gecode-1.3.1/gecode/int/arithmetic.hh +292 -0
  146. data/ext/gecode-1.3.1/gecode/int/arithmetic/abs.icc +213 -0
  147. data/ext/gecode-1.3.1/gecode/int/arithmetic/max.icc +196 -0
  148. data/ext/gecode-1.3.1/gecode/int/arithmetic/mult.icc +478 -0
  149. data/ext/gecode-1.3.1/gecode/int/array.cc +61 -0
  150. data/ext/gecode-1.3.1/gecode/int/array.icc +264 -0
  151. data/ext/gecode-1.3.1/gecode/int/bool.cc +187 -0
  152. data/ext/gecode-1.3.1/gecode/int/bool.hh +255 -0
  153. data/ext/gecode-1.3.1/gecode/int/bool/base.icc +123 -0
  154. data/ext/gecode-1.3.1/gecode/int/bool/eq.icc +89 -0
  155. data/ext/gecode-1.3.1/gecode/int/bool/eqv.icc +132 -0
  156. data/ext/gecode-1.3.1/gecode/int/bool/or.icc +380 -0
  157. data/ext/gecode-1.3.1/gecode/int/branch.cc +81 -0
  158. data/ext/gecode-1.3.1/gecode/int/branch.hh +444 -0
  159. data/ext/gecode-1.3.1/gecode/int/branch/assign.cc +83 -0
  160. data/ext/gecode-1.3.1/gecode/int/branch/assign.icc +76 -0
  161. data/ext/gecode-1.3.1/gecode/int/branch/select-val.icc +104 -0
  162. data/ext/gecode-1.3.1/gecode/int/branch/select-view.icc +219 -0
  163. data/ext/gecode-1.3.1/gecode/int/channel.cc +62 -0
  164. data/ext/gecode-1.3.1/gecode/int/channel.hh +144 -0
  165. data/ext/gecode-1.3.1/gecode/int/channel/base.icc +60 -0
  166. data/ext/gecode-1.3.1/gecode/int/channel/dom.icc +313 -0
  167. data/ext/gecode-1.3.1/gecode/int/channel/stack.icc +59 -0
  168. data/ext/gecode-1.3.1/gecode/int/channel/val.icc +239 -0
  169. data/ext/gecode-1.3.1/gecode/int/count.cc +174 -0
  170. data/ext/gecode-1.3.1/gecode/int/count.hh +401 -0
  171. data/ext/gecode-1.3.1/gecode/int/count/int.icc +495 -0
  172. data/ext/gecode-1.3.1/gecode/int/count/rel.icc +100 -0
  173. data/ext/gecode-1.3.1/gecode/int/count/view.icc +332 -0
  174. data/ext/gecode-1.3.1/gecode/int/cumulatives.cc +210 -0
  175. data/ext/gecode-1.3.1/gecode/int/cumulatives.hh +118 -0
  176. data/ext/gecode-1.3.1/gecode/int/cumulatives/val.icc +377 -0
  177. data/ext/gecode-1.3.1/gecode/int/distinct.cc +77 -0
  178. data/ext/gecode-1.3.1/gecode/int/distinct.hh +272 -0
  179. data/ext/gecode-1.3.1/gecode/int/distinct/bilink.icc +73 -0
  180. data/ext/gecode-1.3.1/gecode/int/distinct/bnd.icc +335 -0
  181. data/ext/gecode-1.3.1/gecode/int/distinct/combptr.icc +62 -0
  182. data/ext/gecode-1.3.1/gecode/int/distinct/dom.icc +740 -0
  183. data/ext/gecode-1.3.1/gecode/int/distinct/edge.icc +96 -0
  184. data/ext/gecode-1.3.1/gecode/int/distinct/node.icc +107 -0
  185. data/ext/gecode-1.3.1/gecode/int/distinct/ter-dom.icc +97 -0
  186. data/ext/gecode-1.3.1/gecode/int/distinct/val.icc +171 -0
  187. data/ext/gecode-1.3.1/gecode/int/dom.cc +81 -0
  188. data/ext/gecode-1.3.1/gecode/int/dom.hh +101 -0
  189. data/ext/gecode-1.3.1/gecode/int/dom/range.icc +85 -0
  190. data/ext/gecode-1.3.1/gecode/int/dom/spec.icc +85 -0
  191. data/ext/gecode-1.3.1/gecode/int/element.cc +58 -0
  192. data/ext/gecode-1.3.1/gecode/int/element.hh +203 -0
  193. data/ext/gecode-1.3.1/gecode/int/element/int.icc +396 -0
  194. data/ext/gecode-1.3.1/gecode/int/element/view.icc +443 -0
  195. data/ext/gecode-1.3.1/gecode/int/exception.icc +137 -0
  196. data/ext/gecode-1.3.1/gecode/int/gcc.cc +708 -0
  197. data/ext/gecode-1.3.1/gecode/int/gcc.hh +338 -0
  198. data/ext/gecode-1.3.1/gecode/int/gcc/bnd.icc +629 -0
  199. data/ext/gecode-1.3.1/gecode/int/gcc/dom.icc +504 -0
  200. data/ext/gecode-1.3.1/gecode/int/gcc/gccbndsup.icc +760 -0
  201. data/ext/gecode-1.3.1/gecode/int/gcc/graphsup.icc +2375 -0
  202. data/ext/gecode-1.3.1/gecode/int/gcc/lbc.icc +375 -0
  203. data/ext/gecode-1.3.1/gecode/int/gcc/occur.icc +687 -0
  204. data/ext/gecode-1.3.1/gecode/int/gcc/ubc.icc +236 -0
  205. data/ext/gecode-1.3.1/gecode/int/gcc/val.icc +373 -0
  206. data/ext/gecode-1.3.1/gecode/int/int-set.cc +115 -0
  207. data/ext/gecode-1.3.1/gecode/int/int-set.icc +151 -0
  208. data/ext/gecode-1.3.1/gecode/int/linear.cc +247 -0
  209. data/ext/gecode-1.3.1/gecode/int/linear.hh +1056 -0
  210. data/ext/gecode-1.3.1/gecode/int/linear/binary.icc +439 -0
  211. data/ext/gecode-1.3.1/gecode/int/linear/bool-int.icc +422 -0
  212. data/ext/gecode-1.3.1/gecode/int/linear/bool-view.icc +311 -0
  213. data/ext/gecode-1.3.1/gecode/int/linear/dom.icc +503 -0
  214. data/ext/gecode-1.3.1/gecode/int/linear/nary.icc +857 -0
  215. data/ext/gecode-1.3.1/gecode/int/linear/noview.icc +264 -0
  216. data/ext/gecode-1.3.1/gecode/int/linear/post.cc +542 -0
  217. data/ext/gecode-1.3.1/gecode/int/linear/ternary.icc +255 -0
  218. data/ext/gecode-1.3.1/gecode/int/propagator.icc +194 -0
  219. data/ext/gecode-1.3.1/gecode/int/regular.cc +40 -0
  220. data/ext/gecode-1.3.1/gecode/int/regular.hh +83 -0
  221. data/ext/gecode-1.3.1/gecode/int/regular/dfa.cc +466 -0
  222. data/ext/gecode-1.3.1/gecode/int/regular/dfa.icc +172 -0
  223. data/ext/gecode-1.3.1/gecode/int/regular/dom.icc +480 -0
  224. data/ext/gecode-1.3.1/gecode/int/regular/reg.cc +738 -0
  225. data/ext/gecode-1.3.1/gecode/int/rel.cc +293 -0
  226. data/ext/gecode-1.3.1/gecode/int/rel.hh +526 -0
  227. data/ext/gecode-1.3.1/gecode/int/rel/eq.icc +640 -0
  228. data/ext/gecode-1.3.1/gecode/int/rel/lex.icc +212 -0
  229. data/ext/gecode-1.3.1/gecode/int/rel/lq-le.icc +246 -0
  230. data/ext/gecode-1.3.1/gecode/int/rel/nq.icc +188 -0
  231. data/ext/gecode-1.3.1/gecode/int/sortedness.cc +124 -0
  232. data/ext/gecode-1.3.1/gecode/int/sortedness.hh +108 -0
  233. data/ext/gecode-1.3.1/gecode/int/sortedness/matching.icc +177 -0
  234. data/ext/gecode-1.3.1/gecode/int/sortedness/narrowing.icc +243 -0
  235. data/ext/gecode-1.3.1/gecode/int/sortedness/order.icc +232 -0
  236. data/ext/gecode-1.3.1/gecode/int/sortedness/sortedness.icc +727 -0
  237. data/ext/gecode-1.3.1/gecode/int/sortedness/sortsup.icc +666 -0
  238. data/ext/gecode-1.3.1/gecode/int/var-imp.vis +198 -0
  239. data/ext/gecode-1.3.1/gecode/int/var.icc +590 -0
  240. data/ext/gecode-1.3.1/gecode/int/var/bool.icc +52 -0
  241. data/ext/gecode-1.3.1/gecode/int/var/imp-body.icc +65 -0
  242. data/ext/gecode-1.3.1/gecode/int/var/imp-hdr.icc +191 -0
  243. data/ext/gecode-1.3.1/gecode/int/var/imp.cc +361 -0
  244. data/ext/gecode-1.3.1/gecode/int/var/imp.icc +579 -0
  245. data/ext/gecode-1.3.1/gecode/int/var/int.cc +63 -0
  246. data/ext/gecode-1.3.1/gecode/int/var/int.icc +135 -0
  247. data/ext/gecode-1.3.1/gecode/int/view.icc +1219 -0
  248. data/ext/gecode-1.3.1/gecode/int/view/bool.icc +270 -0
  249. data/ext/gecode-1.3.1/gecode/int/view/constint.icc +306 -0
  250. data/ext/gecode-1.3.1/gecode/int/view/int.icc +221 -0
  251. data/ext/gecode-1.3.1/gecode/int/view/iter.icc +49 -0
  252. data/ext/gecode-1.3.1/gecode/int/view/minus.icc +285 -0
  253. data/ext/gecode-1.3.1/gecode/int/view/offset.icc +274 -0
  254. data/ext/gecode-1.3.1/gecode/int/view/print.cc +109 -0
  255. data/ext/gecode-1.3.1/gecode/int/view/rtest.icc +215 -0
  256. data/ext/gecode-1.3.1/gecode/int/view/scale.icc +373 -0
  257. data/ext/gecode-1.3.1/gecode/iter.hh +65 -0
  258. data/ext/gecode-1.3.1/gecode/iter/ranges-add.icc +130 -0
  259. data/ext/gecode-1.3.1/gecode/iter/ranges-append.icc +208 -0
  260. data/ext/gecode-1.3.1/gecode/iter/ranges-array.icc +123 -0
  261. data/ext/gecode-1.3.1/gecode/iter/ranges-cache.icc +143 -0
  262. data/ext/gecode-1.3.1/gecode/iter/ranges-compl.icc +206 -0
  263. data/ext/gecode-1.3.1/gecode/iter/ranges-diff.icc +127 -0
  264. data/ext/gecode-1.3.1/gecode/iter/ranges-empty.icc +96 -0
  265. data/ext/gecode-1.3.1/gecode/iter/ranges-inter.icc +202 -0
  266. data/ext/gecode-1.3.1/gecode/iter/ranges-minmax.icc +103 -0
  267. data/ext/gecode-1.3.1/gecode/iter/ranges-minus.icc +138 -0
  268. data/ext/gecode-1.3.1/gecode/iter/ranges-offset.icc +112 -0
  269. data/ext/gecode-1.3.1/gecode/iter/ranges-operations.icc +142 -0
  270. data/ext/gecode-1.3.1/gecode/iter/ranges-scale.icc +224 -0
  271. data/ext/gecode-1.3.1/gecode/iter/ranges-singleton.icc +71 -0
  272. data/ext/gecode-1.3.1/gecode/iter/ranges-size.icc +131 -0
  273. data/ext/gecode-1.3.1/gecode/iter/ranges-union.icc +211 -0
  274. data/ext/gecode-1.3.1/gecode/iter/ranges-values.icc +125 -0
  275. data/ext/gecode-1.3.1/gecode/iter/values-ranges.icc +91 -0
  276. data/ext/gecode-1.3.1/gecode/iter/virtual-ranges-compl.icc +247 -0
  277. data/ext/gecode-1.3.1/gecode/iter/virtual-ranges-inter.icc +227 -0
  278. data/ext/gecode-1.3.1/gecode/iter/virtual-ranges-union.icc +236 -0
  279. data/ext/gecode-1.3.1/gecode/iter/virtual-ranges.icc +126 -0
  280. data/ext/gecode-1.3.1/gecode/kernel.hh +141 -0
  281. data/ext/gecode-1.3.1/gecode/kernel/array.icc +954 -0
  282. data/ext/gecode-1.3.1/gecode/kernel/branching.icc +233 -0
  283. data/ext/gecode-1.3.1/gecode/kernel/core.cc +417 -0
  284. data/ext/gecode-1.3.1/gecode/kernel/core.icc +1681 -0
  285. data/ext/gecode-1.3.1/gecode/kernel/exception.cc +49 -0
  286. data/ext/gecode-1.3.1/gecode/kernel/exception.icc +104 -0
  287. data/ext/gecode-1.3.1/gecode/kernel/macros.icc +98 -0
  288. data/ext/gecode-1.3.1/gecode/kernel/memory-manager.cc +41 -0
  289. data/ext/gecode-1.3.1/gecode/kernel/memory-manager.icc +438 -0
  290. data/ext/gecode-1.3.1/gecode/kernel/memory.icc +205 -0
  291. data/ext/gecode-1.3.1/gecode/kernel/modevent.icc +53 -0
  292. data/ext/gecode-1.3.1/gecode/kernel/propagator.icc +680 -0
  293. data/ext/gecode-1.3.1/gecode/kernel/view.icc +583 -0
  294. data/ext/gecode-1.3.1/gecode/limits.hh +87 -0
  295. data/ext/gecode-1.3.1/gecode/minimodel.hh +942 -0
  296. data/ext/gecode-1.3.1/gecode/minimodel/arithmetic.cc +137 -0
  297. data/ext/gecode-1.3.1/gecode/minimodel/bool-expr.cc +207 -0
  298. data/ext/gecode-1.3.1/gecode/minimodel/bool-expr.icc +191 -0
  299. data/ext/gecode-1.3.1/gecode/minimodel/bool-rel.icc +66 -0
  300. data/ext/gecode-1.3.1/gecode/minimodel/exception.icc +59 -0
  301. data/ext/gecode-1.3.1/gecode/minimodel/lin-expr.cc +103 -0
  302. data/ext/gecode-1.3.1/gecode/minimodel/lin-expr.icc +192 -0
  303. data/ext/gecode-1.3.1/gecode/minimodel/lin-rel.icc +200 -0
  304. data/ext/gecode-1.3.1/gecode/minimodel/matrix.icc +118 -0
  305. data/ext/gecode-1.3.1/gecode/minimodel/scheduling.cc +241 -0
  306. data/ext/gecode-1.3.1/gecode/search.hh +745 -0
  307. data/ext/gecode-1.3.1/gecode/search/bab.cc +153 -0
  308. data/ext/gecode-1.3.1/gecode/search/bab.icc +101 -0
  309. data/ext/gecode-1.3.1/gecode/search/dfs.cc +63 -0
  310. data/ext/gecode-1.3.1/gecode/search/dfs.icc +144 -0
  311. data/ext/gecode-1.3.1/gecode/search/engine-ctrl.icc +109 -0
  312. data/ext/gecode-1.3.1/gecode/search/lds.cc +237 -0
  313. data/ext/gecode-1.3.1/gecode/search/lds.icc +57 -0
  314. data/ext/gecode-1.3.1/gecode/search/reco-stack.icc +219 -0
  315. data/ext/gecode-1.3.1/gecode/search/restart.icc +76 -0
  316. data/ext/gecode-1.3.1/gecode/search/statistics.icc +30 -0
  317. data/ext/gecode-1.3.1/gecode/search/stop.cc +58 -0
  318. data/ext/gecode-1.3.1/gecode/search/stop.icc +100 -0
  319. data/ext/gecode-1.3.1/gecode/set.hh +419 -0
  320. data/ext/gecode-1.3.1/gecode/set/array.cc +114 -0
  321. data/ext/gecode-1.3.1/gecode/set/array.icc +134 -0
  322. data/ext/gecode-1.3.1/gecode/set/branch.cc +57 -0
  323. data/ext/gecode-1.3.1/gecode/set/branch.hh +176 -0
  324. data/ext/gecode-1.3.1/gecode/set/branch/select-val.icc +72 -0
  325. data/ext/gecode-1.3.1/gecode/set/branch/select-view.icc +112 -0
  326. data/ext/gecode-1.3.1/gecode/set/cardinality.cc +49 -0
  327. data/ext/gecode-1.3.1/gecode/set/convex.cc +43 -0
  328. data/ext/gecode-1.3.1/gecode/set/convex.hh +92 -0
  329. data/ext/gecode-1.3.1/gecode/set/convex/conv.cc +81 -0
  330. data/ext/gecode-1.3.1/gecode/set/convex/conv.icc +51 -0
  331. data/ext/gecode-1.3.1/gecode/set/convex/hull.cc +100 -0
  332. data/ext/gecode-1.3.1/gecode/set/convex/hull.icc +52 -0
  333. data/ext/gecode-1.3.1/gecode/set/distinct.cc +48 -0
  334. data/ext/gecode-1.3.1/gecode/set/distinct.hh +97 -0
  335. data/ext/gecode-1.3.1/gecode/set/distinct/atmostOne.cc +151 -0
  336. data/ext/gecode-1.3.1/gecode/set/distinct/atmostOne.icc +50 -0
  337. data/ext/gecode-1.3.1/gecode/set/distinct/binomial.cc +46 -0
  338. data/ext/gecode-1.3.1/gecode/set/distinct/binomial.icc +157 -0
  339. data/ext/gecode-1.3.1/gecode/set/distinct/distinct.cc +124 -0
  340. data/ext/gecode-1.3.1/gecode/set/distinct/distinct.icc +58 -0
  341. data/ext/gecode-1.3.1/gecode/set/dom.cc +224 -0
  342. data/ext/gecode-1.3.1/gecode/set/exception.icc +132 -0
  343. data/ext/gecode-1.3.1/gecode/set/int.cc +139 -0
  344. data/ext/gecode-1.3.1/gecode/set/int.hh +226 -0
  345. data/ext/gecode-1.3.1/gecode/set/int/card.cc +61 -0
  346. data/ext/gecode-1.3.1/gecode/set/int/card.icc +54 -0
  347. data/ext/gecode-1.3.1/gecode/set/int/channel.cc +100 -0
  348. data/ext/gecode-1.3.1/gecode/set/int/channel.icc +75 -0
  349. data/ext/gecode-1.3.1/gecode/set/int/match.cc +148 -0
  350. data/ext/gecode-1.3.1/gecode/set/int/match.icc +67 -0
  351. data/ext/gecode-1.3.1/gecode/set/int/minmax.cc +109 -0
  352. data/ext/gecode-1.3.1/gecode/set/int/minmax.icc +63 -0
  353. data/ext/gecode-1.3.1/gecode/set/int/weights.cc +182 -0
  354. data/ext/gecode-1.3.1/gecode/set/int/weights.icc +174 -0
  355. data/ext/gecode-1.3.1/gecode/set/projectors-compiler.hh +148 -0
  356. data/ext/gecode-1.3.1/gecode/set/projectors.cc +109 -0
  357. data/ext/gecode-1.3.1/gecode/set/projectors.hh +319 -0
  358. data/ext/gecode-1.3.1/gecode/set/projectors/compiler.cc +841 -0
  359. data/ext/gecode-1.3.1/gecode/set/projectors/projector-set.cc +69 -0
  360. data/ext/gecode-1.3.1/gecode/set/projectors/projector-set.icc +66 -0
  361. data/ext/gecode-1.3.1/gecode/set/projectors/projector.cc +125 -0
  362. data/ext/gecode-1.3.1/gecode/set/projectors/projector.icc +79 -0
  363. data/ext/gecode-1.3.1/gecode/set/projectors/propagator.hh +127 -0
  364. data/ext/gecode-1.3.1/gecode/set/projectors/propagator/card.icc +96 -0
  365. data/ext/gecode-1.3.1/gecode/set/projectors/propagator/nary.icc +106 -0
  366. data/ext/gecode-1.3.1/gecode/set/projectors/propagator/re-nary.cc +76 -0
  367. data/ext/gecode-1.3.1/gecode/set/projectors/propagator/re-nary.icc +53 -0
  368. data/ext/gecode-1.3.1/gecode/set/projectors/set-expr.cc +306 -0
  369. data/ext/gecode-1.3.1/gecode/set/projectors/set-expr.icc +192 -0
  370. data/ext/gecode-1.3.1/gecode/set/propagator.icc +96 -0
  371. data/ext/gecode-1.3.1/gecode/set/rel-op-const.cc +233 -0
  372. data/ext/gecode-1.3.1/gecode/set/rel-op.cc +96 -0
  373. data/ext/gecode-1.3.1/gecode/set/rel-op.hh +267 -0
  374. data/ext/gecode-1.3.1/gecode/set/rel-op/common.icc +528 -0
  375. data/ext/gecode-1.3.1/gecode/set/rel-op/inter.icc +312 -0
  376. data/ext/gecode-1.3.1/gecode/set/rel-op/partition.icc +131 -0
  377. data/ext/gecode-1.3.1/gecode/set/rel-op/post.icc +198 -0
  378. data/ext/gecode-1.3.1/gecode/set/rel-op/subofunion.icc +150 -0
  379. data/ext/gecode-1.3.1/gecode/set/rel-op/superofinter.icc +151 -0
  380. data/ext/gecode-1.3.1/gecode/set/rel-op/union.icc +292 -0
  381. data/ext/gecode-1.3.1/gecode/set/rel.cc +201 -0
  382. data/ext/gecode-1.3.1/gecode/set/rel.hh +250 -0
  383. data/ext/gecode-1.3.1/gecode/set/rel/common.icc +109 -0
  384. data/ext/gecode-1.3.1/gecode/set/rel/eq.icc +101 -0
  385. data/ext/gecode-1.3.1/gecode/set/rel/nosubset.icc +88 -0
  386. data/ext/gecode-1.3.1/gecode/set/rel/nq.icc +132 -0
  387. data/ext/gecode-1.3.1/gecode/set/rel/re-eq.icc +142 -0
  388. data/ext/gecode-1.3.1/gecode/set/rel/re-subset.icc +121 -0
  389. data/ext/gecode-1.3.1/gecode/set/rel/subset.icc +80 -0
  390. data/ext/gecode-1.3.1/gecode/set/select.cc +88 -0
  391. data/ext/gecode-1.3.1/gecode/set/select.hh +113 -0
  392. data/ext/gecode-1.3.1/gecode/set/select/disjoint.cc +267 -0
  393. data/ext/gecode-1.3.1/gecode/set/select/disjoint.icc +59 -0
  394. data/ext/gecode-1.3.1/gecode/set/select/idxarray.hh +91 -0
  395. data/ext/gecode-1.3.1/gecode/set/select/idxarray.icc +112 -0
  396. data/ext/gecode-1.3.1/gecode/set/select/inter.icc +300 -0
  397. data/ext/gecode-1.3.1/gecode/set/sequence.cc +48 -0
  398. data/ext/gecode-1.3.1/gecode/set/sequence.hh +97 -0
  399. data/ext/gecode-1.3.1/gecode/set/sequence/common.icc +79 -0
  400. data/ext/gecode-1.3.1/gecode/set/sequence/seq-u.cc +83 -0
  401. data/ext/gecode-1.3.1/gecode/set/sequence/seq-u.icc +63 -0
  402. data/ext/gecode-1.3.1/gecode/set/sequence/seq.cc +61 -0
  403. data/ext/gecode-1.3.1/gecode/set/sequence/seq.icc +53 -0
  404. data/ext/gecode-1.3.1/gecode/set/var-imp.vis +205 -0
  405. data/ext/gecode-1.3.1/gecode/set/var.icc +1090 -0
  406. data/ext/gecode-1.3.1/gecode/set/var/imp-body.icc +192 -0
  407. data/ext/gecode-1.3.1/gecode/set/var/imp-hdr.icc +235 -0
  408. data/ext/gecode-1.3.1/gecode/set/var/imp.cc +127 -0
  409. data/ext/gecode-1.3.1/gecode/set/var/imp.icc +356 -0
  410. data/ext/gecode-1.3.1/gecode/set/var/integerset.cc +256 -0
  411. data/ext/gecode-1.3.1/gecode/set/var/integerset.icc +512 -0
  412. data/ext/gecode-1.3.1/gecode/set/var/iter.icc +47 -0
  413. data/ext/gecode-1.3.1/gecode/set/var/set.cc +99 -0
  414. data/ext/gecode-1.3.1/gecode/set/var/set.icc +282 -0
  415. data/ext/gecode-1.3.1/gecode/set/view.icc +1075 -0
  416. data/ext/gecode-1.3.1/gecode/set/view/complement.icc +525 -0
  417. data/ext/gecode-1.3.1/gecode/set/view/const.icc +651 -0
  418. data/ext/gecode-1.3.1/gecode/set/view/print.cc +120 -0
  419. data/ext/gecode-1.3.1/gecode/set/view/set.icc +217 -0
  420. data/ext/gecode-1.3.1/gecode/set/view/singleton.icc +348 -0
  421. data/ext/gecode-1.3.1/gecode/support/block-allocator.hh +152 -0
  422. data/ext/gecode-1.3.1/gecode/support/dynamic-array.hh +131 -0
  423. data/ext/gecode-1.3.1/gecode/support/dynamic-stack.hh +157 -0
  424. data/ext/gecode-1.3.1/gecode/support/random.hh +100 -0
  425. data/ext/gecode-1.3.1/gecode/support/shared-array.hh +255 -0
  426. data/ext/gecode-1.3.1/gecode/support/sort.hh +193 -0
  427. data/ext/gecode-1.3.1/gecode/support/static-pqueue.hh +240 -0
  428. data/ext/gecode-1.3.1/gecode/support/static-stack.hh +117 -0
  429. data/ext/gecode-1.3.1/install-sh +323 -0
  430. data/ext/gecode-1.3.1/misc/debian/Makefile.am +8 -0
  431. data/ext/gecode-1.3.1/misc/debian/changelog +6 -0
  432. data/ext/gecode-1.3.1/misc/debian/control +11 -0
  433. data/ext/gecode-1.3.1/misc/debian/copyright +44 -0
  434. data/ext/gecode-1.3.1/misc/debian/gecode.info +9 -0
  435. data/ext/gecode-1.3.1/misc/debian/gecode.install +2 -0
  436. data/ext/gecode-1.3.1/misc/debian/gecode.spec +58 -0
  437. data/ext/gecode-1.3.1/misc/debian/rules +81 -0
  438. data/ext/gecode-1.3.1/misc/doxygen/back.png +0 -0
  439. data/ext/gecode-1.3.1/misc/doxygen/footer.html +3 -0
  440. data/ext/gecode-1.3.1/misc/doxygen/gecode-logo-100.png +0 -0
  441. data/ext/gecode-1.3.1/misc/doxygen/header.html +46 -0
  442. data/ext/gecode-1.3.1/misc/doxygen/stylesheet.css +460 -0
  443. data/ext/gecode-1.3.1/misc/fixproperties.sh +32 -0
  444. data/ext/gecode-1.3.1/misc/gecode-minimodel.pc.in +12 -0
  445. data/ext/gecode-1.3.1/misc/gecode-search.pc.in +12 -0
  446. data/ext/gecode-1.3.1/misc/gecode.pc.in +12 -0
  447. data/ext/gecode-1.3.1/misc/genchangelog.perl +190 -0
  448. data/ext/gecode-1.3.1/misc/genlicense.perl +113 -0
  449. data/ext/gecode-1.3.1/misc/genstatistics.perl +155 -0
  450. data/ext/gecode-1.3.1/misc/gentxtchangelog.perl +170 -0
  451. data/ext/gecode-1.3.1/misc/genvarimp.perl +666 -0
  452. data/ext/gecode-1.3.1/misc/getrevision.perl +32 -0
  453. data/ext/gecode-1.3.1/misc/makedepend.perl +66 -0
  454. data/ext/gecode-1.3.1/test/int.cc +497 -0
  455. data/ext/gecode-1.3.1/test/int.hh +119 -0
  456. data/ext/gecode-1.3.1/test/int/arithmetic.cc +262 -0
  457. data/ext/gecode-1.3.1/test/int/basic.cc +42 -0
  458. data/ext/gecode-1.3.1/test/int/bool.cc +189 -0
  459. data/ext/gecode-1.3.1/test/int/channel.cc +79 -0
  460. data/ext/gecode-1.3.1/test/int/count.cc +264 -0
  461. data/ext/gecode-1.3.1/test/int/distinct.cc +121 -0
  462. data/ext/gecode-1.3.1/test/int/dom.cc +69 -0
  463. data/ext/gecode-1.3.1/test/int/element.cc +132 -0
  464. data/ext/gecode-1.3.1/test/int/gcc.cc +592 -0
  465. data/ext/gecode-1.3.1/test/int/linear.cc +315 -0
  466. data/ext/gecode-1.3.1/test/int/minimodel.cc +451 -0
  467. data/ext/gecode-1.3.1/test/int/regular.cc +105 -0
  468. data/ext/gecode-1.3.1/test/int/rel.cc +283 -0
  469. data/ext/gecode-1.3.1/test/int/scheduling.cc +259 -0
  470. data/ext/gecode-1.3.1/test/int/sortedness.cc +272 -0
  471. data/ext/gecode-1.3.1/test/intset.cc +40 -0
  472. data/ext/gecode-1.3.1/test/log.cc +515 -0
  473. data/ext/gecode-1.3.1/test/log.hh +68 -0
  474. data/ext/gecode-1.3.1/test/set.cc +542 -0
  475. data/ext/gecode-1.3.1/test/set.hh +152 -0
  476. data/ext/gecode-1.3.1/test/set/convex.cc +94 -0
  477. data/ext/gecode-1.3.1/test/set/distinct.cc +148 -0
  478. data/ext/gecode-1.3.1/test/set/dom.cc +67 -0
  479. data/ext/gecode-1.3.1/test/set/int.cc +249 -0
  480. data/ext/gecode-1.3.1/test/set/projection.cc +333 -0
  481. data/ext/gecode-1.3.1/test/set/rel-op.cc +662 -0
  482. data/ext/gecode-1.3.1/test/set/rel.cc +198 -0
  483. data/ext/gecode-1.3.1/test/set/select.cc +108 -0
  484. data/ext/gecode-1.3.1/test/set/sequence.cc +83 -0
  485. data/ext/gecode-1.3.1/test/stress.cc +93 -0
  486. data/ext/gecode-1.3.1/test/stress.hh +74 -0
  487. data/ext/gecode-1.3.1/test/stress/distinct.cc +70 -0
  488. data/ext/gecode-1.3.1/test/stress/domain.cc +69 -0
  489. data/ext/gecode-1.3.1/test/stress/exec.cc +60 -0
  490. data/ext/gecode-1.3.1/test/stress/minsort.cc +63 -0
  491. data/ext/gecode-1.3.1/test/stress/regular.cc +112 -0
  492. data/ext/gecode-1.3.1/test/test.cc +215 -0
  493. data/ext/gecode-1.3.1/test/test.hh +107 -0
  494. data/ext/missing.cpp +328 -0
  495. data/ext/missing.h +120 -0
  496. data/ext/vararray.cpp +330 -0
  497. data/ext/vararray.h +149 -0
  498. data/lib/gecoder.rb +5 -0
  499. data/lib/gecoder/bindings.rb +34 -0
  500. data/lib/gecoder/bindings/bindings.rb +2209 -0
  501. data/lib/gecoder/interface.rb +8 -0
  502. data/lib/gecoder/interface/binding_changes.rb +313 -0
  503. data/lib/gecoder/interface/branch.rb +152 -0
  504. data/lib/gecoder/interface/constraints.rb +397 -0
  505. data/lib/gecoder/interface/constraints/bool/boolean.rb +246 -0
  506. data/lib/gecoder/interface/constraints/bool/linear.rb +29 -0
  507. data/lib/gecoder/interface/constraints/bool_enum/boolean.rb +84 -0
  508. data/lib/gecoder/interface/constraints/bool_enum_constraints.rb +8 -0
  509. data/lib/gecoder/interface/constraints/bool_var_constraints.rb +75 -0
  510. data/lib/gecoder/interface/constraints/int/arithmetic.rb +71 -0
  511. data/lib/gecoder/interface/constraints/int/domain.rb +78 -0
  512. data/lib/gecoder/interface/constraints/int/linear.rb +295 -0
  513. data/lib/gecoder/interface/constraints/int_enum/arithmetic.rb +72 -0
  514. data/lib/gecoder/interface/constraints/int_enum/channel.rb +100 -0
  515. data/lib/gecoder/interface/constraints/int_enum/count.rb +92 -0
  516. data/lib/gecoder/interface/constraints/int_enum/distinct.rb +69 -0
  517. data/lib/gecoder/interface/constraints/int_enum/element.rb +82 -0
  518. data/lib/gecoder/interface/constraints/int_enum/equality.rb +38 -0
  519. data/lib/gecoder/interface/constraints/int_enum/sort.rb +126 -0
  520. data/lib/gecoder/interface/constraints/int_enum_constraints.rb +37 -0
  521. data/lib/gecoder/interface/constraints/int_var_constraints.rb +58 -0
  522. data/lib/gecoder/interface/constraints/reifiable_constraints.rb +78 -0
  523. data/lib/gecoder/interface/constraints/set/cardinality.rb +75 -0
  524. data/lib/gecoder/interface/constraints/set/connection.rb +193 -0
  525. data/lib/gecoder/interface/constraints/set/domain.rb +109 -0
  526. data/lib/gecoder/interface/constraints/set/operation.rb +132 -0
  527. data/lib/gecoder/interface/constraints/set/relation.rb +178 -0
  528. data/lib/gecoder/interface/constraints/set_enum/channel.rb +18 -0
  529. data/lib/gecoder/interface/constraints/set_enum/distinct.rb +80 -0
  530. data/lib/gecoder/interface/constraints/set_enum/operation.rb +60 -0
  531. data/lib/gecoder/interface/constraints/set_enum/selection.rb +217 -0
  532. data/lib/gecoder/interface/constraints/set_enum_constraints.rb +34 -0
  533. data/lib/gecoder/interface/constraints/set_var_constraints.rb +72 -0
  534. data/lib/gecoder/interface/enum_matrix.rb +64 -0
  535. data/lib/gecoder/interface/enum_wrapper.rb +153 -0
  536. data/lib/gecoder/interface/model.rb +251 -0
  537. data/lib/gecoder/interface/search.rb +123 -0
  538. data/lib/gecoder/interface/variables.rb +254 -0
  539. data/lib/gecoder/version.rb +4 -0
  540. data/specs/binding_changes.rb +76 -0
  541. data/specs/bool_var.rb +74 -0
  542. data/specs/branch.rb +170 -0
  543. data/specs/constraints/arithmetic.rb +266 -0
  544. data/specs/constraints/bool_enum.rb +140 -0
  545. data/specs/constraints/boolean.rb +232 -0
  546. data/specs/constraints/cardinality.rb +154 -0
  547. data/specs/constraints/channel.rb +126 -0
  548. data/specs/constraints/connection.rb +373 -0
  549. data/specs/constraints/constraint_helper.rb +180 -0
  550. data/specs/constraints/constraints.rb +74 -0
  551. data/specs/constraints/count.rb +139 -0
  552. data/specs/constraints/distinct.rb +218 -0
  553. data/specs/constraints/element.rb +106 -0
  554. data/specs/constraints/equality.rb +31 -0
  555. data/specs/constraints/int_domain.rb +69 -0
  556. data/specs/constraints/int_relation.rb +78 -0
  557. data/specs/constraints/linear.rb +332 -0
  558. data/specs/constraints/reification_sugar.rb +96 -0
  559. data/specs/constraints/selection.rb +292 -0
  560. data/specs/constraints/set_domain.rb +181 -0
  561. data/specs/constraints/set_operation.rb +285 -0
  562. data/specs/constraints/set_relation.rb +201 -0
  563. data/specs/constraints/sort.rb +175 -0
  564. data/specs/enum_matrix.rb +43 -0
  565. data/specs/enum_wrapper.rb +122 -0
  566. data/specs/int_var.rb +144 -0
  567. data/specs/logging.rb +24 -0
  568. data/specs/model.rb +190 -0
  569. data/specs/search.rb +246 -0
  570. data/specs/set_var.rb +68 -0
  571. data/specs/spec_helper.rb +93 -0
  572. data/tasks/all_tasks.rb +1 -0
  573. data/tasks/distribution.rake +129 -0
  574. data/tasks/rcov.rake +17 -0
  575. data/tasks/specs.rake +15 -0
  576. data/tasks/svn.rake +11 -0
  577. data/tasks/website.rake +51 -0
  578. data/vendor/rust/README +28 -0
  579. data/vendor/rust/bin/cxxgenerator.rb +93 -0
  580. data/vendor/rust/include/rust_checks.hh +115 -0
  581. data/vendor/rust/include/rust_conversions.hh +102 -0
  582. data/vendor/rust/rust.rb +67 -0
  583. data/vendor/rust/rust/attribute.rb +51 -0
  584. data/vendor/rust/rust/bindings.rb +172 -0
  585. data/vendor/rust/rust/class.rb +339 -0
  586. data/vendor/rust/rust/constants.rb +48 -0
  587. data/vendor/rust/rust/container.rb +110 -0
  588. data/vendor/rust/rust/cppifaceparser.rb +129 -0
  589. data/vendor/rust/rust/cwrapper.rb +72 -0
  590. data/vendor/rust/rust/cxxclass.rb +98 -0
  591. data/vendor/rust/rust/element.rb +81 -0
  592. data/vendor/rust/rust/enum.rb +63 -0
  593. data/vendor/rust/rust/function.rb +407 -0
  594. data/vendor/rust/rust/namespace.rb +61 -0
  595. data/vendor/rust/rust/templates/AttributeDefinition.rusttpl +17 -0
  596. data/vendor/rust/rust/templates/AttributeInitBinding.rusttpl +9 -0
  597. data/vendor/rust/rust/templates/BindingsHeader.rusttpl +24 -0
  598. data/vendor/rust/rust/templates/BindingsUnit.rusttpl +46 -0
  599. data/vendor/rust/rust/templates/CWrapperClassDefinitions.rusttpl +64 -0
  600. data/vendor/rust/rust/templates/ClassDeclarations.rusttpl +7 -0
  601. data/vendor/rust/rust/templates/ClassInitialize.rusttpl +6 -0
  602. data/vendor/rust/rust/templates/ConstructorStub.rusttpl +21 -0
  603. data/vendor/rust/rust/templates/CxxClassDefinitions.rusttpl +91 -0
  604. data/vendor/rust/rust/templates/CxxMethodStub.rusttpl +12 -0
  605. data/vendor/rust/rust/templates/CxxStandaloneClassDefinitions.rusttpl +26 -0
  606. data/vendor/rust/rust/templates/EnumDeclarations.rusttpl +3 -0
  607. data/vendor/rust/rust/templates/EnumDefinitions.rusttpl +29 -0
  608. data/vendor/rust/rust/templates/FunctionDefinition.rusttpl +9 -0
  609. data/vendor/rust/rust/templates/FunctionInitAlias.rusttpl +5 -0
  610. data/vendor/rust/rust/templates/FunctionInitBinding.rusttpl +9 -0
  611. data/vendor/rust/rust/templates/MethodInitBinding.rusttpl +9 -0
  612. data/vendor/rust/rust/templates/ModuleDeclarations.rusttpl +3 -0
  613. data/vendor/rust/rust/templates/ModuleDefinitions.rusttpl +3 -0
  614. data/vendor/rust/rust/templates/StandaloneClassDeclarations.rusttpl +7 -0
  615. data/vendor/rust/rust/templates/VariableFunctionCall.rusttpl +14 -0
  616. data/vendor/rust/rust/type.rb +98 -0
  617. data/vendor/rust/test/Makefile +4 -0
  618. data/vendor/rust/test/constants.rb +36 -0
  619. data/vendor/rust/test/cppclass.cc +45 -0
  620. data/vendor/rust/test/cppclass.hh +67 -0
  621. data/vendor/rust/test/cppclass.rb +59 -0
  622. data/vendor/rust/test/cwrapper.c +74 -0
  623. data/vendor/rust/test/cwrapper.h +41 -0
  624. data/vendor/rust/test/cwrapper.rb +56 -0
  625. data/vendor/rust/test/dummyclass.hh +31 -0
  626. data/vendor/rust/test/lib/extension-test.rb +98 -0
  627. data/vendor/rust/test/operators.cc +41 -0
  628. data/vendor/rust/test/operators.hh +39 -0
  629. data/vendor/rust/test/operators.rb +39 -0
  630. data/vendor/rust/test/test-constants.rb +43 -0
  631. data/vendor/rust/test/test-cppclass.rb +82 -0
  632. data/vendor/rust/test/test-cwrapper.rb +80 -0
  633. data/vendor/rust/test/test-operators.rb +42 -0
  634. metadata +826 -0
@@ -0,0 +1,135 @@
1
+
2
+ /*
3
+ * Main authors:
4
+ * Gr�goire Dooms <dooms@info.ucl.ac.be>
5
+ *
6
+ * Copyright:
7
+ * Gr�goire Dooms (Universit� catholique de Louvain), 2005
8
+ *
9
+ * Last modified:
10
+ * $Date: 2005-11-29 10:57:21 +0100 (Tue, 29 Nov 2005) $
11
+ * $Revision: 271 $
12
+ *
13
+ * This file is part of CP(Graph)
14
+ *
15
+ * See the file "contribs/graph/LICENSE" for information on usage and
16
+ * redistribution of this file, and for a
17
+ * DISCLAIMER OF ALL WARRANTIES.
18
+ *
19
+ */
20
+
21
+ #include <vector>
22
+ #include <utility>
23
+ #include <set>
24
+ #include <list>
25
+ #include "graph.hh"
26
+
27
+ #undef TRACE
28
+ #define TRACE(A)
29
+
30
+ //using namespace boost;
31
+ //using namespace std;
32
+
33
+ namespace Gecode { namespace Graph {
34
+ /** \brief Propagator for the inherent graph constraint
35
+ *
36
+ * As the underlying sets used by some GraphViews can be reused by set propagators,
37
+ * the constraint of being a graph must be posted on them. */
38
+ template <class View>
39
+ class ArcImpliesNodes:Propagator {
40
+ View g;
41
+
42
+ public:
43
+ /// Constructor for posting
44
+ ArcImpliesNodes( Space * home , View g)
45
+ : Propagator(home), g(g) {
46
+ g.subscribe(home,this, Gecode::Graph::PC_GRAPH_ANY);
47
+ }
48
+
49
+ /// Destructor for cancelling
50
+ ~ArcImpliesNodes(){
51
+ g.cancel(this, Gecode::Graph::PC_GRAPH_ANY );
52
+ }
53
+ /// Post propagator \f$ \forall (a,b)\in Arcs(g) : (a\in Nodes(g) \wedge b\in Nodes(g)) \f$
54
+ static ExecStatus
55
+ post( Space* home, View g) {
56
+ (void) new (home) ArcImpliesNodes(home,g);
57
+ return ES_OK;
58
+ }
59
+
60
+ /// Constructor for cloning \a p
61
+ forceinline
62
+ ArcImpliesNodes(Space* home, bool share, ArcImpliesNodes& p)
63
+ : Propagator(home, share, p) {
64
+ g.update(home,share,p.g) ;
65
+ }
66
+
67
+ /// Copy propagator during cloning
68
+ Actor*
69
+ copy(Space* home, bool share) {
70
+ TRACE(cout << "copie de ArcImpliesNode " << endl);
71
+ return new (home) ArcImpliesNodes(home,share,*this);
72
+ }
73
+
74
+ /// Return cost
75
+ PropCost
76
+ cost(void) const {
77
+ return PC_TERNARY_HI; //XXX
78
+ }
79
+
80
+ /// Perform propagation
81
+ ExecStatus
82
+ propagate(Space* home) {
83
+ /** Scan all arcs in LB, collect their endnodes
84
+ include them in the nodes LB */
85
+ {
86
+ typename View::GlbArcIterator arcs = g.iter_arcs_LB();
87
+ list<int> l;
88
+ TRACE(cout << "ARC => NODES Propag:" << endl);
89
+ for (; arcs(); ++arcs){
90
+ int t,h ;
91
+ boost::tie(t,h) = arcs.val();
92
+ TRACE(cout << t << " " << h << ", ");
93
+ l.push_back(t);
94
+ l.push_back(h);
95
+ }
96
+ l.sort();
97
+ unique(l.begin(),l.end());
98
+ StlToGecodeValIterator<list<int>::iterator> incR(l.begin(),l.end());
99
+ //Iter::Values::ToRanges<StlToGecodeValIterator<list<int>::iterator> > incR(inc);
100
+ GECODE_ME_CHECK(g._nodesIn(home,incR));
101
+ }
102
+ /** Scan all arcs in UB, if one of their endnodes is not in the nodes UB, remove it */
103
+ {
104
+ TRACE(cout << "remove arcs " << endl);
105
+ TRACE(cout << "nodesU: ");
106
+ set<int> nodesU;
107
+ typename View::LubNodeIterator nvals = g.iter_nodes_UB();
108
+ for (; nvals(); ++nvals){
109
+ TRACE(cout << nvals.val() << " ");
110
+ nodesU.insert(nvals.val());
111
+ }
112
+ TRACE(cout << endl);
113
+ list<pair<int,int> > toremove;
114
+ typename View::LubArcIterator alub = g.iter_arcs_UB();
115
+ TRACE(cout << "arcs: " << endl);
116
+ for (;alub();++alub){
117
+ int t,h;
118
+ boost::tie (t,h) = alub.val();
119
+ TRACE(cout <<" ("<< t<< ","<< h <<")" );
120
+ if (nodesU.find(t) == nodesU.end() || nodesU.find(h) == nodesU.end()) {
121
+ toremove.push_back(make_pair(t,h));
122
+ TRACE(cout <<"removed ");
123
+ }
124
+ }
125
+ TRACE(cout << endl);
126
+ TRACE(cout << "removed: " << endl);
127
+ StlToGecodeValIterator<list<pair<int,int> >::iterator> rem(toremove.begin(),toremove.end());
128
+ GECODE_ME_CHECK(g._arcsOut(home,rem));
129
+ TRACE(cout << endl);
130
+ }
131
+ return ES_FIX;
132
+ }
133
+ };
134
+
135
+ } }
@@ -0,0 +1,68 @@
1
+ ---------------------------------------------
2
+ Compiling and running under Linux using g++ 4
3
+ ---------------------------------------------
4
+
5
+ NEEDED :
6
+ -autoconf, automake and boost > 1.33 installed
7
+
8
+ COMPILE AND RUN :
9
+
10
+ ~ $ svn --username anonymous checkout https://svn.gecode.org/svn/trunk/gecode
11
+ ~/gecode $ make -f Makefile.contribs
12
+ ~/gecode $ ./configure --with-boost-include=/usr/include/boost/
13
+ ~/gecode $ make
14
+
15
+ set PATH to libraries
16
+
17
+ ~/gecode $ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/gecode/:~/gecode/contribs/graph:~/gecode/contribs/map
18
+ ~/gecode $ export LD_LIBRARY_PATH
19
+
20
+ test
21
+
22
+ ~/gecode/contribs/map/examples $ tar -xzf graph-examples.tgz
23
+ ~/gecode/contribs/map/examples $ ./isomorphism graph-examples/subgraphmonomorphism/si2_r001_s20.A01 \
24
+ graph-examples/subgraphmonomorphism/si2_r001_s20.B01
25
+
26
+ This test should work. You are done.
27
+
28
+ -----------------------------------------------------------------------------------------
29
+ Compiling and running under cygwin Microsoft Windows using Microsoft Visual C++ compilers
30
+ -----------------------------------------------------------------------------------------
31
+ NEEDED :
32
+
33
+ - cygwin
34
+ - autoconf, automake, and boost must be installed
35
+
36
+ COMPILE AND RUN :
37
+
38
+ ~ $ svn --username anonymous checkout https://svn.gecode.org/svn/trunk/gecode
39
+
40
+ ~/gecode $ make -f Makefile.contribs
41
+
42
+ PATH to cl compiler must be set
43
+
44
+ ~/gecode $ PATH=$PATH:/cygdrive/c/Program\ Files/Microsoft\ Visual\ C++\ Toolkit\ 2003/bin
45
+ ~/gecode $ export PATH
46
+
47
+ For Microsoft C++, set LIB and INCLUDE variable
48
+
49
+ ~/gecode $ LIB='C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib'
50
+ ~/gecode $ export LIB
51
+ ~/gecode $ INCLUDE='C:\Program Files\Microsoft Visual C++ Toolkit 2003\include'
52
+ ~/gecode $ export INCLUDE
53
+
54
+ ~/gecode $ ./configure CC=cl CXX=cl --with-boost-include='c:\cygwin\usr\include\boost-1_33'
55
+ ~/gecode $ make
56
+
57
+ set PATH to required dlls
58
+
59
+ ~/gecode $ PATH=$PATH:~/gecode/:~/gecode/contribs/graph
60
+ ~/gecode $ export PATH
61
+
62
+ test
63
+
64
+ ~/gecode/contribs/map/examples $ tar -xzf graph-examples.tgz
65
+ ~/gecode/contribs/map/examples $ ./isomorphism.exe graph-examples/subgraphmonomorphism/si2_r001_s20.A01 \
66
+ graph-examples/subgraphmonomorphism/si2_r001_s20.B01
67
+
68
+ This test should work. You are done.
@@ -0,0 +1,11 @@
1
+ Copyright (c) 2005, St�phane Zampelli ( Universit� catholique de Louvain )
2
+ All rights reserved.
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+
5
+
6
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
+ Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+ Neither the name of the Universit� catholique de Louvain nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9
+
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,173 @@
1
+ #
2
+ gecode_top_srcdir = $(top_srcdir)
3
+ cpmap_top_srcdir = $(curdir)
4
+
5
+ #should be taken from graph config.status substitutions of @GRAPH@
6
+ GRAPHNAME=graph
7
+
8
+
9
+ KERNELDLL := $(KERNELDLL:%=../../%)
10
+ SETDLL := $(SETDLL:%=../../%)
11
+ INTDLL := $(INTDLL:%=../../%)
12
+ SUPPORTOBJ := $(SUPPORTOBJ:%=../../%)
13
+
14
+ GRAPHDLL := ../graph/$(LIBPREFIX)$(GRAPHNAME)$(DLLSUFFIX)
15
+ ifeq "$(LIBPREFIX)" "$(LINKPREFIX)"
16
+ #win
17
+ #not robust
18
+ LINKGRAPH := ../graph/$(LINKPREFIX)$(GRAPHNAME)$(LINKSUFFIX)
19
+ else
20
+ EXTRALINKFLAGS := -L../..
21
+ endif
22
+
23
+ ifeq "$(LIBPREFIX)" "$(LINKPREFIX)"
24
+ LINKSET:=../../$(LINKSET)
25
+ LINKKERNEL:=../../$(LINKKERNEL)
26
+ LINKINT:=../../$(LINKINT)
27
+ LINKMM:=../../$(LINKMM)
28
+ LINKSEARCH:=../../$(LINKSEARCH)
29
+ LINKALL := $(LINKMM) $(LINKSET) $(LINKINT) $(LINKSEARCH) $(LINKKERNEL) $(LINKGRAPH)
30
+ else
31
+ EXTRALINKFLAGS := -L../..
32
+ endif
33
+
34
+ #
35
+ # MAP COMPONENTS
36
+ #
37
+
38
+ MAPSRC0 = var/imp.cc
39
+ MAPHDR0 = var.icc var/imp.icc constraints.icc matching/mono.icc
40
+ #view/outadjsets.icc view/constant.icc view/arcnode.h view/nodearcsets.icc maputils.icc var.icc view.icc maputils.h view/boundsmaps.icc view/prop.icc path/path.icc path/pathmaps.icc path.hh path.icc
41
+
42
+
43
+ MAPSRC = $(MAPSRC0)
44
+ MAPHDR = map.hh $(MAPHDR0)
45
+ MAPOBJ = $(MAPSRC:%.cc=%$(OBJSUFFIX))
46
+ MAPFLAGS = -I@BOOST_DIR@ -L$(cpmap_top_srcdir)../../ -I../../gecode -I$(cpmap_top_srcdir)../../ -I$(cpmap_top_srcdir)../graph -L$(cpmap_src_top_srcdir)../graph
47
+ MAPDLL = $(LIBPREFIX)@MAP@$(DLLSUFFIX)
48
+ MAPSTATICLIB = $(LIBPREFIX)@MAP@$(STATICLIBSUFFIX)
49
+ MAPLIB = $(LIBPREFIX)@MAP@$(LIBSUFFIX)
50
+ LINKMAP = $(LINKPREFIX)@MAP@$(LINKSUFFIX)
51
+ #MAPBUILDDIRS = view
52
+
53
+ LINKALL := $(LINKALL) $(LINKMAP) $(LINKGRAPH)
54
+
55
+ #
56
+ # MAP EXAMPLES
57
+ #
58
+
59
+ MAPEXAMPLESRC0 = map approximateMatching isomorphism subgraphmonomorphism
60
+ MAPEXAMPLESRC = $(MAPEXAMPLESRC0:%=examples/%.cc)
61
+ MAPEXAMPLEOBJ = $(MAPEXAMPLESRC:%.cc=%$(OBJSUFFIX))
62
+ MAPEXAMPLESBJ = $(MAPEXAMPLESRC:%.cc=%$(SBJSUFFIX))
63
+ MAPEXAMPLEEXE = $(MAPEXAMPLESRC:%.cc=%$(EXESUFFIX))
64
+ MAPEXAMPLEBUILDDIRS = examples/
65
+
66
+ MAPEXAMPLEHDR0 = $(gecode_top_srcdir)/support.hh $(gecode_top_srcdir)/support.icc $(gecode_top_srcdir)/timer.hh
67
+ MAPEXAMPLEHDR = $(MAPEXAMPLEHDR0:%=../../examples/%) $(MAPHDR)
68
+
69
+ MAPEXAMPLE_EXTRAFLAGS = -lgecodegraph
70
+
71
+
72
+ ALLLIB := $(ALLLIB) $(MAPLIB) $(GRAPHLIB)
73
+
74
+
75
+ LIBTARGETS = $(MAPDLL)
76
+
77
+ all : $(LIBTARGETS) $(MAPEXAMPLEEXE)
78
+
79
+ #
80
+ # Object targets
81
+ #
82
+
83
+ examples/%$(OBJSUFFIX): examples/%.cc
84
+ $(CXX) $(CXXFLAGS) $(EXAMPLES_EXTRA_CXXFLAGS) $(MAPFLAGS) \
85
+ @COMPILEOBJ@$@ @COMPILERIN@ $<
86
+ examples/%$(SBJSUFFIX): examples/%.cc
87
+ $(CXX) $(CXXFLAGS) $(EXAMPLES_EXTRA_CXXFLAGS) $(MAPFLAGS) \
88
+ @COMPILESBJ@$@ @COMPILERIN@ $<
89
+
90
+ %$(OBJSUFFIX): %.cc
91
+ $(CXX) $(CXXFLAGS) -DGECODE_BUILD_MAP $(MAPFLAGS) \
92
+ @COMPILEOBJ@$@ @COMPILERIN@ $<
93
+ %$(SBJSUFFIX): %.cc
94
+ $(CXX) $(CXXFLAGS) -DGECODE_BUILD_MAP $(MAPFLAGS) \
95
+ @COMPILESBJ@$@ @COMPILERIN@ $<
96
+
97
+
98
+
99
+
100
+ #
101
+ # DLL Targets
102
+ #
103
+
104
+ ifeq "$(DLLSUFFIX)" "$(LIBSUFFIX)"
105
+ #linux
106
+ $(MAPDLL): $(MAPOBJ) $(KERNELDLL) $(INTDLL) $(SETDLL)
107
+ $(CXX) $(DLLFLAGS) $(MAPOBJ) $(MAPFLAGS) \
108
+ @DLLPATH@ $(LINKKERNEL) $(LINKINT) \
109
+ @LINKOUTPUT@$(MAPDLL)
110
+ $(CREATELINK) $@ $(@:%$(DLLSUFFIX)=%$(SOLINKSUFFIX))
111
+ $(CREATELINK) $@ $(@:%$(DLLSUFFIX)=%$(SOSUFFIX))
112
+ else
113
+ #win
114
+ $(MAPDLL) $(MAPLIB): $(MAPOBJ) $(KERNELDLL) $(INTDLL) $(SETDLL) $(GRAPHDLL)
115
+ $(CXX) $(DLLFLAGS) $(MAPOBJ) $(MAPFLAGS)\
116
+ @DLLPATH@ $(LINKKERNEL) $(LINKINT) $(LINKSET) $(LINKGRAPH) \
117
+ @LINKOUTPUT@$(MAPDLL)
118
+ endif
119
+
120
+ #
121
+ # EXE targets
122
+ #
123
+ #
124
+
125
+
126
+ .PRECIOUS: examples/%$(OBJSUFFIX)
127
+ # windows only ?
128
+ examples/%$(EXESUFFIX): examples/%$(OBJSUFFIX) $(SUPPORTOBJ)
129
+ $(CXX) -o $@ $< $(SUPPORTOBJ) $(DLLPATH) $(CXXFLAGS) $(MAPFLAGS) $(MAPEXAMPLE_EXTRAFLAGS) \
130
+ $(LDFLAGS) $(LINKALL)
131
+ #
132
+ #for linux: ?
133
+ CXXFLAGS := $(CXXFLAGS) $(MAPFLAGS)
134
+
135
+
136
+ #
137
+ # Autoconf
138
+ #
139
+
140
+ configure: configure.ac
141
+ autoconf
142
+ config.status: configure
143
+ ../../config.status --recheck
144
+ ./config.status --recheck
145
+ # use the sustitutions from gecode to generate the Makefile.in
146
+ Makefile.in: Makefile.in.in ../../config.status
147
+ ../../config.status --file ./Makefile.in:./Makefile.in.in
148
+
149
+ # use the sustitutions from configure to generate the Makefile
150
+ Makefile: Makefile.in ./config.status
151
+ ./config.status --file ./Makefile:./Makefile.in
152
+
153
+
154
+ .PHONY: clean veryclean distclean
155
+ clean:
156
+ $(RMF) $(MAPOBJ) $(MAPSBJ)
157
+
158
+ veryclean: clean
159
+ $(RMF) $(LIBTARGETS)
160
+ $(RMF) $(LIBTARGETS:%$(DLLSUFFIX)=%.exp) $(LIBTARGETS:%$(DLLSUFFIX)=%.lib)
161
+ $(RMF) $(LIBTARGETS:%$(DLLSUFFIX)=%.ilk) $(LIBTARGETS:%$(DLLSUFFIX)=%.pdb)
162
+ $(RMF) $(MAPEXAMPLEEXE:%.exe=%.pdb)
163
+ $(RMF) doc CPGraphReference.chm
164
+ $(RMF) $(MAPEXAMPLEEXE)
165
+ $(RMF) $(MAPDLL)
166
+
167
+ distclean: veryclean
168
+ $(RMF) config.log config.status
169
+
170
+ .PHONY: doc
171
+ doc: $(MAPHDR) $(MAPSRC)
172
+ mkdir -p doc/html
173
+ doxygen doxygen.conf
@@ -0,0 +1,2285 @@
1
+ #! /bin/sh
2
+ # From configure.ac Revision.
3
+ # Guess values for system-dependent variables and create Makefiles.
4
+ # Generated by GNU Autoconf 2.59 for CPMAP 0.1.
5
+ #
6
+ # Report bugs to <sz@info.ucl.ac.be>.
7
+ #
8
+ # Copyright (C) 2003 Free Software Foundation, Inc.
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 Bourne compatible
16
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
+ emulate sh
18
+ NULLCMD=:
19
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
+ # is contrary to our usage. Disable this feature.
21
+ alias -g '${1+"$@"}'='"$@"'
22
+ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23
+ set -o posix
24
+ fi
25
+ DUALCASE=1; export DUALCASE # for MKS sh
26
+
27
+ # Support unset when possible.
28
+ if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
+ as_unset=unset
30
+ else
31
+ as_unset=false
32
+ fi
33
+
34
+
35
+ # Work around bugs in pre-3.0 UWIN ksh.
36
+ $as_unset ENV MAIL MAILPATH
37
+ PS1='$ '
38
+ PS2='> '
39
+ PS4='+ '
40
+
41
+ # NLS nuisances.
42
+ for as_var in \
43
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45
+ LC_TELEPHONE LC_TIME
46
+ do
47
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48
+ eval $as_var=C; export $as_var
49
+ else
50
+ $as_unset $as_var
51
+ fi
52
+ done
53
+
54
+ # Required to use basename.
55
+ if expr a : '\(a\)' >/dev/null 2>&1; then
56
+ as_expr=expr
57
+ else
58
+ as_expr=false
59
+ fi
60
+
61
+ if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62
+ as_basename=basename
63
+ else
64
+ as_basename=false
65
+ fi
66
+
67
+
68
+ # Name of the executable.
69
+ as_me=`$as_basename "$0" ||
70
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71
+ X"$0" : 'X\(//\)$' \| \
72
+ X"$0" : 'X\(/\)$' \| \
73
+ . : '\(.\)' 2>/dev/null ||
74
+ echo X/"$0" |
75
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76
+ /^X\/\(\/\/\)$/{ s//\1/; q; }
77
+ /^X\/\(\/\).*/{ s//\1/; q; }
78
+ s/.*/./; q'`
79
+
80
+
81
+ # PATH needs CR, and LINENO needs CR and PATH.
82
+ # Avoid depending upon Character Ranges.
83
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86
+ as_cr_digits='0123456789'
87
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
88
+
89
+ # The user is always right.
90
+ if test "${PATH_SEPARATOR+set}" != set; then
91
+ echo "#! /bin/sh" >conf$$.sh
92
+ echo "exit 0" >>conf$$.sh
93
+ chmod +x conf$$.sh
94
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95
+ PATH_SEPARATOR=';'
96
+ else
97
+ PATH_SEPARATOR=:
98
+ fi
99
+ rm -f conf$$.sh
100
+ fi
101
+
102
+
103
+ as_lineno_1=$LINENO
104
+ as_lineno_2=$LINENO
105
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
107
+ test "x$as_lineno_3" = "x$as_lineno_2" || {
108
+ # Find who we are. Look in the path if we contain no path at all
109
+ # relative or not.
110
+ case $0 in
111
+ *[\\/]* ) as_myself=$0 ;;
112
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
+ for as_dir in $PATH
114
+ do
115
+ IFS=$as_save_IFS
116
+ test -z "$as_dir" && as_dir=.
117
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118
+ done
119
+
120
+ ;;
121
+ esac
122
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
123
+ # in which case we are not to be found in the path.
124
+ if test "x$as_myself" = x; then
125
+ as_myself=$0
126
+ fi
127
+ if test ! -f "$as_myself"; then
128
+ { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129
+ { (exit 1); exit 1; }; }
130
+ fi
131
+ case $CONFIG_SHELL in
132
+ '')
133
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134
+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135
+ do
136
+ IFS=$as_save_IFS
137
+ test -z "$as_dir" && as_dir=.
138
+ for as_base in sh bash ksh sh5; do
139
+ case $as_dir in
140
+ /*)
141
+ if ("$as_dir/$as_base" -c '
142
+ as_lineno_1=$LINENO
143
+ as_lineno_2=$LINENO
144
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
146
+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147
+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148
+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149
+ CONFIG_SHELL=$as_dir/$as_base
150
+ export CONFIG_SHELL
151
+ exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152
+ fi;;
153
+ esac
154
+ done
155
+ done
156
+ ;;
157
+ esac
158
+
159
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160
+ # uniformly replaced by the line number. The first 'sed' inserts a
161
+ # line-number line before each line; the second 'sed' does the real
162
+ # work. The second script uses 'N' to pair each line-number line
163
+ # with the numbered line, and appends trailing '-' during
164
+ # substitution so that $LINENO is not a special case at line end.
165
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166
+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167
+ sed '=' <$as_myself |
168
+ sed '
169
+ N
170
+ s,$,-,
171
+ : loop
172
+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173
+ t loop
174
+ s,-$,,
175
+ s,^['$as_cr_digits']*\n,,
176
+ ' >$as_me.lineno &&
177
+ chmod +x $as_me.lineno ||
178
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179
+ { (exit 1); exit 1; }; }
180
+
181
+ # Don't try to exec as it changes $[0], causing all sort of problems
182
+ # (the dirname of $[0] is not the place where we might find the
183
+ # original and so on. Autoconf is especially sensible to this).
184
+ . ./$as_me.lineno
185
+ # Exit status is that of the last command.
186
+ exit
187
+ }
188
+
189
+
190
+ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191
+ *c*,-n*) ECHO_N= ECHO_C='
192
+ ' ECHO_T=' ' ;;
193
+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194
+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195
+ esac
196
+
197
+ if expr a : '\(a\)' >/dev/null 2>&1; then
198
+ as_expr=expr
199
+ else
200
+ as_expr=false
201
+ fi
202
+
203
+ rm -f conf$$ conf$$.exe conf$$.file
204
+ echo >conf$$.file
205
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
206
+ # We could just check for DJGPP; but this test a) works b) is more generic
207
+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208
+ if test -f conf$$.exe; then
209
+ # Don't use ln at all; we don't have any links
210
+ as_ln_s='cp -p'
211
+ else
212
+ as_ln_s='ln -s'
213
+ fi
214
+ elif ln conf$$.file conf$$ 2>/dev/null; then
215
+ as_ln_s=ln
216
+ else
217
+ as_ln_s='cp -p'
218
+ fi
219
+ rm -f conf$$ conf$$.exe conf$$.file
220
+
221
+ if mkdir -p . 2>/dev/null; then
222
+ as_mkdir_p=:
223
+ else
224
+ test -d ./-p && rmdir ./-p
225
+ as_mkdir_p=false
226
+ fi
227
+
228
+ as_executable_p="test -f"
229
+
230
+ # Sed expression to map a string onto a valid CPP name.
231
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
+
233
+ # Sed expression to map a string onto a valid variable name.
234
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
+
236
+
237
+ # IFS
238
+ # We need space, tab and new line, in precisely that order.
239
+ as_nl='
240
+ '
241
+ IFS=" $as_nl"
242
+
243
+ # CDPATH.
244
+ $as_unset CDPATH
245
+
246
+
247
+ # Name of the host.
248
+ # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249
+ # so uname gets run too.
250
+ ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
+
252
+ exec 6>&1
253
+
254
+ #
255
+ # Initializations.
256
+ #
257
+ ac_default_prefix=/usr/local
258
+ ac_config_libobj_dir=.
259
+ cross_compiling=no
260
+ subdirs=
261
+ MFLAGS=
262
+ MAKEFLAGS=
263
+ SHELL=${CONFIG_SHELL-/bin/sh}
264
+
265
+ # Maximum number of lines to put in a shell here document.
266
+ # This variable seems obsolete. It should probably be removed, and
267
+ # only ac_max_sed_lines should be used.
268
+ : ${ac_max_here_lines=38}
269
+
270
+ # Identity of this package.
271
+ PACKAGE_NAME='CPMAP'
272
+ PACKAGE_TARNAME='cpmap'
273
+ PACKAGE_VERSION='0.1'
274
+ PACKAGE_STRING='CPMAP 0.1'
275
+ PACKAGE_BUGREPORT='sz@info.ucl.ac.be'
276
+
277
+ ac_unique_file="map.hh"
278
+ ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAP BOOST_DIR LIBOBJS LTLIBOBJS'
279
+ ac_subst_files=''
280
+
281
+ # Initialize some variables set by options.
282
+ ac_init_help=
283
+ ac_init_version=false
284
+ # The variables have the same names as the options, with
285
+ # dashes changed to underlines.
286
+ cache_file=/dev/null
287
+ exec_prefix=NONE
288
+ no_create=
289
+ no_recursion=
290
+ prefix=NONE
291
+ program_prefix=NONE
292
+ program_suffix=NONE
293
+ program_transform_name=s,x,x,
294
+ silent=
295
+ site=
296
+ srcdir=
297
+ verbose=
298
+ x_includes=NONE
299
+ x_libraries=NONE
300
+
301
+ # Installation directory options.
302
+ # These are left unexpanded so users can "make install exec_prefix=/foo"
303
+ # and all the variables that are supposed to be based on exec_prefix
304
+ # by default will actually change.
305
+ # Use braces instead of parens because sh, perl, etc. also accept them.
306
+ bindir='${exec_prefix}/bin'
307
+ sbindir='${exec_prefix}/sbin'
308
+ libexecdir='${exec_prefix}/libexec'
309
+ datadir='${prefix}/share'
310
+ sysconfdir='${prefix}/etc'
311
+ sharedstatedir='${prefix}/com'
312
+ localstatedir='${prefix}/var'
313
+ libdir='${exec_prefix}/lib'
314
+ includedir='${prefix}/include'
315
+ oldincludedir='/usr/include'
316
+ infodir='${prefix}/info'
317
+ mandir='${prefix}/man'
318
+
319
+ ac_prev=
320
+ for ac_option
321
+ do
322
+ # If the previous option needs an argument, assign it.
323
+ if test -n "$ac_prev"; then
324
+ eval "$ac_prev=\$ac_option"
325
+ ac_prev=
326
+ continue
327
+ fi
328
+
329
+ ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
330
+
331
+ # Accept the important Cygnus configure options, so we can diagnose typos.
332
+
333
+ case $ac_option in
334
+
335
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
336
+ ac_prev=bindir ;;
337
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338
+ bindir=$ac_optarg ;;
339
+
340
+ -build | --build | --buil | --bui | --bu)
341
+ ac_prev=build_alias ;;
342
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
343
+ build_alias=$ac_optarg ;;
344
+
345
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
346
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
347
+ ac_prev=cache_file ;;
348
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
349
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
350
+ cache_file=$ac_optarg ;;
351
+
352
+ --config-cache | -C)
353
+ cache_file=config.cache ;;
354
+
355
+ -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
356
+ ac_prev=datadir ;;
357
+ -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
358
+ | --da=*)
359
+ datadir=$ac_optarg ;;
360
+
361
+ -disable-* | --disable-*)
362
+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
363
+ # Reject names that are not valid shell variable names.
364
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
365
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
366
+ { (exit 1); exit 1; }; }
367
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
368
+ eval "enable_$ac_feature=no" ;;
369
+
370
+ -enable-* | --enable-*)
371
+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
372
+ # Reject names that are not valid shell variable names.
373
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
374
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
375
+ { (exit 1); exit 1; }; }
376
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
377
+ case $ac_option in
378
+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379
+ *) ac_optarg=yes ;;
380
+ esac
381
+ eval "enable_$ac_feature='$ac_optarg'" ;;
382
+
383
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
384
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
385
+ | --exec | --exe | --ex)
386
+ ac_prev=exec_prefix ;;
387
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
388
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
389
+ | --exec=* | --exe=* | --ex=*)
390
+ exec_prefix=$ac_optarg ;;
391
+
392
+ -gas | --gas | --ga | --g)
393
+ # Obsolete; use --with-gas.
394
+ with_gas=yes ;;
395
+
396
+ -help | --help | --hel | --he | -h)
397
+ ac_init_help=long ;;
398
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
399
+ ac_init_help=recursive ;;
400
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
401
+ ac_init_help=short ;;
402
+
403
+ -host | --host | --hos | --ho)
404
+ ac_prev=host_alias ;;
405
+ -host=* | --host=* | --hos=* | --ho=*)
406
+ host_alias=$ac_optarg ;;
407
+
408
+ -includedir | --includedir | --includedi | --included | --include \
409
+ | --includ | --inclu | --incl | --inc)
410
+ ac_prev=includedir ;;
411
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
412
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
413
+ includedir=$ac_optarg ;;
414
+
415
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
416
+ ac_prev=infodir ;;
417
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
418
+ infodir=$ac_optarg ;;
419
+
420
+ -libdir | --libdir | --libdi | --libd)
421
+ ac_prev=libdir ;;
422
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
423
+ libdir=$ac_optarg ;;
424
+
425
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
426
+ | --libexe | --libex | --libe)
427
+ ac_prev=libexecdir ;;
428
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
429
+ | --libexe=* | --libex=* | --libe=*)
430
+ libexecdir=$ac_optarg ;;
431
+
432
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
433
+ | --localstate | --localstat | --localsta | --localst \
434
+ | --locals | --local | --loca | --loc | --lo)
435
+ ac_prev=localstatedir ;;
436
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
437
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* \
438
+ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
439
+ localstatedir=$ac_optarg ;;
440
+
441
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
442
+ ac_prev=mandir ;;
443
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444
+ mandir=$ac_optarg ;;
445
+
446
+ -nfp | --nfp | --nf)
447
+ # Obsolete; use --without-fp.
448
+ with_fp=no ;;
449
+
450
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
451
+ | --no-cr | --no-c | -n)
452
+ no_create=yes ;;
453
+
454
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
455
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456
+ no_recursion=yes ;;
457
+
458
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
459
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
460
+ | --oldin | --oldi | --old | --ol | --o)
461
+ ac_prev=oldincludedir ;;
462
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
463
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
464
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
465
+ oldincludedir=$ac_optarg ;;
466
+
467
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
468
+ ac_prev=prefix ;;
469
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470
+ prefix=$ac_optarg ;;
471
+
472
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
473
+ | --program-pre | --program-pr | --program-p)
474
+ ac_prev=program_prefix ;;
475
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
476
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
477
+ program_prefix=$ac_optarg ;;
478
+
479
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
480
+ | --program-suf | --program-su | --program-s)
481
+ ac_prev=program_suffix ;;
482
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
483
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
484
+ program_suffix=$ac_optarg ;;
485
+
486
+ -program-transform-name | --program-transform-name \
487
+ | --program-transform-nam | --program-transform-na \
488
+ | --program-transform-n | --program-transform- \
489
+ | --program-transform | --program-transfor \
490
+ | --program-transfo | --program-transf \
491
+ | --program-trans | --program-tran \
492
+ | --progr-tra | --program-tr | --program-t)
493
+ ac_prev=program_transform_name ;;
494
+ -program-transform-name=* | --program-transform-name=* \
495
+ | --program-transform-nam=* | --program-transform-na=* \
496
+ | --program-transform-n=* | --program-transform-=* \
497
+ | --program-transform=* | --program-transfor=* \
498
+ | --program-transfo=* | --program-transf=* \
499
+ | --program-trans=* | --program-tran=* \
500
+ | --progr-tra=* | --program-tr=* | --program-t=*)
501
+ program_transform_name=$ac_optarg ;;
502
+
503
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
504
+ | -silent | --silent | --silen | --sile | --sil)
505
+ silent=yes ;;
506
+
507
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
508
+ ac_prev=sbindir ;;
509
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
510
+ | --sbi=* | --sb=*)
511
+ sbindir=$ac_optarg ;;
512
+
513
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
514
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
515
+ | --sharedst | --shareds | --shared | --share | --shar \
516
+ | --sha | --sh)
517
+ ac_prev=sharedstatedir ;;
518
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
519
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
520
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
521
+ | --sha=* | --sh=*)
522
+ sharedstatedir=$ac_optarg ;;
523
+
524
+ -site | --site | --sit)
525
+ ac_prev=site ;;
526
+ -site=* | --site=* | --sit=*)
527
+ site=$ac_optarg ;;
528
+
529
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
530
+ ac_prev=srcdir ;;
531
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532
+ srcdir=$ac_optarg ;;
533
+
534
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
535
+ | --syscon | --sysco | --sysc | --sys | --sy)
536
+ ac_prev=sysconfdir ;;
537
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
538
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
539
+ sysconfdir=$ac_optarg ;;
540
+
541
+ -target | --target | --targe | --targ | --tar | --ta | --t)
542
+ ac_prev=target_alias ;;
543
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
544
+ target_alias=$ac_optarg ;;
545
+
546
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
547
+ verbose=yes ;;
548
+
549
+ -version | --version | --versio | --versi | --vers | -V)
550
+ ac_init_version=: ;;
551
+
552
+ -with-* | --with-*)
553
+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
554
+ # Reject names that are not valid shell variable names.
555
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
557
+ { (exit 1); exit 1; }; }
558
+ ac_package=`echo $ac_package| sed 's/-/_/g'`
559
+ case $ac_option in
560
+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561
+ *) ac_optarg=yes ;;
562
+ esac
563
+ eval "with_$ac_package='$ac_optarg'" ;;
564
+
565
+ -without-* | --without-*)
566
+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
567
+ # Reject names that are not valid shell variable names.
568
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
569
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
570
+ { (exit 1); exit 1; }; }
571
+ ac_package=`echo $ac_package | sed 's/-/_/g'`
572
+ eval "with_$ac_package=no" ;;
573
+
574
+ --x)
575
+ # Obsolete; use --with-x.
576
+ with_x=yes ;;
577
+
578
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
579
+ | --x-incl | --x-inc | --x-in | --x-i)
580
+ ac_prev=x_includes ;;
581
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
582
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
583
+ x_includes=$ac_optarg ;;
584
+
585
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
586
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
587
+ ac_prev=x_libraries ;;
588
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
589
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
590
+ x_libraries=$ac_optarg ;;
591
+
592
+ -*) { echo "$as_me: error: unrecognized option: $ac_option
593
+ Try \`$0 --help' for more information." >&2
594
+ { (exit 1); exit 1; }; }
595
+ ;;
596
+
597
+ *=*)
598
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
599
+ # Reject names that are not valid shell variable names.
600
+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
601
+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
602
+ { (exit 1); exit 1; }; }
603
+ ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
604
+ eval "$ac_envvar='$ac_optarg'"
605
+ export $ac_envvar ;;
606
+
607
+ *)
608
+ # FIXME: should be removed in autoconf 3.0.
609
+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2
610
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
611
+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2
612
+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
613
+ ;;
614
+
615
+ esac
616
+ done
617
+
618
+ if test -n "$ac_prev"; then
619
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
620
+ { echo "$as_me: error: missing argument to $ac_option" >&2
621
+ { (exit 1); exit 1; }; }
622
+ fi
623
+
624
+ # Be sure to have absolute paths.
625
+ for ac_var in exec_prefix prefix
626
+ do
627
+ eval ac_val=$`echo $ac_var`
628
+ case $ac_val in
629
+ [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
630
+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
631
+ { (exit 1); exit 1; }; };;
632
+ esac
633
+ done
634
+
635
+ # Be sure to have absolute paths.
636
+ for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
637
+ localstatedir libdir includedir oldincludedir infodir mandir
638
+ do
639
+ eval ac_val=$`echo $ac_var`
640
+ case $ac_val in
641
+ [\\/$]* | ?:[\\/]* ) ;;
642
+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
643
+ { (exit 1); exit 1; }; };;
644
+ esac
645
+ done
646
+
647
+ # There might be people who depend on the old broken behavior: `$host'
648
+ # used to hold the argument of --host etc.
649
+ # FIXME: To remove some day.
650
+ build=$build_alias
651
+ host=$host_alias
652
+ target=$target_alias
653
+
654
+ # FIXME: To remove some day.
655
+ if test "x$host_alias" != x; then
656
+ if test "x$build_alias" = x; then
657
+ cross_compiling=maybe
658
+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
659
+ If a cross compiler is detected then cross compile mode will be used." >&2
660
+ elif test "x$build_alias" != "x$host_alias"; then
661
+ cross_compiling=yes
662
+ fi
663
+ fi
664
+
665
+ ac_tool_prefix=
666
+ test -n "$host_alias" && ac_tool_prefix=$host_alias-
667
+
668
+ test "$silent" = yes && exec 6>/dev/null
669
+
670
+
671
+ # Find the source files, if location was not specified.
672
+ if test -z "$srcdir"; then
673
+ ac_srcdir_defaulted=yes
674
+ # Try the directory containing this script, then its parent.
675
+ ac_confdir=`(dirname "$0") 2>/dev/null ||
676
+ $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
677
+ X"$0" : 'X\(//\)[^/]' \| \
678
+ X"$0" : 'X\(//\)$' \| \
679
+ X"$0" : 'X\(/\)' \| \
680
+ . : '\(.\)' 2>/dev/null ||
681
+ echo X"$0" |
682
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
683
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
684
+ /^X\(\/\/\)$/{ s//\1/; q; }
685
+ /^X\(\/\).*/{ s//\1/; q; }
686
+ s/.*/./; q'`
687
+ srcdir=$ac_confdir
688
+ if test ! -r $srcdir/$ac_unique_file; then
689
+ srcdir=..
690
+ fi
691
+ else
692
+ ac_srcdir_defaulted=no
693
+ fi
694
+ if test ! -r $srcdir/$ac_unique_file; then
695
+ if test "$ac_srcdir_defaulted" = yes; then
696
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
697
+ { (exit 1); exit 1; }; }
698
+ else
699
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
700
+ { (exit 1); exit 1; }; }
701
+ fi
702
+ fi
703
+ (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
704
+ { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
705
+ { (exit 1); exit 1; }; }
706
+ srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
707
+ ac_env_build_alias_set=${build_alias+set}
708
+ ac_env_build_alias_value=$build_alias
709
+ ac_cv_env_build_alias_set=${build_alias+set}
710
+ ac_cv_env_build_alias_value=$build_alias
711
+ ac_env_host_alias_set=${host_alias+set}
712
+ ac_env_host_alias_value=$host_alias
713
+ ac_cv_env_host_alias_set=${host_alias+set}
714
+ ac_cv_env_host_alias_value=$host_alias
715
+ ac_env_target_alias_set=${target_alias+set}
716
+ ac_env_target_alias_value=$target_alias
717
+ ac_cv_env_target_alias_set=${target_alias+set}
718
+ ac_cv_env_target_alias_value=$target_alias
719
+
720
+ #
721
+ # Report the --help message.
722
+ #
723
+ if test "$ac_init_help" = "long"; then
724
+ # Omit some internal or obsolete options to make the list less imposing.
725
+ # This message is too long to be a string in the A/UX 3.1 sh.
726
+ cat <<_ACEOF
727
+ \`configure' configures CPMAP 0.1 to adapt to many kinds of systems.
728
+
729
+ Usage: $0 [OPTION]... [VAR=VALUE]...
730
+
731
+ To assign environment variables (e.g., CC, CFLAGS...), specify them as
732
+ VAR=VALUE. See below for descriptions of some of the useful variables.
733
+
734
+ Defaults for the options are specified in brackets.
735
+
736
+ Configuration:
737
+ -h, --help display this help and exit
738
+ --help=short display options specific to this package
739
+ --help=recursive display the short help of all the included packages
740
+ -V, --version display version information and exit
741
+ -q, --quiet, --silent do not print \`checking...' messages
742
+ --cache-file=FILE cache test results in FILE [disabled]
743
+ -C, --config-cache alias for \`--cache-file=config.cache'
744
+ -n, --no-create do not create output files
745
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
746
+
747
+ _ACEOF
748
+
749
+ cat <<_ACEOF
750
+ Installation directories:
751
+ --prefix=PREFIX install architecture-independent files in PREFIX
752
+ [$ac_default_prefix]
753
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
754
+ [PREFIX]
755
+
756
+ By default, \`make install' will install all the files in
757
+ \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
758
+ an installation prefix other than \`$ac_default_prefix' using \`--prefix',
759
+ for instance \`--prefix=\$HOME'.
760
+
761
+ For better control, use the options below.
762
+
763
+ Fine tuning of the installation directories:
764
+ --bindir=DIR user executables [EPREFIX/bin]
765
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
766
+ --libexecdir=DIR program executables [EPREFIX/libexec]
767
+ --datadir=DIR read-only architecture-independent data [PREFIX/share]
768
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
769
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
770
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
771
+ --libdir=DIR object code libraries [EPREFIX/lib]
772
+ --includedir=DIR C header files [PREFIX/include]
773
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
774
+ --infodir=DIR info documentation [PREFIX/info]
775
+ --mandir=DIR man documentation [PREFIX/man]
776
+ _ACEOF
777
+
778
+ cat <<\_ACEOF
779
+ _ACEOF
780
+ fi
781
+
782
+ if test -n "$ac_init_help"; then
783
+ case $ac_init_help in
784
+ short | recursive ) echo "Configuration of CPMAP 0.1:";;
785
+ esac
786
+ cat <<\_ACEOF
787
+
788
+ Optional Packages:
789
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
790
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
791
+ --with-boost-include=DIR Specify where to find the boost include files
792
+ (default=/usr/include)
793
+
794
+ Report bugs to <sz@info.ucl.ac.be>.
795
+ _ACEOF
796
+ fi
797
+
798
+ if test "$ac_init_help" = "recursive"; then
799
+ # If there are subdirs, report their specific --help.
800
+ ac_popdir=`pwd`
801
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
802
+ test -d $ac_dir || continue
803
+ ac_builddir=.
804
+
805
+ if test "$ac_dir" != .; then
806
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
807
+ # A "../" for each directory in $ac_dir_suffix.
808
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
809
+ else
810
+ ac_dir_suffix= ac_top_builddir=
811
+ fi
812
+
813
+ case $srcdir in
814
+ .) # No --srcdir option. We are building in place.
815
+ ac_srcdir=.
816
+ if test -z "$ac_top_builddir"; then
817
+ ac_top_srcdir=.
818
+ else
819
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
820
+ fi ;;
821
+ [\\/]* | ?:[\\/]* ) # Absolute path.
822
+ ac_srcdir=$srcdir$ac_dir_suffix;
823
+ ac_top_srcdir=$srcdir ;;
824
+ *) # Relative path.
825
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
826
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
827
+ esac
828
+
829
+ # Do not use `cd foo && pwd` to compute absolute paths, because
830
+ # the directories may not exist.
831
+ case `pwd` in
832
+ .) ac_abs_builddir="$ac_dir";;
833
+ *)
834
+ case "$ac_dir" in
835
+ .) ac_abs_builddir=`pwd`;;
836
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
837
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
838
+ esac;;
839
+ esac
840
+ case $ac_abs_builddir in
841
+ .) ac_abs_top_builddir=${ac_top_builddir}.;;
842
+ *)
843
+ case ${ac_top_builddir}. in
844
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
845
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
846
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
847
+ esac;;
848
+ esac
849
+ case $ac_abs_builddir in
850
+ .) ac_abs_srcdir=$ac_srcdir;;
851
+ *)
852
+ case $ac_srcdir in
853
+ .) ac_abs_srcdir=$ac_abs_builddir;;
854
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
855
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
856
+ esac;;
857
+ esac
858
+ case $ac_abs_builddir in
859
+ .) ac_abs_top_srcdir=$ac_top_srcdir;;
860
+ *)
861
+ case $ac_top_srcdir in
862
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
863
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
864
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
865
+ esac;;
866
+ esac
867
+
868
+ cd $ac_dir
869
+ # Check for guested configure; otherwise get Cygnus style configure.
870
+ if test -f $ac_srcdir/configure.gnu; then
871
+ echo
872
+ $SHELL $ac_srcdir/configure.gnu --help=recursive
873
+ elif test -f $ac_srcdir/configure; then
874
+ echo
875
+ $SHELL $ac_srcdir/configure --help=recursive
876
+ elif test -f $ac_srcdir/configure.ac ||
877
+ test -f $ac_srcdir/configure.in; then
878
+ echo
879
+ $ac_configure --help
880
+ else
881
+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
882
+ fi
883
+ cd $ac_popdir
884
+ done
885
+ fi
886
+
887
+ test -n "$ac_init_help" && exit 0
888
+ if $ac_init_version; then
889
+ cat <<\_ACEOF
890
+ CPMAP configure 0.1
891
+ generated by GNU Autoconf 2.59
892
+
893
+ Copyright (C) 2003 Free Software Foundation, Inc.
894
+ This configure script is free software; the Free Software Foundation
895
+ gives unlimited permission to copy, distribute and modify it.
896
+ _ACEOF
897
+ exit 0
898
+ fi
899
+ exec 5>config.log
900
+ cat >&5 <<_ACEOF
901
+ This file contains any messages produced by compilers while
902
+ running configure, to aid debugging if configure makes a mistake.
903
+
904
+ It was created by CPMAP $as_me 0.1, which was
905
+ generated by GNU Autoconf 2.59. Invocation command line was
906
+
907
+ $ $0 $@
908
+
909
+ _ACEOF
910
+ {
911
+ cat <<_ASUNAME
912
+ ## --------- ##
913
+ ## Platform. ##
914
+ ## --------- ##
915
+
916
+ hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
917
+ uname -m = `(uname -m) 2>/dev/null || echo unknown`
918
+ uname -r = `(uname -r) 2>/dev/null || echo unknown`
919
+ uname -s = `(uname -s) 2>/dev/null || echo unknown`
920
+ uname -v = `(uname -v) 2>/dev/null || echo unknown`
921
+
922
+ /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
923
+ /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
924
+
925
+ /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
926
+ /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
927
+ /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
928
+ hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
929
+ /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
930
+ /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
931
+ /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
932
+
933
+ _ASUNAME
934
+
935
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
936
+ for as_dir in $PATH
937
+ do
938
+ IFS=$as_save_IFS
939
+ test -z "$as_dir" && as_dir=.
940
+ echo "PATH: $as_dir"
941
+ done
942
+
943
+ } >&5
944
+
945
+ cat >&5 <<_ACEOF
946
+
947
+
948
+ ## ----------- ##
949
+ ## Core tests. ##
950
+ ## ----------- ##
951
+
952
+ _ACEOF
953
+
954
+
955
+ # Keep a trace of the command line.
956
+ # Strip out --no-create and --no-recursion so they do not pile up.
957
+ # Strip out --silent because we don't want to record it for future runs.
958
+ # Also quote any args containing shell meta-characters.
959
+ # Make two passes to allow for proper duplicate-argument suppression.
960
+ ac_configure_args=
961
+ ac_configure_args0=
962
+ ac_configure_args1=
963
+ ac_sep=
964
+ ac_must_keep_next=false
965
+ for ac_pass in 1 2
966
+ do
967
+ for ac_arg
968
+ do
969
+ case $ac_arg in
970
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
971
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
972
+ | -silent | --silent | --silen | --sile | --sil)
973
+ continue ;;
974
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
975
+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
976
+ esac
977
+ case $ac_pass in
978
+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
979
+ 2)
980
+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
981
+ if test $ac_must_keep_next = true; then
982
+ ac_must_keep_next=false # Got value, back to normal.
983
+ else
984
+ case $ac_arg in
985
+ *=* | --config-cache | -C | -disable-* | --disable-* \
986
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
987
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
988
+ | -with-* | --with-* | -without-* | --without-* | --x)
989
+ case "$ac_configure_args0 " in
990
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
991
+ esac
992
+ ;;
993
+ -* ) ac_must_keep_next=true ;;
994
+ esac
995
+ fi
996
+ ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
997
+ # Get rid of the leading space.
998
+ ac_sep=" "
999
+ ;;
1000
+ esac
1001
+ done
1002
+ done
1003
+ $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1004
+ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1005
+
1006
+ # When interrupted or exit'd, cleanup temporary files, and complete
1007
+ # config.log. We remove comments because anyway the quotes in there
1008
+ # would cause problems or look ugly.
1009
+ # WARNING: Be sure not to use single quotes in there, as some shells,
1010
+ # such as our DU 5.0 friend, will then `close' the trap.
1011
+ trap 'exit_status=$?
1012
+ # Save into config.log some information that might help in debugging.
1013
+ {
1014
+ echo
1015
+
1016
+ cat <<\_ASBOX
1017
+ ## ---------------- ##
1018
+ ## Cache variables. ##
1019
+ ## ---------------- ##
1020
+ _ASBOX
1021
+ echo
1022
+ # The following way of writing the cache mishandles newlines in values,
1023
+ {
1024
+ (set) 2>&1 |
1025
+ case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1026
+ *ac_space=\ *)
1027
+ sed -n \
1028
+ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1029
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1030
+ ;;
1031
+ *)
1032
+ sed -n \
1033
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1034
+ ;;
1035
+ esac;
1036
+ }
1037
+ echo
1038
+
1039
+ cat <<\_ASBOX
1040
+ ## ----------------- ##
1041
+ ## Output variables. ##
1042
+ ## ----------------- ##
1043
+ _ASBOX
1044
+ echo
1045
+ for ac_var in $ac_subst_vars
1046
+ do
1047
+ eval ac_val=$`echo $ac_var`
1048
+ echo "$ac_var='"'"'$ac_val'"'"'"
1049
+ done | sort
1050
+ echo
1051
+
1052
+ if test -n "$ac_subst_files"; then
1053
+ cat <<\_ASBOX
1054
+ ## ------------- ##
1055
+ ## Output files. ##
1056
+ ## ------------- ##
1057
+ _ASBOX
1058
+ echo
1059
+ for ac_var in $ac_subst_files
1060
+ do
1061
+ eval ac_val=$`echo $ac_var`
1062
+ echo "$ac_var='"'"'$ac_val'"'"'"
1063
+ done | sort
1064
+ echo
1065
+ fi
1066
+
1067
+ if test -s confdefs.h; then
1068
+ cat <<\_ASBOX
1069
+ ## ----------- ##
1070
+ ## confdefs.h. ##
1071
+ ## ----------- ##
1072
+ _ASBOX
1073
+ echo
1074
+ sed "/^$/d" confdefs.h | sort
1075
+ echo
1076
+ fi
1077
+ test "$ac_signal" != 0 &&
1078
+ echo "$as_me: caught signal $ac_signal"
1079
+ echo "$as_me: exit $exit_status"
1080
+ } >&5
1081
+ rm -f core *.core &&
1082
+ rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1083
+ exit $exit_status
1084
+ ' 0
1085
+ for ac_signal in 1 2 13 15; do
1086
+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1087
+ done
1088
+ ac_signal=0
1089
+
1090
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
1091
+ rm -rf conftest* confdefs.h
1092
+ # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1093
+ echo >confdefs.h
1094
+
1095
+ # Predefined preprocessor variables.
1096
+
1097
+ cat >>confdefs.h <<_ACEOF
1098
+ #define PACKAGE_NAME "$PACKAGE_NAME"
1099
+ _ACEOF
1100
+
1101
+
1102
+ cat >>confdefs.h <<_ACEOF
1103
+ #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1104
+ _ACEOF
1105
+
1106
+
1107
+ cat >>confdefs.h <<_ACEOF
1108
+ #define PACKAGE_VERSION "$PACKAGE_VERSION"
1109
+ _ACEOF
1110
+
1111
+
1112
+ cat >>confdefs.h <<_ACEOF
1113
+ #define PACKAGE_STRING "$PACKAGE_STRING"
1114
+ _ACEOF
1115
+
1116
+
1117
+ cat >>confdefs.h <<_ACEOF
1118
+ #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1119
+ _ACEOF
1120
+
1121
+
1122
+ # Let the site file select an alternate cache file if it wants to.
1123
+ # Prefer explicitly selected file to automatically selected ones.
1124
+ if test -z "$CONFIG_SITE"; then
1125
+ if test "x$prefix" != xNONE; then
1126
+ CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1127
+ else
1128
+ CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1129
+ fi
1130
+ fi
1131
+ for ac_site_file in $CONFIG_SITE; do
1132
+ if test -r "$ac_site_file"; then
1133
+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1134
+ echo "$as_me: loading site script $ac_site_file" >&6;}
1135
+ sed 's/^/| /' "$ac_site_file" >&5
1136
+ . "$ac_site_file"
1137
+ fi
1138
+ done
1139
+
1140
+ if test -r "$cache_file"; then
1141
+ # Some versions of bash will fail to source /dev/null (special
1142
+ # files actually), so we avoid doing that.
1143
+ if test -f "$cache_file"; then
1144
+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1145
+ echo "$as_me: loading cache $cache_file" >&6;}
1146
+ case $cache_file in
1147
+ [\\/]* | ?:[\\/]* ) . $cache_file;;
1148
+ *) . ./$cache_file;;
1149
+ esac
1150
+ fi
1151
+ else
1152
+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1153
+ echo "$as_me: creating cache $cache_file" >&6;}
1154
+ >$cache_file
1155
+ fi
1156
+
1157
+ # Check that the precious variables saved in the cache have kept the same
1158
+ # value.
1159
+ ac_cache_corrupted=false
1160
+ for ac_var in `(set) 2>&1 |
1161
+ sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1162
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
1163
+ eval ac_new_set=\$ac_env_${ac_var}_set
1164
+ eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1165
+ eval ac_new_val="\$ac_env_${ac_var}_value"
1166
+ case $ac_old_set,$ac_new_set in
1167
+ set,)
1168
+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1169
+ echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1170
+ ac_cache_corrupted=: ;;
1171
+ ,set)
1172
+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1173
+ echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1174
+ ac_cache_corrupted=: ;;
1175
+ ,);;
1176
+ *)
1177
+ if test "x$ac_old_val" != "x$ac_new_val"; then
1178
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1179
+ echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1180
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1181
+ echo "$as_me: former value: $ac_old_val" >&2;}
1182
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1183
+ echo "$as_me: current value: $ac_new_val" >&2;}
1184
+ ac_cache_corrupted=:
1185
+ fi;;
1186
+ esac
1187
+ # Pass precious variables to config.status.
1188
+ if test "$ac_new_set" = set; then
1189
+ case $ac_new_val in
1190
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1191
+ ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1192
+ *) ac_arg=$ac_var=$ac_new_val ;;
1193
+ esac
1194
+ case " $ac_configure_args " in
1195
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1196
+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1197
+ esac
1198
+ fi
1199
+ done
1200
+ if $ac_cache_corrupted; then
1201
+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1202
+ echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1203
+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1204
+ echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1205
+ { (exit 1); exit 1; }; }
1206
+ fi
1207
+
1208
+ ac_ext=c
1209
+ ac_cpp='$CPP $CPPFLAGS'
1210
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1211
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1212
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1213
+
1214
+
1215
+
1216
+
1217
+
1218
+
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+
1228
+
1229
+
1230
+
1231
+
1232
+
1233
+
1234
+
1235
+
1236
+
1237
+
1238
+
1239
+
1240
+
1241
+
1242
+ MAP="map"
1243
+
1244
+
1245
+
1246
+
1247
+ # Check whether --with-boost-include or --without-boost-include was given.
1248
+ if test "${with_boost_include+set}" = set; then
1249
+ withval="$with_boost_include"
1250
+ boost_include=$withval
1251
+ else
1252
+ boost_include=/usr/include
1253
+ fi;
1254
+
1255
+ BOOST_DIR="$boost_include"
1256
+
1257
+
1258
+ ../../config.status --file Makefile.in:Makefile.in.in
1259
+
1260
+ ac_config_commands="$ac_config_commands Makefile.in"
1261
+
1262
+ ac_config_files="$ac_config_files Makefile"
1263
+
1264
+ cat >confcache <<\_ACEOF
1265
+ # This file is a shell script that caches the results of configure
1266
+ # tests run on this system so they can be shared between configure
1267
+ # scripts and configure runs, see configure's option --config-cache.
1268
+ # It is not useful on other systems. If it contains results you don't
1269
+ # want to keep, you may remove or edit it.
1270
+ #
1271
+ # config.status only pays attention to the cache file if you give it
1272
+ # the --recheck option to rerun configure.
1273
+ #
1274
+ # `ac_cv_env_foo' variables (set or unset) will be overridden when
1275
+ # loading this file, other *unset* `ac_cv_foo' will be assigned the
1276
+ # following values.
1277
+
1278
+ _ACEOF
1279
+
1280
+ # The following way of writing the cache mishandles newlines in values,
1281
+ # but we know of no workaround that is simple, portable, and efficient.
1282
+ # So, don't put newlines in cache variables' values.
1283
+ # Ultrix sh set writes to stderr and can't be redirected directly,
1284
+ # and sets the high bit in the cache file unless we assign to the vars.
1285
+ {
1286
+ (set) 2>&1 |
1287
+ case `(ac_space=' '; set | grep ac_space) 2>&1` in
1288
+ *ac_space=\ *)
1289
+ # `set' does not quote correctly, so add quotes (double-quote
1290
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
1291
+ sed -n \
1292
+ "s/'/'\\\\''/g;
1293
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1294
+ ;;
1295
+ *)
1296
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
1297
+ sed -n \
1298
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1299
+ ;;
1300
+ esac;
1301
+ } |
1302
+ sed '
1303
+ t clear
1304
+ : clear
1305
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1306
+ t end
1307
+ /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1308
+ : end' >>confcache
1309
+ if diff $cache_file confcache >/dev/null 2>&1; then :; else
1310
+ if test -w $cache_file; then
1311
+ test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1312
+ cat confcache >$cache_file
1313
+ else
1314
+ echo "not updating unwritable cache $cache_file"
1315
+ fi
1316
+ fi
1317
+ rm -f confcache
1318
+
1319
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
1320
+ # Let make expand exec_prefix.
1321
+ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1322
+
1323
+ # VPATH may cause trouble with some makes, so we remove $(srcdir),
1324
+ # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1325
+ # trailing colons and then remove the whole line if VPATH becomes empty
1326
+ # (actually we leave an empty line to preserve line numbers).
1327
+ if test "x$srcdir" = x.; then
1328
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
1329
+ s/:*\$(srcdir):*/:/;
1330
+ s/:*\${srcdir}:*/:/;
1331
+ s/:*@srcdir@:*/:/;
1332
+ s/^\([^=]*=[ ]*\):*/\1/;
1333
+ s/:*$//;
1334
+ s/^[^=]*=[ ]*$//;
1335
+ }'
1336
+ fi
1337
+
1338
+ # Transform confdefs.h into DEFS.
1339
+ # Protect against shell expansion while executing Makefile rules.
1340
+ # Protect against Makefile macro expansion.
1341
+ #
1342
+ # If the first sed substitution is executed (which looks for macros that
1343
+ # take arguments), then we branch to the quote section. Otherwise,
1344
+ # look for a macro that doesn't take arguments.
1345
+ cat >confdef2opt.sed <<\_ACEOF
1346
+ t clear
1347
+ : clear
1348
+ s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1349
+ t quote
1350
+ s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1351
+ t quote
1352
+ d
1353
+ : quote
1354
+ s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1355
+ s,\[,\\&,g
1356
+ s,\],\\&,g
1357
+ s,\$,$$,g
1358
+ p
1359
+ _ACEOF
1360
+ # We use echo to avoid assuming a particular line-breaking character.
1361
+ # The extra dot is to prevent the shell from consuming trailing
1362
+ # line-breaks from the sub-command output. A line-break within
1363
+ # single-quotes doesn't work because, if this script is created in a
1364
+ # platform that uses two characters for line-breaks (e.g., DOS), tr
1365
+ # would break.
1366
+ ac_LF_and_DOT=`echo; echo .`
1367
+ DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1368
+ rm -f confdef2opt.sed
1369
+
1370
+
1371
+ ac_libobjs=
1372
+ ac_ltlibobjs=
1373
+ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1374
+ # 1. Remove the extension, and $U if already installed.
1375
+ ac_i=`echo "$ac_i" |
1376
+ sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1377
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1378
+ # will be set to the directory where LIBOBJS objects are built.
1379
+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1380
+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1381
+ done
1382
+ LIBOBJS=$ac_libobjs
1383
+
1384
+ LTLIBOBJS=$ac_ltlibobjs
1385
+
1386
+
1387
+
1388
+ : ${CONFIG_STATUS=./config.status}
1389
+ ac_clean_files_save=$ac_clean_files
1390
+ ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1391
+ { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1392
+ echo "$as_me: creating $CONFIG_STATUS" >&6;}
1393
+ cat >$CONFIG_STATUS <<_ACEOF
1394
+ #! $SHELL
1395
+ # Generated by $as_me.
1396
+ # Run this file to recreate the current configuration.
1397
+ # Compiler output produced by configure, useful for debugging
1398
+ # configure, is in config.log if it exists.
1399
+
1400
+ debug=false
1401
+ ac_cs_recheck=false
1402
+ ac_cs_silent=false
1403
+ SHELL=\${CONFIG_SHELL-$SHELL}
1404
+ _ACEOF
1405
+
1406
+ cat >>$CONFIG_STATUS <<\_ACEOF
1407
+ ## --------------------- ##
1408
+ ## M4sh Initialization. ##
1409
+ ## --------------------- ##
1410
+
1411
+ # Be Bourne compatible
1412
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1413
+ emulate sh
1414
+ NULLCMD=:
1415
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1416
+ # is contrary to our usage. Disable this feature.
1417
+ alias -g '${1+"$@"}'='"$@"'
1418
+ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1419
+ set -o posix
1420
+ fi
1421
+ DUALCASE=1; export DUALCASE # for MKS sh
1422
+
1423
+ # Support unset when possible.
1424
+ if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1425
+ as_unset=unset
1426
+ else
1427
+ as_unset=false
1428
+ fi
1429
+
1430
+
1431
+ # Work around bugs in pre-3.0 UWIN ksh.
1432
+ $as_unset ENV MAIL MAILPATH
1433
+ PS1='$ '
1434
+ PS2='> '
1435
+ PS4='+ '
1436
+
1437
+ # NLS nuisances.
1438
+ for as_var in \
1439
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1440
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1441
+ LC_TELEPHONE LC_TIME
1442
+ do
1443
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1444
+ eval $as_var=C; export $as_var
1445
+ else
1446
+ $as_unset $as_var
1447
+ fi
1448
+ done
1449
+
1450
+ # Required to use basename.
1451
+ if expr a : '\(a\)' >/dev/null 2>&1; then
1452
+ as_expr=expr
1453
+ else
1454
+ as_expr=false
1455
+ fi
1456
+
1457
+ if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1458
+ as_basename=basename
1459
+ else
1460
+ as_basename=false
1461
+ fi
1462
+
1463
+
1464
+ # Name of the executable.
1465
+ as_me=`$as_basename "$0" ||
1466
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1467
+ X"$0" : 'X\(//\)$' \| \
1468
+ X"$0" : 'X\(/\)$' \| \
1469
+ . : '\(.\)' 2>/dev/null ||
1470
+ echo X/"$0" |
1471
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1472
+ /^X\/\(\/\/\)$/{ s//\1/; q; }
1473
+ /^X\/\(\/\).*/{ s//\1/; q; }
1474
+ s/.*/./; q'`
1475
+
1476
+
1477
+ # PATH needs CR, and LINENO needs CR and PATH.
1478
+ # Avoid depending upon Character Ranges.
1479
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1480
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1481
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1482
+ as_cr_digits='0123456789'
1483
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
1484
+
1485
+ # The user is always right.
1486
+ if test "${PATH_SEPARATOR+set}" != set; then
1487
+ echo "#! /bin/sh" >conf$$.sh
1488
+ echo "exit 0" >>conf$$.sh
1489
+ chmod +x conf$$.sh
1490
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1491
+ PATH_SEPARATOR=';'
1492
+ else
1493
+ PATH_SEPARATOR=:
1494
+ fi
1495
+ rm -f conf$$.sh
1496
+ fi
1497
+
1498
+
1499
+ as_lineno_1=$LINENO
1500
+ as_lineno_2=$LINENO
1501
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1502
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
1503
+ test "x$as_lineno_3" = "x$as_lineno_2" || {
1504
+ # Find who we are. Look in the path if we contain no path at all
1505
+ # relative or not.
1506
+ case $0 in
1507
+ *[\\/]* ) as_myself=$0 ;;
1508
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1509
+ for as_dir in $PATH
1510
+ do
1511
+ IFS=$as_save_IFS
1512
+ test -z "$as_dir" && as_dir=.
1513
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1514
+ done
1515
+
1516
+ ;;
1517
+ esac
1518
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
1519
+ # in which case we are not to be found in the path.
1520
+ if test "x$as_myself" = x; then
1521
+ as_myself=$0
1522
+ fi
1523
+ if test ! -f "$as_myself"; then
1524
+ { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1525
+ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1526
+ { (exit 1); exit 1; }; }
1527
+ fi
1528
+ case $CONFIG_SHELL in
1529
+ '')
1530
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1531
+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1532
+ do
1533
+ IFS=$as_save_IFS
1534
+ test -z "$as_dir" && as_dir=.
1535
+ for as_base in sh bash ksh sh5; do
1536
+ case $as_dir in
1537
+ /*)
1538
+ if ("$as_dir/$as_base" -c '
1539
+ as_lineno_1=$LINENO
1540
+ as_lineno_2=$LINENO
1541
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1542
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
1543
+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1544
+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1545
+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1546
+ CONFIG_SHELL=$as_dir/$as_base
1547
+ export CONFIG_SHELL
1548
+ exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1549
+ fi;;
1550
+ esac
1551
+ done
1552
+ done
1553
+ ;;
1554
+ esac
1555
+
1556
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1557
+ # uniformly replaced by the line number. The first 'sed' inserts a
1558
+ # line-number line before each line; the second 'sed' does the real
1559
+ # work. The second script uses 'N' to pair each line-number line
1560
+ # with the numbered line, and appends trailing '-' during
1561
+ # substitution so that $LINENO is not a special case at line end.
1562
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1563
+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1564
+ sed '=' <$as_myself |
1565
+ sed '
1566
+ N
1567
+ s,$,-,
1568
+ : loop
1569
+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1570
+ t loop
1571
+ s,-$,,
1572
+ s,^['$as_cr_digits']*\n,,
1573
+ ' >$as_me.lineno &&
1574
+ chmod +x $as_me.lineno ||
1575
+ { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1576
+ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1577
+ { (exit 1); exit 1; }; }
1578
+
1579
+ # Don't try to exec as it changes $[0], causing all sort of problems
1580
+ # (the dirname of $[0] is not the place where we might find the
1581
+ # original and so on. Autoconf is especially sensible to this).
1582
+ . ./$as_me.lineno
1583
+ # Exit status is that of the last command.
1584
+ exit
1585
+ }
1586
+
1587
+
1588
+ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1589
+ *c*,-n*) ECHO_N= ECHO_C='
1590
+ ' ECHO_T=' ' ;;
1591
+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1592
+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1593
+ esac
1594
+
1595
+ if expr a : '\(a\)' >/dev/null 2>&1; then
1596
+ as_expr=expr
1597
+ else
1598
+ as_expr=false
1599
+ fi
1600
+
1601
+ rm -f conf$$ conf$$.exe conf$$.file
1602
+ echo >conf$$.file
1603
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
1604
+ # We could just check for DJGPP; but this test a) works b) is more generic
1605
+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1606
+ if test -f conf$$.exe; then
1607
+ # Don't use ln at all; we don't have any links
1608
+ as_ln_s='cp -p'
1609
+ else
1610
+ as_ln_s='ln -s'
1611
+ fi
1612
+ elif ln conf$$.file conf$$ 2>/dev/null; then
1613
+ as_ln_s=ln
1614
+ else
1615
+ as_ln_s='cp -p'
1616
+ fi
1617
+ rm -f conf$$ conf$$.exe conf$$.file
1618
+
1619
+ if mkdir -p . 2>/dev/null; then
1620
+ as_mkdir_p=:
1621
+ else
1622
+ test -d ./-p && rmdir ./-p
1623
+ as_mkdir_p=false
1624
+ fi
1625
+
1626
+ as_executable_p="test -f"
1627
+
1628
+ # Sed expression to map a string onto a valid CPP name.
1629
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1630
+
1631
+ # Sed expression to map a string onto a valid variable name.
1632
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1633
+
1634
+
1635
+ # IFS
1636
+ # We need space, tab and new line, in precisely that order.
1637
+ as_nl='
1638
+ '
1639
+ IFS=" $as_nl"
1640
+
1641
+ # CDPATH.
1642
+ $as_unset CDPATH
1643
+
1644
+ exec 6>&1
1645
+
1646
+ # Open the log real soon, to keep \$[0] and so on meaningful, and to
1647
+ # report actual input values of CONFIG_FILES etc. instead of their
1648
+ # values after options handling. Logging --version etc. is OK.
1649
+ exec 5>>config.log
1650
+ {
1651
+ echo
1652
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1653
+ ## Running $as_me. ##
1654
+ _ASBOX
1655
+ } >&5
1656
+ cat >&5 <<_CSEOF
1657
+
1658
+ This file was extended by CPMAP $as_me 0.1, which was
1659
+ generated by GNU Autoconf 2.59. Invocation command line was
1660
+
1661
+ CONFIG_FILES = $CONFIG_FILES
1662
+ CONFIG_HEADERS = $CONFIG_HEADERS
1663
+ CONFIG_LINKS = $CONFIG_LINKS
1664
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
1665
+ $ $0 $@
1666
+
1667
+ _CSEOF
1668
+ echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1669
+ echo >&5
1670
+ _ACEOF
1671
+
1672
+ # Files that config.status was made for.
1673
+ if test -n "$ac_config_files"; then
1674
+ echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1675
+ fi
1676
+
1677
+ if test -n "$ac_config_headers"; then
1678
+ echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1679
+ fi
1680
+
1681
+ if test -n "$ac_config_links"; then
1682
+ echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1683
+ fi
1684
+
1685
+ if test -n "$ac_config_commands"; then
1686
+ echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1687
+ fi
1688
+
1689
+ cat >>$CONFIG_STATUS <<\_ACEOF
1690
+
1691
+ ac_cs_usage="\
1692
+ \`$as_me' instantiates files from templates according to the
1693
+ current configuration.
1694
+
1695
+ Usage: $0 [OPTIONS] [FILE]...
1696
+
1697
+ -h, --help print this help, then exit
1698
+ -V, --version print version number, then exit
1699
+ -q, --quiet do not print progress messages
1700
+ -d, --debug don't remove temporary files
1701
+ --recheck update $as_me by reconfiguring in the same conditions
1702
+ --file=FILE[:TEMPLATE]
1703
+ instantiate the configuration file FILE
1704
+
1705
+ Configuration files:
1706
+ $config_files
1707
+
1708
+ Configuration commands:
1709
+ $config_commands
1710
+
1711
+ Report bugs to <bug-autoconf@gnu.org>."
1712
+ _ACEOF
1713
+
1714
+ cat >>$CONFIG_STATUS <<_ACEOF
1715
+ ac_cs_version="\\
1716
+ CPMAP config.status 0.1
1717
+ configured by $0, generated by GNU Autoconf 2.59,
1718
+ with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1719
+
1720
+ Copyright (C) 2003 Free Software Foundation, Inc.
1721
+ This config.status script is free software; the Free Software Foundation
1722
+ gives unlimited permission to copy, distribute and modify it."
1723
+ srcdir=$srcdir
1724
+ _ACEOF
1725
+
1726
+ cat >>$CONFIG_STATUS <<\_ACEOF
1727
+ # If no file are specified by the user, then we need to provide default
1728
+ # value. By we need to know if files were specified by the user.
1729
+ ac_need_defaults=:
1730
+ while test $# != 0
1731
+ do
1732
+ case $1 in
1733
+ --*=*)
1734
+ ac_option=`expr "x$1" : 'x\([^=]*\)='`
1735
+ ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1736
+ ac_shift=:
1737
+ ;;
1738
+ -*)
1739
+ ac_option=$1
1740
+ ac_optarg=$2
1741
+ ac_shift=shift
1742
+ ;;
1743
+ *) # This is not an option, so the user has probably given explicit
1744
+ # arguments.
1745
+ ac_option=$1
1746
+ ac_need_defaults=false;;
1747
+ esac
1748
+
1749
+ case $ac_option in
1750
+ # Handling of the options.
1751
+ _ACEOF
1752
+ cat >>$CONFIG_STATUS <<\_ACEOF
1753
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1754
+ ac_cs_recheck=: ;;
1755
+ --version | --vers* | -V )
1756
+ echo "$ac_cs_version"; exit 0 ;;
1757
+ --he | --h)
1758
+ # Conflict between --help and --header
1759
+ { { echo "$as_me:$LINENO: error: ambiguous option: $1
1760
+ Try \`$0 --help' for more information." >&5
1761
+ echo "$as_me: error: ambiguous option: $1
1762
+ Try \`$0 --help' for more information." >&2;}
1763
+ { (exit 1); exit 1; }; };;
1764
+ --help | --hel | -h )
1765
+ echo "$ac_cs_usage"; exit 0 ;;
1766
+ --debug | --d* | -d )
1767
+ debug=: ;;
1768
+ --file | --fil | --fi | --f )
1769
+ $ac_shift
1770
+ CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1771
+ ac_need_defaults=false;;
1772
+ --header | --heade | --head | --hea )
1773
+ $ac_shift
1774
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1775
+ ac_need_defaults=false;;
1776
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1777
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
1778
+ ac_cs_silent=: ;;
1779
+
1780
+ # This is an error.
1781
+ -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1782
+ Try \`$0 --help' for more information." >&5
1783
+ echo "$as_me: error: unrecognized option: $1
1784
+ Try \`$0 --help' for more information." >&2;}
1785
+ { (exit 1); exit 1; }; } ;;
1786
+
1787
+ *) ac_config_targets="$ac_config_targets $1" ;;
1788
+
1789
+ esac
1790
+ shift
1791
+ done
1792
+
1793
+ ac_configure_extra_args=
1794
+
1795
+ if $ac_cs_silent; then
1796
+ exec 6>/dev/null
1797
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
1798
+ fi
1799
+
1800
+ _ACEOF
1801
+ cat >>$CONFIG_STATUS <<_ACEOF
1802
+ if \$ac_cs_recheck; then
1803
+ echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1804
+ exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1805
+ fi
1806
+
1807
+ _ACEOF
1808
+
1809
+
1810
+
1811
+
1812
+
1813
+ cat >>$CONFIG_STATUS <<\_ACEOF
1814
+ for ac_config_target in $ac_config_targets
1815
+ do
1816
+ case "$ac_config_target" in
1817
+ # Handling of arguments.
1818
+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1819
+ "Makefile.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.in" ;;
1820
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1821
+ echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1822
+ { (exit 1); exit 1; }; };;
1823
+ esac
1824
+ done
1825
+
1826
+ # If the user did not use the arguments to specify the items to instantiate,
1827
+ # then the envvar interface is used. Set only those that are not.
1828
+ # We use the long form for the default assignment because of an extremely
1829
+ # bizarre bug on SunOS 4.1.3.
1830
+ if $ac_need_defaults; then
1831
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1832
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1833
+ fi
1834
+
1835
+ # Have a temporary directory for convenience. Make it in the build tree
1836
+ # simply because there is no reason to put it here, and in addition,
1837
+ # creating and moving files from /tmp can sometimes cause problems.
1838
+ # Create a temporary directory, and hook for its removal unless debugging.
1839
+ $debug ||
1840
+ {
1841
+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1842
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
1843
+ }
1844
+
1845
+ # Create a (secure) tmp directory for tmp files.
1846
+
1847
+ {
1848
+ tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1849
+ test -n "$tmp" && test -d "$tmp"
1850
+ } ||
1851
+ {
1852
+ tmp=./confstat$$-$RANDOM
1853
+ (umask 077 && mkdir $tmp)
1854
+ } ||
1855
+ {
1856
+ echo "$me: cannot create a temporary directory in ." >&2
1857
+ { (exit 1); exit 1; }
1858
+ }
1859
+
1860
+ _ACEOF
1861
+
1862
+ cat >>$CONFIG_STATUS <<_ACEOF
1863
+
1864
+ #
1865
+ # CONFIG_FILES section.
1866
+ #
1867
+
1868
+ # No need to generate the scripts if there are no CONFIG_FILES.
1869
+ # This happens for instance when ./config.status config.h
1870
+ if test -n "\$CONFIG_FILES"; then
1871
+ # Protect against being on the right side of a sed subst in config.status.
1872
+ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1873
+ s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1874
+ s,@SHELL@,$SHELL,;t t
1875
+ s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1876
+ s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1877
+ s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1878
+ s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1879
+ s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1880
+ s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1881
+ s,@exec_prefix@,$exec_prefix,;t t
1882
+ s,@prefix@,$prefix,;t t
1883
+ s,@program_transform_name@,$program_transform_name,;t t
1884
+ s,@bindir@,$bindir,;t t
1885
+ s,@sbindir@,$sbindir,;t t
1886
+ s,@libexecdir@,$libexecdir,;t t
1887
+ s,@datadir@,$datadir,;t t
1888
+ s,@sysconfdir@,$sysconfdir,;t t
1889
+ s,@sharedstatedir@,$sharedstatedir,;t t
1890
+ s,@localstatedir@,$localstatedir,;t t
1891
+ s,@libdir@,$libdir,;t t
1892
+ s,@includedir@,$includedir,;t t
1893
+ s,@oldincludedir@,$oldincludedir,;t t
1894
+ s,@infodir@,$infodir,;t t
1895
+ s,@mandir@,$mandir,;t t
1896
+ s,@build_alias@,$build_alias,;t t
1897
+ s,@host_alias@,$host_alias,;t t
1898
+ s,@target_alias@,$target_alias,;t t
1899
+ s,@DEFS@,$DEFS,;t t
1900
+ s,@ECHO_C@,$ECHO_C,;t t
1901
+ s,@ECHO_N@,$ECHO_N,;t t
1902
+ s,@ECHO_T@,$ECHO_T,;t t
1903
+ s,@LIBS@,$LIBS,;t t
1904
+ s,@MAP@,$MAP,;t t
1905
+ s,@BOOST_DIR@,$BOOST_DIR,;t t
1906
+ s,@LIBOBJS@,$LIBOBJS,;t t
1907
+ s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1908
+ CEOF
1909
+
1910
+ _ACEOF
1911
+
1912
+ cat >>$CONFIG_STATUS <<\_ACEOF
1913
+ # Split the substitutions into bite-sized pieces for seds with
1914
+ # small command number limits, like on Digital OSF/1 and HP-UX.
1915
+ ac_max_sed_lines=48
1916
+ ac_sed_frag=1 # Number of current file.
1917
+ ac_beg=1 # First line for current file.
1918
+ ac_end=$ac_max_sed_lines # Line after last line for current file.
1919
+ ac_more_lines=:
1920
+ ac_sed_cmds=
1921
+ while $ac_more_lines; do
1922
+ if test $ac_beg -gt 1; then
1923
+ sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1924
+ else
1925
+ sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1926
+ fi
1927
+ if test ! -s $tmp/subs.frag; then
1928
+ ac_more_lines=false
1929
+ else
1930
+ # The purpose of the label and of the branching condition is to
1931
+ # speed up the sed processing (if there are no `@' at all, there
1932
+ # is no need to browse any of the substitutions).
1933
+ # These are the two extra sed commands mentioned above.
1934
+ (echo ':t
1935
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1936
+ if test -z "$ac_sed_cmds"; then
1937
+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1938
+ else
1939
+ ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1940
+ fi
1941
+ ac_sed_frag=`expr $ac_sed_frag + 1`
1942
+ ac_beg=$ac_end
1943
+ ac_end=`expr $ac_end + $ac_max_sed_lines`
1944
+ fi
1945
+ done
1946
+ if test -z "$ac_sed_cmds"; then
1947
+ ac_sed_cmds=cat
1948
+ fi
1949
+ fi # test -n "$CONFIG_FILES"
1950
+
1951
+ _ACEOF
1952
+ cat >>$CONFIG_STATUS <<\_ACEOF
1953
+ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1954
+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1955
+ case $ac_file in
1956
+ - | *:- | *:-:* ) # input from stdin
1957
+ cat >$tmp/stdin
1958
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1959
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1960
+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1961
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1962
+ * ) ac_file_in=$ac_file.in ;;
1963
+ esac
1964
+
1965
+ # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1966
+ ac_dir=`(dirname "$ac_file") 2>/dev/null ||
1967
+ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1968
+ X"$ac_file" : 'X\(//\)[^/]' \| \
1969
+ X"$ac_file" : 'X\(//\)$' \| \
1970
+ X"$ac_file" : 'X\(/\)' \| \
1971
+ . : '\(.\)' 2>/dev/null ||
1972
+ echo X"$ac_file" |
1973
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1974
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1975
+ /^X\(\/\/\)$/{ s//\1/; q; }
1976
+ /^X\(\/\).*/{ s//\1/; q; }
1977
+ s/.*/./; q'`
1978
+ { if $as_mkdir_p; then
1979
+ mkdir -p "$ac_dir"
1980
+ else
1981
+ as_dir="$ac_dir"
1982
+ as_dirs=
1983
+ while test ! -d "$as_dir"; do
1984
+ as_dirs="$as_dir $as_dirs"
1985
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
1986
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1987
+ X"$as_dir" : 'X\(//\)[^/]' \| \
1988
+ X"$as_dir" : 'X\(//\)$' \| \
1989
+ X"$as_dir" : 'X\(/\)' \| \
1990
+ . : '\(.\)' 2>/dev/null ||
1991
+ echo X"$as_dir" |
1992
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1993
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1994
+ /^X\(\/\/\)$/{ s//\1/; q; }
1995
+ /^X\(\/\).*/{ s//\1/; q; }
1996
+ s/.*/./; q'`
1997
+ done
1998
+ test ! -n "$as_dirs" || mkdir $as_dirs
1999
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2000
+ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2001
+ { (exit 1); exit 1; }; }; }
2002
+
2003
+ ac_builddir=.
2004
+
2005
+ if test "$ac_dir" != .; then
2006
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2007
+ # A "../" for each directory in $ac_dir_suffix.
2008
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2009
+ else
2010
+ ac_dir_suffix= ac_top_builddir=
2011
+ fi
2012
+
2013
+ case $srcdir in
2014
+ .) # No --srcdir option. We are building in place.
2015
+ ac_srcdir=.
2016
+ if test -z "$ac_top_builddir"; then
2017
+ ac_top_srcdir=.
2018
+ else
2019
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2020
+ fi ;;
2021
+ [\\/]* | ?:[\\/]* ) # Absolute path.
2022
+ ac_srcdir=$srcdir$ac_dir_suffix;
2023
+ ac_top_srcdir=$srcdir ;;
2024
+ *) # Relative path.
2025
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2026
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
2027
+ esac
2028
+
2029
+ # Do not use `cd foo && pwd` to compute absolute paths, because
2030
+ # the directories may not exist.
2031
+ case `pwd` in
2032
+ .) ac_abs_builddir="$ac_dir";;
2033
+ *)
2034
+ case "$ac_dir" in
2035
+ .) ac_abs_builddir=`pwd`;;
2036
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2037
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
2038
+ esac;;
2039
+ esac
2040
+ case $ac_abs_builddir in
2041
+ .) ac_abs_top_builddir=${ac_top_builddir}.;;
2042
+ *)
2043
+ case ${ac_top_builddir}. in
2044
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
2045
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2046
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2047
+ esac;;
2048
+ esac
2049
+ case $ac_abs_builddir in
2050
+ .) ac_abs_srcdir=$ac_srcdir;;
2051
+ *)
2052
+ case $ac_srcdir in
2053
+ .) ac_abs_srcdir=$ac_abs_builddir;;
2054
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2055
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2056
+ esac;;
2057
+ esac
2058
+ case $ac_abs_builddir in
2059
+ .) ac_abs_top_srcdir=$ac_top_srcdir;;
2060
+ *)
2061
+ case $ac_top_srcdir in
2062
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
2063
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2064
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2065
+ esac;;
2066
+ esac
2067
+
2068
+
2069
+
2070
+ if test x"$ac_file" != x-; then
2071
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
2072
+ echo "$as_me: creating $ac_file" >&6;}
2073
+ rm -f "$ac_file"
2074
+ fi
2075
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
2076
+ # use $as_me), people would be surprised to read:
2077
+ # /* config.h. Generated by config.status. */
2078
+ if test x"$ac_file" = x-; then
2079
+ configure_input=
2080
+ else
2081
+ configure_input="$ac_file. "
2082
+ fi
2083
+ configure_input=$configure_input"Generated from `echo $ac_file_in |
2084
+ sed 's,.*/,,'` by configure."
2085
+
2086
+ # First look for the input files in the build tree, otherwise in the
2087
+ # src tree.
2088
+ ac_file_inputs=`IFS=:
2089
+ for f in $ac_file_in; do
2090
+ case $f in
2091
+ -) echo $tmp/stdin ;;
2092
+ [\\/$]*)
2093
+ # Absolute (can't be DOS-style, as IFS=:)
2094
+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2095
+ echo "$as_me: error: cannot find input file: $f" >&2;}
2096
+ { (exit 1); exit 1; }; }
2097
+ echo "$f";;
2098
+ *) # Relative
2099
+ if test -f "$f"; then
2100
+ # Build tree
2101
+ echo "$f"
2102
+ elif test -f "$srcdir/$f"; then
2103
+ # Source tree
2104
+ echo "$srcdir/$f"
2105
+ else
2106
+ # /dev/null tree
2107
+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2108
+ echo "$as_me: error: cannot find input file: $f" >&2;}
2109
+ { (exit 1); exit 1; }; }
2110
+ fi;;
2111
+ esac
2112
+ done` || { (exit 1); exit 1; }
2113
+ _ACEOF
2114
+ cat >>$CONFIG_STATUS <<_ACEOF
2115
+ sed "$ac_vpsub
2116
+ $extrasub
2117
+ _ACEOF
2118
+ cat >>$CONFIG_STATUS <<\_ACEOF
2119
+ :t
2120
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2121
+ s,@configure_input@,$configure_input,;t t
2122
+ s,@srcdir@,$ac_srcdir,;t t
2123
+ s,@abs_srcdir@,$ac_abs_srcdir,;t t
2124
+ s,@top_srcdir@,$ac_top_srcdir,;t t
2125
+ s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2126
+ s,@builddir@,$ac_builddir,;t t
2127
+ s,@abs_builddir@,$ac_abs_builddir,;t t
2128
+ s,@top_builddir@,$ac_top_builddir,;t t
2129
+ s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2130
+ " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2131
+ rm -f $tmp/stdin
2132
+ if test x"$ac_file" != x-; then
2133
+ mv $tmp/out $ac_file
2134
+ else
2135
+ cat $tmp/out
2136
+ rm -f $tmp/out
2137
+ fi
2138
+
2139
+ done
2140
+ _ACEOF
2141
+ cat >>$CONFIG_STATUS <<\_ACEOF
2142
+
2143
+ #
2144
+ # CONFIG_COMMANDS section.
2145
+ #
2146
+ for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
2147
+ ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2148
+ ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
2149
+ ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
2150
+ $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2151
+ X"$ac_dest" : 'X\(//\)[^/]' \| \
2152
+ X"$ac_dest" : 'X\(//\)$' \| \
2153
+ X"$ac_dest" : 'X\(/\)' \| \
2154
+ . : '\(.\)' 2>/dev/null ||
2155
+ echo X"$ac_dest" |
2156
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2157
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2158
+ /^X\(\/\/\)$/{ s//\1/; q; }
2159
+ /^X\(\/\).*/{ s//\1/; q; }
2160
+ s/.*/./; q'`
2161
+ { if $as_mkdir_p; then
2162
+ mkdir -p "$ac_dir"
2163
+ else
2164
+ as_dir="$ac_dir"
2165
+ as_dirs=
2166
+ while test ! -d "$as_dir"; do
2167
+ as_dirs="$as_dir $as_dirs"
2168
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
2169
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2170
+ X"$as_dir" : 'X\(//\)[^/]' \| \
2171
+ X"$as_dir" : 'X\(//\)$' \| \
2172
+ X"$as_dir" : 'X\(/\)' \| \
2173
+ . : '\(.\)' 2>/dev/null ||
2174
+ echo X"$as_dir" |
2175
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2176
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2177
+ /^X\(\/\/\)$/{ s//\1/; q; }
2178
+ /^X\(\/\).*/{ s//\1/; q; }
2179
+ s/.*/./; q'`
2180
+ done
2181
+ test ! -n "$as_dirs" || mkdir $as_dirs
2182
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2183
+ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2184
+ { (exit 1); exit 1; }; }; }
2185
+
2186
+ ac_builddir=.
2187
+
2188
+ if test "$ac_dir" != .; then
2189
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2190
+ # A "../" for each directory in $ac_dir_suffix.
2191
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2192
+ else
2193
+ ac_dir_suffix= ac_top_builddir=
2194
+ fi
2195
+
2196
+ case $srcdir in
2197
+ .) # No --srcdir option. We are building in place.
2198
+ ac_srcdir=.
2199
+ if test -z "$ac_top_builddir"; then
2200
+ ac_top_srcdir=.
2201
+ else
2202
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2203
+ fi ;;
2204
+ [\\/]* | ?:[\\/]* ) # Absolute path.
2205
+ ac_srcdir=$srcdir$ac_dir_suffix;
2206
+ ac_top_srcdir=$srcdir ;;
2207
+ *) # Relative path.
2208
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2209
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
2210
+ esac
2211
+
2212
+ # Do not use `cd foo && pwd` to compute absolute paths, because
2213
+ # the directories may not exist.
2214
+ case `pwd` in
2215
+ .) ac_abs_builddir="$ac_dir";;
2216
+ *)
2217
+ case "$ac_dir" in
2218
+ .) ac_abs_builddir=`pwd`;;
2219
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2220
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
2221
+ esac;;
2222
+ esac
2223
+ case $ac_abs_builddir in
2224
+ .) ac_abs_top_builddir=${ac_top_builddir}.;;
2225
+ *)
2226
+ case ${ac_top_builddir}. in
2227
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
2228
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2229
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2230
+ esac;;
2231
+ esac
2232
+ case $ac_abs_builddir in
2233
+ .) ac_abs_srcdir=$ac_srcdir;;
2234
+ *)
2235
+ case $ac_srcdir in
2236
+ .) ac_abs_srcdir=$ac_abs_builddir;;
2237
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2238
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2239
+ esac;;
2240
+ esac
2241
+ case $ac_abs_builddir in
2242
+ .) ac_abs_top_srcdir=$ac_top_srcdir;;
2243
+ *)
2244
+ case $ac_top_srcdir in
2245
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
2246
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2247
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2248
+ esac;;
2249
+ esac
2250
+
2251
+
2252
+ { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2253
+ echo "$as_me: executing $ac_dest commands" >&6;}
2254
+ done
2255
+ _ACEOF
2256
+
2257
+ cat >>$CONFIG_STATUS <<\_ACEOF
2258
+
2259
+ { (exit 0); exit 0; }
2260
+ _ACEOF
2261
+ chmod +x $CONFIG_STATUS
2262
+ ac_clean_files=$ac_clean_files_save
2263
+
2264
+
2265
+ # configure is writing to config.log, and then calls config.status.
2266
+ # config.status does its own redirection, appending to config.log.
2267
+ # Unfortunately, on DOS this fails, as config.log is still kept open
2268
+ # by configure, so config.status won't be able to write to it; its
2269
+ # output is simply discarded. So we exec the FD to /dev/null,
2270
+ # effectively closing config.log, so it can be properly (re)opened and
2271
+ # appended to by config.status. When coming back to configure, we
2272
+ # need to make the FD available again.
2273
+ if test "$no_create" != yes; then
2274
+ ac_cs_success=:
2275
+ ac_config_status_args=
2276
+ test "$silent" = yes &&
2277
+ ac_config_status_args="$ac_config_status_args --quiet"
2278
+ exec 5>/dev/null
2279
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2280
+ exec 5>>config.log
2281
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2282
+ # would make configure fail if this is the last instruction.
2283
+ $ac_cs_success || { (exit 1); exit 1; }
2284
+ fi
2285
+