google_hash 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.txt +15 -0
- data/README +13 -4
- data/TODO +12 -6
- data/VERSION +1 -1
- data/ext/clean.bat +0 -0
- data/ext/clean.sh +0 -0
- data/ext/extconf.rb +9 -9
- data/ext/go.bat +0 -0
- data/ext/sparsehash-2.0.2/config.guess +0 -0
- data/ext/sparsehash-2.0.2/config.sub +0 -0
- data/ext/sparsehash-2.0.2/configure +0 -0
- data/ext/sparsehash-2.0.2/depcomp +0 -0
- data/ext/sparsehash-2.0.2/install-sh +0 -0
- data/ext/sparsehash-2.0.2/missing +0 -0
- data/ext/sparsehash-2.0.2/packages/deb.sh +0 -0
- data/ext/sparsehash-2.0.2/packages/deb/rules +0 -0
- data/ext/sparsehash-2.0.2/packages/rpm.sh +0 -0
- data/ext/sparsehash-2.0.2/sparsehash.sln +0 -0
- data/ext/sparsehash-2.0.2/vsprojects/hashtable_test/hashtable_test.vcproj +0 -0
- data/ext/sparsehash-2.0.2/vsprojects/libc_allocator_with_realloc_test/libc_allocator_with_realloc_test.vcproj +0 -0
- data/ext/sparsehash-2.0.2/vsprojects/simple_test/simple_test.vcproj +0 -0
- data/ext/sparsehash-2.0.2/vsprojects/sparsetable_unittest/sparsetable_unittest.vcproj +0 -0
- data/ext/sparsehash-2.0.2/vsprojects/time_hash_map/time_hash_map.vcproj +0 -0
- data/ext/sparsehash-2.0.2/vsprojects/type_traits_unittest/type_traits_unittest.vcproj +0 -0
- data/ext/spec.bat +0 -0
- data/ext/template/google_hash.cpp.erb +8 -11
- data/google_hash.gemspec +159 -142
- data/spec/bench_gc.rb +16 -14
- data/spec/benchmark.rb +7 -6
- data/spec/spec.google_hash.rb +23 -23
- metadata +3 -7
- data/changelog +0 -11
- data/ext/sparsehash-2.0.2/Makefile +0 -1336
- data/ext/sparsehash-2.0.2/config.status +0 -1238
- data/ext/sparsehash-2.0.2/src/config.h +0 -132
@@ -1,1238 +0,0 @@
|
|
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
|
-
|
11
|
-
SHELL=${CONFIG_SHELL-/bin/sh}
|
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 -p'.
|
289
|
-
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
290
|
-
as_ln_s='cp -p'
|
291
|
-
elif ln conf$$.file conf$$ 2>/dev/null; then
|
292
|
-
as_ln_s=ln
|
293
|
-
else
|
294
|
-
as_ln_s='cp -p'
|
295
|
-
fi
|
296
|
-
else
|
297
|
-
as_ln_s='cp -p'
|
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
|
-
if test -x / >/dev/null 2>&1; then
|
358
|
-
as_test_x='test -x'
|
359
|
-
else
|
360
|
-
if ls -dL / >/dev/null 2>&1; then
|
361
|
-
as_ls_L_option=L
|
362
|
-
else
|
363
|
-
as_ls_L_option=
|
364
|
-
fi
|
365
|
-
as_test_x='
|
366
|
-
eval sh -c '\''
|
367
|
-
if test -d "$1"; then
|
368
|
-
test -d "$1/.";
|
369
|
-
else
|
370
|
-
case $1 in #(
|
371
|
-
-*)set "./$1";;
|
372
|
-
esac;
|
373
|
-
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
374
|
-
???[sx]*):;;*)false;;esac;fi
|
375
|
-
'\'' sh
|
376
|
-
'
|
377
|
-
fi
|
378
|
-
as_executable_p=$as_test_x
|
379
|
-
|
380
|
-
# Sed expression to map a string onto a valid CPP name.
|
381
|
-
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
382
|
-
|
383
|
-
# Sed expression to map a string onto a valid variable name.
|
384
|
-
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
385
|
-
|
386
|
-
|
387
|
-
exec 6>&1
|
388
|
-
## ----------------------------------- ##
|
389
|
-
## Main body of $CONFIG_STATUS script. ##
|
390
|
-
## ----------------------------------- ##
|
391
|
-
# Save the log message, to keep $0 and so on meaningful, and to
|
392
|
-
# report actual input values of CONFIG_FILES etc. instead of their
|
393
|
-
# values after options handling.
|
394
|
-
ac_log="
|
395
|
-
This file was extended by sparsehash $as_me 2.0.2, which was
|
396
|
-
generated by GNU Autoconf 2.68. Invocation command line was
|
397
|
-
|
398
|
-
CONFIG_FILES = $CONFIG_FILES
|
399
|
-
CONFIG_HEADERS = $CONFIG_HEADERS
|
400
|
-
CONFIG_LINKS = $CONFIG_LINKS
|
401
|
-
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
402
|
-
$ $0 $@
|
403
|
-
|
404
|
-
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
405
|
-
"
|
406
|
-
|
407
|
-
# Files that config.status was made for.
|
408
|
-
config_files=" Makefile"
|
409
|
-
config_headers=" src/config.h"
|
410
|
-
config_commands=" depfiles"
|
411
|
-
|
412
|
-
ac_cs_usage="\
|
413
|
-
\`$as_me' instantiates files and other configuration actions
|
414
|
-
from templates according to the current configuration. Unless the files
|
415
|
-
and actions are specified as TAGs, all are instantiated by default.
|
416
|
-
|
417
|
-
Usage: $0 [OPTION]... [TAG]...
|
418
|
-
|
419
|
-
-h, --help print this help, then exit
|
420
|
-
-V, --version print version number and configuration settings, then exit
|
421
|
-
--config print configuration, then exit
|
422
|
-
-q, --quiet, --silent
|
423
|
-
do not print progress messages
|
424
|
-
-d, --debug don't remove temporary files
|
425
|
-
--recheck update $as_me by reconfiguring in the same conditions
|
426
|
-
--file=FILE[:TEMPLATE]
|
427
|
-
instantiate the configuration file FILE
|
428
|
-
--header=FILE[:TEMPLATE]
|
429
|
-
instantiate the configuration header FILE
|
430
|
-
|
431
|
-
Configuration files:
|
432
|
-
$config_files
|
433
|
-
|
434
|
-
Configuration headers:
|
435
|
-
$config_headers
|
436
|
-
|
437
|
-
Configuration commands:
|
438
|
-
$config_commands
|
439
|
-
|
440
|
-
Report bugs to <google-sparsehash@googlegroups.com>."
|
441
|
-
|
442
|
-
ac_cs_config="'--prefix=C:/dev/ruby/google_hash/ext/local_installed'"
|
443
|
-
ac_cs_version="\
|
444
|
-
sparsehash config.status 2.0.2
|
445
|
-
configured by configure, generated by GNU Autoconf 2.68,
|
446
|
-
with options \"$ac_cs_config\"
|
447
|
-
|
448
|
-
Copyright (C) 2010 Free Software Foundation, Inc.
|
449
|
-
This config.status script is free software; the Free Software Foundation
|
450
|
-
gives unlimited permission to copy, distribute and modify it."
|
451
|
-
|
452
|
-
ac_pwd='/c/dev/ruby/google_hash/ext/sparsehash-2.0.2'
|
453
|
-
srcdir='.'
|
454
|
-
INSTALL='/usr/bin/install -c'
|
455
|
-
MKDIR_P='/usr/bin/mkdir -p'
|
456
|
-
AWK='gawk'
|
457
|
-
test -n "$AWK" || AWK=awk
|
458
|
-
# The default lists apply if the user does not specify any file.
|
459
|
-
ac_need_defaults=:
|
460
|
-
while test $# != 0
|
461
|
-
do
|
462
|
-
case $1 in
|
463
|
-
--*=?*)
|
464
|
-
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
465
|
-
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
466
|
-
ac_shift=:
|
467
|
-
;;
|
468
|
-
--*=)
|
469
|
-
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
470
|
-
ac_optarg=
|
471
|
-
ac_shift=:
|
472
|
-
;;
|
473
|
-
*)
|
474
|
-
ac_option=$1
|
475
|
-
ac_optarg=$2
|
476
|
-
ac_shift=shift
|
477
|
-
;;
|
478
|
-
esac
|
479
|
-
|
480
|
-
case $ac_option in
|
481
|
-
# Handling of the options.
|
482
|
-
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
483
|
-
ac_cs_recheck=: ;;
|
484
|
-
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
485
|
-
$as_echo "$ac_cs_version"; exit ;;
|
486
|
-
--config | --confi | --conf | --con | --co | --c )
|
487
|
-
$as_echo "$ac_cs_config"; exit ;;
|
488
|
-
--debug | --debu | --deb | --de | --d | -d )
|
489
|
-
debug=: ;;
|
490
|
-
--file | --fil | --fi | --f )
|
491
|
-
$ac_shift
|
492
|
-
case $ac_optarg in
|
493
|
-
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
494
|
-
'') as_fn_error $? "missing file argument" ;;
|
495
|
-
esac
|
496
|
-
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
497
|
-
ac_need_defaults=false;;
|
498
|
-
--header | --heade | --head | --hea )
|
499
|
-
$ac_shift
|
500
|
-
case $ac_optarg in
|
501
|
-
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
502
|
-
esac
|
503
|
-
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
504
|
-
ac_need_defaults=false;;
|
505
|
-
--he | --h)
|
506
|
-
# Conflict between --help and --header
|
507
|
-
as_fn_error $? "ambiguous option: \`$1'
|
508
|
-
Try \`$0 --help' for more information.";;
|
509
|
-
--help | --hel | -h )
|
510
|
-
$as_echo "$ac_cs_usage"; exit ;;
|
511
|
-
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
512
|
-
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
513
|
-
ac_cs_silent=: ;;
|
514
|
-
|
515
|
-
# This is an error.
|
516
|
-
-*) as_fn_error $? "unrecognized option: \`$1'
|
517
|
-
Try \`$0 --help' for more information." ;;
|
518
|
-
|
519
|
-
*) as_fn_append ac_config_targets " $1"
|
520
|
-
ac_need_defaults=false ;;
|
521
|
-
|
522
|
-
esac
|
523
|
-
shift
|
524
|
-
done
|
525
|
-
|
526
|
-
ac_configure_extra_args=
|
527
|
-
|
528
|
-
if $ac_cs_silent; then
|
529
|
-
exec 6>/dev/null
|
530
|
-
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
531
|
-
fi
|
532
|
-
|
533
|
-
if $ac_cs_recheck; then
|
534
|
-
set X '/bin/sh' 'configure' '--prefix=C:/dev/ruby/google_hash/ext/local_installed' $ac_configure_extra_args --no-create --no-recursion
|
535
|
-
shift
|
536
|
-
$as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
|
537
|
-
CONFIG_SHELL='/bin/sh'
|
538
|
-
export CONFIG_SHELL
|
539
|
-
exec "$@"
|
540
|
-
fi
|
541
|
-
|
542
|
-
exec 5>>config.log
|
543
|
-
{
|
544
|
-
echo
|
545
|
-
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
546
|
-
## Running $as_me. ##
|
547
|
-
_ASBOX
|
548
|
-
$as_echo "$ac_log"
|
549
|
-
} >&5
|
550
|
-
|
551
|
-
#
|
552
|
-
# INIT-COMMANDS
|
553
|
-
#
|
554
|
-
AMDEP_TRUE="" ac_aux_dir="."
|
555
|
-
|
556
|
-
|
557
|
-
# Handling of arguments.
|
558
|
-
for ac_config_target in $ac_config_targets
|
559
|
-
do
|
560
|
-
case $ac_config_target in
|
561
|
-
"src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
|
562
|
-
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
563
|
-
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
564
|
-
|
565
|
-
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
566
|
-
esac
|
567
|
-
done
|
568
|
-
|
569
|
-
|
570
|
-
# If the user did not use the arguments to specify the items to instantiate,
|
571
|
-
# then the envvar interface is used. Set only those that are not.
|
572
|
-
# We use the long form for the default assignment because of an extremely
|
573
|
-
# bizarre bug on SunOS 4.1.3.
|
574
|
-
if $ac_need_defaults; then
|
575
|
-
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
576
|
-
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
577
|
-
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
578
|
-
fi
|
579
|
-
|
580
|
-
# Have a temporary directory for convenience. Make it in the build tree
|
581
|
-
# simply because there is no reason against having it here, and in addition,
|
582
|
-
# creating and moving files from /tmp can sometimes cause problems.
|
583
|
-
# Hook for its removal unless debugging.
|
584
|
-
# Note that there is a small window in which the directory will not be cleaned:
|
585
|
-
# after its creation but before its name has been assigned to `$tmp'.
|
586
|
-
$debug ||
|
587
|
-
{
|
588
|
-
tmp= ac_tmp=
|
589
|
-
trap 'exit_status=$?
|
590
|
-
: "${ac_tmp:=$tmp}"
|
591
|
-
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
592
|
-
' 0
|
593
|
-
trap 'as_fn_exit 1' 1 2 13 15
|
594
|
-
}
|
595
|
-
# Create a (secure) tmp directory for tmp files.
|
596
|
-
|
597
|
-
{
|
598
|
-
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
599
|
-
test -d "$tmp"
|
600
|
-
} ||
|
601
|
-
{
|
602
|
-
tmp=./conf$$-$RANDOM
|
603
|
-
(umask 077 && mkdir "$tmp")
|
604
|
-
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
605
|
-
ac_tmp=$tmp
|
606
|
-
|
607
|
-
# Set up the scripts for CONFIG_FILES section.
|
608
|
-
# No need to generate them if there are no CONFIG_FILES.
|
609
|
-
# This happens for instance with `./config.status config.h'.
|
610
|
-
if test -n "$CONFIG_FILES"; then
|
611
|
-
|
612
|
-
|
613
|
-
ac_cr=`echo X | tr X '\015'`
|
614
|
-
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
615
|
-
# But we know of no other shell where ac_cr would be empty at this
|
616
|
-
# point, so we can use a bashism as a fallback.
|
617
|
-
if test "x$ac_cr" = x; then
|
618
|
-
eval ac_cr=\$\'\\r\'
|
619
|
-
fi
|
620
|
-
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
621
|
-
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
622
|
-
ac_cs_awk_cr='\\r'
|
623
|
-
else
|
624
|
-
ac_cs_awk_cr=$ac_cr
|
625
|
-
fi
|
626
|
-
|
627
|
-
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
628
|
-
cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
|
629
|
-
S["am__EXEEXT_FALSE"]="#"
|
630
|
-
S["am__EXEEXT_TRUE"]=""
|
631
|
-
S["LTLIBOBJS"]=""
|
632
|
-
S["LIBOBJS"]=""
|
633
|
-
S["tcmalloc_libs"]=""
|
634
|
-
S["tcmalloc_flags"]=""
|
635
|
-
S["PTHREAD_CFLAGS"]=""
|
636
|
-
S["PTHREAD_LIBS"]=""
|
637
|
-
S["PTHREAD_CC"]=""
|
638
|
-
S["acx_pthread_config"]=""
|
639
|
-
S["host_os"]=""
|
640
|
-
S["host_vendor"]=""
|
641
|
-
S["host_cpu"]=""
|
642
|
-
S["host"]=""
|
643
|
-
S["build_os"]=""
|
644
|
-
S["build_vendor"]=""
|
645
|
-
S["build_cpu"]=""
|
646
|
-
S["build"]=""
|
647
|
-
S["CXXCPP"]="g++ -E"
|
648
|
-
S["EGREP"]="/usr/bin/grep -E"
|
649
|
-
S["GREP"]="/usr/bin/grep"
|
650
|
-
S["GCC_FALSE"]="#"
|
651
|
-
S["GCC_TRUE"]=""
|
652
|
-
S["CPP"]="gcc -E"
|
653
|
-
S["am__fastdepCC_FALSE"]="#"
|
654
|
-
S["am__fastdepCC_TRUE"]=""
|
655
|
-
S["CCDEPMODE"]="depmode=gcc3"
|
656
|
-
S["ac_ct_CC"]="gcc"
|
657
|
-
S["CFLAGS"]="-g -O2"
|
658
|
-
S["CC"]="gcc"
|
659
|
-
S["am__fastdepCXX_FALSE"]="#"
|
660
|
-
S["am__fastdepCXX_TRUE"]=""
|
661
|
-
S["CXXDEPMODE"]="depmode=gcc3"
|
662
|
-
S["AMDEPBACKSLASH"]="\\"
|
663
|
-
S["AMDEP_FALSE"]="#"
|
664
|
-
S["AMDEP_TRUE"]=""
|
665
|
-
S["am__quote"]=""
|
666
|
-
S["am__include"]="include"
|
667
|
-
S["DEPDIR"]=".deps"
|
668
|
-
S["OBJEXT"]="o"
|
669
|
-
S["EXEEXT"]=".exe"
|
670
|
-
S["ac_ct_CXX"]="g++"
|
671
|
-
S["CPPFLAGS"]=""
|
672
|
-
S["LDFLAGS"]=""
|
673
|
-
S["CXXFLAGS"]="-g -O2"
|
674
|
-
S["CXX"]="g++"
|
675
|
-
S["am__untar"]="${AMTAR} xf -"
|
676
|
-
S["am__tar"]="${AMTAR} chof - \"$$tardir\""
|
677
|
-
S["AMTAR"]="${SHELL} /c/dev/ruby/google_hash/ext/sparsehash-2.0.2/missing --run tar"
|
678
|
-
S["am__leading_dot"]="."
|
679
|
-
S["SET_MAKE"]=""
|
680
|
-
S["AWK"]="gawk"
|
681
|
-
S["mkdir_p"]="/usr/bin/mkdir -p"
|
682
|
-
S["MKDIR_P"]="/usr/bin/mkdir -p"
|
683
|
-
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
|
684
|
-
S["STRIP"]=""
|
685
|
-
S["install_sh"]="${SHELL} /c/dev/ruby/google_hash/ext/sparsehash-2.0.2/install-sh"
|
686
|
-
S["MAKEINFO"]="${SHELL} /c/dev/ruby/google_hash/ext/sparsehash-2.0.2/missing --run makeinfo"
|
687
|
-
S["AUTOHEADER"]="${SHELL} /c/dev/ruby/google_hash/ext/sparsehash-2.0.2/missing --run autoheader"
|
688
|
-
S["AUTOMAKE"]="${SHELL} /c/dev/ruby/google_hash/ext/sparsehash-2.0.2/missing --run automake-1.11"
|
689
|
-
S["AUTOCONF"]="${SHELL} /c/dev/ruby/google_hash/ext/sparsehash-2.0.2/missing --run autoconf"
|
690
|
-
S["ACLOCAL"]="${SHELL} /c/dev/ruby/google_hash/ext/sparsehash-2.0.2/missing --run aclocal-1.11"
|
691
|
-
S["VERSION"]="2.0.2"
|
692
|
-
S["PACKAGE"]="sparsehash"
|
693
|
-
S["CYGPATH_W"]="echo"
|
694
|
-
S["am__isrc"]=""
|
695
|
-
S["INSTALL_DATA"]="${INSTALL} -m 644"
|
696
|
-
S["INSTALL_SCRIPT"]="${INSTALL}"
|
697
|
-
S["INSTALL_PROGRAM"]="${INSTALL}"
|
698
|
-
S["target_alias"]=""
|
699
|
-
S["host_alias"]=""
|
700
|
-
S["build_alias"]=""
|
701
|
-
S["LIBS"]=""
|
702
|
-
S["ECHO_T"]=""
|
703
|
-
S["ECHO_N"]="-n"
|
704
|
-
S["ECHO_C"]=""
|
705
|
-
S["DEFS"]="-DHAVE_CONFIG_H"
|
706
|
-
S["mandir"]="${datarootdir}/man"
|
707
|
-
S["localedir"]="${datarootdir}/locale"
|
708
|
-
S["libdir"]="${exec_prefix}/lib"
|
709
|
-
S["psdir"]="${docdir}"
|
710
|
-
S["pdfdir"]="${docdir}"
|
711
|
-
S["dvidir"]="${docdir}"
|
712
|
-
S["htmldir"]="${docdir}"
|
713
|
-
S["infodir"]="${datarootdir}/info"
|
714
|
-
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
|
715
|
-
S["oldincludedir"]="/usr/include"
|
716
|
-
S["includedir"]="${prefix}/include"
|
717
|
-
S["localstatedir"]="${prefix}/var"
|
718
|
-
S["sharedstatedir"]="${prefix}/com"
|
719
|
-
S["sysconfdir"]="${prefix}/etc"
|
720
|
-
S["datadir"]="${datarootdir}"
|
721
|
-
S["datarootdir"]="${prefix}/share"
|
722
|
-
S["libexecdir"]="${exec_prefix}/libexec"
|
723
|
-
S["sbindir"]="${exec_prefix}/sbin"
|
724
|
-
S["bindir"]="${exec_prefix}/bin"
|
725
|
-
S["program_transform_name"]="s,x,x,"
|
726
|
-
S["prefix"]="C:/dev/ruby/google_hash/ext/local_installed"
|
727
|
-
S["exec_prefix"]="${prefix}"
|
728
|
-
S["PACKAGE_URL"]=""
|
729
|
-
S["PACKAGE_BUGREPORT"]="google-sparsehash@googlegroups.com"
|
730
|
-
S["PACKAGE_STRING"]="sparsehash 2.0.2"
|
731
|
-
S["PACKAGE_VERSION"]="2.0.2"
|
732
|
-
S["PACKAGE_TARNAME"]="sparsehash"
|
733
|
-
S["PACKAGE_NAME"]="sparsehash"
|
734
|
-
S["PATH_SEPARATOR"]=":"
|
735
|
-
S["SHELL"]="/bin/sh"
|
736
|
-
_ACAWK
|
737
|
-
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
|
738
|
-
for (key in S) S_is_set[key] = 1
|
739
|
-
FS = ""
|
740
|
-
|
741
|
-
}
|
742
|
-
{
|
743
|
-
line = $ 0
|
744
|
-
nfields = split(line, field, "@")
|
745
|
-
substed = 0
|
746
|
-
len = length(field[1])
|
747
|
-
for (i = 2; i < nfields; i++) {
|
748
|
-
key = field[i]
|
749
|
-
keylen = length(key)
|
750
|
-
if (S_is_set[key]) {
|
751
|
-
value = S[key]
|
752
|
-
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
753
|
-
len += length(value) + length(field[++i])
|
754
|
-
substed = 1
|
755
|
-
} else
|
756
|
-
len += 1 + keylen
|
757
|
-
}
|
758
|
-
|
759
|
-
print line
|
760
|
-
}
|
761
|
-
|
762
|
-
_ACAWK
|
763
|
-
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
764
|
-
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
765
|
-
else
|
766
|
-
cat
|
767
|
-
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
768
|
-
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
769
|
-
fi # test -n "$CONFIG_FILES"
|
770
|
-
|
771
|
-
# Set up the scripts for CONFIG_HEADERS section.
|
772
|
-
# No need to generate them if there are no CONFIG_HEADERS.
|
773
|
-
# This happens for instance with `./config.status Makefile'.
|
774
|
-
if test -n "$CONFIG_HEADERS"; then
|
775
|
-
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
776
|
-
BEGIN {
|
777
|
-
D["PACKAGE_NAME"]=" \"sparsehash\""
|
778
|
-
D["PACKAGE_TARNAME"]=" \"sparsehash\""
|
779
|
-
D["PACKAGE_VERSION"]=" \"2.0.2\""
|
780
|
-
D["PACKAGE_STRING"]=" \"sparsehash 2.0.2\""
|
781
|
-
D["PACKAGE_BUGREPORT"]=" \"google-sparsehash@googlegroups.com\""
|
782
|
-
D["PACKAGE_URL"]=" \"\""
|
783
|
-
D["PACKAGE"]=" \"sparsehash\""
|
784
|
-
D["VERSION"]=" \"2.0.2\""
|
785
|
-
D["STDC_HEADERS"]=" 1"
|
786
|
-
D["HAVE_MEMCPY"]=" 1"
|
787
|
-
D["HAVE_MEMMOVE"]=" 1"
|
788
|
-
D["HAVE_SYS_TYPES_H"]=" 1"
|
789
|
-
D["HAVE_SYS_STAT_H"]=" 1"
|
790
|
-
D["HAVE_STDLIB_H"]=" 1"
|
791
|
-
D["HAVE_STRING_H"]=" 1"
|
792
|
-
D["HAVE_MEMORY_H"]=" 1"
|
793
|
-
D["HAVE_STRINGS_H"]=" 1"
|
794
|
-
D["HAVE_INTTYPES_H"]=" 1"
|
795
|
-
D["HAVE_STDINT_H"]=" 1"
|
796
|
-
D["HAVE_UNISTD_H"]=" 1"
|
797
|
-
D["HAVE_UINT16_T"]=" 1"
|
798
|
-
D["HAVE_LONG_LONG"]=" 1"
|
799
|
-
D["HAVE_UNISTD_H"]=" 1"
|
800
|
-
D["HAVE_SYS_TIME_H"]=" 1"
|
801
|
-
D["HAVE_NAMESPACES"]=" 1"
|
802
|
-
D["HAVE_HASH_MAP"]=" 1"
|
803
|
-
D["HAVE_HASH_SET"]=" 1"
|
804
|
-
D["HASH_MAP_H"]=" <tr1/unordered_map>"
|
805
|
-
D["HASH_SET_H"]=" <tr1/unordered_set>"
|
806
|
-
D["HASH_NAMESPACE"]=" std::tr1"
|
807
|
-
D["HAVE_UNORDERED_MAP"]=" 1"
|
808
|
-
D["HASH_FUN_H"]=" <tr1/functional>"
|
809
|
-
D["HASH_NAMESPACE"]=" std::tr1"
|
810
|
-
D["GOOGLE_NAMESPACE"]=" ::google"
|
811
|
-
D["_START_GOOGLE_NAMESPACE_"]=" namespace google {"
|
812
|
-
D["_END_GOOGLE_NAMESPACE_"]=" }"
|
813
|
-
D["SPARSEHASH_HASH_NO_NAMESPACE"]=" hash"
|
814
|
-
D["SPARSEHASH_HASH"]=" HASH_NAMESPACE::hash"
|
815
|
-
for (key in D) D_is_set[key] = 1
|
816
|
-
FS = ""
|
817
|
-
}
|
818
|
-
/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
|
819
|
-
line = $ 0
|
820
|
-
split(line, arg, " ")
|
821
|
-
if (arg[1] == "#") {
|
822
|
-
defundef = arg[2]
|
823
|
-
mac1 = arg[3]
|
824
|
-
} else {
|
825
|
-
defundef = substr(arg[1], 2)
|
826
|
-
mac1 = arg[2]
|
827
|
-
}
|
828
|
-
split(mac1, mac2, "(") #)
|
829
|
-
macro = mac2[1]
|
830
|
-
prefix = substr(line, 1, index(line, defundef) - 1)
|
831
|
-
if (D_is_set[macro]) {
|
832
|
-
# Preserve the white space surrounding the "#".
|
833
|
-
print prefix "define", macro P[macro] D[macro]
|
834
|
-
next
|
835
|
-
} else {
|
836
|
-
# Replace #undef with comments. This is necessary, for example,
|
837
|
-
# in the case of _POSIX_SOURCE, which is predefined and required
|
838
|
-
# on some systems where configure will not decide to define it.
|
839
|
-
if (defundef == "undef") {
|
840
|
-
print "/*", prefix defundef, macro, "*/"
|
841
|
-
next
|
842
|
-
}
|
843
|
-
}
|
844
|
-
}
|
845
|
-
{ print }
|
846
|
-
_ACAWK
|
847
|
-
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
848
|
-
fi # test -n "$CONFIG_HEADERS"
|
849
|
-
|
850
|
-
|
851
|
-
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
852
|
-
shift
|
853
|
-
for ac_tag
|
854
|
-
do
|
855
|
-
case $ac_tag in
|
856
|
-
:[FHLC]) ac_mode=$ac_tag; continue;;
|
857
|
-
esac
|
858
|
-
case $ac_mode$ac_tag in
|
859
|
-
:[FHL]*:*);;
|
860
|
-
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
861
|
-
:[FH]-) ac_tag=-:-;;
|
862
|
-
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
863
|
-
esac
|
864
|
-
ac_save_IFS=$IFS
|
865
|
-
IFS=:
|
866
|
-
set x $ac_tag
|
867
|
-
IFS=$ac_save_IFS
|
868
|
-
shift
|
869
|
-
ac_file=$1
|
870
|
-
shift
|
871
|
-
|
872
|
-
case $ac_mode in
|
873
|
-
:L) ac_source=$1;;
|
874
|
-
:[FH])
|
875
|
-
ac_file_inputs=
|
876
|
-
for ac_f
|
877
|
-
do
|
878
|
-
case $ac_f in
|
879
|
-
-) ac_f="$ac_tmp/stdin";;
|
880
|
-
*) # Look for the file first in the build tree, then in the source tree
|
881
|
-
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
882
|
-
# because $ac_f cannot contain `:'.
|
883
|
-
test -f "$ac_f" ||
|
884
|
-
case $ac_f in
|
885
|
-
[\\/$]*) false;;
|
886
|
-
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
887
|
-
esac ||
|
888
|
-
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
889
|
-
esac
|
890
|
-
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
891
|
-
as_fn_append ac_file_inputs " '$ac_f'"
|
892
|
-
done
|
893
|
-
|
894
|
-
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
895
|
-
# use $as_me), people would be surprised to read:
|
896
|
-
# /* config.h. Generated by config.status. */
|
897
|
-
configure_input='Generated from '`
|
898
|
-
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
899
|
-
`' by configure.'
|
900
|
-
if test x"$ac_file" != x-; then
|
901
|
-
configure_input="$ac_file. $configure_input"
|
902
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
903
|
-
$as_echo "$as_me: creating $ac_file" >&6;}
|
904
|
-
fi
|
905
|
-
# Neutralize special characters interpreted by sed in replacement strings.
|
906
|
-
case $configure_input in #(
|
907
|
-
*\&* | *\|* | *\\* )
|
908
|
-
ac_sed_conf_input=`$as_echo "$configure_input" |
|
909
|
-
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
910
|
-
*) ac_sed_conf_input=$configure_input;;
|
911
|
-
esac
|
912
|
-
|
913
|
-
case $ac_tag in
|
914
|
-
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
915
|
-
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
916
|
-
esac
|
917
|
-
;;
|
918
|
-
esac
|
919
|
-
|
920
|
-
ac_dir=`$as_dirname -- "$ac_file" ||
|
921
|
-
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
922
|
-
X"$ac_file" : 'X\(//\)[^/]' \| \
|
923
|
-
X"$ac_file" : 'X\(//\)$' \| \
|
924
|
-
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
925
|
-
$as_echo X"$ac_file" |
|
926
|
-
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
927
|
-
s//\1/
|
928
|
-
q
|
929
|
-
}
|
930
|
-
/^X\(\/\/\)[^/].*/{
|
931
|
-
s//\1/
|
932
|
-
q
|
933
|
-
}
|
934
|
-
/^X\(\/\/\)$/{
|
935
|
-
s//\1/
|
936
|
-
q
|
937
|
-
}
|
938
|
-
/^X\(\/\).*/{
|
939
|
-
s//\1/
|
940
|
-
q
|
941
|
-
}
|
942
|
-
s/.*/./; q'`
|
943
|
-
as_dir="$ac_dir"; as_fn_mkdir_p
|
944
|
-
ac_builddir=.
|
945
|
-
|
946
|
-
case "$ac_dir" in
|
947
|
-
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
948
|
-
*)
|
949
|
-
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
950
|
-
# A ".." for each directory in $ac_dir_suffix.
|
951
|
-
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
952
|
-
case $ac_top_builddir_sub in
|
953
|
-
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
954
|
-
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
955
|
-
esac ;;
|
956
|
-
esac
|
957
|
-
ac_abs_top_builddir=$ac_pwd
|
958
|
-
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
959
|
-
# for backward compatibility:
|
960
|
-
ac_top_builddir=$ac_top_build_prefix
|
961
|
-
|
962
|
-
case $srcdir in
|
963
|
-
.) # We are building in place.
|
964
|
-
ac_srcdir=.
|
965
|
-
ac_top_srcdir=$ac_top_builddir_sub
|
966
|
-
ac_abs_top_srcdir=$ac_pwd ;;
|
967
|
-
[\\/]* | ?:[\\/]* ) # Absolute name.
|
968
|
-
ac_srcdir=$srcdir$ac_dir_suffix;
|
969
|
-
ac_top_srcdir=$srcdir
|
970
|
-
ac_abs_top_srcdir=$srcdir ;;
|
971
|
-
*) # Relative name.
|
972
|
-
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
973
|
-
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
974
|
-
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
975
|
-
esac
|
976
|
-
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
977
|
-
|
978
|
-
|
979
|
-
case $ac_mode in
|
980
|
-
:F)
|
981
|
-
#
|
982
|
-
# CONFIG_FILE
|
983
|
-
#
|
984
|
-
|
985
|
-
case $INSTALL in
|
986
|
-
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
987
|
-
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
988
|
-
esac
|
989
|
-
ac_MKDIR_P=$MKDIR_P
|
990
|
-
case $MKDIR_P in
|
991
|
-
[\\/$]* | ?:[\\/]* ) ;;
|
992
|
-
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
993
|
-
esac
|
994
|
-
# If the template does not know about datarootdir, expand it.
|
995
|
-
# FIXME: This hack should be removed a few years after 2.60.
|
996
|
-
ac_datarootdir_hack=; ac_datarootdir_seen=
|
997
|
-
ac_sed_dataroot='
|
998
|
-
/datarootdir/ {
|
999
|
-
p
|
1000
|
-
q
|
1001
|
-
}
|
1002
|
-
/@datadir@/p
|
1003
|
-
/@docdir@/p
|
1004
|
-
/@infodir@/p
|
1005
|
-
/@localedir@/p
|
1006
|
-
/@mandir@/p'
|
1007
|
-
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
1008
|
-
*datarootdir*) ac_datarootdir_seen=yes;;
|
1009
|
-
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
1010
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
1011
|
-
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
1012
|
-
ac_datarootdir_hack='
|
1013
|
-
s&@datadir@&${datarootdir}&g
|
1014
|
-
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
|
1015
|
-
s&@infodir@&${datarootdir}/info&g
|
1016
|
-
s&@localedir@&${datarootdir}/locale&g
|
1017
|
-
s&@mandir@&${datarootdir}/man&g
|
1018
|
-
s&\${datarootdir}&${prefix}/share&g' ;;
|
1019
|
-
esac
|
1020
|
-
ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
|
1021
|
-
h
|
1022
|
-
s///
|
1023
|
-
s/^/:/
|
1024
|
-
s/[ ]*$/:/
|
1025
|
-
s/:\$(srcdir):/:/g
|
1026
|
-
s/:\${srcdir}:/:/g
|
1027
|
-
s/:@srcdir@:/:/g
|
1028
|
-
s/^:*//
|
1029
|
-
s/:*$//
|
1030
|
-
x
|
1031
|
-
s/\(=[ ]*\).*/\1/
|
1032
|
-
G
|
1033
|
-
s/\n//
|
1034
|
-
s/^[^=]*=[ ]*$//
|
1035
|
-
}
|
1036
|
-
|
1037
|
-
:t
|
1038
|
-
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
1039
|
-
s|@configure_input@|$ac_sed_conf_input|;t t
|
1040
|
-
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
1041
|
-
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
1042
|
-
s&@srcdir@&$ac_srcdir&;t t
|
1043
|
-
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
1044
|
-
s&@top_srcdir@&$ac_top_srcdir&;t t
|
1045
|
-
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
1046
|
-
s&@builddir@&$ac_builddir&;t t
|
1047
|
-
s&@abs_builddir@&$ac_abs_builddir&;t t
|
1048
|
-
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
1049
|
-
s&@INSTALL@&$ac_INSTALL&;t t
|
1050
|
-
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
1051
|
-
$ac_datarootdir_hack
|
1052
|
-
"
|
1053
|
-
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
1054
|
-
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1055
|
-
|
1056
|
-
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
1057
|
-
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
1058
|
-
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
1059
|
-
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
1060
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
1061
|
-
which seems to be undefined. Please make sure it is defined" >&5
|
1062
|
-
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
1063
|
-
which seems to be undefined. Please make sure it is defined" >&2;}
|
1064
|
-
|
1065
|
-
rm -f "$ac_tmp/stdin"
|
1066
|
-
case $ac_file in
|
1067
|
-
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
1068
|
-
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
1069
|
-
esac \
|
1070
|
-
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1071
|
-
;;
|
1072
|
-
:H)
|
1073
|
-
#
|
1074
|
-
# CONFIG_HEADER
|
1075
|
-
#
|
1076
|
-
if test x"$ac_file" != x-; then
|
1077
|
-
{
|
1078
|
-
$as_echo "/* $configure_input */" \
|
1079
|
-
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
1080
|
-
} >"$ac_tmp/config.h" \
|
1081
|
-
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1082
|
-
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
1083
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
1084
|
-
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
1085
|
-
else
|
1086
|
-
rm -f "$ac_file"
|
1087
|
-
mv "$ac_tmp/config.h" "$ac_file" \
|
1088
|
-
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1089
|
-
fi
|
1090
|
-
else
|
1091
|
-
$as_echo "/* $configure_input */" \
|
1092
|
-
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
1093
|
-
|| as_fn_error $? "could not create -" "$LINENO" 5
|
1094
|
-
fi
|
1095
|
-
# Compute "$ac_file"'s index in $config_headers.
|
1096
|
-
_am_arg="$ac_file"
|
1097
|
-
_am_stamp_count=1
|
1098
|
-
for _am_header in $config_headers :; do
|
1099
|
-
case $_am_header in
|
1100
|
-
$_am_arg | $_am_arg:* )
|
1101
|
-
break ;;
|
1102
|
-
* )
|
1103
|
-
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
1104
|
-
esac
|
1105
|
-
done
|
1106
|
-
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
1107
|
-
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1108
|
-
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
1109
|
-
X"$_am_arg" : 'X\(//\)$' \| \
|
1110
|
-
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
1111
|
-
$as_echo X"$_am_arg" |
|
1112
|
-
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1113
|
-
s//\1/
|
1114
|
-
q
|
1115
|
-
}
|
1116
|
-
/^X\(\/\/\)[^/].*/{
|
1117
|
-
s//\1/
|
1118
|
-
q
|
1119
|
-
}
|
1120
|
-
/^X\(\/\/\)$/{
|
1121
|
-
s//\1/
|
1122
|
-
q
|
1123
|
-
}
|
1124
|
-
/^X\(\/\).*/{
|
1125
|
-
s//\1/
|
1126
|
-
q
|
1127
|
-
}
|
1128
|
-
s/.*/./; q'`/stamp-h$_am_stamp_count
|
1129
|
-
;;
|
1130
|
-
|
1131
|
-
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
1132
|
-
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
1133
|
-
;;
|
1134
|
-
esac
|
1135
|
-
|
1136
|
-
|
1137
|
-
case $ac_file$ac_mode in
|
1138
|
-
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
1139
|
-
# Autoconf 2.62 quotes --file arguments for eval, but not when files
|
1140
|
-
# are listed without --file. Let's play safe and only enable the eval
|
1141
|
-
# if we detect the quoting.
|
1142
|
-
case $CONFIG_FILES in
|
1143
|
-
*\'*) eval set x "$CONFIG_FILES" ;;
|
1144
|
-
*) set x $CONFIG_FILES ;;
|
1145
|
-
esac
|
1146
|
-
shift
|
1147
|
-
for mf
|
1148
|
-
do
|
1149
|
-
# Strip MF so we end up with the name of the file.
|
1150
|
-
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
1151
|
-
# Check whether this is an Automake generated Makefile or not.
|
1152
|
-
# We used to match only the files named `Makefile.in', but
|
1153
|
-
# some people rename them; so instead we look at the file content.
|
1154
|
-
# Grep'ing the first line is not enough: some people post-process
|
1155
|
-
# each Makefile.in and add a new line on top of each file to say so.
|
1156
|
-
# Grep'ing the whole file is not good either: AIX grep has a line
|
1157
|
-
# limit of 2048, but all sed's we know have understand at least 4000.
|
1158
|
-
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
1159
|
-
dirpart=`$as_dirname -- "$mf" ||
|
1160
|
-
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1161
|
-
X"$mf" : 'X\(//\)[^/]' \| \
|
1162
|
-
X"$mf" : 'X\(//\)$' \| \
|
1163
|
-
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
1164
|
-
$as_echo X"$mf" |
|
1165
|
-
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1166
|
-
s//\1/
|
1167
|
-
q
|
1168
|
-
}
|
1169
|
-
/^X\(\/\/\)[^/].*/{
|
1170
|
-
s//\1/
|
1171
|
-
q
|
1172
|
-
}
|
1173
|
-
/^X\(\/\/\)$/{
|
1174
|
-
s//\1/
|
1175
|
-
q
|
1176
|
-
}
|
1177
|
-
/^X\(\/\).*/{
|
1178
|
-
s//\1/
|
1179
|
-
q
|
1180
|
-
}
|
1181
|
-
s/.*/./; q'`
|
1182
|
-
else
|
1183
|
-
continue
|
1184
|
-
fi
|
1185
|
-
# Extract the definition of DEPDIR, am__include, and am__quote
|
1186
|
-
# from the Makefile without running `make'.
|
1187
|
-
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
1188
|
-
test -z "$DEPDIR" && continue
|
1189
|
-
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
1190
|
-
test -z "am__include" && continue
|
1191
|
-
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
1192
|
-
# When using ansi2knr, U may be empty or an underscore; expand it
|
1193
|
-
U=`sed -n 's/^U = //p' < "$mf"`
|
1194
|
-
# Find all dependency output files, they are included files with
|
1195
|
-
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
1196
|
-
# simplest approach to changing $(DEPDIR) to its actual value in the
|
1197
|
-
# expansion.
|
1198
|
-
for file in `sed -n "
|
1199
|
-
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
1200
|
-
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
1201
|
-
# Make sure the directory exists.
|
1202
|
-
test -f "$dirpart/$file" && continue
|
1203
|
-
fdir=`$as_dirname -- "$file" ||
|
1204
|
-
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1205
|
-
X"$file" : 'X\(//\)[^/]' \| \
|
1206
|
-
X"$file" : 'X\(//\)$' \| \
|
1207
|
-
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
1208
|
-
$as_echo X"$file" |
|
1209
|
-
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1210
|
-
s//\1/
|
1211
|
-
q
|
1212
|
-
}
|
1213
|
-
/^X\(\/\/\)[^/].*/{
|
1214
|
-
s//\1/
|
1215
|
-
q
|
1216
|
-
}
|
1217
|
-
/^X\(\/\/\)$/{
|
1218
|
-
s//\1/
|
1219
|
-
q
|
1220
|
-
}
|
1221
|
-
/^X\(\/\).*/{
|
1222
|
-
s//\1/
|
1223
|
-
q
|
1224
|
-
}
|
1225
|
-
s/.*/./; q'`
|
1226
|
-
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
1227
|
-
# echo "creating $dirpart/$file"
|
1228
|
-
echo '# dummy' > "$dirpart/$file"
|
1229
|
-
done
|
1230
|
-
done
|
1231
|
-
}
|
1232
|
-
;;
|
1233
|
-
|
1234
|
-
esac
|
1235
|
-
done # for ac_tag
|
1236
|
-
|
1237
|
-
|
1238
|
-
as_fn_exit 0
|