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