mkrf 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. data/CHANGELOG +2 -0
  2. data/MIT-LICENSE +7 -0
  3. data/README +54 -0
  4. data/Rakefile +107 -0
  5. data/lib/mkrf.rb +4 -0
  6. data/lib/mkrf/availability.rb +219 -0
  7. data/lib/mkrf/generator.rb +146 -0
  8. data/test/abstract_unit.rb +4 -0
  9. data/test/fixtures/down_a_directory/header_down_a_directory.h +1 -0
  10. data/test/fixtures/stdmkrf.h +1 -0
  11. data/test/sample_files/libtrivial/Rakefile +31 -0
  12. data/test/sample_files/libtrivial/extconf.rb +3 -0
  13. data/test/sample_files/libtrivial/lib/libtrivial.c +5 -0
  14. data/test/sample_files/libtrivial/lib/libtrivial.o +0 -0
  15. data/test/sample_files/libtrivial/libtrivial_so.bundle +0 -0
  16. data/test/sample_files/libtrivial/mkrf.log +1 -0
  17. data/test/sample_files/libxml-ruby-0.3.8/CHANGELOG +74 -0
  18. data/test/sample_files/libxml-ruby-0.3.8/LICENSE +22 -0
  19. data/test/sample_files/libxml-ruby-0.3.8/README +144 -0
  20. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/cbg.c +76 -0
  21. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/extconf.rb +49 -0
  22. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.c +86 -0
  23. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.h +82 -0
  24. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.rb +107 -0
  25. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/mkrf.log +1 -0
  26. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/old_extconf.rb +95 -0
  27. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attr.c +372 -0
  28. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attr.h +21 -0
  29. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attribute.c +224 -0
  30. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attribute.h +21 -0
  31. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_document.c +1159 -0
  32. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_document.h +27 -0
  33. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_dtd.c +168 -0
  34. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_dtd.h +17 -0
  35. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_input_cbg.c +167 -0
  36. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_input_cbg.h +21 -0
  37. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node.c +2139 -0
  38. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node.h +28 -0
  39. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node_set.c +248 -0
  40. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node_set.h +26 -0
  41. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_ns.c +153 -0
  42. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_ns.h +21 -0
  43. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser.c +1417 -0
  44. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser.h +31 -0
  45. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser_context.c +715 -0
  46. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser_context.h +22 -0
  47. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.c +426 -0
  48. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.h +52 -0
  49. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_schema.c +142 -0
  50. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_schema.h +16 -0
  51. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_tree.c +43 -0
  52. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_tree.h +12 -0
  53. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xinclude.c +20 -0
  54. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xinclude.h +13 -0
  55. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath.c +363 -0
  56. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath.h +24 -0
  57. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath_context.c +125 -0
  58. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath_context.h +24 -0
  59. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer.c +100 -0
  60. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer.h +27 -0
  61. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.c +21 -0
  62. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.h +18 -0
  63. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/sax_parser_callbacks.inc +202 -0
  64. data/test/sample_files/syck-0.55/CHANGELOG +186 -0
  65. data/test/sample_files/syck-0.55/COPYING +54 -0
  66. data/test/sample_files/syck-0.55/Makefile +582 -0
  67. data/test/sample_files/syck-0.55/Makefile.am +5 -0
  68. data/test/sample_files/syck-0.55/Makefile.in +582 -0
  69. data/test/sample_files/syck-0.55/README +105 -0
  70. data/test/sample_files/syck-0.55/README.BYTECODE +484 -0
  71. data/test/sample_files/syck-0.55/README.EXT +444 -0
  72. data/test/sample_files/syck-0.55/RELEASE +123 -0
  73. data/test/sample_files/syck-0.55/TODO +25 -0
  74. data/test/sample_files/syck-0.55/aclocal.m4 +883 -0
  75. data/test/sample_files/syck-0.55/bootstrap +7 -0
  76. data/test/sample_files/syck-0.55/config.h +79 -0
  77. data/test/sample_files/syck-0.55/config.h.in +78 -0
  78. data/test/sample_files/syck-0.55/config.status +1197 -0
  79. data/test/sample_files/syck-0.55/config/README +14 -0
  80. data/test/sample_files/syck-0.55/config/depcomp +529 -0
  81. data/test/sample_files/syck-0.55/config/install-sh +323 -0
  82. data/test/sample_files/syck-0.55/config/missing +357 -0
  83. data/test/sample_files/syck-0.55/configure +6728 -0
  84. data/test/sample_files/syck-0.55/configure.in +36 -0
  85. data/test/sample_files/syck-0.55/ext/ruby/CHANGELOG +303 -0
  86. data/test/sample_files/syck-0.55/ext/ruby/README +400 -0
  87. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/MANIFEST +1 -0
  88. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/bytecode.c +1170 -0
  89. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/emitter.c +1224 -0
  90. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/extconf.rb +10 -0
  91. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/gram.c +1894 -0
  92. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/gram.h +79 -0
  93. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/handler.c +174 -0
  94. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/implicit.c +2989 -0
  95. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/mkrf.log +1 -0
  96. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/node.c +407 -0
  97. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/rubyext.c +2385 -0
  98. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/syck.c +504 -0
  99. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/syck.h +458 -0
  100. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/token.c +2707 -0
  101. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/yaml2byte.c +250 -0
  102. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/yamlbyte.h +170 -0
  103. data/test/sample_files/syck-0.55/ext/ruby/install.rb +1022 -0
  104. data/test/sample_files/syck-0.55/ext/ruby/lib/okay.rb +161 -0
  105. data/test/sample_files/syck-0.55/ext/ruby/lib/okay/news.rb +69 -0
  106. data/test/sample_files/syck-0.55/ext/ruby/lib/okay/rpc.rb +434 -0
  107. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml.rb +436 -0
  108. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/baseemitter.rb +247 -0
  109. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/basenode.rb +216 -0
  110. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/compat.rb +26 -0
  111. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/constants.rb +45 -0
  112. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/dbm.rb +111 -0
  113. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/emitter.rb +107 -0
  114. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/encoding.rb +33 -0
  115. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/error.rb +34 -0
  116. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/rubytypes.rb +438 -0
  117. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/store.rb +29 -0
  118. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/stream.rb +40 -0
  119. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/stringio.rb +83 -0
  120. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/syck.rb +19 -0
  121. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/tag.rb +86 -0
  122. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/types.rb +188 -0
  123. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/yamlnode.rb +54 -0
  124. data/test/sample_files/syck-0.55/ext/ruby/lib/yaml/ypath.rb +52 -0
  125. data/test/sample_files/syck-0.55/ext/ruby/lib/yod.rb +1168 -0
  126. data/test/sample_files/syck-0.55/ext/ruby/samples/okayNews-modules.rb +27 -0
  127. data/test/sample_files/syck-0.55/ext/ruby/samples/okayNews-sample.rb +336 -0
  128. data/test/sample_files/syck-0.55/ext/ruby/samples/okayNews-validate.rb +341 -0
  129. data/test/sample_files/syck-0.55/ext/ruby/samples/okayRpc-client.rb +51 -0
  130. data/test/sample_files/syck-0.55/ext/ruby/samples/okayRpc-server.rb +85 -0
  131. data/test/sample_files/syck-0.55/ext/ruby/samples/yaml-sortHashKeys.rb +128 -0
  132. data/test/sample_files/syck-0.55/ext/ruby/tests/basic.rb +1653 -0
  133. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsAnchorAlias.yml +51 -0
  134. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsBasicTests.yml +282 -0
  135. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockMapping.yml +78 -0
  136. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockSequence.yml +0 -0
  137. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsDocumentSeparator.yml +102 -0
  138. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsErrorTests.yml +23 -0
  139. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsFlowCollections.yml +73 -0
  140. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsFoldedScalars.yml +215 -0
  141. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsMapInSeq.yml +0 -0
  142. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsNullsAndEmpties.yml +66 -0
  143. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsRubyTests.yml +182 -0
  144. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsSpecificationExamples.yml +2699 -0
  145. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsTypeTransfers.yml +265 -0
  146. data/test/sample_files/syck-0.55/ext/ruby/yts/YtsYpath.yml +221 -0
  147. data/test/sample_files/syck-0.55/ext/ruby/yts/cookbook.rb +159 -0
  148. data/test/sample_files/syck-0.55/ext/ruby/yts/index.yml +10 -0
  149. data/test/sample_files/syck-0.55/ext/ruby/yts/yts.rb +193 -0
  150. data/test/sample_files/syck-0.55/lib/Makefile +497 -0
  151. data/test/sample_files/syck-0.55/lib/Makefile.am +27 -0
  152. data/test/sample_files/syck-0.55/lib/Makefile.in +497 -0
  153. data/test/sample_files/syck-0.55/lib/bytecode.c +1170 -0
  154. data/test/sample_files/syck-0.55/lib/bytecode.re +525 -0
  155. data/test/sample_files/syck-0.55/lib/emitter.c +1224 -0
  156. data/test/sample_files/syck-0.55/lib/gram.c +1894 -0
  157. data/test/sample_files/syck-0.55/lib/gram.h +79 -0
  158. data/test/sample_files/syck-0.55/lib/gram.output +2005 -0
  159. data/test/sample_files/syck-0.55/lib/gram.y +481 -0
  160. data/test/sample_files/syck-0.55/lib/handler.c +174 -0
  161. data/test/sample_files/syck-0.55/lib/implicit.c +2989 -0
  162. data/test/sample_files/syck-0.55/lib/implicit.re +206 -0
  163. data/test/sample_files/syck-0.55/lib/node.c +407 -0
  164. data/test/sample_files/syck-0.55/lib/syck.c +504 -0
  165. data/test/sample_files/syck-0.55/lib/syck.h +458 -0
  166. data/test/sample_files/syck-0.55/lib/syck_st.c +577 -0
  167. data/test/sample_files/syck-0.55/lib/syck_st.h +46 -0
  168. data/test/sample_files/syck-0.55/lib/token.c +2707 -0
  169. data/test/sample_files/syck-0.55/lib/token.re +1139 -0
  170. data/test/sample_files/syck-0.55/lib/yaml2byte.c +250 -0
  171. data/test/sample_files/syck-0.55/lib/yamlbyte.h +170 -0
  172. data/test/sample_files/syck-0.55/stamp-h1 +1 -0
  173. data/test/sample_files/syck-0.55/tests/Basic.c +141 -0
  174. data/test/sample_files/syck-0.55/tests/CuTest.c +294 -0
  175. data/test/sample_files/syck-0.55/tests/CuTest.h +84 -0
  176. data/test/sample_files/syck-0.55/tests/Emit.c +87 -0
  177. data/test/sample_files/syck-0.55/tests/Makefile +480 -0
  178. data/test/sample_files/syck-0.55/tests/Makefile.am +13 -0
  179. data/test/sample_files/syck-0.55/tests/Makefile.in +480 -0
  180. data/test/sample_files/syck-0.55/tests/Parse.c +208 -0
  181. data/test/sample_files/syck-0.55/tests/YTS.c +2310 -0
  182. data/test/sample_files/syck-0.55/tests/YTS.c.erb +326 -0
  183. data/test/sample_files/syck-0.55/tests/YTS.c.rb +44 -0
  184. data/test/test_availability.rb +68 -0
  185. data/test/test_generator.rb +74 -0
  186. metadata +252 -0
@@ -0,0 +1,7 @@
1
+ #! /bin/sh
2
+
3
+ set -x
4
+ aclocal
5
+ autoheader
6
+ automake --foreign --add-missing --copy
7
+ autoconf
@@ -0,0 +1,79 @@
1
+ /* config.h. Generated by configure. */
2
+ /* config.h.in. Generated from configure.in by autoheader. */
3
+
4
+ /* Define to 1 if you have the <alloca.h> header file. */
5
+ #define HAVE_ALLOCA_H 1
6
+
7
+ /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
8
+ /* #undef HAVE_DOPRNT */
9
+
10
+ /* Define to 1 if you have the <inttypes.h> header file. */
11
+ #define HAVE_INTTYPES_H 1
12
+
13
+ /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
14
+ to 0 otherwise. */
15
+ #define HAVE_MALLOC 1
16
+
17
+ /* Define to 1 if you have the <memory.h> header file. */
18
+ #define HAVE_MEMORY_H 1
19
+
20
+ /* Define to 1 if you have the <stdint.h> header file. */
21
+ #define HAVE_STDINT_H 1
22
+
23
+ /* Define to 1 if you have the <stdlib.h> header file. */
24
+ #define HAVE_STDLIB_H 1
25
+
26
+ /* Define to 1 if you have the <strings.h> header file. */
27
+ #define HAVE_STRINGS_H 1
28
+
29
+ /* Define to 1 if you have the <string.h> header file. */
30
+ #define HAVE_STRING_H 1
31
+
32
+ /* Define to 1 if you have the <sys/stat.h> header file. */
33
+ #define HAVE_SYS_STAT_H 1
34
+
35
+ /* Define to 1 if you have the <sys/types.h> header file. */
36
+ #define HAVE_SYS_TYPES_H 1
37
+
38
+ /* Define to 1 if you have the <unistd.h> header file. */
39
+ #define HAVE_UNISTD_H 1
40
+
41
+ /* Define to 1 if you have the `vprintf' function. */
42
+ #define HAVE_VPRINTF 1
43
+
44
+ /* Name of package */
45
+ #define PACKAGE "syck"
46
+
47
+ /* Define to the address where bug reports for this package should be sent. */
48
+ #define PACKAGE_BUGREPORT ""
49
+
50
+ /* Define to the full name of this package. */
51
+ #define PACKAGE_NAME "syck"
52
+
53
+ /* Define to the full name and version of this package. */
54
+ #define PACKAGE_STRING "syck 0.54"
55
+
56
+ /* Define to the one symbol short name of this package. */
57
+ #define PACKAGE_TARNAME "syck"
58
+
59
+ /* Define to the version of this package. */
60
+ #define PACKAGE_VERSION "0.54"
61
+
62
+ /* The size of a `int', as computed by sizeof. */
63
+ #define SIZEOF_INT 4
64
+
65
+ /* The size of a `long', as computed by sizeof. */
66
+ #define SIZEOF_LONG 4
67
+
68
+ /* Define to 1 if you have the ANSI C header files. */
69
+ #define STDC_HEADERS 1
70
+
71
+ /* Version number of package */
72
+ #define VERSION "0.54"
73
+
74
+ /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
75
+ `char[]'. */
76
+ #define YYTEXT_POINTER 1
77
+
78
+ /* Define to rpl_malloc if the replacement function should be used. */
79
+ /* #undef malloc */
@@ -0,0 +1,78 @@
1
+ /* config.h.in. Generated from configure.in by autoheader. */
2
+
3
+ /* Define to 1 if you have the <alloca.h> header file. */
4
+ #undef HAVE_ALLOCA_H
5
+
6
+ /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
7
+ #undef HAVE_DOPRNT
8
+
9
+ /* Define to 1 if you have the <inttypes.h> header file. */
10
+ #undef HAVE_INTTYPES_H
11
+
12
+ /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
13
+ to 0 otherwise. */
14
+ #undef HAVE_MALLOC
15
+
16
+ /* Define to 1 if you have the <memory.h> header file. */
17
+ #undef HAVE_MEMORY_H
18
+
19
+ /* Define to 1 if you have the <stdint.h> header file. */
20
+ #undef HAVE_STDINT_H
21
+
22
+ /* Define to 1 if you have the <stdlib.h> header file. */
23
+ #undef HAVE_STDLIB_H
24
+
25
+ /* Define to 1 if you have the <strings.h> header file. */
26
+ #undef HAVE_STRINGS_H
27
+
28
+ /* Define to 1 if you have the <string.h> header file. */
29
+ #undef HAVE_STRING_H
30
+
31
+ /* Define to 1 if you have the <sys/stat.h> header file. */
32
+ #undef HAVE_SYS_STAT_H
33
+
34
+ /* Define to 1 if you have the <sys/types.h> header file. */
35
+ #undef HAVE_SYS_TYPES_H
36
+
37
+ /* Define to 1 if you have the <unistd.h> header file. */
38
+ #undef HAVE_UNISTD_H
39
+
40
+ /* Define to 1 if you have the `vprintf' function. */
41
+ #undef HAVE_VPRINTF
42
+
43
+ /* Name of package */
44
+ #undef PACKAGE
45
+
46
+ /* Define to the address where bug reports for this package should be sent. */
47
+ #undef PACKAGE_BUGREPORT
48
+
49
+ /* Define to the full name of this package. */
50
+ #undef PACKAGE_NAME
51
+
52
+ /* Define to the full name and version of this package. */
53
+ #undef PACKAGE_STRING
54
+
55
+ /* Define to the one symbol short name of this package. */
56
+ #undef PACKAGE_TARNAME
57
+
58
+ /* Define to the version of this package. */
59
+ #undef PACKAGE_VERSION
60
+
61
+ /* The size of a `int', as computed by sizeof. */
62
+ #undef SIZEOF_INT
63
+
64
+ /* The size of a `long', as computed by sizeof. */
65
+ #undef SIZEOF_LONG
66
+
67
+ /* Define to 1 if you have the ANSI C header files. */
68
+ #undef STDC_HEADERS
69
+
70
+ /* Version number of package */
71
+ #undef VERSION
72
+
73
+ /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
74
+ `char[]'. */
75
+ #undef YYTEXT_POINTER
76
+
77
+ /* Define to rpl_malloc if the replacement function should be used. */
78
+ #undef malloc
@@ -0,0 +1,1197 @@
1
+ #! /bin/sh
2
+ # Generated by configure.
3
+ # Run this file to recreate the current configuration.
4
+ # Compiler output produced by configure, useful for debugging
5
+ # configure, is in config.log if it exists.
6
+
7
+ debug=false
8
+ ac_cs_recheck=false
9
+ ac_cs_silent=false
10
+ SHELL=${CONFIG_SHELL-/bin/sh}
11
+ ## --------------------- ##
12
+ ## M4sh Initialization. ##
13
+ ## --------------------- ##
14
+
15
+ # Be Bourne compatible
16
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
+ emulate sh
18
+ NULLCMD=:
19
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
+ # is contrary to our usage. Disable this feature.
21
+ alias -g '${1+"$@"}'='"$@"'
22
+ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23
+ set -o posix
24
+ fi
25
+ DUALCASE=1; export DUALCASE # for MKS sh
26
+
27
+ # Support unset when possible.
28
+ if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
+ as_unset=unset
30
+ else
31
+ as_unset=false
32
+ fi
33
+
34
+
35
+ # Work around bugs in pre-3.0 UWIN ksh.
36
+ $as_unset ENV MAIL MAILPATH
37
+ PS1='$ '
38
+ PS2='> '
39
+ PS4='+ '
40
+
41
+ # NLS nuisances.
42
+ for as_var in \
43
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45
+ LC_TELEPHONE LC_TIME
46
+ do
47
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48
+ eval $as_var=C; export $as_var
49
+ else
50
+ $as_unset $as_var
51
+ fi
52
+ done
53
+
54
+ # Required to use basename.
55
+ if expr a : '\(a\)' >/dev/null 2>&1; then
56
+ as_expr=expr
57
+ else
58
+ as_expr=false
59
+ fi
60
+
61
+ if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62
+ as_basename=basename
63
+ else
64
+ as_basename=false
65
+ fi
66
+
67
+
68
+ # Name of the executable.
69
+ as_me=`$as_basename "$0" ||
70
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71
+ X"$0" : 'X\(//\)$' \| \
72
+ X"$0" : 'X\(/\)$' \| \
73
+ . : '\(.\)' 2>/dev/null ||
74
+ echo X/"$0" |
75
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76
+ /^X\/\(\/\/\)$/{ s//\1/; q; }
77
+ /^X\/\(\/\).*/{ s//\1/; q; }
78
+ s/.*/./; q'`
79
+
80
+
81
+ # PATH needs CR, and LINENO needs CR and PATH.
82
+ # Avoid depending upon Character Ranges.
83
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86
+ as_cr_digits='0123456789'
87
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
88
+
89
+ # The user is always right.
90
+ if test "${PATH_SEPARATOR+set}" != set; then
91
+ echo "#! /bin/sh" >conf$$.sh
92
+ echo "exit 0" >>conf$$.sh
93
+ chmod +x conf$$.sh
94
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95
+ PATH_SEPARATOR=';'
96
+ else
97
+ PATH_SEPARATOR=:
98
+ fi
99
+ rm -f conf$$.sh
100
+ fi
101
+
102
+
103
+ as_lineno_1=$LINENO
104
+ as_lineno_2=$LINENO
105
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
107
+ test "x$as_lineno_3" = "x$as_lineno_2" || {
108
+ # Find who we are. Look in the path if we contain no path at all
109
+ # relative or not.
110
+ case $0 in
111
+ *[\\/]* ) as_myself=$0 ;;
112
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
+ for as_dir in $PATH
114
+ do
115
+ IFS=$as_save_IFS
116
+ test -z "$as_dir" && as_dir=.
117
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118
+ done
119
+
120
+ ;;
121
+ esac
122
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
123
+ # in which case we are not to be found in the path.
124
+ if test "x$as_myself" = x; then
125
+ as_myself=$0
126
+ fi
127
+ if test ! -f "$as_myself"; then
128
+ { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
129
+ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
130
+ { (exit 1); exit 1; }; }
131
+ fi
132
+ case $CONFIG_SHELL in
133
+ '')
134
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
135
+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
+ do
137
+ IFS=$as_save_IFS
138
+ test -z "$as_dir" && as_dir=.
139
+ for as_base in sh bash ksh sh5; do
140
+ case $as_dir in
141
+ /*)
142
+ if ("$as_dir/$as_base" -c '
143
+ as_lineno_1=$LINENO
144
+ as_lineno_2=$LINENO
145
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
146
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
147
+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
148
+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
149
+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
150
+ CONFIG_SHELL=$as_dir/$as_base
151
+ export CONFIG_SHELL
152
+ exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153
+ fi;;
154
+ esac
155
+ done
156
+ done
157
+ ;;
158
+ esac
159
+
160
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
161
+ # uniformly replaced by the line number. The first 'sed' inserts a
162
+ # line-number line before each line; the second 'sed' does the real
163
+ # work. The second script uses 'N' to pair each line-number line
164
+ # with the numbered line, and appends trailing '-' during
165
+ # substitution so that $LINENO is not a special case at line end.
166
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
167
+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
168
+ sed '=' <$as_myself |
169
+ sed '
170
+ N
171
+ s,$,-,
172
+ : loop
173
+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
+ t loop
175
+ s,-$,,
176
+ s,^['$as_cr_digits']*\n,,
177
+ ' >$as_me.lineno &&
178
+ chmod +x $as_me.lineno ||
179
+ { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
180
+ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
181
+ { (exit 1); exit 1; }; }
182
+
183
+ # Don't try to exec as it changes $[0], causing all sort of problems
184
+ # (the dirname of $[0] is not the place where we might find the
185
+ # original and so on. Autoconf is especially sensible to this).
186
+ . ./$as_me.lineno
187
+ # Exit status is that of the last command.
188
+ exit
189
+ }
190
+
191
+
192
+ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
193
+ *c*,-n*) ECHO_N= ECHO_C='
194
+ ' ECHO_T=' ' ;;
195
+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
196
+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
197
+ esac
198
+
199
+ if expr a : '\(a\)' >/dev/null 2>&1; then
200
+ as_expr=expr
201
+ else
202
+ as_expr=false
203
+ fi
204
+
205
+ rm -f conf$$ conf$$.exe conf$$.file
206
+ echo >conf$$.file
207
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
208
+ # We could just check for DJGPP; but this test a) works b) is more generic
209
+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
210
+ if test -f conf$$.exe; then
211
+ # Don't use ln at all; we don't have any links
212
+ as_ln_s='cp -p'
213
+ else
214
+ as_ln_s='ln -s'
215
+ fi
216
+ elif ln conf$$.file conf$$ 2>/dev/null; then
217
+ as_ln_s=ln
218
+ else
219
+ as_ln_s='cp -p'
220
+ fi
221
+ rm -f conf$$ conf$$.exe conf$$.file
222
+
223
+ if mkdir -p . 2>/dev/null; then
224
+ as_mkdir_p=:
225
+ else
226
+ test -d ./-p && rmdir ./-p
227
+ as_mkdir_p=false
228
+ fi
229
+
230
+ as_executable_p="test -f"
231
+
232
+ # Sed expression to map a string onto a valid CPP name.
233
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
234
+
235
+ # Sed expression to map a string onto a valid variable name.
236
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
+
238
+
239
+ # IFS
240
+ # We need space, tab and new line, in precisely that order.
241
+ as_nl='
242
+ '
243
+ IFS=" $as_nl"
244
+
245
+ # CDPATH.
246
+ $as_unset CDPATH
247
+
248
+ exec 6>&1
249
+
250
+ # Open the log real soon, to keep \$[0] and so on meaningful, and to
251
+ # report actual input values of CONFIG_FILES etc. instead of their
252
+ # values after options handling. Logging --version etc. is OK.
253
+ exec 5>>config.log
254
+ {
255
+ echo
256
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
257
+ ## Running $as_me. ##
258
+ _ASBOX
259
+ } >&5
260
+ cat >&5 <<_CSEOF
261
+
262
+ This file was extended by syck $as_me 0.54, which was
263
+ generated by GNU Autoconf 2.59. Invocation command line was
264
+
265
+ CONFIG_FILES = $CONFIG_FILES
266
+ CONFIG_HEADERS = $CONFIG_HEADERS
267
+ CONFIG_LINKS = $CONFIG_LINKS
268
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
269
+ $ $0 $@
270
+
271
+ _CSEOF
272
+ echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
273
+ echo >&5
274
+ config_files=" Makefile lib/Makefile tests/Makefile"
275
+ config_headers=" config.h"
276
+ config_commands=" depfiles"
277
+
278
+ ac_cs_usage="\
279
+ \`$as_me' instantiates files from templates according to the
280
+ current configuration.
281
+
282
+ Usage: $0 [OPTIONS] [FILE]...
283
+
284
+ -h, --help print this help, then exit
285
+ -V, --version print version number, then exit
286
+ -q, --quiet do not print progress messages
287
+ -d, --debug don't remove temporary files
288
+ --recheck update $as_me by reconfiguring in the same conditions
289
+ --file=FILE[:TEMPLATE]
290
+ instantiate the configuration file FILE
291
+ --header=FILE[:TEMPLATE]
292
+ instantiate the configuration header FILE
293
+
294
+ Configuration files:
295
+ $config_files
296
+
297
+ Configuration headers:
298
+ $config_headers
299
+
300
+ Configuration commands:
301
+ $config_commands
302
+
303
+ Report bugs to <bug-autoconf@gnu.org>."
304
+ ac_cs_version="\
305
+ syck config.status 0.54
306
+ configured by ./configure, generated by GNU Autoconf 2.59,
307
+ with options \"\"
308
+
309
+ Copyright (C) 2003 Free Software Foundation, Inc.
310
+ This config.status script is free software; the Free Software Foundation
311
+ gives unlimited permission to copy, distribute and modify it."
312
+ srcdir=.
313
+ INSTALL="/usr/bin/install -c"
314
+ # If no file are specified by the user, then we need to provide default
315
+ # value. By we need to know if files were specified by the user.
316
+ ac_need_defaults=:
317
+ while test $# != 0
318
+ do
319
+ case $1 in
320
+ --*=*)
321
+ ac_option=`expr "x$1" : 'x\([^=]*\)='`
322
+ ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
323
+ ac_shift=:
324
+ ;;
325
+ -*)
326
+ ac_option=$1
327
+ ac_optarg=$2
328
+ ac_shift=shift
329
+ ;;
330
+ *) # This is not an option, so the user has probably given explicit
331
+ # arguments.
332
+ ac_option=$1
333
+ ac_need_defaults=false;;
334
+ esac
335
+
336
+ case $ac_option in
337
+ # Handling of the options.
338
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
339
+ ac_cs_recheck=: ;;
340
+ --version | --vers* | -V )
341
+ echo "$ac_cs_version"; exit 0 ;;
342
+ --he | --h)
343
+ # Conflict between --help and --header
344
+ { { echo "$as_me:$LINENO: error: ambiguous option: $1
345
+ Try \`$0 --help' for more information." >&5
346
+ echo "$as_me: error: ambiguous option: $1
347
+ Try \`$0 --help' for more information." >&2;}
348
+ { (exit 1); exit 1; }; };;
349
+ --help | --hel | -h )
350
+ echo "$ac_cs_usage"; exit 0 ;;
351
+ --debug | --d* | -d )
352
+ debug=: ;;
353
+ --file | --fil | --fi | --f )
354
+ $ac_shift
355
+ CONFIG_FILES="$CONFIG_FILES $ac_optarg"
356
+ ac_need_defaults=false;;
357
+ --header | --heade | --head | --hea )
358
+ $ac_shift
359
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
360
+ ac_need_defaults=false;;
361
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
362
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
363
+ ac_cs_silent=: ;;
364
+
365
+ # This is an error.
366
+ -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
367
+ Try \`$0 --help' for more information." >&5
368
+ echo "$as_me: error: unrecognized option: $1
369
+ Try \`$0 --help' for more information." >&2;}
370
+ { (exit 1); exit 1; }; } ;;
371
+
372
+ *) ac_config_targets="$ac_config_targets $1" ;;
373
+
374
+ esac
375
+ shift
376
+ done
377
+
378
+ ac_configure_extra_args=
379
+
380
+ if $ac_cs_silent; then
381
+ exec 6>/dev/null
382
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
383
+ fi
384
+
385
+ if $ac_cs_recheck; then
386
+ echo "running /bin/sh ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6
387
+ exec /bin/sh ./configure $ac_configure_extra_args --no-create --no-recursion
388
+ fi
389
+
390
+ #
391
+ # INIT-COMMANDS section.
392
+ #
393
+
394
+ AMDEP_TRUE="" ac_aux_dir="config"
395
+
396
+ for ac_config_target in $ac_config_targets
397
+ do
398
+ case "$ac_config_target" in
399
+ # Handling of arguments.
400
+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
401
+ "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
402
+ "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
403
+ "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
404
+ "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
405
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
406
+ echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
407
+ { (exit 1); exit 1; }; };;
408
+ esac
409
+ done
410
+
411
+ # If the user did not use the arguments to specify the items to instantiate,
412
+ # then the envvar interface is used. Set only those that are not.
413
+ # We use the long form for the default assignment because of an extremely
414
+ # bizarre bug on SunOS 4.1.3.
415
+ if $ac_need_defaults; then
416
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
417
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
418
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
419
+ fi
420
+
421
+ # Have a temporary directory for convenience. Make it in the build tree
422
+ # simply because there is no reason to put it here, and in addition,
423
+ # creating and moving files from /tmp can sometimes cause problems.
424
+ # Create a temporary directory, and hook for its removal unless debugging.
425
+ $debug ||
426
+ {
427
+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
428
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
429
+ }
430
+
431
+ # Create a (secure) tmp directory for tmp files.
432
+
433
+ {
434
+ tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
435
+ test -n "$tmp" && test -d "$tmp"
436
+ } ||
437
+ {
438
+ tmp=./confstat$$-$RANDOM
439
+ (umask 077 && mkdir $tmp)
440
+ } ||
441
+ {
442
+ echo "$me: cannot create a temporary directory in ." >&2
443
+ { (exit 1); exit 1; }
444
+ }
445
+
446
+
447
+ #
448
+ # CONFIG_FILES section.
449
+ #
450
+
451
+ # No need to generate the scripts if there are no CONFIG_FILES.
452
+ # This happens for instance when ./config.status config.h
453
+ if test -n "$CONFIG_FILES"; then
454
+ # Protect against being on the right side of a sed subst in config.status.
455
+ sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
456
+ s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
457
+ s,@SHELL@,/bin/sh,;t t
458
+ s,@PATH_SEPARATOR@,:,;t t
459
+ s,@PACKAGE_NAME@,syck,;t t
460
+ s,@PACKAGE_TARNAME@,syck,;t t
461
+ s,@PACKAGE_VERSION@,0.54,;t t
462
+ s,@PACKAGE_STRING@,syck 0.54,;t t
463
+ s,@PACKAGE_BUGREPORT@,,;t t
464
+ s,@exec_prefix@,${prefix},;t t
465
+ s,@prefix@,/usr/local,;t t
466
+ s,@program_transform_name@,s,x,x,,;t t
467
+ s,@bindir@,${exec_prefix}/bin,;t t
468
+ s,@sbindir@,${exec_prefix}/sbin,;t t
469
+ s,@libexecdir@,${exec_prefix}/libexec,;t t
470
+ s,@datadir@,${prefix}/share,;t t
471
+ s,@sysconfdir@,${prefix}/etc,;t t
472
+ s,@sharedstatedir@,${prefix}/com,;t t
473
+ s,@localstatedir@,${prefix}/var,;t t
474
+ s,@libdir@,${exec_prefix}/lib,;t t
475
+ s,@includedir@,${prefix}/include,;t t
476
+ s,@oldincludedir@,/usr/include,;t t
477
+ s,@infodir@,${prefix}/info,;t t
478
+ s,@mandir@,${prefix}/man,;t t
479
+ s,@build_alias@,,;t t
480
+ s,@host_alias@,,;t t
481
+ s,@target_alias@,,;t t
482
+ s,@DEFS@,-DHAVE_CONFIG_H,;t t
483
+ s,@ECHO_C@,,;t t
484
+ s,@ECHO_N@,-n,;t t
485
+ s,@ECHO_T@,,;t t
486
+ s,@LIBS@,,;t t
487
+ s,@INSTALL_PROGRAM@,${INSTALL},;t t
488
+ s,@INSTALL_SCRIPT@,${INSTALL},;t t
489
+ s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
490
+ s,@CYGPATH_W@,echo,;t t
491
+ s,@PACKAGE@,syck,;t t
492
+ s,@VERSION@,0.54,;t t
493
+ s,@ACLOCAL@,${SHELL} /home/why/sand/syck-0.55/config/missing --run aclocal-1.9,;t t
494
+ s,@AUTOCONF@,${SHELL} /home/why/sand/syck-0.55/config/missing --run autoconf,;t t
495
+ s,@AUTOMAKE@,${SHELL} /home/why/sand/syck-0.55/config/missing --run automake-1.9,;t t
496
+ s,@AUTOHEADER@,${SHELL} /home/why/sand/syck-0.55/config/missing --run autoheader,;t t
497
+ s,@MAKEINFO@,${SHELL} /home/why/sand/syck-0.55/config/missing --run makeinfo,;t t
498
+ s,@install_sh@,/home/why/sand/syck-0.55/config/install-sh,;t t
499
+ s,@STRIP@,,;t t
500
+ s,@ac_ct_STRIP@,,;t t
501
+ s,@INSTALL_STRIP_PROGRAM@,${SHELL} $(install_sh) -c -s,;t t
502
+ s,@mkdir_p@,mkdir -p --,;t t
503
+ s,@AWK@,gawk,;t t
504
+ s,@SET_MAKE@,,;t t
505
+ s,@am__leading_dot@,.,;t t
506
+ s,@AMTAR@,${SHELL} /home/why/sand/syck-0.55/config/missing --run tar,;t t
507
+ s,@am__tar@,${AMTAR} chof - "$$tardir",;t t
508
+ s,@am__untar@,${AMTAR} xf -,;t t
509
+ s,@LN_S@,ln -s,;t t
510
+ s,@RANLIB@,ranlib,;t t
511
+ s,@ac_ct_RANLIB@,ranlib,;t t
512
+ s,@YACC@,bison -y,;t t
513
+ s,@LEX@,flex,;t t
514
+ s,@CC@,gcc,;t t
515
+ s,@CFLAGS@,-g -O2,;t t
516
+ s,@LDFLAGS@,,;t t
517
+ s,@CPPFLAGS@,,;t t
518
+ s,@ac_ct_CC@,gcc,;t t
519
+ s,@EXEEXT@,,;t t
520
+ s,@OBJEXT@,o,;t t
521
+ s,@DEPDIR@,.deps,;t t
522
+ s,@am__include@,include,;t t
523
+ s,@am__quote@,,;t t
524
+ s,@AMDEP_TRUE@,,;t t
525
+ s,@AMDEP_FALSE@,#,;t t
526
+ s,@AMDEPBACKSLASH@,\,;t t
527
+ s,@CCDEPMODE@,depmode=gcc3,;t t
528
+ s,@am__fastdepCC_TRUE@,,;t t
529
+ s,@am__fastdepCC_FALSE@,#,;t t
530
+ s,@LEXLIB@,-lfl,;t t
531
+ s,@LEX_OUTPUT_ROOT@,lex.yy,;t t
532
+ s,@CPP@,gcc -E,;t t
533
+ s,@EGREP@,grep -E,;t t
534
+ s,@LIBOBJS@,,;t t
535
+ s,@LTLIBOBJS@,,;t t
536
+ CEOF
537
+
538
+ # Split the substitutions into bite-sized pieces for seds with
539
+ # small command number limits, like on Digital OSF/1 and HP-UX.
540
+ ac_max_sed_lines=48
541
+ ac_sed_frag=1 # Number of current file.
542
+ ac_beg=1 # First line for current file.
543
+ ac_end=$ac_max_sed_lines # Line after last line for current file.
544
+ ac_more_lines=:
545
+ ac_sed_cmds=
546
+ while $ac_more_lines; do
547
+ if test $ac_beg -gt 1; then
548
+ sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
549
+ else
550
+ sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
551
+ fi
552
+ if test ! -s $tmp/subs.frag; then
553
+ ac_more_lines=false
554
+ else
555
+ # The purpose of the label and of the branching condition is to
556
+ # speed up the sed processing (if there are no `@' at all, there
557
+ # is no need to browse any of the substitutions).
558
+ # These are the two extra sed commands mentioned above.
559
+ (echo ':t
560
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
561
+ if test -z "$ac_sed_cmds"; then
562
+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
563
+ else
564
+ ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
565
+ fi
566
+ ac_sed_frag=`expr $ac_sed_frag + 1`
567
+ ac_beg=$ac_end
568
+ ac_end=`expr $ac_end + $ac_max_sed_lines`
569
+ fi
570
+ done
571
+ if test -z "$ac_sed_cmds"; then
572
+ ac_sed_cmds=cat
573
+ fi
574
+ fi # test -n "$CONFIG_FILES"
575
+
576
+ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
577
+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
578
+ case $ac_file in
579
+ - | *:- | *:-:* ) # input from stdin
580
+ cat >$tmp/stdin
581
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
582
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
583
+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
584
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
585
+ * ) ac_file_in=$ac_file.in ;;
586
+ esac
587
+
588
+ # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
589
+ ac_dir=`(dirname "$ac_file") 2>/dev/null ||
590
+ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
591
+ X"$ac_file" : 'X\(//\)[^/]' \| \
592
+ X"$ac_file" : 'X\(//\)$' \| \
593
+ X"$ac_file" : 'X\(/\)' \| \
594
+ . : '\(.\)' 2>/dev/null ||
595
+ echo X"$ac_file" |
596
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
597
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
598
+ /^X\(\/\/\)$/{ s//\1/; q; }
599
+ /^X\(\/\).*/{ s//\1/; q; }
600
+ s/.*/./; q'`
601
+ { if $as_mkdir_p; then
602
+ mkdir -p "$ac_dir"
603
+ else
604
+ as_dir="$ac_dir"
605
+ as_dirs=
606
+ while test ! -d "$as_dir"; do
607
+ as_dirs="$as_dir $as_dirs"
608
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
609
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
610
+ X"$as_dir" : 'X\(//\)[^/]' \| \
611
+ X"$as_dir" : 'X\(//\)$' \| \
612
+ X"$as_dir" : 'X\(/\)' \| \
613
+ . : '\(.\)' 2>/dev/null ||
614
+ echo X"$as_dir" |
615
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
616
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
617
+ /^X\(\/\/\)$/{ s//\1/; q; }
618
+ /^X\(\/\).*/{ s//\1/; q; }
619
+ s/.*/./; q'`
620
+ done
621
+ test ! -n "$as_dirs" || mkdir $as_dirs
622
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
623
+ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
624
+ { (exit 1); exit 1; }; }; }
625
+
626
+ ac_builddir=.
627
+
628
+ if test "$ac_dir" != .; then
629
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
630
+ # A "../" for each directory in $ac_dir_suffix.
631
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
632
+ else
633
+ ac_dir_suffix= ac_top_builddir=
634
+ fi
635
+
636
+ case $srcdir in
637
+ .) # No --srcdir option. We are building in place.
638
+ ac_srcdir=.
639
+ if test -z "$ac_top_builddir"; then
640
+ ac_top_srcdir=.
641
+ else
642
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
643
+ fi ;;
644
+ [\\/]* | ?:[\\/]* ) # Absolute path.
645
+ ac_srcdir=$srcdir$ac_dir_suffix;
646
+ ac_top_srcdir=$srcdir ;;
647
+ *) # Relative path.
648
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
649
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
650
+ esac
651
+
652
+ # Do not use `cd foo && pwd` to compute absolute paths, because
653
+ # the directories may not exist.
654
+ case `pwd` in
655
+ .) ac_abs_builddir="$ac_dir";;
656
+ *)
657
+ case "$ac_dir" in
658
+ .) ac_abs_builddir=`pwd`;;
659
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
660
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
661
+ esac;;
662
+ esac
663
+ case $ac_abs_builddir in
664
+ .) ac_abs_top_builddir=${ac_top_builddir}.;;
665
+ *)
666
+ case ${ac_top_builddir}. in
667
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
668
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
669
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
670
+ esac;;
671
+ esac
672
+ case $ac_abs_builddir in
673
+ .) ac_abs_srcdir=$ac_srcdir;;
674
+ *)
675
+ case $ac_srcdir in
676
+ .) ac_abs_srcdir=$ac_abs_builddir;;
677
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
678
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
679
+ esac;;
680
+ esac
681
+ case $ac_abs_builddir in
682
+ .) ac_abs_top_srcdir=$ac_top_srcdir;;
683
+ *)
684
+ case $ac_top_srcdir in
685
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
686
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
687
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
688
+ esac;;
689
+ esac
690
+
691
+
692
+ case $INSTALL in
693
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
694
+ *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
695
+ esac
696
+
697
+ if test x"$ac_file" != x-; then
698
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
699
+ echo "$as_me: creating $ac_file" >&6;}
700
+ rm -f "$ac_file"
701
+ fi
702
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
703
+ # use $as_me), people would be surprised to read:
704
+ # /* config.h. Generated by config.status. */
705
+ if test x"$ac_file" = x-; then
706
+ configure_input=
707
+ else
708
+ configure_input="$ac_file. "
709
+ fi
710
+ configure_input=$configure_input"Generated from `echo $ac_file_in |
711
+ sed 's,.*/,,'` by configure."
712
+
713
+ # First look for the input files in the build tree, otherwise in the
714
+ # src tree.
715
+ ac_file_inputs=`IFS=:
716
+ for f in $ac_file_in; do
717
+ case $f in
718
+ -) echo $tmp/stdin ;;
719
+ [\\/$]*)
720
+ # Absolute (can't be DOS-style, as IFS=:)
721
+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
722
+ echo "$as_me: error: cannot find input file: $f" >&2;}
723
+ { (exit 1); exit 1; }; }
724
+ echo "$f";;
725
+ *) # Relative
726
+ if test -f "$f"; then
727
+ # Build tree
728
+ echo "$f"
729
+ elif test -f "$srcdir/$f"; then
730
+ # Source tree
731
+ echo "$srcdir/$f"
732
+ else
733
+ # /dev/null tree
734
+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
735
+ echo "$as_me: error: cannot find input file: $f" >&2;}
736
+ { (exit 1); exit 1; }; }
737
+ fi;;
738
+ esac
739
+ done` || { (exit 1); exit 1; }
740
+ sed "/^[ ]*VPATH[ ]*=/{
741
+ s/:*\$(srcdir):*/:/;
742
+ s/:*\${srcdir}:*/:/;
743
+ s/:*@srcdir@:*/:/;
744
+ s/^\([^=]*=[ ]*\):*/\1/;
745
+ s/:*$//;
746
+ s/^[^=]*=[ ]*$//;
747
+ }
748
+
749
+ :t
750
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
751
+ s,@configure_input@,$configure_input,;t t
752
+ s,@srcdir@,$ac_srcdir,;t t
753
+ s,@abs_srcdir@,$ac_abs_srcdir,;t t
754
+ s,@top_srcdir@,$ac_top_srcdir,;t t
755
+ s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
756
+ s,@builddir@,$ac_builddir,;t t
757
+ s,@abs_builddir@,$ac_abs_builddir,;t t
758
+ s,@top_builddir@,$ac_top_builddir,;t t
759
+ s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
760
+ s,@INSTALL@,$ac_INSTALL,;t t
761
+ " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
762
+ rm -f $tmp/stdin
763
+ if test x"$ac_file" != x-; then
764
+ mv $tmp/out $ac_file
765
+ else
766
+ cat $tmp/out
767
+ rm -f $tmp/out
768
+ fi
769
+
770
+ done
771
+
772
+ #
773
+ # CONFIG_HEADER section.
774
+ #
775
+
776
+ # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
777
+ # NAME is the cpp macro being defined and VALUE is the value it is being given.
778
+ #
779
+ # ac_d sets the value in "#define NAME VALUE" lines.
780
+ ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
781
+ ac_dB='[ ].*$,\1#\2'
782
+ ac_dC=' '
783
+ ac_dD=',;t'
784
+ # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
785
+ ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
786
+ ac_uB='$,\1#\2define\3'
787
+ ac_uC=' '
788
+ ac_uD=',;t'
789
+
790
+ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
791
+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
792
+ case $ac_file in
793
+ - | *:- | *:-:* ) # input from stdin
794
+ cat >$tmp/stdin
795
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
796
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
797
+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
798
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
799
+ * ) ac_file_in=$ac_file.in ;;
800
+ esac
801
+
802
+ test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
803
+ echo "$as_me: creating $ac_file" >&6;}
804
+
805
+ # First look for the input files in the build tree, otherwise in the
806
+ # src tree.
807
+ ac_file_inputs=`IFS=:
808
+ for f in $ac_file_in; do
809
+ case $f in
810
+ -) echo $tmp/stdin ;;
811
+ [\\/$]*)
812
+ # Absolute (can't be DOS-style, as IFS=:)
813
+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
814
+ echo "$as_me: error: cannot find input file: $f" >&2;}
815
+ { (exit 1); exit 1; }; }
816
+ # Do quote $f, to prevent DOS paths from being IFS'd.
817
+ echo "$f";;
818
+ *) # Relative
819
+ if test -f "$f"; then
820
+ # Build tree
821
+ echo "$f"
822
+ elif test -f "$srcdir/$f"; then
823
+ # Source tree
824
+ echo "$srcdir/$f"
825
+ else
826
+ # /dev/null tree
827
+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
828
+ echo "$as_me: error: cannot find input file: $f" >&2;}
829
+ { (exit 1); exit 1; }; }
830
+ fi;;
831
+ esac
832
+ done` || { (exit 1); exit 1; }
833
+ # Remove the trailing spaces.
834
+ sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
835
+
836
+ # Handle all the #define templates only if necessary.
837
+ if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then
838
+ # If there are no defines, we may have an empty if/fi
839
+ :
840
+ cat >$tmp/defines.sed <<CEOF
841
+ /^[ ]*#[ ]*define/!b
842
+ t clr
843
+ : clr
844
+ ${ac_dA}PACKAGE_NAME${ac_dB}PACKAGE_NAME${ac_dC}"syck"${ac_dD}
845
+ ${ac_dA}PACKAGE_TARNAME${ac_dB}PACKAGE_TARNAME${ac_dC}"syck"${ac_dD}
846
+ ${ac_dA}PACKAGE_VERSION${ac_dB}PACKAGE_VERSION${ac_dC}"0.54"${ac_dD}
847
+ ${ac_dA}PACKAGE_STRING${ac_dB}PACKAGE_STRING${ac_dC}"syck 0.54"${ac_dD}
848
+ ${ac_dA}PACKAGE_BUGREPORT${ac_dB}PACKAGE_BUGREPORT${ac_dC}""${ac_dD}
849
+ ${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"syck"${ac_dD}
850
+ ${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"0.54"${ac_dD}
851
+ ${ac_dA}YYTEXT_POINTER${ac_dB}YYTEXT_POINTER${ac_dC}1${ac_dD}
852
+ ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
853
+ ${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
854
+ ${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD}
855
+ ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
856
+ ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
857
+ ${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
858
+ ${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
859
+ ${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD}
860
+ ${ac_dA}HAVE_STDINT_H${ac_dB}HAVE_STDINT_H${ac_dC}1${ac_dD}
861
+ ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
862
+ ${ac_dA}HAVE_ALLOCA_H${ac_dB}HAVE_ALLOCA_H${ac_dC}1${ac_dD}
863
+ ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
864
+ ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
865
+ ${ac_dA}SIZEOF_INT${ac_dB}SIZEOF_INT${ac_dC}4${ac_dD}
866
+ ${ac_dA}SIZEOF_LONG${ac_dB}SIZEOF_LONG${ac_dC}4${ac_dD}
867
+ ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
868
+ ${ac_dA}HAVE_MALLOC${ac_dB}HAVE_MALLOC${ac_dC}1${ac_dD}
869
+ ${ac_dA}HAVE_VPRINTF${ac_dB}HAVE_VPRINTF${ac_dC}1${ac_dD}
870
+ CEOF
871
+ sed -f $tmp/defines.sed $tmp/in >$tmp/out
872
+ rm -f $tmp/in
873
+ mv $tmp/out $tmp/in
874
+
875
+ fi # grep
876
+
877
+ # Handle all the #undef templates
878
+ cat >$tmp/undefs.sed <<CEOF
879
+ /^[ ]*#[ ]*undef/!b
880
+ t clr
881
+ : clr
882
+ ${ac_uA}PACKAGE_NAME${ac_uB}PACKAGE_NAME${ac_uC}"syck"${ac_uD}
883
+ ${ac_uA}PACKAGE_TARNAME${ac_uB}PACKAGE_TARNAME${ac_uC}"syck"${ac_uD}
884
+ ${ac_uA}PACKAGE_VERSION${ac_uB}PACKAGE_VERSION${ac_uC}"0.54"${ac_uD}
885
+ ${ac_uA}PACKAGE_STRING${ac_uB}PACKAGE_STRING${ac_uC}"syck 0.54"${ac_uD}
886
+ ${ac_uA}PACKAGE_BUGREPORT${ac_uB}PACKAGE_BUGREPORT${ac_uC}""${ac_uD}
887
+ ${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"syck"${ac_uD}
888
+ ${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"0.54"${ac_uD}
889
+ ${ac_uA}YYTEXT_POINTER${ac_uB}YYTEXT_POINTER${ac_uC}1${ac_uD}
890
+ ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
891
+ ${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
892
+ ${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD}
893
+ ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
894
+ ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
895
+ ${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
896
+ ${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
897
+ ${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD}
898
+ ${ac_uA}HAVE_STDINT_H${ac_uB}HAVE_STDINT_H${ac_uC}1${ac_uD}
899
+ ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
900
+ ${ac_uA}HAVE_ALLOCA_H${ac_uB}HAVE_ALLOCA_H${ac_uC}1${ac_uD}
901
+ ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
902
+ ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
903
+ ${ac_uA}SIZEOF_INT${ac_uB}SIZEOF_INT${ac_uC}4${ac_uD}
904
+ ${ac_uA}SIZEOF_LONG${ac_uB}SIZEOF_LONG${ac_uC}4${ac_uD}
905
+ ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
906
+ ${ac_uA}HAVE_MALLOC${ac_uB}HAVE_MALLOC${ac_uC}1${ac_uD}
907
+ ${ac_uA}HAVE_VPRINTF${ac_uB}HAVE_VPRINTF${ac_uC}1${ac_uD}
908
+ s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
909
+ CEOF
910
+ sed -f $tmp/undefs.sed $tmp/in >$tmp/out
911
+ rm -f $tmp/in
912
+ mv $tmp/out $tmp/in
913
+
914
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
915
+ # use $as_me), people would be surprised to read:
916
+ # /* config.h. Generated by config.status. */
917
+ if test x"$ac_file" = x-; then
918
+ echo "/* Generated by configure. */" >$tmp/config.h
919
+ else
920
+ echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
921
+ fi
922
+ cat $tmp/in >>$tmp/config.h
923
+ rm -f $tmp/in
924
+ if test x"$ac_file" != x-; then
925
+ if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
926
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
927
+ echo "$as_me: $ac_file is unchanged" >&6;}
928
+ else
929
+ ac_dir=`(dirname "$ac_file") 2>/dev/null ||
930
+ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
931
+ X"$ac_file" : 'X\(//\)[^/]' \| \
932
+ X"$ac_file" : 'X\(//\)$' \| \
933
+ X"$ac_file" : 'X\(/\)' \| \
934
+ . : '\(.\)' 2>/dev/null ||
935
+ echo X"$ac_file" |
936
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
937
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
938
+ /^X\(\/\/\)$/{ s//\1/; q; }
939
+ /^X\(\/\).*/{ s//\1/; q; }
940
+ s/.*/./; q'`
941
+ { if $as_mkdir_p; then
942
+ mkdir -p "$ac_dir"
943
+ else
944
+ as_dir="$ac_dir"
945
+ as_dirs=
946
+ while test ! -d "$as_dir"; do
947
+ as_dirs="$as_dir $as_dirs"
948
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
949
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
950
+ X"$as_dir" : 'X\(//\)[^/]' \| \
951
+ X"$as_dir" : 'X\(//\)$' \| \
952
+ X"$as_dir" : 'X\(/\)' \| \
953
+ . : '\(.\)' 2>/dev/null ||
954
+ echo X"$as_dir" |
955
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
956
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
957
+ /^X\(\/\/\)$/{ s//\1/; q; }
958
+ /^X\(\/\).*/{ s//\1/; q; }
959
+ s/.*/./; q'`
960
+ done
961
+ test ! -n "$as_dirs" || mkdir $as_dirs
962
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
963
+ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
964
+ { (exit 1); exit 1; }; }; }
965
+
966
+ rm -f $ac_file
967
+ mv $tmp/config.h $ac_file
968
+ fi
969
+ else
970
+ cat $tmp/config.h
971
+ rm -f $tmp/config.h
972
+ fi
973
+ # Compute $ac_file's index in $config_headers.
974
+ _am_stamp_count=1
975
+ for _am_header in $config_headers :; do
976
+ case $_am_header in
977
+ $ac_file | $ac_file:* )
978
+ break ;;
979
+ * )
980
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
981
+ esac
982
+ done
983
+ echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
984
+ $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
985
+ X$ac_file : 'X\(//\)[^/]' \| \
986
+ X$ac_file : 'X\(//\)$' \| \
987
+ X$ac_file : 'X\(/\)' \| \
988
+ . : '\(.\)' 2>/dev/null ||
989
+ echo X$ac_file |
990
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
991
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
992
+ /^X\(\/\/\)$/{ s//\1/; q; }
993
+ /^X\(\/\).*/{ s//\1/; q; }
994
+ s/.*/./; q'`/stamp-h$_am_stamp_count
995
+ done
996
+
997
+ #
998
+ # CONFIG_COMMANDS section.
999
+ #
1000
+ for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
1001
+ ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
1002
+ ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
1003
+ ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
1004
+ $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1005
+ X"$ac_dest" : 'X\(//\)[^/]' \| \
1006
+ X"$ac_dest" : 'X\(//\)$' \| \
1007
+ X"$ac_dest" : 'X\(/\)' \| \
1008
+ . : '\(.\)' 2>/dev/null ||
1009
+ echo X"$ac_dest" |
1010
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1011
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1012
+ /^X\(\/\/\)$/{ s//\1/; q; }
1013
+ /^X\(\/\).*/{ s//\1/; q; }
1014
+ s/.*/./; q'`
1015
+ { if $as_mkdir_p; then
1016
+ mkdir -p "$ac_dir"
1017
+ else
1018
+ as_dir="$ac_dir"
1019
+ as_dirs=
1020
+ while test ! -d "$as_dir"; do
1021
+ as_dirs="$as_dir $as_dirs"
1022
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
1023
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1024
+ X"$as_dir" : 'X\(//\)[^/]' \| \
1025
+ X"$as_dir" : 'X\(//\)$' \| \
1026
+ X"$as_dir" : 'X\(/\)' \| \
1027
+ . : '\(.\)' 2>/dev/null ||
1028
+ echo X"$as_dir" |
1029
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1030
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1031
+ /^X\(\/\/\)$/{ s//\1/; q; }
1032
+ /^X\(\/\).*/{ s//\1/; q; }
1033
+ s/.*/./; q'`
1034
+ done
1035
+ test ! -n "$as_dirs" || mkdir $as_dirs
1036
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1037
+ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
1038
+ { (exit 1); exit 1; }; }; }
1039
+
1040
+ ac_builddir=.
1041
+
1042
+ if test "$ac_dir" != .; then
1043
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1044
+ # A "../" for each directory in $ac_dir_suffix.
1045
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1046
+ else
1047
+ ac_dir_suffix= ac_top_builddir=
1048
+ fi
1049
+
1050
+ case $srcdir in
1051
+ .) # No --srcdir option. We are building in place.
1052
+ ac_srcdir=.
1053
+ if test -z "$ac_top_builddir"; then
1054
+ ac_top_srcdir=.
1055
+ else
1056
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1057
+ fi ;;
1058
+ [\\/]* | ?:[\\/]* ) # Absolute path.
1059
+ ac_srcdir=$srcdir$ac_dir_suffix;
1060
+ ac_top_srcdir=$srcdir ;;
1061
+ *) # Relative path.
1062
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1063
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
1064
+ esac
1065
+
1066
+ # Do not use `cd foo && pwd` to compute absolute paths, because
1067
+ # the directories may not exist.
1068
+ case `pwd` in
1069
+ .) ac_abs_builddir="$ac_dir";;
1070
+ *)
1071
+ case "$ac_dir" in
1072
+ .) ac_abs_builddir=`pwd`;;
1073
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1074
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
1075
+ esac;;
1076
+ esac
1077
+ case $ac_abs_builddir in
1078
+ .) ac_abs_top_builddir=${ac_top_builddir}.;;
1079
+ *)
1080
+ case ${ac_top_builddir}. in
1081
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
1082
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1083
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1084
+ esac;;
1085
+ esac
1086
+ case $ac_abs_builddir in
1087
+ .) ac_abs_srcdir=$ac_srcdir;;
1088
+ *)
1089
+ case $ac_srcdir in
1090
+ .) ac_abs_srcdir=$ac_abs_builddir;;
1091
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1092
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1093
+ esac;;
1094
+ esac
1095
+ case $ac_abs_builddir in
1096
+ .) ac_abs_top_srcdir=$ac_top_srcdir;;
1097
+ *)
1098
+ case $ac_top_srcdir in
1099
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
1100
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1101
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1102
+ esac;;
1103
+ esac
1104
+
1105
+
1106
+ { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
1107
+ echo "$as_me: executing $ac_dest commands" >&6;}
1108
+ case $ac_dest in
1109
+ depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
1110
+ # Strip MF so we end up with the name of the file.
1111
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
1112
+ # Check whether this is an Automake generated Makefile or not.
1113
+ # We used to match only the files named `Makefile.in', but
1114
+ # some people rename them; so instead we look at the file content.
1115
+ # Grep'ing the first line is not enough: some people post-process
1116
+ # each Makefile.in and add a new line on top of each file to say so.
1117
+ # So let's grep whole file.
1118
+ if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
1119
+ dirpart=`(dirname "$mf") 2>/dev/null ||
1120
+ $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1121
+ X"$mf" : 'X\(//\)[^/]' \| \
1122
+ X"$mf" : 'X\(//\)$' \| \
1123
+ X"$mf" : 'X\(/\)' \| \
1124
+ . : '\(.\)' 2>/dev/null ||
1125
+ echo X"$mf" |
1126
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1127
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1128
+ /^X\(\/\/\)$/{ s//\1/; q; }
1129
+ /^X\(\/\).*/{ s//\1/; q; }
1130
+ s/.*/./; q'`
1131
+ else
1132
+ continue
1133
+ fi
1134
+ # Extract the definition of DEPDIR, am__include, and am__quote
1135
+ # from the Makefile without running `make'.
1136
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1137
+ test -z "$DEPDIR" && continue
1138
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
1139
+ test -z "am__include" && continue
1140
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1141
+ # When using ansi2knr, U may be empty or an underscore; expand it
1142
+ U=`sed -n 's/^U = //p' < "$mf"`
1143
+ # Find all dependency output files, they are included files with
1144
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
1145
+ # simplest approach to changing $(DEPDIR) to its actual value in the
1146
+ # expansion.
1147
+ for file in `sed -n "
1148
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1149
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1150
+ # Make sure the directory exists.
1151
+ test -f "$dirpart/$file" && continue
1152
+ fdir=`(dirname "$file") 2>/dev/null ||
1153
+ $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1154
+ X"$file" : 'X\(//\)[^/]' \| \
1155
+ X"$file" : 'X\(//\)$' \| \
1156
+ X"$file" : 'X\(/\)' \| \
1157
+ . : '\(.\)' 2>/dev/null ||
1158
+ echo X"$file" |
1159
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1160
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1161
+ /^X\(\/\/\)$/{ s//\1/; q; }
1162
+ /^X\(\/\).*/{ s//\1/; q; }
1163
+ s/.*/./; q'`
1164
+ { if $as_mkdir_p; then
1165
+ mkdir -p $dirpart/$fdir
1166
+ else
1167
+ as_dir=$dirpart/$fdir
1168
+ as_dirs=
1169
+ while test ! -d "$as_dir"; do
1170
+ as_dirs="$as_dir $as_dirs"
1171
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
1172
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1173
+ X"$as_dir" : 'X\(//\)[^/]' \| \
1174
+ X"$as_dir" : 'X\(//\)$' \| \
1175
+ X"$as_dir" : 'X\(/\)' \| \
1176
+ . : '\(.\)' 2>/dev/null ||
1177
+ echo X"$as_dir" |
1178
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1179
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1180
+ /^X\(\/\/\)$/{ s//\1/; q; }
1181
+ /^X\(\/\).*/{ s//\1/; q; }
1182
+ s/.*/./; q'`
1183
+ done
1184
+ test ! -n "$as_dirs" || mkdir $as_dirs
1185
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
1186
+ echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
1187
+ { (exit 1); exit 1; }; }; }
1188
+
1189
+ # echo "creating $dirpart/$file"
1190
+ echo '# dummy' > "$dirpart/$file"
1191
+ done
1192
+ done
1193
+ ;;
1194
+ esac
1195
+ done
1196
+
1197
+ { (exit 0); exit 0; }