ndtypes 0.2.0dev5 → 0.2.0dev6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +12 -0
  3. data/Rakefile +8 -0
  4. data/ext/ruby_ndtypes/GPATH +0 -0
  5. data/ext/ruby_ndtypes/GRTAGS +0 -0
  6. data/ext/ruby_ndtypes/GTAGS +0 -0
  7. data/ext/ruby_ndtypes/extconf.rb +1 -1
  8. data/ext/ruby_ndtypes/include/ndtypes.h +231 -122
  9. data/ext/ruby_ndtypes/include/ruby_ndtypes.h +1 -1
  10. data/ext/ruby_ndtypes/lib/libndtypes.a +0 -0
  11. data/ext/ruby_ndtypes/lib/libndtypes.so.0.2.0dev3 +0 -0
  12. data/ext/ruby_ndtypes/ndtypes/Makefile +87 -0
  13. data/ext/ruby_ndtypes/ndtypes/config.h +68 -0
  14. data/ext/ruby_ndtypes/ndtypes/config.log +477 -0
  15. data/ext/ruby_ndtypes/ndtypes/config.status +1027 -0
  16. data/ext/ruby_ndtypes/ndtypes/doc/_static/style.css +7 -0
  17. data/ext/ruby_ndtypes/ndtypes/doc/_templates/layout.html +2 -0
  18. data/ext/ruby_ndtypes/ndtypes/doc/conf.py +40 -4
  19. data/ext/ruby_ndtypes/ndtypes/doc/images/xndlogo.png +0 -0
  20. data/ext/ruby_ndtypes/ndtypes/doc/ndtypes/types.rst +1 -1
  21. data/ext/ruby_ndtypes/ndtypes/doc/requirements.txt +2 -0
  22. data/ext/ruby_ndtypes/ndtypes/libndtypes/Makefile +287 -0
  23. data/ext/ruby_ndtypes/ndtypes/libndtypes/Makefile.in +20 -4
  24. data/ext/ruby_ndtypes/ndtypes/libndtypes/Makefile.vc +22 -3
  25. data/ext/ruby_ndtypes/ndtypes/libndtypes/alloc.c +1 -1
  26. data/ext/ruby_ndtypes/ndtypes/libndtypes/alloc.o +0 -0
  27. data/ext/ruby_ndtypes/ndtypes/libndtypes/attr.o +0 -0
  28. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/Makefile +73 -0
  29. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/bpgrammar.c +246 -229
  30. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/bpgrammar.h +15 -11
  31. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/bpgrammar.o +0 -0
  32. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/bpgrammar.y +38 -28
  33. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/bplexer.c +91 -91
  34. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/bplexer.h +1 -1
  35. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/bplexer.l +4 -3
  36. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/bplexer.o +0 -0
  37. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/export.c +8 -7
  38. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/export.o +0 -0
  39. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/import.c +2 -2
  40. data/ext/ruby_ndtypes/ndtypes/libndtypes/compat/import.o +0 -0
  41. data/ext/ruby_ndtypes/ndtypes/libndtypes/context.o +0 -0
  42. data/ext/ruby_ndtypes/ndtypes/libndtypes/copy.c +263 -182
  43. data/ext/ruby_ndtypes/ndtypes/libndtypes/copy.o +0 -0
  44. data/ext/ruby_ndtypes/ndtypes/libndtypes/encodings.o +0 -0
  45. data/ext/ruby_ndtypes/ndtypes/libndtypes/equal.c +67 -7
  46. data/ext/ruby_ndtypes/ndtypes/libndtypes/equal.o +0 -0
  47. data/ext/ruby_ndtypes/ndtypes/libndtypes/grammar.c +1112 -1000
  48. data/ext/ruby_ndtypes/ndtypes/libndtypes/grammar.h +69 -58
  49. data/ext/ruby_ndtypes/ndtypes/libndtypes/grammar.o +0 -0
  50. data/ext/ruby_ndtypes/ndtypes/libndtypes/grammar.y +150 -99
  51. data/ext/ruby_ndtypes/ndtypes/libndtypes/io.c +185 -15
  52. data/ext/ruby_ndtypes/ndtypes/libndtypes/io.o +0 -0
  53. data/ext/ruby_ndtypes/ndtypes/libndtypes/lexer.c +301 -276
  54. data/ext/ruby_ndtypes/ndtypes/libndtypes/lexer.h +1 -1
  55. data/ext/ruby_ndtypes/ndtypes/libndtypes/lexer.l +9 -4
  56. data/ext/ruby_ndtypes/ndtypes/libndtypes/lexer.o +0 -0
  57. data/ext/ruby_ndtypes/ndtypes/libndtypes/libndtypes.a +0 -0
  58. data/ext/ruby_ndtypes/ndtypes/libndtypes/libndtypes.so +1 -0
  59. data/ext/ruby_ndtypes/ndtypes/libndtypes/libndtypes.so.0 +1 -0
  60. data/ext/ruby_ndtypes/ndtypes/libndtypes/libndtypes.so.0.2.0dev3 +0 -0
  61. data/ext/ruby_ndtypes/ndtypes/libndtypes/match.c +729 -228
  62. data/ext/ruby_ndtypes/ndtypes/libndtypes/match.o +0 -0
  63. data/ext/ruby_ndtypes/ndtypes/libndtypes/ndtypes.c +768 -403
  64. data/ext/ruby_ndtypes/ndtypes/libndtypes/ndtypes.h +1002 -0
  65. data/ext/ruby_ndtypes/ndtypes/libndtypes/ndtypes.h.in +231 -122
  66. data/ext/ruby_ndtypes/ndtypes/libndtypes/ndtypes.o +0 -0
  67. data/ext/ruby_ndtypes/ndtypes/libndtypes/parsefuncs.c +176 -84
  68. data/ext/ruby_ndtypes/ndtypes/libndtypes/parsefuncs.h +26 -14
  69. data/ext/ruby_ndtypes/ndtypes/libndtypes/parsefuncs.o +0 -0
  70. data/ext/ruby_ndtypes/ndtypes/libndtypes/parser.c +57 -35
  71. data/ext/ruby_ndtypes/ndtypes/libndtypes/parser.o +0 -0
  72. data/ext/ruby_ndtypes/ndtypes/libndtypes/primitive.c +420 -0
  73. data/ext/ruby_ndtypes/ndtypes/libndtypes/primitive.o +0 -0
  74. data/ext/ruby_ndtypes/ndtypes/libndtypes/seq.c +8 -8
  75. data/ext/ruby_ndtypes/ndtypes/libndtypes/seq.h +1 -1
  76. data/ext/ruby_ndtypes/ndtypes/libndtypes/seq.o +0 -0
  77. data/ext/ruby_ndtypes/ndtypes/libndtypes/serialize/Makefile +48 -0
  78. data/ext/ruby_ndtypes/ndtypes/libndtypes/serialize/deserialize.c +200 -116
  79. data/ext/ruby_ndtypes/ndtypes/libndtypes/serialize/deserialize.o +0 -0
  80. data/ext/ruby_ndtypes/ndtypes/libndtypes/serialize/serialize.c +46 -4
  81. data/ext/ruby_ndtypes/ndtypes/libndtypes/serialize/serialize.o +0 -0
  82. data/ext/ruby_ndtypes/ndtypes/libndtypes/substitute.c +58 -27
  83. data/ext/ruby_ndtypes/ndtypes/libndtypes/substitute.h +1 -1
  84. data/ext/ruby_ndtypes/ndtypes/libndtypes/substitute.o +0 -0
  85. data/ext/ruby_ndtypes/ndtypes/libndtypes/symtable.c +3 -5
  86. data/ext/ruby_ndtypes/ndtypes/libndtypes/symtable.h +12 -4
  87. data/ext/ruby_ndtypes/ndtypes/libndtypes/symtable.o +0 -0
  88. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/Makefile +55 -0
  89. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/Makefile.in +8 -8
  90. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/Makefile.vc +5 -5
  91. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/runtest.c +274 -172
  92. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/test.h +24 -4
  93. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/test_array.c +2 -2
  94. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/test_buffer.c +14 -14
  95. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/test_match.c +32 -30
  96. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/test_parse.c +37 -0
  97. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/test_parse_error.c +36 -0
  98. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/test_parse_roundtrip.c +16 -0
  99. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/test_record.c +5 -5
  100. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/test_typecheck.c +706 -253
  101. data/ext/ruby_ndtypes/ndtypes/libndtypes/tests/test_unify.c +132 -0
  102. data/ext/ruby_ndtypes/ndtypes/libndtypes/unify.c +703 -0
  103. data/ext/ruby_ndtypes/ndtypes/libndtypes/unify.o +0 -0
  104. data/ext/ruby_ndtypes/ndtypes/libndtypes/util.c +335 -127
  105. data/ext/ruby_ndtypes/ndtypes/libndtypes/util.o +0 -0
  106. data/ext/ruby_ndtypes/ndtypes/libndtypes/values.c +2 -2
  107. data/ext/ruby_ndtypes/ndtypes/libndtypes/values.o +0 -0
  108. data/ext/ruby_ndtypes/ndtypes/python/ndt_randtype.py +88 -71
  109. data/ext/ruby_ndtypes/ndtypes/python/ndt_support.py +0 -1
  110. data/ext/ruby_ndtypes/ndtypes/python/ndtypes/__init__.py +10 -13
  111. data/ext/ruby_ndtypes/ndtypes/python/ndtypes/_ndtypes.c +395 -314
  112. data/ext/ruby_ndtypes/ndtypes/python/ndtypes/libndtypes.a +0 -0
  113. data/ext/ruby_ndtypes/ndtypes/python/ndtypes/libndtypes.so +1 -0
  114. data/ext/ruby_ndtypes/ndtypes/python/ndtypes/libndtypes.so.0 +1 -0
  115. data/ext/ruby_ndtypes/ndtypes/python/ndtypes/libndtypes.so.0.2.0dev3 +0 -0
  116. data/ext/ruby_ndtypes/ndtypes/python/ndtypes/ndtypes.h +1002 -0
  117. data/ext/ruby_ndtypes/ndtypes/python/ndtypes/pyndtypes.h +15 -33
  118. data/ext/ruby_ndtypes/ndtypes/python/test_ndtypes.py +340 -132
  119. data/ext/ruby_ndtypes/ndtypes/setup.py +11 -2
  120. data/ext/ruby_ndtypes/ruby_ndtypes.c +364 -241
  121. data/ext/ruby_ndtypes/ruby_ndtypes.h +1 -1
  122. data/ext/ruby_ndtypes/ruby_ndtypes_internal.h +0 -1
  123. data/lib/ndtypes.rb +11 -0
  124. data/lib/ndtypes/version.rb +2 -2
  125. data/lib/ruby_ndtypes.so +0 -0
  126. data/ndtypes.gemspec +3 -0
  127. data/spec/ndtypes_spec.rb +6 -0
  128. metadata +98 -4
  129. data/ext/ruby_ndtypes/gc_guard.c +0 -36
  130. data/ext/ruby_ndtypes/gc_guard.h +0 -12
@@ -0,0 +1,1027 @@
1
+ #! /bin/bash
2
+ # Generated by configure.
3
+ # Run this file to recreate the current configuration.
4
+ # Compiler output produced by configure, useful for debugging
5
+ # configure, is in config.log if it exists.
6
+
7
+ debug=false
8
+ ac_cs_recheck=false
9
+ ac_cs_silent=false
10
+
11
+ SHELL=${CONFIG_SHELL-/bin/bash}
12
+ export SHELL
13
+ ## -------------------- ##
14
+ ## M4sh Initialization. ##
15
+ ## -------------------- ##
16
+
17
+ # Be more Bourne compatible
18
+ DUALCASE=1; export DUALCASE # for MKS sh
19
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
+ emulate sh
21
+ NULLCMD=:
22
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
+ # is contrary to our usage. Disable this feature.
24
+ alias -g '${1+"$@"}'='"$@"'
25
+ setopt NO_GLOB_SUBST
26
+ else
27
+ case `(set -o) 2>/dev/null` in #(
28
+ *posix*) :
29
+ set -o posix ;; #(
30
+ *) :
31
+ ;;
32
+ esac
33
+ fi
34
+
35
+
36
+ as_nl='
37
+ '
38
+ export as_nl
39
+ # Printing a long string crashes Solaris 7 /usr/bin/printf.
40
+ as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
+ # Prefer a ksh shell builtin over an external printf program on Solaris,
44
+ # but without wasting forks for bash or zsh.
45
+ if test -z "$BASH_VERSION$ZSH_VERSION" \
46
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
+ as_echo='print -r --'
48
+ as_echo_n='print -rn --'
49
+ elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
+ as_echo='printf %s\n'
51
+ as_echo_n='printf %s'
52
+ else
53
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
+ as_echo_n='/usr/ucb/echo -n'
56
+ else
57
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
+ as_echo_n_body='eval
59
+ arg=$1;
60
+ case $arg in #(
61
+ *"$as_nl"*)
62
+ expr "X$arg" : "X\\(.*\\)$as_nl";
63
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
+ esac;
65
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
+ '
67
+ export as_echo_n_body
68
+ as_echo_n='sh -c $as_echo_n_body as_echo'
69
+ fi
70
+ export as_echo_body
71
+ as_echo='sh -c $as_echo_body as_echo'
72
+ fi
73
+
74
+ # The user is always right.
75
+ if test "${PATH_SEPARATOR+set}" != set; then
76
+ PATH_SEPARATOR=:
77
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
+ PATH_SEPARATOR=';'
80
+ }
81
+ fi
82
+
83
+
84
+ # IFS
85
+ # We need space, tab and new line, in precisely that order. Quoting is
86
+ # there to prevent editors from complaining about space-tab.
87
+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
+ # splitting by setting IFS to empty value.)
89
+ IFS=" "" $as_nl"
90
+
91
+ # Find who we are. Look in the path if we contain no directory separator.
92
+ as_myself=
93
+ case $0 in #((
94
+ *[\\/]* ) as_myself=$0 ;;
95
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
+ for as_dir in $PATH
97
+ do
98
+ IFS=$as_save_IFS
99
+ test -z "$as_dir" && as_dir=.
100
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101
+ done
102
+ IFS=$as_save_IFS
103
+
104
+ ;;
105
+ esac
106
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
107
+ # in which case we are not to be found in the path.
108
+ if test "x$as_myself" = x; then
109
+ as_myself=$0
110
+ fi
111
+ if test ! -f "$as_myself"; then
112
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
+ exit 1
114
+ fi
115
+
116
+ # Unset variables that we do not need and which cause bugs (e.g. in
117
+ # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
+ # suppresses any "Segmentation fault" message there. '((' could
119
+ # trigger a bug in pdksh 5.2.14.
120
+ for as_var in BASH_ENV ENV MAIL MAILPATH
121
+ do eval test x\${$as_var+set} = xset \
122
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
+ done
124
+ PS1='$ '
125
+ PS2='> '
126
+ PS4='+ '
127
+
128
+ # NLS nuisances.
129
+ LC_ALL=C
130
+ export LC_ALL
131
+ LANGUAGE=C
132
+ export LANGUAGE
133
+
134
+ # CDPATH.
135
+ (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
+
137
+
138
+ # as_fn_error STATUS ERROR [LINENO LOG_FD]
139
+ # ----------------------------------------
140
+ # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
141
+ # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
142
+ # script with STATUS, using 1 if that was 0.
143
+ as_fn_error ()
144
+ {
145
+ as_status=$1; test $as_status -eq 0 && as_status=1
146
+ if test "$4"; then
147
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
148
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
149
+ fi
150
+ $as_echo "$as_me: error: $2" >&2
151
+ as_fn_exit $as_status
152
+ } # as_fn_error
153
+
154
+
155
+ # as_fn_set_status STATUS
156
+ # -----------------------
157
+ # Set $? to STATUS, without forking.
158
+ as_fn_set_status ()
159
+ {
160
+ return $1
161
+ } # as_fn_set_status
162
+
163
+ # as_fn_exit STATUS
164
+ # -----------------
165
+ # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
166
+ as_fn_exit ()
167
+ {
168
+ set +e
169
+ as_fn_set_status $1
170
+ exit $1
171
+ } # as_fn_exit
172
+
173
+ # as_fn_unset VAR
174
+ # ---------------
175
+ # Portably unset VAR.
176
+ as_fn_unset ()
177
+ {
178
+ { eval $1=; unset $1;}
179
+ }
180
+ as_unset=as_fn_unset
181
+ # as_fn_append VAR VALUE
182
+ # ----------------------
183
+ # Append the text in VALUE to the end of the definition contained in VAR. Take
184
+ # advantage of any shell optimizations that allow amortized linear growth over
185
+ # repeated appends, instead of the typical quadratic growth present in naive
186
+ # implementations.
187
+ if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
188
+ eval 'as_fn_append ()
189
+ {
190
+ eval $1+=\$2
191
+ }'
192
+ else
193
+ as_fn_append ()
194
+ {
195
+ eval $1=\$$1\$2
196
+ }
197
+ fi # as_fn_append
198
+
199
+ # as_fn_arith ARG...
200
+ # ------------------
201
+ # Perform arithmetic evaluation on the ARGs, and store the result in the
202
+ # global $as_val. Take advantage of shells that can avoid forks. The arguments
203
+ # must be portable across $(()) and expr.
204
+ if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
205
+ eval 'as_fn_arith ()
206
+ {
207
+ as_val=$(( $* ))
208
+ }'
209
+ else
210
+ as_fn_arith ()
211
+ {
212
+ as_val=`expr "$@" || test $? -eq 1`
213
+ }
214
+ fi # as_fn_arith
215
+
216
+
217
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
218
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
219
+ as_expr=expr
220
+ else
221
+ as_expr=false
222
+ fi
223
+
224
+ if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
225
+ as_basename=basename
226
+ else
227
+ as_basename=false
228
+ fi
229
+
230
+ if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
231
+ as_dirname=dirname
232
+ else
233
+ as_dirname=false
234
+ fi
235
+
236
+ as_me=`$as_basename -- "$0" ||
237
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
238
+ X"$0" : 'X\(//\)$' \| \
239
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
240
+ $as_echo X/"$0" |
241
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
242
+ s//\1/
243
+ q
244
+ }
245
+ /^X\/\(\/\/\)$/{
246
+ s//\1/
247
+ q
248
+ }
249
+ /^X\/\(\/\).*/{
250
+ s//\1/
251
+ q
252
+ }
253
+ s/.*/./; q'`
254
+
255
+ # Avoid depending upon Character Ranges.
256
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
257
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
258
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
259
+ as_cr_digits='0123456789'
260
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
261
+
262
+ ECHO_C= ECHO_N= ECHO_T=
263
+ case `echo -n x` in #(((((
264
+ -n*)
265
+ case `echo 'xy\c'` in
266
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
267
+ xy) ECHO_C='\c';;
268
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
269
+ ECHO_T=' ';;
270
+ esac;;
271
+ *)
272
+ ECHO_N='-n';;
273
+ esac
274
+
275
+ rm -f conf$$ conf$$.exe conf$$.file
276
+ if test -d conf$$.dir; then
277
+ rm -f conf$$.dir/conf$$.file
278
+ else
279
+ rm -f conf$$.dir
280
+ mkdir conf$$.dir 2>/dev/null
281
+ fi
282
+ if (echo >conf$$.file) 2>/dev/null; then
283
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
284
+ as_ln_s='ln -s'
285
+ # ... but there are two gotchas:
286
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
287
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
288
+ # In both cases, we have to default to `cp -pR'.
289
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
290
+ as_ln_s='cp -pR'
291
+ elif ln conf$$.file conf$$ 2>/dev/null; then
292
+ as_ln_s=ln
293
+ else
294
+ as_ln_s='cp -pR'
295
+ fi
296
+ else
297
+ as_ln_s='cp -pR'
298
+ fi
299
+ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300
+ rmdir conf$$.dir 2>/dev/null
301
+
302
+
303
+ # as_fn_mkdir_p
304
+ # -------------
305
+ # Create "$as_dir" as a directory, including parents if necessary.
306
+ as_fn_mkdir_p ()
307
+ {
308
+
309
+ case $as_dir in #(
310
+ -*) as_dir=./$as_dir;;
311
+ esac
312
+ test -d "$as_dir" || eval $as_mkdir_p || {
313
+ as_dirs=
314
+ while :; do
315
+ case $as_dir in #(
316
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
317
+ *) as_qdir=$as_dir;;
318
+ esac
319
+ as_dirs="'$as_qdir' $as_dirs"
320
+ as_dir=`$as_dirname -- "$as_dir" ||
321
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
322
+ X"$as_dir" : 'X\(//\)[^/]' \| \
323
+ X"$as_dir" : 'X\(//\)$' \| \
324
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
325
+ $as_echo X"$as_dir" |
326
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327
+ s//\1/
328
+ q
329
+ }
330
+ /^X\(\/\/\)[^/].*/{
331
+ s//\1/
332
+ q
333
+ }
334
+ /^X\(\/\/\)$/{
335
+ s//\1/
336
+ q
337
+ }
338
+ /^X\(\/\).*/{
339
+ s//\1/
340
+ q
341
+ }
342
+ s/.*/./; q'`
343
+ test -d "$as_dir" && break
344
+ done
345
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
346
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
347
+
348
+
349
+ } # as_fn_mkdir_p
350
+ if mkdir -p . 2>/dev/null; then
351
+ as_mkdir_p='mkdir -p "$as_dir"'
352
+ else
353
+ test -d ./-p && rmdir ./-p
354
+ as_mkdir_p=false
355
+ fi
356
+
357
+
358
+ # as_fn_executable_p FILE
359
+ # -----------------------
360
+ # Test if FILE is an executable regular file.
361
+ as_fn_executable_p ()
362
+ {
363
+ test -f "$1" && test -x "$1"
364
+ } # as_fn_executable_p
365
+ as_test_x='test -x'
366
+ as_executable_p=as_fn_executable_p
367
+
368
+ # Sed expression to map a string onto a valid CPP name.
369
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
370
+
371
+ # Sed expression to map a string onto a valid variable name.
372
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
373
+
374
+
375
+ exec 6>&1
376
+ ## ----------------------------------- ##
377
+ ## Main body of $CONFIG_STATUS script. ##
378
+ ## ----------------------------------- ##
379
+ # Save the log message, to keep $0 and so on meaningful, and to
380
+ # report actual input values of CONFIG_FILES etc. instead of their
381
+ # values after options handling.
382
+ ac_log="
383
+ This file was extended by ndtypes $as_me 0.2.0dev3, which was
384
+ generated by GNU Autoconf 2.69. Invocation command line was
385
+
386
+ CONFIG_FILES = $CONFIG_FILES
387
+ CONFIG_HEADERS = $CONFIG_HEADERS
388
+ CONFIG_LINKS = $CONFIG_LINKS
389
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
390
+ $ $0 $@
391
+
392
+ on `(hostname || uname -n) 2>/dev/null | sed 1q`
393
+ "
394
+
395
+ # Files that config.status was made for.
396
+ config_files=" Makefile libndtypes/Makefile libndtypes/tests/Makefile libndtypes/ndtypes.h libndtypes/compat/Makefile libndtypes/serialize/Makefile"
397
+ config_headers=" config.h"
398
+
399
+ ac_cs_usage="\
400
+ \`$as_me' instantiates files and other configuration actions
401
+ from templates according to the current configuration. Unless the files
402
+ and actions are specified as TAGs, all are instantiated by default.
403
+
404
+ Usage: $0 [OPTION]... [TAG]...
405
+
406
+ -h, --help print this help, then exit
407
+ -V, --version print version number and configuration settings, then exit
408
+ --config print configuration, then exit
409
+ -q, --quiet, --silent
410
+ do not print progress messages
411
+ -d, --debug don't remove temporary files
412
+ --recheck update $as_me by reconfiguring in the same conditions
413
+ --file=FILE[:TEMPLATE]
414
+ instantiate the configuration file FILE
415
+ --header=FILE[:TEMPLATE]
416
+ instantiate the configuration header FILE
417
+
418
+ Configuration files:
419
+ $config_files
420
+
421
+ Configuration headers:
422
+ $config_headers
423
+
424
+ Report bugs to <skrah@bytereef.org>.
425
+ ndtypes home page: <https://github.com/plures/>."
426
+
427
+ ac_cs_config="'--prefix=/home/sameer/gitrepos/xnd-ruby/ndtypes/ext/ruby_ndtypes' '--with-docs=no'"
428
+ ac_cs_version="\
429
+ ndtypes config.status 0.2.0dev3
430
+ configured by ./configure, generated by GNU Autoconf 2.69,
431
+ with options \"$ac_cs_config\"
432
+
433
+ Copyright (C) 2012 Free Software Foundation, Inc.
434
+ This config.status script is free software; the Free Software Foundation
435
+ gives unlimited permission to copy, distribute and modify it."
436
+
437
+ ac_pwd='/home/sameer/gitrepos/xnd-ruby/ndtypes/ext/ruby_ndtypes/ndtypes'
438
+ srcdir='.'
439
+ INSTALL='/usr/bin/install -c'
440
+ test -n "$AWK" || AWK=awk
441
+ # The default lists apply if the user does not specify any file.
442
+ ac_need_defaults=:
443
+ while test $# != 0
444
+ do
445
+ case $1 in
446
+ --*=?*)
447
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
448
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
449
+ ac_shift=:
450
+ ;;
451
+ --*=)
452
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
453
+ ac_optarg=
454
+ ac_shift=:
455
+ ;;
456
+ *)
457
+ ac_option=$1
458
+ ac_optarg=$2
459
+ ac_shift=shift
460
+ ;;
461
+ esac
462
+
463
+ case $ac_option in
464
+ # Handling of the options.
465
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
466
+ ac_cs_recheck=: ;;
467
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
468
+ $as_echo "$ac_cs_version"; exit ;;
469
+ --config | --confi | --conf | --con | --co | --c )
470
+ $as_echo "$ac_cs_config"; exit ;;
471
+ --debug | --debu | --deb | --de | --d | -d )
472
+ debug=: ;;
473
+ --file | --fil | --fi | --f )
474
+ $ac_shift
475
+ case $ac_optarg in
476
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
477
+ '') as_fn_error $? "missing file argument" ;;
478
+ esac
479
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
480
+ ac_need_defaults=false;;
481
+ --header | --heade | --head | --hea )
482
+ $ac_shift
483
+ case $ac_optarg in
484
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
485
+ esac
486
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
487
+ ac_need_defaults=false;;
488
+ --he | --h)
489
+ # Conflict between --help and --header
490
+ as_fn_error $? "ambiguous option: \`$1'
491
+ Try \`$0 --help' for more information.";;
492
+ --help | --hel | -h )
493
+ $as_echo "$ac_cs_usage"; exit ;;
494
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
495
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
496
+ ac_cs_silent=: ;;
497
+
498
+ # This is an error.
499
+ -*) as_fn_error $? "unrecognized option: \`$1'
500
+ Try \`$0 --help' for more information." ;;
501
+
502
+ *) as_fn_append ac_config_targets " $1"
503
+ ac_need_defaults=false ;;
504
+
505
+ esac
506
+ shift
507
+ done
508
+
509
+ ac_configure_extra_args=
510
+
511
+ if $ac_cs_silent; then
512
+ exec 6>/dev/null
513
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
514
+ fi
515
+
516
+ if $ac_cs_recheck; then
517
+ set X /bin/bash './configure' '--prefix=/home/sameer/gitrepos/xnd-ruby/ndtypes/ext/ruby_ndtypes' '--with-docs=no' $ac_configure_extra_args --no-create --no-recursion
518
+ shift
519
+ $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
520
+ CONFIG_SHELL='/bin/bash'
521
+ export CONFIG_SHELL
522
+ exec "$@"
523
+ fi
524
+
525
+ exec 5>>config.log
526
+ {
527
+ echo
528
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
529
+ ## Running $as_me. ##
530
+ _ASBOX
531
+ $as_echo "$ac_log"
532
+ } >&5
533
+
534
+
535
+ # Handling of arguments.
536
+ for ac_config_target in $ac_config_targets
537
+ do
538
+ case $ac_config_target in
539
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
540
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
541
+ "libndtypes/Makefile") CONFIG_FILES="$CONFIG_FILES libndtypes/Makefile" ;;
542
+ "libndtypes/tests/Makefile") CONFIG_FILES="$CONFIG_FILES libndtypes/tests/Makefile" ;;
543
+ "libndtypes/ndtypes.h") CONFIG_FILES="$CONFIG_FILES libndtypes/ndtypes.h" ;;
544
+ "libndtypes/compat/Makefile") CONFIG_FILES="$CONFIG_FILES libndtypes/compat/Makefile" ;;
545
+ "libndtypes/serialize/Makefile") CONFIG_FILES="$CONFIG_FILES libndtypes/serialize/Makefile" ;;
546
+
547
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
548
+ esac
549
+ done
550
+
551
+
552
+ # If the user did not use the arguments to specify the items to instantiate,
553
+ # then the envvar interface is used. Set only those that are not.
554
+ # We use the long form for the default assignment because of an extremely
555
+ # bizarre bug on SunOS 4.1.3.
556
+ if $ac_need_defaults; then
557
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
558
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
559
+ fi
560
+
561
+ # Have a temporary directory for convenience. Make it in the build tree
562
+ # simply because there is no reason against having it here, and in addition,
563
+ # creating and moving files from /tmp can sometimes cause problems.
564
+ # Hook for its removal unless debugging.
565
+ # Note that there is a small window in which the directory will not be cleaned:
566
+ # after its creation but before its name has been assigned to `$tmp'.
567
+ $debug ||
568
+ {
569
+ tmp= ac_tmp=
570
+ trap 'exit_status=$?
571
+ : "${ac_tmp:=$tmp}"
572
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
573
+ ' 0
574
+ trap 'as_fn_exit 1' 1 2 13 15
575
+ }
576
+ # Create a (secure) tmp directory for tmp files.
577
+
578
+ {
579
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
580
+ test -d "$tmp"
581
+ } ||
582
+ {
583
+ tmp=./conf$$-$RANDOM
584
+ (umask 077 && mkdir "$tmp")
585
+ } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
586
+ ac_tmp=$tmp
587
+
588
+ # Set up the scripts for CONFIG_FILES section.
589
+ # No need to generate them if there are no CONFIG_FILES.
590
+ # This happens for instance with `./config.status config.h'.
591
+ if test -n "$CONFIG_FILES"; then
592
+
593
+
594
+ ac_cr=`echo X | tr X '\015'`
595
+ # On cygwin, bash can eat \r inside `` if the user requested igncr.
596
+ # But we know of no other shell where ac_cr would be empty at this
597
+ # point, so we can use a bashism as a fallback.
598
+ if test "x$ac_cr" = x; then
599
+ eval ac_cr=\$\'\\r\'
600
+ fi
601
+ ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
602
+ if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
603
+ ac_cs_awk_cr='\\r'
604
+ else
605
+ ac_cs_awk_cr=$ac_cr
606
+ fi
607
+
608
+ echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
609
+ cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
610
+ S["LTLIBOBJS"]=""
611
+ S["LIBOBJS"]=""
612
+ S["CONFIGURE_COV_LDFLAGS"]="-shared -Wl,-soname,libndtypes.so.0 -fprofile-arcs"
613
+ S["CONFIGURE_COV_CFLAGS"]="-I.. -Wall -Wextra -std=c11 -pedantic -O0 -g -fno-inline -fprofile-arcs -ftest-coverage"
614
+ S["CONFIGURE_LDFLAGS"]="-shared -Wl,-soname,libndtypes.so.0"
615
+ S["CONFIGURE_CFLAGS"]="-I.. -Wall -Wextra -std=c11 -pedantic -O2 -g"
616
+ S["NDT_OPT"]="-O2 -g"
617
+ S["NDT_WARN"]="-Wall -Wextra -std=c11 -pedantic"
618
+ S["LD"]="gcc"
619
+ S["NDT_INSTALL_DOCS"]=""
620
+ S["NDT_SYS_BIG_ENDIAN"]="0"
621
+ S["INSTALL"]="/usr/bin/install -c"
622
+ S["INSTALL_DATA"]="${INSTALL} -m 644"
623
+ S["INSTALL_SCRIPT"]="${INSTALL}"
624
+ S["INSTALL_PROGRAM"]="${INSTALL}"
625
+ S["EGREP"]="/bin/grep -E"
626
+ S["GREP"]="/bin/grep"
627
+ S["CPP"]="gcc -E"
628
+ S["RANLIB"]="ranlib"
629
+ S["AR"]="ar"
630
+ S["OBJEXT"]="o"
631
+ S["EXEEXT"]=""
632
+ S["ac_ct_CC"]="gcc"
633
+ S["CPPFLAGS"]=""
634
+ S["LDFLAGS"]=""
635
+ S["CFLAGS"]=""
636
+ S["CC"]="gcc"
637
+ S["host_os"]="linux-gnu"
638
+ S["host_vendor"]="unknown"
639
+ S["host_cpu"]="x86_64"
640
+ S["host"]="x86_64-unknown-linux-gnu"
641
+ S["build_os"]="linux-gnu"
642
+ S["build_vendor"]="unknown"
643
+ S["build_cpu"]="x86_64"
644
+ S["build"]="x86_64-unknown-linux-gnu"
645
+ S["LIBSHARED"]="libndtypes.so.0.2.0dev3"
646
+ S["LIBSONAME"]="libndtypes.so.0"
647
+ S["LIBNAME"]="libndtypes.so"
648
+ S["LIBRARY_PATH"]="LD_LIBRARY_PATH"
649
+ S["LIBSTATIC"]="libndtypes.a"
650
+ S["target_alias"]=""
651
+ S["host_alias"]=""
652
+ S["build_alias"]=""
653
+ S["LIBS"]=""
654
+ S["ECHO_T"]=""
655
+ S["ECHO_N"]="-n"
656
+ S["ECHO_C"]=""
657
+ S["DEFS"]="-DHAVE_CONFIG_H"
658
+ S["mandir"]="${datarootdir}/man"
659
+ S["localedir"]="${datarootdir}/locale"
660
+ S["libdir"]="${exec_prefix}/lib"
661
+ S["psdir"]="${docdir}"
662
+ S["pdfdir"]="${docdir}"
663
+ S["dvidir"]="${docdir}"
664
+ S["htmldir"]="${docdir}"
665
+ S["infodir"]="${datarootdir}/info"
666
+ S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
667
+ S["oldincludedir"]="/usr/include"
668
+ S["includedir"]="${prefix}/include"
669
+ S["localstatedir"]="${prefix}/var"
670
+ S["sharedstatedir"]="${prefix}/com"
671
+ S["sysconfdir"]="${prefix}/etc"
672
+ S["datadir"]="${datarootdir}"
673
+ S["datarootdir"]="${prefix}/share"
674
+ S["libexecdir"]="${exec_prefix}/libexec"
675
+ S["sbindir"]="${exec_prefix}/sbin"
676
+ S["bindir"]="${exec_prefix}/bin"
677
+ S["program_transform_name"]="s,x,x,"
678
+ S["prefix"]="/home/sameer/gitrepos/xnd-ruby/ndtypes/ext/ruby_ndtypes"
679
+ S["exec_prefix"]="${prefix}"
680
+ S["PACKAGE_URL"]="https://github.com/plures/"
681
+ S["PACKAGE_BUGREPORT"]="skrah@bytereef.org"
682
+ S["PACKAGE_STRING"]="ndtypes 0.2.0dev3"
683
+ S["PACKAGE_VERSION"]="0.2.0dev3"
684
+ S["PACKAGE_TARNAME"]="ndtypes"
685
+ S["PACKAGE_NAME"]="ndtypes"
686
+ S["PATH_SEPARATOR"]=":"
687
+ S["SHELL"]="/bin/bash"
688
+ _ACAWK
689
+ cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
690
+ for (key in S) S_is_set[key] = 1
691
+ FS = ""
692
+
693
+ }
694
+ {
695
+ line = $ 0
696
+ nfields = split(line, field, "@")
697
+ substed = 0
698
+ len = length(field[1])
699
+ for (i = 2; i < nfields; i++) {
700
+ key = field[i]
701
+ keylen = length(key)
702
+ if (S_is_set[key]) {
703
+ value = S[key]
704
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
705
+ len += length(value) + length(field[++i])
706
+ substed = 1
707
+ } else
708
+ len += 1 + keylen
709
+ }
710
+
711
+ print line
712
+ }
713
+
714
+ _ACAWK
715
+ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
716
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
717
+ else
718
+ cat
719
+ fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
720
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
721
+ fi # test -n "$CONFIG_FILES"
722
+
723
+ # Set up the scripts for CONFIG_HEADERS section.
724
+ # No need to generate them if there are no CONFIG_HEADERS.
725
+ # This happens for instance with `./config.status Makefile'.
726
+ if test -n "$CONFIG_HEADERS"; then
727
+ cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
728
+ BEGIN {
729
+ D["PACKAGE_NAME"]=" \"ndtypes\""
730
+ D["PACKAGE_TARNAME"]=" \"ndtypes\""
731
+ D["PACKAGE_VERSION"]=" \"0.2.0dev3\""
732
+ D["PACKAGE_STRING"]=" \"ndtypes 0.2.0dev3\""
733
+ D["PACKAGE_BUGREPORT"]=" \"skrah@bytereef.org\""
734
+ D["PACKAGE_URL"]=" \"https://github.com/plures/\""
735
+ D["STDC_HEADERS"]=" 1"
736
+ D["HAVE_SYS_TYPES_H"]=" 1"
737
+ D["HAVE_SYS_STAT_H"]=" 1"
738
+ D["HAVE_STDLIB_H"]=" 1"
739
+ D["HAVE_STRING_H"]=" 1"
740
+ D["HAVE_MEMORY_H"]=" 1"
741
+ D["HAVE_STRINGS_H"]=" 1"
742
+ D["HAVE_INTTYPES_H"]=" 1"
743
+ D["HAVE_STDINT_H"]=" 1"
744
+ D["HAVE_UNISTD_H"]=" 1"
745
+ for (key in D) D_is_set[key] = 1
746
+ FS = ""
747
+ }
748
+ /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
749
+ line = $ 0
750
+ split(line, arg, " ")
751
+ if (arg[1] == "#") {
752
+ defundef = arg[2]
753
+ mac1 = arg[3]
754
+ } else {
755
+ defundef = substr(arg[1], 2)
756
+ mac1 = arg[2]
757
+ }
758
+ split(mac1, mac2, "(") #)
759
+ macro = mac2[1]
760
+ prefix = substr(line, 1, index(line, defundef) - 1)
761
+ if (D_is_set[macro]) {
762
+ # Preserve the white space surrounding the "#".
763
+ print prefix "define", macro P[macro] D[macro]
764
+ next
765
+ } else {
766
+ # Replace #undef with comments. This is necessary, for example,
767
+ # in the case of _POSIX_SOURCE, which is predefined and required
768
+ # on some systems where configure will not decide to define it.
769
+ if (defundef == "undef") {
770
+ print "/*", prefix defundef, macro, "*/"
771
+ next
772
+ }
773
+ }
774
+ }
775
+ { print }
776
+ _ACAWK
777
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
778
+ fi # test -n "$CONFIG_HEADERS"
779
+
780
+
781
+ eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
782
+ shift
783
+ for ac_tag
784
+ do
785
+ case $ac_tag in
786
+ :[FHLC]) ac_mode=$ac_tag; continue;;
787
+ esac
788
+ case $ac_mode$ac_tag in
789
+ :[FHL]*:*);;
790
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
791
+ :[FH]-) ac_tag=-:-;;
792
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
793
+ esac
794
+ ac_save_IFS=$IFS
795
+ IFS=:
796
+ set x $ac_tag
797
+ IFS=$ac_save_IFS
798
+ shift
799
+ ac_file=$1
800
+ shift
801
+
802
+ case $ac_mode in
803
+ :L) ac_source=$1;;
804
+ :[FH])
805
+ ac_file_inputs=
806
+ for ac_f
807
+ do
808
+ case $ac_f in
809
+ -) ac_f="$ac_tmp/stdin";;
810
+ *) # Look for the file first in the build tree, then in the source tree
811
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
812
+ # because $ac_f cannot contain `:'.
813
+ test -f "$ac_f" ||
814
+ case $ac_f in
815
+ [\\/$]*) false;;
816
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
817
+ esac ||
818
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
819
+ esac
820
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
821
+ as_fn_append ac_file_inputs " '$ac_f'"
822
+ done
823
+
824
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
825
+ # use $as_me), people would be surprised to read:
826
+ # /* config.h. Generated by config.status. */
827
+ configure_input='Generated from '`
828
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
829
+ `' by configure.'
830
+ if test x"$ac_file" != x-; then
831
+ configure_input="$ac_file. $configure_input"
832
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
833
+ $as_echo "$as_me: creating $ac_file" >&6;}
834
+ fi
835
+ # Neutralize special characters interpreted by sed in replacement strings.
836
+ case $configure_input in #(
837
+ *\&* | *\|* | *\\* )
838
+ ac_sed_conf_input=`$as_echo "$configure_input" |
839
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
840
+ *) ac_sed_conf_input=$configure_input;;
841
+ esac
842
+
843
+ case $ac_tag in
844
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
845
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
846
+ esac
847
+ ;;
848
+ esac
849
+
850
+ ac_dir=`$as_dirname -- "$ac_file" ||
851
+ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
852
+ X"$ac_file" : 'X\(//\)[^/]' \| \
853
+ X"$ac_file" : 'X\(//\)$' \| \
854
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
855
+ $as_echo X"$ac_file" |
856
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
857
+ s//\1/
858
+ q
859
+ }
860
+ /^X\(\/\/\)[^/].*/{
861
+ s//\1/
862
+ q
863
+ }
864
+ /^X\(\/\/\)$/{
865
+ s//\1/
866
+ q
867
+ }
868
+ /^X\(\/\).*/{
869
+ s//\1/
870
+ q
871
+ }
872
+ s/.*/./; q'`
873
+ as_dir="$ac_dir"; as_fn_mkdir_p
874
+ ac_builddir=.
875
+
876
+ case "$ac_dir" in
877
+ .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
878
+ *)
879
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
880
+ # A ".." for each directory in $ac_dir_suffix.
881
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
882
+ case $ac_top_builddir_sub in
883
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
884
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
885
+ esac ;;
886
+ esac
887
+ ac_abs_top_builddir=$ac_pwd
888
+ ac_abs_builddir=$ac_pwd$ac_dir_suffix
889
+ # for backward compatibility:
890
+ ac_top_builddir=$ac_top_build_prefix
891
+
892
+ case $srcdir in
893
+ .) # We are building in place.
894
+ ac_srcdir=.
895
+ ac_top_srcdir=$ac_top_builddir_sub
896
+ ac_abs_top_srcdir=$ac_pwd ;;
897
+ [\\/]* | ?:[\\/]* ) # Absolute name.
898
+ ac_srcdir=$srcdir$ac_dir_suffix;
899
+ ac_top_srcdir=$srcdir
900
+ ac_abs_top_srcdir=$srcdir ;;
901
+ *) # Relative name.
902
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
903
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
904
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
905
+ esac
906
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
907
+
908
+
909
+ case $ac_mode in
910
+ :F)
911
+ #
912
+ # CONFIG_FILE
913
+ #
914
+
915
+ case $INSTALL in
916
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
917
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
918
+ esac
919
+ # If the template does not know about datarootdir, expand it.
920
+ # FIXME: This hack should be removed a few years after 2.60.
921
+ ac_datarootdir_hack=; ac_datarootdir_seen=
922
+ ac_sed_dataroot='
923
+ /datarootdir/ {
924
+ p
925
+ q
926
+ }
927
+ /@datadir@/p
928
+ /@docdir@/p
929
+ /@infodir@/p
930
+ /@localedir@/p
931
+ /@mandir@/p'
932
+ case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
933
+ *datarootdir*) ac_datarootdir_seen=yes;;
934
+ *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
935
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
936
+ $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
937
+ ac_datarootdir_hack='
938
+ s&@datadir@&${datarootdir}&g
939
+ s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
940
+ s&@infodir@&${datarootdir}/info&g
941
+ s&@localedir@&${datarootdir}/locale&g
942
+ s&@mandir@&${datarootdir}/man&g
943
+ s&\${datarootdir}&${prefix}/share&g' ;;
944
+ esac
945
+ ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
946
+ h
947
+ s///
948
+ s/^/:/
949
+ s/[ ]*$/:/
950
+ s/:\$(srcdir):/:/g
951
+ s/:\${srcdir}:/:/g
952
+ s/:@srcdir@:/:/g
953
+ s/^:*//
954
+ s/:*$//
955
+ x
956
+ s/\(=[ ]*\).*/\1/
957
+ G
958
+ s/\n//
959
+ s/^[^=]*=[ ]*$//
960
+ }
961
+
962
+ :t
963
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
964
+ s|@configure_input@|$ac_sed_conf_input|;t t
965
+ s&@top_builddir@&$ac_top_builddir_sub&;t t
966
+ s&@top_build_prefix@&$ac_top_build_prefix&;t t
967
+ s&@srcdir@&$ac_srcdir&;t t
968
+ s&@abs_srcdir@&$ac_abs_srcdir&;t t
969
+ s&@top_srcdir@&$ac_top_srcdir&;t t
970
+ s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
971
+ s&@builddir@&$ac_builddir&;t t
972
+ s&@abs_builddir@&$ac_abs_builddir&;t t
973
+ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
974
+ s&@INSTALL@&$ac_INSTALL&;t t
975
+ $ac_datarootdir_hack
976
+ "
977
+ eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
978
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
979
+
980
+ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
981
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
982
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
983
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
984
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
985
+ which seems to be undefined. Please make sure it is defined" >&5
986
+ $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
987
+ which seems to be undefined. Please make sure it is defined" >&2;}
988
+
989
+ rm -f "$ac_tmp/stdin"
990
+ case $ac_file in
991
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
992
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
993
+ esac \
994
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
995
+ ;;
996
+ :H)
997
+ #
998
+ # CONFIG_HEADER
999
+ #
1000
+ if test x"$ac_file" != x-; then
1001
+ {
1002
+ $as_echo "/* $configure_input */" \
1003
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1004
+ } >"$ac_tmp/config.h" \
1005
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1006
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1007
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1008
+ $as_echo "$as_me: $ac_file is unchanged" >&6;}
1009
+ else
1010
+ rm -f "$ac_file"
1011
+ mv "$ac_tmp/config.h" "$ac_file" \
1012
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1013
+ fi
1014
+ else
1015
+ $as_echo "/* $configure_input */" \
1016
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1017
+ || as_fn_error $? "could not create -" "$LINENO" 5
1018
+ fi
1019
+ ;;
1020
+
1021
+
1022
+ esac
1023
+
1024
+ done # for ac_tag
1025
+
1026
+
1027
+ as_fn_exit 0