snappy 0.0.17 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. checksums.yaml +5 -5
  2. data/.dockerignore +2 -0
  3. data/.github/workflows/main.yml +34 -0
  4. data/.github/workflows/publish.yml +34 -0
  5. data/.gitignore +2 -1
  6. data/.gitmodules +1 -1
  7. data/Dockerfile +13 -0
  8. data/Gemfile +4 -0
  9. data/README.md +29 -5
  10. data/Rakefile +32 -29
  11. data/ext/api.c +6 -1
  12. data/ext/extconf.rb +23 -16
  13. data/lib/snappy/hadoop/reader.rb +62 -0
  14. data/lib/snappy/hadoop/writer.rb +51 -0
  15. data/lib/snappy/hadoop.rb +22 -0
  16. data/lib/snappy/reader.rb +14 -10
  17. data/lib/snappy/shim.rb +1 -1
  18. data/lib/snappy/version.rb +1 -1
  19. data/lib/snappy.rb +5 -4
  20. data/snappy.gemspec +13 -13
  21. data/test/hadoop/snappy_hadoop_reader_test.rb +115 -0
  22. data/test/hadoop/snappy_hadoop_writer_test.rb +48 -0
  23. data/test/snappy_hadoop_test.rb +26 -0
  24. data/test/snappy_reader_test.rb +148 -0
  25. data/test/snappy_test.rb +95 -0
  26. data/test/snappy_writer_test.rb +55 -0
  27. data/test/test_helper.rb +7 -0
  28. data/test.sh +3 -0
  29. data/vendor/snappy/CMakeLists.txt +297 -0
  30. data/vendor/snappy/CONTRIBUTING.md +26 -0
  31. data/vendor/snappy/NEWS +40 -0
  32. data/vendor/snappy/{README → README.md} +27 -18
  33. data/vendor/snappy/cmake/SnappyConfig.cmake.in +33 -0
  34. data/vendor/snappy/cmake/config.h.in +62 -0
  35. data/vendor/snappy/docs/README.md +72 -0
  36. data/vendor/snappy/snappy-internal.h +22 -18
  37. data/vendor/snappy/snappy-stubs-internal.cc +1 -1
  38. data/vendor/snappy/snappy-stubs-internal.h +116 -38
  39. data/vendor/snappy/snappy-stubs-public.h.in +20 -46
  40. data/vendor/snappy/snappy-test.cc +26 -22
  41. data/vendor/snappy/snappy-test.h +24 -98
  42. data/vendor/snappy/snappy.cc +380 -183
  43. data/vendor/snappy/snappy.h +14 -10
  44. data/vendor/snappy/snappy_compress_fuzzer.cc +59 -0
  45. data/vendor/snappy/snappy_uncompress_fuzzer.cc +57 -0
  46. data/vendor/snappy/snappy_unittest.cc +236 -261
  47. metadata +37 -92
  48. data/.travis.yml +0 -26
  49. data/smoke.sh +0 -8
  50. data/test/test-snappy-reader.rb +0 -129
  51. data/test/test-snappy-writer.rb +0 -55
  52. data/test/test-snappy.rb +0 -58
  53. data/vendor/snappy/ChangeLog +0 -2468
  54. data/vendor/snappy/INSTALL +0 -370
  55. data/vendor/snappy/Makefile +0 -982
  56. data/vendor/snappy/Makefile.am +0 -26
  57. data/vendor/snappy/Makefile.in +0 -982
  58. data/vendor/snappy/aclocal.m4 +0 -9738
  59. data/vendor/snappy/autogen.sh +0 -12
  60. data/vendor/snappy/autom4te.cache/output.0 +0 -18856
  61. data/vendor/snappy/autom4te.cache/output.1 +0 -18852
  62. data/vendor/snappy/autom4te.cache/requests +0 -297
  63. data/vendor/snappy/autom4te.cache/traces.0 +0 -2689
  64. data/vendor/snappy/autom4te.cache/traces.1 +0 -714
  65. data/vendor/snappy/config.guess +0 -1530
  66. data/vendor/snappy/config.h +0 -135
  67. data/vendor/snappy/config.h.in +0 -134
  68. data/vendor/snappy/config.log +0 -1640
  69. data/vendor/snappy/config.status +0 -2318
  70. data/vendor/snappy/config.sub +0 -1773
  71. data/vendor/snappy/configure +0 -18852
  72. data/vendor/snappy/configure.ac +0 -134
  73. data/vendor/snappy/depcomp +0 -688
  74. data/vendor/snappy/install-sh +0 -527
  75. data/vendor/snappy/libtool +0 -10246
  76. data/vendor/snappy/ltmain.sh +0 -9661
  77. data/vendor/snappy/m4/gtest.m4 +0 -74
  78. data/vendor/snappy/m4/libtool.m4 +0 -8001
  79. data/vendor/snappy/m4/ltoptions.m4 +0 -384
  80. data/vendor/snappy/m4/ltsugar.m4 +0 -123
  81. data/vendor/snappy/m4/ltversion.m4 +0 -23
  82. data/vendor/snappy/m4/lt~obsolete.m4 +0 -98
  83. data/vendor/snappy/missing +0 -331
  84. data/vendor/snappy/snappy-stubs-public.h +0 -100
  85. data/vendor/snappy/snappy.pc +0 -10
  86. data/vendor/snappy/snappy.pc.in +0 -10
  87. data/vendor/snappy/stamp-h1 +0 -1
@@ -1,2318 +0,0 @@
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 -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 snappy $as_me 1.1.4, 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 snappy-stubs-public.h snappy.pc"
409
- config_headers=" config.h"
410
- config_commands=" depfiles libtool"
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 the package provider."
441
-
442
- ac_cs_config="'--disable-option-checking' '--disable-dependency-tracking' '--disable-gtest' '--without-gflags'"
443
- ac_cs_version="\
444
- snappy config.status 1.1.4
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='/home/travis/build/miyucy/snappy/vendor/snappy'
453
- srcdir='.'
454
- INSTALL='/usr/bin/install -c'
455
- MKDIR_P='/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/bash' './configure' '--disable-option-checking' '--disable-dependency-tracking' '--disable-gtest' '--without-gflags' $ac_configure_extra_args --no-create --no-recursion
535
- shift
536
- $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
537
- CONFIG_SHELL='/bin/bash'
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
- # The HP-UX ksh and POSIX shell print the target directory to stdout
558
- # if CDPATH is set.
559
- (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
560
-
561
- sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
562
- double_quote_subst='s/\(["`\\]\)/\\\1/g'
563
- delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
564
- macro_version='2.4.2'
565
- macro_revision='1.3337'
566
- enable_shared='yes'
567
- enable_static='yes'
568
- pic_mode='default'
569
- enable_fast_install='yes'
570
- SHELL='/bin/bash'
571
- ECHO='printf %s\n'
572
- PATH_SEPARATOR=':'
573
- host_alias=''
574
- host='x86_64-unknown-linux-gnu'
575
- host_os='linux-gnu'
576
- build_alias=''
577
- build='x86_64-unknown-linux-gnu'
578
- build_os='linux-gnu'
579
- SED='/bin/sed'
580
- Xsed='/bin/sed -e 1s/^X//'
581
- GREP='/bin/grep'
582
- EGREP='/bin/grep -E'
583
- FGREP='/bin/grep -F'
584
- LD='/usr/bin/ld -m elf_x86_64'
585
- NM='/usr/bin/nm -B'
586
- LN_S='ln -s'
587
- max_cmd_len='1572864'
588
- ac_objext='o'
589
- exeext=''
590
- lt_unset='unset'
591
- lt_SP2NL='tr \040 \012'
592
- lt_NL2SP='tr \015\012 \040\040'
593
- lt_cv_to_host_file_cmd='func_convert_file_noop'
594
- lt_cv_to_tool_file_cmd='func_convert_file_noop'
595
- reload_flag=' -r'
596
- reload_cmds='$LD$reload_flag -o $output$reload_objs'
597
- OBJDUMP='objdump'
598
- deplibs_check_method='pass_all'
599
- file_magic_cmd='$MAGIC_CMD'
600
- file_magic_glob=''
601
- want_nocaseglob='no'
602
- DLLTOOL='false'
603
- sharedlib_from_linklib_cmd='printf %s\n'
604
- AR='ar'
605
- AR_FLAGS='cru'
606
- archiver_list_spec='@'
607
- STRIP='strip'
608
- RANLIB='ranlib'
609
- old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
610
- old_postuninstall_cmds=''
611
- old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
612
- lock_old_archive_extraction='no'
613
- CC='gcc'
614
- CFLAGS='-g -O2'
615
- compiler='g++'
616
- GCC='yes'
617
- lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
618
- lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
619
- lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
620
- lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
621
- nm_file_list_spec='@'
622
- lt_sysroot=''
623
- objdir='.libs'
624
- MAGIC_CMD='file'
625
- lt_prog_compiler_no_builtin_flag=' -fno-builtin'
626
- lt_prog_compiler_pic=' -fPIC -DPIC'
627
- lt_prog_compiler_wl='-Wl,'
628
- lt_prog_compiler_static='-static'
629
- lt_cv_prog_compiler_c_o='yes'
630
- need_locks='no'
631
- MANIFEST_TOOL=':'
632
- DSYMUTIL=''
633
- NMEDIT=''
634
- LIPO=''
635
- OTOOL=''
636
- OTOOL64=''
637
- libext='a'
638
- shrext_cmds='.so'
639
- extract_expsyms_cmds=''
640
- archive_cmds_need_lc='no'
641
- enable_shared_with_static_runtimes='no'
642
- export_dynamic_flag_spec='${wl}--export-dynamic'
643
- whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
644
- compiler_needs_object='no'
645
- old_archive_from_new_cmds=''
646
- old_archive_from_expsyms_cmds=''
647
- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
648
- archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
649
- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
650
- echo "local: *; };" >> $output_objdir/$libname.ver~
651
- $CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
652
- module_cmds=''
653
- module_expsym_cmds=''
654
- with_gnu_ld='yes'
655
- allow_undefined_flag=''
656
- no_undefined_flag=''
657
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
658
- hardcode_libdir_separator=''
659
- hardcode_direct='no'
660
- hardcode_direct_absolute='no'
661
- hardcode_minus_L='no'
662
- hardcode_shlibpath_var='unsupported'
663
- hardcode_automatic='no'
664
- inherit_rpath='no'
665
- link_all_deplibs='no'
666
- always_export_symbols='no'
667
- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
668
- exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
669
- include_expsyms=''
670
- prelink_cmds=''
671
- postlink_cmds=''
672
- file_list_spec=''
673
- variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
674
- need_lib_prefix='no'
675
- need_version='no'
676
- version_type='linux'
677
- runpath_var='LD_RUN_PATH'
678
- shlibpath_var='LD_LIBRARY_PATH'
679
- shlibpath_overrides_runpath='no'
680
- libname_spec='lib$name'
681
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
682
- soname_spec='${libname}${release}${shared_ext}$major'
683
- install_override_mode=''
684
- postinstall_cmds=''
685
- postuninstall_cmds=''
686
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
687
- finish_eval=''
688
- hardcode_into_libs='yes'
689
- sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/4.6 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib '
690
- sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/mesa '
691
- hardcode_action='immediate'
692
- enable_dlopen='unknown'
693
- enable_dlopen_self='unknown'
694
- enable_dlopen_self_static='unknown'
695
- old_striplib='strip --strip-debug'
696
- striplib='strip --strip-unneeded'
697
- compiler_lib_search_dirs=''
698
- predep_objects=''
699
- postdep_objects=''
700
- predeps=''
701
- postdeps=''
702
- compiler_lib_search_path=''
703
- LD_CXX='/usr/bin/ld -m elf_x86_64'
704
- reload_flag_CXX=' -r'
705
- reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs'
706
- old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
707
- compiler_CXX='g++'
708
- GCC_CXX='yes'
709
- lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
710
- lt_prog_compiler_pic_CXX=' -fPIC -DPIC'
711
- lt_prog_compiler_wl_CXX='-Wl,'
712
- lt_prog_compiler_static_CXX='-static'
713
- lt_cv_prog_compiler_c_o_CXX='yes'
714
- archive_cmds_need_lc_CXX='no'
715
- enable_shared_with_static_runtimes_CXX='no'
716
- export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
717
- whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
718
- compiler_needs_object_CXX='no'
719
- old_archive_from_new_cmds_CXX=''
720
- old_archive_from_expsyms_cmds_CXX=''
721
- archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
722
- archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
723
- module_cmds_CXX=''
724
- module_expsym_cmds_CXX=''
725
- with_gnu_ld_CXX='yes'
726
- allow_undefined_flag_CXX=''
727
- no_undefined_flag_CXX=''
728
- hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
729
- hardcode_libdir_separator_CXX=''
730
- hardcode_direct_CXX='no'
731
- hardcode_direct_absolute_CXX='no'
732
- hardcode_minus_L_CXX='no'
733
- hardcode_shlibpath_var_CXX='unsupported'
734
- hardcode_automatic_CXX='no'
735
- inherit_rpath_CXX='no'
736
- link_all_deplibs_CXX='no'
737
- always_export_symbols_CXX='no'
738
- export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
739
- exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
740
- include_expsyms_CXX=''
741
- prelink_cmds_CXX=''
742
- postlink_cmds_CXX=''
743
- file_list_spec_CXX=''
744
- hardcode_action_CXX='immediate'
745
- compiler_lib_search_dirs_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.6 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.6/../../..'
746
- predep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o'
747
- postdep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o'
748
- predeps_CXX=''
749
- postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s'
750
- compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../..'
751
-
752
- LTCC='gcc'
753
- LTCFLAGS='-g -O2'
754
- compiler='gcc'
755
-
756
- # A function that is used when there is no print builtin or printf.
757
- func_fallback_echo ()
758
- {
759
- eval 'cat <<_LTECHO_EOF
760
- $1
761
- _LTECHO_EOF'
762
- }
763
-
764
- # Quote evaled strings.
765
- for var in SHELL ECHO PATH_SEPARATOR SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob DLLTOOL sharedlib_from_linklib_cmd AR AR_FLAGS archiver_list_spec STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix nm_file_list_spec lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_separator exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX reload_flag_CXX compiler_CXX lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_pic_CXX lt_prog_compiler_wl_CXX lt_prog_compiler_static_CXX lt_cv_prog_compiler_c_o_CXX export_dynamic_flag_spec_CXX whole_archive_flag_spec_CXX compiler_needs_object_CXX with_gnu_ld_CXX allow_undefined_flag_CXX no_undefined_flag_CXX hardcode_libdir_flag_spec_CXX hardcode_libdir_separator_CXX exclude_expsyms_CXX include_expsyms_CXX file_list_spec_CXX compiler_lib_search_dirs_CXX predep_objects_CXX postdep_objects_CXX predeps_CXX postdeps_CXX compiler_lib_search_path_CXX; do
766
- case `eval \\$ECHO \\""\\$$var"\\"` in
767
- *[\\\`\"\$]*)
768
- eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
769
- ;;
770
- *)
771
- eval "lt_$var=\\\"\$$var\\\""
772
- ;;
773
- esac
774
- done
775
-
776
- # Double-quote double-evaled strings.
777
- for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec reload_cmds_CXX old_archive_cmds_CXX old_archive_from_new_cmds_CXX old_archive_from_expsyms_cmds_CXX archive_cmds_CXX archive_expsym_cmds_CXX module_cmds_CXX module_expsym_cmds_CXX export_symbols_cmds_CXX prelink_cmds_CXX postlink_cmds_CXX; do
778
- case `eval \\$ECHO \\""\\$$var"\\"` in
779
- *[\\\`\"\$]*)
780
- eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
781
- ;;
782
- *)
783
- eval "lt_$var=\\\"\$$var\\\""
784
- ;;
785
- esac
786
- done
787
-
788
- ac_aux_dir='.'
789
- xsi_shell='yes'
790
- lt_shell_append='yes'
791
-
792
- # See if we are running on zsh, and set the options which allow our
793
- # commands through without removal of \ escapes INIT.
794
- if test -n "${ZSH_VERSION+set}" ; then
795
- setopt NO_GLOB_SUBST
796
- fi
797
-
798
-
799
- PACKAGE='snappy'
800
- VERSION='1.1.4'
801
- TIMESTAMP=''
802
- RM='rm -f'
803
- ofile='libtool'
804
-
805
-
806
-
807
-
808
-
809
-
810
-
811
- # Handling of arguments.
812
- for ac_config_target in $ac_config_targets
813
- do
814
- case $ac_config_target in
815
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
816
- "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
817
- "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
818
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
819
- "snappy-stubs-public.h") CONFIG_FILES="$CONFIG_FILES snappy-stubs-public.h" ;;
820
- "snappy.pc") CONFIG_FILES="$CONFIG_FILES snappy.pc" ;;
821
-
822
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
823
- esac
824
- done
825
-
826
-
827
- # If the user did not use the arguments to specify the items to instantiate,
828
- # then the envvar interface is used. Set only those that are not.
829
- # We use the long form for the default assignment because of an extremely
830
- # bizarre bug on SunOS 4.1.3.
831
- if $ac_need_defaults; then
832
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
833
- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
834
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
835
- fi
836
-
837
- # Have a temporary directory for convenience. Make it in the build tree
838
- # simply because there is no reason against having it here, and in addition,
839
- # creating and moving files from /tmp can sometimes cause problems.
840
- # Hook for its removal unless debugging.
841
- # Note that there is a small window in which the directory will not be cleaned:
842
- # after its creation but before its name has been assigned to `$tmp'.
843
- $debug ||
844
- {
845
- tmp= ac_tmp=
846
- trap 'exit_status=$?
847
- : "${ac_tmp:=$tmp}"
848
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
849
- ' 0
850
- trap 'as_fn_exit 1' 1 2 13 15
851
- }
852
- # Create a (secure) tmp directory for tmp files.
853
-
854
- {
855
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
856
- test -d "$tmp"
857
- } ||
858
- {
859
- tmp=./conf$$-$RANDOM
860
- (umask 077 && mkdir "$tmp")
861
- } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
862
- ac_tmp=$tmp
863
-
864
- # Set up the scripts for CONFIG_FILES section.
865
- # No need to generate them if there are no CONFIG_FILES.
866
- # This happens for instance with `./config.status config.h'.
867
- if test -n "$CONFIG_FILES"; then
868
-
869
-
870
- ac_cr=`echo X | tr X '\015'`
871
- # On cygwin, bash can eat \r inside `` if the user requested igncr.
872
- # But we know of no other shell where ac_cr would be empty at this
873
- # point, so we can use a bashism as a fallback.
874
- if test "x$ac_cr" = x; then
875
- eval ac_cr=\$\'\\r\'
876
- fi
877
- ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
878
- if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
879
- ac_cs_awk_cr='\\r'
880
- else
881
- ac_cs_awk_cr=$ac_cr
882
- fi
883
-
884
- echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
885
- cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
886
- S["am__EXEEXT_FALSE"]=""
887
- S["am__EXEEXT_TRUE"]="#"
888
- S["LTLIBOBJS"]=""
889
- S["LIBOBJS"]=""
890
- S["SNAPPY_LTVERSION"]="4:1:3"
891
- S["SNAPPY_PATCHLEVEL"]="4"
892
- S["SNAPPY_MINOR"]="1"
893
- S["SNAPPY_MAJOR"]="1"
894
- S["ac_cv_have_sys_uio_h"]="0"
895
- S["ac_cv_have_stddef_h"]="1"
896
- S["ac_cv_have_stdint_h"]="1"
897
- S["UNITTEST_LIBS"]="-lz "
898
- S["gflags_LIBS"]=""
899
- S["gflags_CFLAGS"]=""
900
- S["PKG_CONFIG_LIBDIR"]=""
901
- S["PKG_CONFIG_PATH"]=""
902
- S["PKG_CONFIG"]=""
903
- S["HAVE_GTEST_FALSE"]=""
904
- S["HAVE_GTEST_TRUE"]="#"
905
- S["HAVE_GTEST"]="no"
906
- S["GTEST_VERSION"]=""
907
- S["GTEST_LIBS"]=""
908
- S["GTEST_LDFLAGS"]=""
909
- S["GTEST_CXXFLAGS"]=""
910
- S["GTEST_CPPFLAGS"]=""
911
- S["GTEST_CONFIG"]=""
912
- S["CXXCPP"]="g++ -E"
913
- S["am__fastdepCXX_FALSE"]=""
914
- S["am__fastdepCXX_TRUE"]="#"
915
- S["CXXDEPMODE"]="depmode=none"
916
- S["ac_ct_CXX"]="g++"
917
- S["CXXFLAGS"]="-g -O2"
918
- S["CXX"]="g++"
919
- S["LIBTOOL_DEPS"]="./ltmain.sh"
920
- S["CPP"]="gcc -E"
921
- S["OTOOL64"]=""
922
- S["OTOOL"]=""
923
- S["LIPO"]=""
924
- S["NMEDIT"]=""
925
- S["DSYMUTIL"]=""
926
- S["MANIFEST_TOOL"]=":"
927
- S["RANLIB"]="ranlib"
928
- S["ac_ct_AR"]="ar"
929
- S["AR"]="ar"
930
- S["DLLTOOL"]="false"
931
- S["OBJDUMP"]="objdump"
932
- S["LN_S"]="ln -s"
933
- S["NM"]="/usr/bin/nm -B"
934
- S["ac_ct_DUMPBIN"]=""
935
- S["DUMPBIN"]=""
936
- S["LD"]="/usr/bin/ld -m elf_x86_64"
937
- S["FGREP"]="/bin/grep -F"
938
- S["EGREP"]="/bin/grep -E"
939
- S["GREP"]="/bin/grep"
940
- S["SED"]="/bin/sed"
941
- S["am__fastdepCC_FALSE"]=""
942
- S["am__fastdepCC_TRUE"]="#"
943
- S["CCDEPMODE"]="depmode=none"
944
- S["am__nodep"]=""
945
- S["AMDEPBACKSLASH"]=""
946
- S["AMDEP_FALSE"]=""
947
- S["AMDEP_TRUE"]="#"
948
- S["am__quote"]=""
949
- S["am__include"]="include"
950
- S["DEPDIR"]=".deps"
951
- S["OBJEXT"]="o"
952
- S["EXEEXT"]=""
953
- S["ac_ct_CC"]="gcc"
954
- S["CPPFLAGS"]=""
955
- S["LDFLAGS"]=""
956
- S["CFLAGS"]="-g -O2"
957
- S["CC"]="gcc"
958
- S["host_os"]="linux-gnu"
959
- S["host_vendor"]="unknown"
960
- S["host_cpu"]="x86_64"
961
- S["host"]="x86_64-unknown-linux-gnu"
962
- S["build_os"]="linux-gnu"
963
- S["build_vendor"]="unknown"
964
- S["build_cpu"]="x86_64"
965
- S["build"]="x86_64-unknown-linux-gnu"
966
- S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
967
- S["am__untar"]="$${TAR-tar} xf -"
968
- S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
969
- S["AMTAR"]="$${TAR-tar}"
970
- S["am__leading_dot"]="."
971
- S["SET_MAKE"]=""
972
- S["AWK"]="gawk"
973
- S["mkdir_p"]="/bin/mkdir -p"
974
- S["MKDIR_P"]="/bin/mkdir -p"
975
- S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
976
- S["STRIP"]="strip"
977
- S["install_sh"]="${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/install-sh"
978
- S["MAKEINFO"]="${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/missing --run makeinfo"
979
- S["AUTOHEADER"]="${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/missing --run autoheader"
980
- S["AUTOMAKE"]="${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/missing --run automake-1.11"
981
- S["AUTOCONF"]="${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/missing --run autoconf"
982
- S["ACLOCAL"]="${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/missing --run aclocal-1.11"
983
- S["VERSION"]="1.1.4"
984
- S["PACKAGE"]="snappy"
985
- S["CYGPATH_W"]="echo"
986
- S["am__isrc"]=""
987
- S["INSTALL_DATA"]="${INSTALL} -m 644"
988
- S["INSTALL_SCRIPT"]="${INSTALL}"
989
- S["INSTALL_PROGRAM"]="${INSTALL}"
990
- S["target_alias"]=""
991
- S["host_alias"]=""
992
- S["build_alias"]=""
993
- S["LIBS"]=""
994
- S["ECHO_T"]=""
995
- S["ECHO_N"]="-n"
996
- S["ECHO_C"]=""
997
- S["DEFS"]="-DHAVE_CONFIG_H"
998
- S["mandir"]="${datarootdir}/man"
999
- S["localedir"]="${datarootdir}/locale"
1000
- S["libdir"]="${exec_prefix}/lib"
1001
- S["psdir"]="${docdir}"
1002
- S["pdfdir"]="${docdir}"
1003
- S["dvidir"]="${docdir}"
1004
- S["htmldir"]="${docdir}"
1005
- S["infodir"]="${datarootdir}/info"
1006
- S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
1007
- S["oldincludedir"]="/usr/include"
1008
- S["includedir"]="${prefix}/include"
1009
- S["localstatedir"]="${prefix}/var"
1010
- S["sharedstatedir"]="${prefix}/com"
1011
- S["sysconfdir"]="${prefix}/etc"
1012
- S["datadir"]="${datarootdir}"
1013
- S["datarootdir"]="${prefix}/share"
1014
- S["libexecdir"]="${exec_prefix}/libexec"
1015
- S["sbindir"]="${exec_prefix}/sbin"
1016
- S["bindir"]="${exec_prefix}/bin"
1017
- S["program_transform_name"]="s,x,x,"
1018
- S["prefix"]="/usr/local"
1019
- S["exec_prefix"]="${prefix}"
1020
- S["PACKAGE_URL"]=""
1021
- S["PACKAGE_BUGREPORT"]=""
1022
- S["PACKAGE_STRING"]="snappy 1.1.4"
1023
- S["PACKAGE_VERSION"]="1.1.4"
1024
- S["PACKAGE_TARNAME"]="snappy"
1025
- S["PACKAGE_NAME"]="snappy"
1026
- S["PATH_SEPARATOR"]=":"
1027
- S["SHELL"]="/bin/bash"
1028
- _ACAWK
1029
- cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
1030
- for (key in S) S_is_set[key] = 1
1031
- FS = ""
1032
-
1033
- }
1034
- {
1035
- line = $ 0
1036
- nfields = split(line, field, "@")
1037
- substed = 0
1038
- len = length(field[1])
1039
- for (i = 2; i < nfields; i++) {
1040
- key = field[i]
1041
- keylen = length(key)
1042
- if (S_is_set[key]) {
1043
- value = S[key]
1044
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
1045
- len += length(value) + length(field[++i])
1046
- substed = 1
1047
- } else
1048
- len += 1 + keylen
1049
- }
1050
-
1051
- print line
1052
- }
1053
-
1054
- _ACAWK
1055
- if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
1056
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
1057
- else
1058
- cat
1059
- fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1060
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1061
- fi # test -n "$CONFIG_FILES"
1062
-
1063
- # Set up the scripts for CONFIG_HEADERS section.
1064
- # No need to generate them if there are no CONFIG_HEADERS.
1065
- # This happens for instance with `./config.status Makefile'.
1066
- if test -n "$CONFIG_HEADERS"; then
1067
- cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1068
- BEGIN {
1069
- D["PACKAGE_NAME"]=" \"snappy\""
1070
- D["PACKAGE_TARNAME"]=" \"snappy\""
1071
- D["PACKAGE_VERSION"]=" \"1.1.4\""
1072
- D["PACKAGE_STRING"]=" \"snappy 1.1.4\""
1073
- D["PACKAGE_BUGREPORT"]=" \"\""
1074
- D["PACKAGE_URL"]=" \"\""
1075
- D["PACKAGE"]=" \"snappy\""
1076
- D["VERSION"]=" \"1.1.4\""
1077
- D["STDC_HEADERS"]=" 1"
1078
- D["HAVE_SYS_TYPES_H"]=" 1"
1079
- D["HAVE_SYS_STAT_H"]=" 1"
1080
- D["HAVE_STDLIB_H"]=" 1"
1081
- D["HAVE_STRING_H"]=" 1"
1082
- D["HAVE_MEMORY_H"]=" 1"
1083
- D["HAVE_STRINGS_H"]=" 1"
1084
- D["HAVE_INTTYPES_H"]=" 1"
1085
- D["HAVE_STDINT_H"]=" 1"
1086
- D["HAVE_UNISTD_H"]=" 1"
1087
- D["HAVE_DLFCN_H"]=" 1"
1088
- D["LT_OBJDIR"]=" \".libs/\""
1089
- D["HAVE_STDINT_H"]=" 1"
1090
- D["HAVE_STDDEF_H"]=" 1"
1091
- D["HAVE_SYS_MMAN_H"]=" 1"
1092
- D["HAVE_SYS_RESOURCE_H"]=" 1"
1093
- D["HAVE_BYTESWAP_H"]=" 1"
1094
- D["HAVE_SYS_TIME_H"]=" 1"
1095
- D["HAVE_BUILTIN_EXPECT"]=" 1"
1096
- D["HAVE_BUILTIN_CTZ"]=" 1"
1097
- D["HAVE_LIBZ"]=" 1"
1098
- for (key in D) D_is_set[key] = 1
1099
- FS = ""
1100
- }
1101
- /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
1102
- line = $ 0
1103
- split(line, arg, " ")
1104
- if (arg[1] == "#") {
1105
- defundef = arg[2]
1106
- mac1 = arg[3]
1107
- } else {
1108
- defundef = substr(arg[1], 2)
1109
- mac1 = arg[2]
1110
- }
1111
- split(mac1, mac2, "(") #)
1112
- macro = mac2[1]
1113
- prefix = substr(line, 1, index(line, defundef) - 1)
1114
- if (D_is_set[macro]) {
1115
- # Preserve the white space surrounding the "#".
1116
- print prefix "define", macro P[macro] D[macro]
1117
- next
1118
- } else {
1119
- # Replace #undef with comments. This is necessary, for example,
1120
- # in the case of _POSIX_SOURCE, which is predefined and required
1121
- # on some systems where configure will not decide to define it.
1122
- if (defundef == "undef") {
1123
- print "/*", prefix defundef, macro, "*/"
1124
- next
1125
- }
1126
- }
1127
- }
1128
- { print }
1129
- _ACAWK
1130
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1131
- fi # test -n "$CONFIG_HEADERS"
1132
-
1133
-
1134
- eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
1135
- shift
1136
- for ac_tag
1137
- do
1138
- case $ac_tag in
1139
- :[FHLC]) ac_mode=$ac_tag; continue;;
1140
- esac
1141
- case $ac_mode$ac_tag in
1142
- :[FHL]*:*);;
1143
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1144
- :[FH]-) ac_tag=-:-;;
1145
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1146
- esac
1147
- ac_save_IFS=$IFS
1148
- IFS=:
1149
- set x $ac_tag
1150
- IFS=$ac_save_IFS
1151
- shift
1152
- ac_file=$1
1153
- shift
1154
-
1155
- case $ac_mode in
1156
- :L) ac_source=$1;;
1157
- :[FH])
1158
- ac_file_inputs=
1159
- for ac_f
1160
- do
1161
- case $ac_f in
1162
- -) ac_f="$ac_tmp/stdin";;
1163
- *) # Look for the file first in the build tree, then in the source tree
1164
- # (if the path is not absolute). The absolute path cannot be DOS-style,
1165
- # because $ac_f cannot contain `:'.
1166
- test -f "$ac_f" ||
1167
- case $ac_f in
1168
- [\\/$]*) false;;
1169
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1170
- esac ||
1171
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1172
- esac
1173
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1174
- as_fn_append ac_file_inputs " '$ac_f'"
1175
- done
1176
-
1177
- # Let's still pretend it is `configure' which instantiates (i.e., don't
1178
- # use $as_me), people would be surprised to read:
1179
- # /* config.h. Generated by config.status. */
1180
- configure_input='Generated from '`
1181
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1182
- `' by configure.'
1183
- if test x"$ac_file" != x-; then
1184
- configure_input="$ac_file. $configure_input"
1185
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1186
- $as_echo "$as_me: creating $ac_file" >&6;}
1187
- fi
1188
- # Neutralize special characters interpreted by sed in replacement strings.
1189
- case $configure_input in #(
1190
- *\&* | *\|* | *\\* )
1191
- ac_sed_conf_input=`$as_echo "$configure_input" |
1192
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
1193
- *) ac_sed_conf_input=$configure_input;;
1194
- esac
1195
-
1196
- case $ac_tag in
1197
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
1198
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1199
- esac
1200
- ;;
1201
- esac
1202
-
1203
- ac_dir=`$as_dirname -- "$ac_file" ||
1204
- $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1205
- X"$ac_file" : 'X\(//\)[^/]' \| \
1206
- X"$ac_file" : 'X\(//\)$' \| \
1207
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1208
- $as_echo X"$ac_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="$ac_dir"; as_fn_mkdir_p
1227
- ac_builddir=.
1228
-
1229
- case "$ac_dir" in
1230
- .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1231
- *)
1232
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1233
- # A ".." for each directory in $ac_dir_suffix.
1234
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1235
- case $ac_top_builddir_sub in
1236
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1237
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1238
- esac ;;
1239
- esac
1240
- ac_abs_top_builddir=$ac_pwd
1241
- ac_abs_builddir=$ac_pwd$ac_dir_suffix
1242
- # for backward compatibility:
1243
- ac_top_builddir=$ac_top_build_prefix
1244
-
1245
- case $srcdir in
1246
- .) # We are building in place.
1247
- ac_srcdir=.
1248
- ac_top_srcdir=$ac_top_builddir_sub
1249
- ac_abs_top_srcdir=$ac_pwd ;;
1250
- [\\/]* | ?:[\\/]* ) # Absolute name.
1251
- ac_srcdir=$srcdir$ac_dir_suffix;
1252
- ac_top_srcdir=$srcdir
1253
- ac_abs_top_srcdir=$srcdir ;;
1254
- *) # Relative name.
1255
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1256
- ac_top_srcdir=$ac_top_build_prefix$srcdir
1257
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1258
- esac
1259
- ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1260
-
1261
-
1262
- case $ac_mode in
1263
- :F)
1264
- #
1265
- # CONFIG_FILE
1266
- #
1267
-
1268
- case $INSTALL in
1269
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1270
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1271
- esac
1272
- ac_MKDIR_P=$MKDIR_P
1273
- case $MKDIR_P in
1274
- [\\/$]* | ?:[\\/]* ) ;;
1275
- */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1276
- esac
1277
- # If the template does not know about datarootdir, expand it.
1278
- # FIXME: This hack should be removed a few years after 2.60.
1279
- ac_datarootdir_hack=; ac_datarootdir_seen=
1280
- ac_sed_dataroot='
1281
- /datarootdir/ {
1282
- p
1283
- q
1284
- }
1285
- /@datadir@/p
1286
- /@docdir@/p
1287
- /@infodir@/p
1288
- /@localedir@/p
1289
- /@mandir@/p'
1290
- case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1291
- *datarootdir*) ac_datarootdir_seen=yes;;
1292
- *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1293
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1294
- $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1295
- ac_datarootdir_hack='
1296
- s&@datadir@&${datarootdir}&g
1297
- s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1298
- s&@infodir@&${datarootdir}/info&g
1299
- s&@localedir@&${datarootdir}/locale&g
1300
- s&@mandir@&${datarootdir}/man&g
1301
- s&\${datarootdir}&${prefix}/share&g' ;;
1302
- esac
1303
- ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
1304
- h
1305
- s///
1306
- s/^/:/
1307
- s/[ ]*$/:/
1308
- s/:\$(srcdir):/:/g
1309
- s/:\${srcdir}:/:/g
1310
- s/:@srcdir@:/:/g
1311
- s/^:*//
1312
- s/:*$//
1313
- x
1314
- s/\(=[ ]*\).*/\1/
1315
- G
1316
- s/\n//
1317
- s/^[^=]*=[ ]*$//
1318
- }
1319
-
1320
- :t
1321
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1322
- s|@configure_input@|$ac_sed_conf_input|;t t
1323
- s&@top_builddir@&$ac_top_builddir_sub&;t t
1324
- s&@top_build_prefix@&$ac_top_build_prefix&;t t
1325
- s&@srcdir@&$ac_srcdir&;t t
1326
- s&@abs_srcdir@&$ac_abs_srcdir&;t t
1327
- s&@top_srcdir@&$ac_top_srcdir&;t t
1328
- s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1329
- s&@builddir@&$ac_builddir&;t t
1330
- s&@abs_builddir@&$ac_abs_builddir&;t t
1331
- s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1332
- s&@INSTALL@&$ac_INSTALL&;t t
1333
- s&@MKDIR_P@&$ac_MKDIR_P&;t t
1334
- $ac_datarootdir_hack
1335
- "
1336
- eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1337
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1338
-
1339
- test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1340
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1341
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1342
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
1343
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1344
- which seems to be undefined. Please make sure it is defined" >&5
1345
- $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1346
- which seems to be undefined. Please make sure it is defined" >&2;}
1347
-
1348
- rm -f "$ac_tmp/stdin"
1349
- case $ac_file in
1350
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1351
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1352
- esac \
1353
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1354
- ;;
1355
- :H)
1356
- #
1357
- # CONFIG_HEADER
1358
- #
1359
- if test x"$ac_file" != x-; then
1360
- {
1361
- $as_echo "/* $configure_input */" \
1362
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1363
- } >"$ac_tmp/config.h" \
1364
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1365
- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1366
- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1367
- $as_echo "$as_me: $ac_file is unchanged" >&6;}
1368
- else
1369
- rm -f "$ac_file"
1370
- mv "$ac_tmp/config.h" "$ac_file" \
1371
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1372
- fi
1373
- else
1374
- $as_echo "/* $configure_input */" \
1375
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1376
- || as_fn_error $? "could not create -" "$LINENO" 5
1377
- fi
1378
- # Compute "$ac_file"'s index in $config_headers.
1379
- _am_arg="$ac_file"
1380
- _am_stamp_count=1
1381
- for _am_header in $config_headers :; do
1382
- case $_am_header in
1383
- $_am_arg | $_am_arg:* )
1384
- break ;;
1385
- * )
1386
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1387
- esac
1388
- done
1389
- echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
1390
- $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391
- X"$_am_arg" : 'X\(//\)[^/]' \| \
1392
- X"$_am_arg" : 'X\(//\)$' \| \
1393
- X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1394
- $as_echo X"$_am_arg" |
1395
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396
- s//\1/
1397
- q
1398
- }
1399
- /^X\(\/\/\)[^/].*/{
1400
- s//\1/
1401
- q
1402
- }
1403
- /^X\(\/\/\)$/{
1404
- s//\1/
1405
- q
1406
- }
1407
- /^X\(\/\).*/{
1408
- s//\1/
1409
- q
1410
- }
1411
- s/.*/./; q'`/stamp-h$_am_stamp_count
1412
- ;;
1413
-
1414
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1415
- $as_echo "$as_me: executing $ac_file commands" >&6;}
1416
- ;;
1417
- esac
1418
-
1419
-
1420
- case $ac_file$ac_mode in
1421
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1422
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
1423
- # are listed without --file. Let's play safe and only enable the eval
1424
- # if we detect the quoting.
1425
- case $CONFIG_FILES in
1426
- *\'*) eval set x "$CONFIG_FILES" ;;
1427
- *) set x $CONFIG_FILES ;;
1428
- esac
1429
- shift
1430
- for mf
1431
- do
1432
- # Strip MF so we end up with the name of the file.
1433
- mf=`echo "$mf" | sed -e 's/:.*$//'`
1434
- # Check whether this is an Automake generated Makefile or not.
1435
- # We used to match only the files named `Makefile.in', but
1436
- # some people rename them; so instead we look at the file content.
1437
- # Grep'ing the first line is not enough: some people post-process
1438
- # each Makefile.in and add a new line on top of each file to say so.
1439
- # Grep'ing the whole file is not good either: AIX grep has a line
1440
- # limit of 2048, but all sed's we know have understand at least 4000.
1441
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1442
- dirpart=`$as_dirname -- "$mf" ||
1443
- $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1444
- X"$mf" : 'X\(//\)[^/]' \| \
1445
- X"$mf" : 'X\(//\)$' \| \
1446
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1447
- $as_echo X"$mf" |
1448
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1449
- s//\1/
1450
- q
1451
- }
1452
- /^X\(\/\/\)[^/].*/{
1453
- s//\1/
1454
- q
1455
- }
1456
- /^X\(\/\/\)$/{
1457
- s//\1/
1458
- q
1459
- }
1460
- /^X\(\/\).*/{
1461
- s//\1/
1462
- q
1463
- }
1464
- s/.*/./; q'`
1465
- else
1466
- continue
1467
- fi
1468
- # Extract the definition of DEPDIR, am__include, and am__quote
1469
- # from the Makefile without running `make'.
1470
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1471
- test -z "$DEPDIR" && continue
1472
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
1473
- test -z "am__include" && continue
1474
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1475
- # When using ansi2knr, U may be empty or an underscore; expand it
1476
- U=`sed -n 's/^U = //p' < "$mf"`
1477
- # Find all dependency output files, they are included files with
1478
- # $(DEPDIR) in their names. We invoke sed twice because it is the
1479
- # simplest approach to changing $(DEPDIR) to its actual value in the
1480
- # expansion.
1481
- for file in `sed -n "
1482
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1483
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1484
- # Make sure the directory exists.
1485
- test -f "$dirpart/$file" && continue
1486
- fdir=`$as_dirname -- "$file" ||
1487
- $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1488
- X"$file" : 'X\(//\)[^/]' \| \
1489
- X"$file" : 'X\(//\)$' \| \
1490
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1491
- $as_echo X"$file" |
1492
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1493
- s//\1/
1494
- q
1495
- }
1496
- /^X\(\/\/\)[^/].*/{
1497
- s//\1/
1498
- q
1499
- }
1500
- /^X\(\/\/\)$/{
1501
- s//\1/
1502
- q
1503
- }
1504
- /^X\(\/\).*/{
1505
- s//\1/
1506
- q
1507
- }
1508
- s/.*/./; q'`
1509
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
1510
- # echo "creating $dirpart/$file"
1511
- echo '# dummy' > "$dirpart/$file"
1512
- done
1513
- done
1514
- }
1515
- ;;
1516
- "libtool":C)
1517
-
1518
- # See if we are running on zsh, and set the options which allow our
1519
- # commands through without removal of \ escapes.
1520
- if test -n "${ZSH_VERSION+set}" ; then
1521
- setopt NO_GLOB_SUBST
1522
- fi
1523
-
1524
- cfgfile="${ofile}T"
1525
- trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1526
- $RM "$cfgfile"
1527
-
1528
- cat <<_LT_EOF >> "$cfgfile"
1529
- #! $SHELL
1530
-
1531
- # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1532
- # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1533
- # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1534
- # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1535
- #
1536
- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1537
- # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
1538
- # Foundation, Inc.
1539
- # Written by Gordon Matzigkeit, 1996
1540
- #
1541
- # This file is part of GNU Libtool.
1542
- #
1543
- # GNU Libtool is free software; you can redistribute it and/or
1544
- # modify it under the terms of the GNU General Public License as
1545
- # published by the Free Software Foundation; either version 2 of
1546
- # the License, or (at your option) any later version.
1547
- #
1548
- # As a special exception to the GNU General Public License,
1549
- # if you distribute this file as part of a program or library that
1550
- # is built using GNU Libtool, you may include this file under the
1551
- # same distribution terms that you use for the rest of that program.
1552
- #
1553
- # GNU Libtool is distributed in the hope that it will be useful,
1554
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
1555
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1556
- # GNU General Public License for more details.
1557
- #
1558
- # You should have received a copy of the GNU General Public License
1559
- # along with GNU Libtool; see the file COPYING. If not, a copy
1560
- # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1561
- # obtained by writing to the Free Software Foundation, Inc.,
1562
- # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1563
-
1564
-
1565
- # The names of the tagged configurations supported by this script.
1566
- available_tags="CXX "
1567
-
1568
- # ### BEGIN LIBTOOL CONFIG
1569
-
1570
- # Which release of libtool.m4 was used?
1571
- macro_version=$macro_version
1572
- macro_revision=$macro_revision
1573
-
1574
- # Whether or not to build shared libraries.
1575
- build_libtool_libs=$enable_shared
1576
-
1577
- # Whether or not to build static libraries.
1578
- build_old_libs=$enable_static
1579
-
1580
- # What type of objects to build.
1581
- pic_mode=$pic_mode
1582
-
1583
- # Whether or not to optimize for fast installation.
1584
- fast_install=$enable_fast_install
1585
-
1586
- # Shell to use when invoking shell scripts.
1587
- SHELL=$lt_SHELL
1588
-
1589
- # An echo program that protects backslashes.
1590
- ECHO=$lt_ECHO
1591
-
1592
- # The PATH separator for the build system.
1593
- PATH_SEPARATOR=$lt_PATH_SEPARATOR
1594
-
1595
- # The host system.
1596
- host_alias=$host_alias
1597
- host=$host
1598
- host_os=$host_os
1599
-
1600
- # The build system.
1601
- build_alias=$build_alias
1602
- build=$build
1603
- build_os=$build_os
1604
-
1605
- # A sed program that does not truncate output.
1606
- SED=$lt_SED
1607
-
1608
- # Sed that helps us avoid accidentally triggering echo(1) options like -n.
1609
- Xsed="\$SED -e 1s/^X//"
1610
-
1611
- # A grep program that handles long lines.
1612
- GREP=$lt_GREP
1613
-
1614
- # An ERE matcher.
1615
- EGREP=$lt_EGREP
1616
-
1617
- # A literal string matcher.
1618
- FGREP=$lt_FGREP
1619
-
1620
- # A BSD- or MS-compatible name lister.
1621
- NM=$lt_NM
1622
-
1623
- # Whether we need soft or hard links.
1624
- LN_S=$lt_LN_S
1625
-
1626
- # What is the maximum length of a command?
1627
- max_cmd_len=$max_cmd_len
1628
-
1629
- # Object file suffix (normally "o").
1630
- objext=$ac_objext
1631
-
1632
- # Executable file suffix (normally "").
1633
- exeext=$exeext
1634
-
1635
- # whether the shell understands "unset".
1636
- lt_unset=$lt_unset
1637
-
1638
- # turn spaces into newlines.
1639
- SP2NL=$lt_lt_SP2NL
1640
-
1641
- # turn newlines into spaces.
1642
- NL2SP=$lt_lt_NL2SP
1643
-
1644
- # convert \$build file names to \$host format.
1645
- to_host_file_cmd=$lt_cv_to_host_file_cmd
1646
-
1647
- # convert \$build files to toolchain format.
1648
- to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1649
-
1650
- # An object symbol dumper.
1651
- OBJDUMP=$lt_OBJDUMP
1652
-
1653
- # Method to check whether dependent libraries are shared objects.
1654
- deplibs_check_method=$lt_deplibs_check_method
1655
-
1656
- # Command to use when deplibs_check_method = "file_magic".
1657
- file_magic_cmd=$lt_file_magic_cmd
1658
-
1659
- # How to find potential files when deplibs_check_method = "file_magic".
1660
- file_magic_glob=$lt_file_magic_glob
1661
-
1662
- # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
1663
- want_nocaseglob=$lt_want_nocaseglob
1664
-
1665
- # DLL creation program.
1666
- DLLTOOL=$lt_DLLTOOL
1667
-
1668
- # Command to associate shared and link libraries.
1669
- sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1670
-
1671
- # The archiver.
1672
- AR=$lt_AR
1673
-
1674
- # Flags to create an archive.
1675
- AR_FLAGS=$lt_AR_FLAGS
1676
-
1677
- # How to feed a file listing to the archiver.
1678
- archiver_list_spec=$lt_archiver_list_spec
1679
-
1680
- # A symbol stripping program.
1681
- STRIP=$lt_STRIP
1682
-
1683
- # Commands used to install an old-style archive.
1684
- RANLIB=$lt_RANLIB
1685
- old_postinstall_cmds=$lt_old_postinstall_cmds
1686
- old_postuninstall_cmds=$lt_old_postuninstall_cmds
1687
-
1688
- # Whether to use a lock for old archive extraction.
1689
- lock_old_archive_extraction=$lock_old_archive_extraction
1690
-
1691
- # A C compiler.
1692
- LTCC=$lt_CC
1693
-
1694
- # LTCC compiler flags.
1695
- LTCFLAGS=$lt_CFLAGS
1696
-
1697
- # Take the output of nm and produce a listing of raw symbols and C names.
1698
- global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1699
-
1700
- # Transform the output of nm in a proper C declaration.
1701
- global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1702
-
1703
- # Transform the output of nm in a C name address pair.
1704
- global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1705
-
1706
- # Transform the output of nm in a C name address pair when lib prefix is needed.
1707
- global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1708
-
1709
- # Specify filename containing input files for \$NM.
1710
- nm_file_list_spec=$lt_nm_file_list_spec
1711
-
1712
- # The root where to search for dependent libraries,and in which our libraries should be installed.
1713
- lt_sysroot=$lt_sysroot
1714
-
1715
- # The name of the directory that contains temporary libtool files.
1716
- objdir=$objdir
1717
-
1718
- # Used to examine libraries when file_magic_cmd begins with "file".
1719
- MAGIC_CMD=$MAGIC_CMD
1720
-
1721
- # Must we lock files when doing compilation?
1722
- need_locks=$lt_need_locks
1723
-
1724
- # Manifest tool.
1725
- MANIFEST_TOOL=$lt_MANIFEST_TOOL
1726
-
1727
- # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1728
- DSYMUTIL=$lt_DSYMUTIL
1729
-
1730
- # Tool to change global to local symbols on Mac OS X.
1731
- NMEDIT=$lt_NMEDIT
1732
-
1733
- # Tool to manipulate fat objects and archives on Mac OS X.
1734
- LIPO=$lt_LIPO
1735
-
1736
- # ldd/readelf like tool for Mach-O binaries on Mac OS X.
1737
- OTOOL=$lt_OTOOL
1738
-
1739
- # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1740
- OTOOL64=$lt_OTOOL64
1741
-
1742
- # Old archive suffix (normally "a").
1743
- libext=$libext
1744
-
1745
- # Shared library suffix (normally ".so").
1746
- shrext_cmds=$lt_shrext_cmds
1747
-
1748
- # The commands to extract the exported symbol list from a shared archive.
1749
- extract_expsyms_cmds=$lt_extract_expsyms_cmds
1750
-
1751
- # Variables whose values should be saved in libtool wrapper scripts and
1752
- # restored at link time.
1753
- variables_saved_for_relink=$lt_variables_saved_for_relink
1754
-
1755
- # Do we need the "lib" prefix for modules?
1756
- need_lib_prefix=$need_lib_prefix
1757
-
1758
- # Do we need a version for libraries?
1759
- need_version=$need_version
1760
-
1761
- # Library versioning type.
1762
- version_type=$version_type
1763
-
1764
- # Shared library runtime path variable.
1765
- runpath_var=$runpath_var
1766
-
1767
- # Shared library path variable.
1768
- shlibpath_var=$shlibpath_var
1769
-
1770
- # Is shlibpath searched before the hard-coded library search path?
1771
- shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1772
-
1773
- # Format of library name prefix.
1774
- libname_spec=$lt_libname_spec
1775
-
1776
- # List of archive names. First name is the real one, the rest are links.
1777
- # The last name is the one that the linker finds with -lNAME
1778
- library_names_spec=$lt_library_names_spec
1779
-
1780
- # The coded name of the library, if different from the real name.
1781
- soname_spec=$lt_soname_spec
1782
-
1783
- # Permission mode override for installation of shared libraries.
1784
- install_override_mode=$lt_install_override_mode
1785
-
1786
- # Command to use after installation of a shared archive.
1787
- postinstall_cmds=$lt_postinstall_cmds
1788
-
1789
- # Command to use after uninstallation of a shared archive.
1790
- postuninstall_cmds=$lt_postuninstall_cmds
1791
-
1792
- # Commands used to finish a libtool library installation in a directory.
1793
- finish_cmds=$lt_finish_cmds
1794
-
1795
- # As "finish_cmds", except a single script fragment to be evaled but
1796
- # not shown.
1797
- finish_eval=$lt_finish_eval
1798
-
1799
- # Whether we should hardcode library paths into libraries.
1800
- hardcode_into_libs=$hardcode_into_libs
1801
-
1802
- # Compile-time system search path for libraries.
1803
- sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1804
-
1805
- # Run-time system search path for libraries.
1806
- sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1807
-
1808
- # Whether dlopen is supported.
1809
- dlopen_support=$enable_dlopen
1810
-
1811
- # Whether dlopen of programs is supported.
1812
- dlopen_self=$enable_dlopen_self
1813
-
1814
- # Whether dlopen of statically linked programs is supported.
1815
- dlopen_self_static=$enable_dlopen_self_static
1816
-
1817
- # Commands to strip libraries.
1818
- old_striplib=$lt_old_striplib
1819
- striplib=$lt_striplib
1820
-
1821
-
1822
- # The linker used to build libraries.
1823
- LD=$lt_LD
1824
-
1825
- # How to create reloadable object files.
1826
- reload_flag=$lt_reload_flag
1827
- reload_cmds=$lt_reload_cmds
1828
-
1829
- # Commands used to build an old-style archive.
1830
- old_archive_cmds=$lt_old_archive_cmds
1831
-
1832
- # A language specific compiler.
1833
- CC=$lt_compiler
1834
-
1835
- # Is the compiler the GNU compiler?
1836
- with_gcc=$GCC
1837
-
1838
- # Compiler flag to turn off builtin functions.
1839
- no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1840
-
1841
- # Additional compiler flags for building library objects.
1842
- pic_flag=$lt_lt_prog_compiler_pic
1843
-
1844
- # How to pass a linker flag through the compiler.
1845
- wl=$lt_lt_prog_compiler_wl
1846
-
1847
- # Compiler flag to prevent dynamic linking.
1848
- link_static_flag=$lt_lt_prog_compiler_static
1849
-
1850
- # Does compiler simultaneously support -c and -o options?
1851
- compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1852
-
1853
- # Whether or not to add -lc for building shared libraries.
1854
- build_libtool_need_lc=$archive_cmds_need_lc
1855
-
1856
- # Whether or not to disallow shared libs when runtime libs are static.
1857
- allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1858
-
1859
- # Compiler flag to allow reflexive dlopens.
1860
- export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1861
-
1862
- # Compiler flag to generate shared objects directly from archives.
1863
- whole_archive_flag_spec=$lt_whole_archive_flag_spec
1864
-
1865
- # Whether the compiler copes with passing no objects directly.
1866
- compiler_needs_object=$lt_compiler_needs_object
1867
-
1868
- # Create an old-style archive from a shared archive.
1869
- old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1870
-
1871
- # Create a temporary old-style archive to link instead of a shared archive.
1872
- old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1873
-
1874
- # Commands used to build a shared archive.
1875
- archive_cmds=$lt_archive_cmds
1876
- archive_expsym_cmds=$lt_archive_expsym_cmds
1877
-
1878
- # Commands used to build a loadable module if different from building
1879
- # a shared archive.
1880
- module_cmds=$lt_module_cmds
1881
- module_expsym_cmds=$lt_module_expsym_cmds
1882
-
1883
- # Whether we are building with GNU ld or not.
1884
- with_gnu_ld=$lt_with_gnu_ld
1885
-
1886
- # Flag that allows shared libraries with undefined symbols to be built.
1887
- allow_undefined_flag=$lt_allow_undefined_flag
1888
-
1889
- # Flag that enforces no undefined symbols.
1890
- no_undefined_flag=$lt_no_undefined_flag
1891
-
1892
- # Flag to hardcode \$libdir into a binary during linking.
1893
- # This must work even if \$libdir does not exist
1894
- hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1895
-
1896
- # Whether we need a single "-rpath" flag with a separated argument.
1897
- hardcode_libdir_separator=$lt_hardcode_libdir_separator
1898
-
1899
- # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1900
- # DIR into the resulting binary.
1901
- hardcode_direct=$hardcode_direct
1902
-
1903
- # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1904
- # DIR into the resulting binary and the resulting library dependency is
1905
- # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1906
- # library is relocated.
1907
- hardcode_direct_absolute=$hardcode_direct_absolute
1908
-
1909
- # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1910
- # into the resulting binary.
1911
- hardcode_minus_L=$hardcode_minus_L
1912
-
1913
- # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1914
- # into the resulting binary.
1915
- hardcode_shlibpath_var=$hardcode_shlibpath_var
1916
-
1917
- # Set to "yes" if building a shared library automatically hardcodes DIR
1918
- # into the library and all subsequent libraries and executables linked
1919
- # against it.
1920
- hardcode_automatic=$hardcode_automatic
1921
-
1922
- # Set to yes if linker adds runtime paths of dependent libraries
1923
- # to runtime path list.
1924
- inherit_rpath=$inherit_rpath
1925
-
1926
- # Whether libtool must link a program against all its dependency libraries.
1927
- link_all_deplibs=$link_all_deplibs
1928
-
1929
- # Set to "yes" if exported symbols are required.
1930
- always_export_symbols=$always_export_symbols
1931
-
1932
- # The commands to list exported symbols.
1933
- export_symbols_cmds=$lt_export_symbols_cmds
1934
-
1935
- # Symbols that should not be listed in the preloaded symbols.
1936
- exclude_expsyms=$lt_exclude_expsyms
1937
-
1938
- # Symbols that must always be exported.
1939
- include_expsyms=$lt_include_expsyms
1940
-
1941
- # Commands necessary for linking programs (against libraries) with templates.
1942
- prelink_cmds=$lt_prelink_cmds
1943
-
1944
- # Commands necessary for finishing linking programs.
1945
- postlink_cmds=$lt_postlink_cmds
1946
-
1947
- # Specify filename containing input files.
1948
- file_list_spec=$lt_file_list_spec
1949
-
1950
- # How to hardcode a shared library path into an executable.
1951
- hardcode_action=$hardcode_action
1952
-
1953
- # The directories searched by this compiler when creating a shared library.
1954
- compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
1955
-
1956
- # Dependencies to place before and after the objects being linked to
1957
- # create a shared library.
1958
- predep_objects=$lt_predep_objects
1959
- postdep_objects=$lt_postdep_objects
1960
- predeps=$lt_predeps
1961
- postdeps=$lt_postdeps
1962
-
1963
- # The library search path used internally by the compiler when linking
1964
- # a shared library.
1965
- compiler_lib_search_path=$lt_compiler_lib_search_path
1966
-
1967
- # ### END LIBTOOL CONFIG
1968
-
1969
- _LT_EOF
1970
-
1971
- case $host_os in
1972
- aix3*)
1973
- cat <<\_LT_EOF >> "$cfgfile"
1974
- # AIX sometimes has problems with the GCC collect2 program. For some
1975
- # reason, if we set the COLLECT_NAMES environment variable, the problems
1976
- # vanish in a puff of smoke.
1977
- if test "X${COLLECT_NAMES+set}" != Xset; then
1978
- COLLECT_NAMES=
1979
- export COLLECT_NAMES
1980
- fi
1981
- _LT_EOF
1982
- ;;
1983
- esac
1984
-
1985
-
1986
- ltmain="$ac_aux_dir/ltmain.sh"
1987
-
1988
-
1989
- # We use sed instead of cat because bash on DJGPP gets confused if
1990
- # if finds mixed CR/LF and LF-only lines. Since sed operates in
1991
- # text mode, it properly converts lines to CR/LF. This bash problem
1992
- # is reportedly fixed, but why not run on old versions too?
1993
- sed '$q' "$ltmain" >> "$cfgfile" \
1994
- || (rm -f "$cfgfile"; exit 1)
1995
-
1996
- if test x"$xsi_shell" = xyes; then
1997
- sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
1998
- func_dirname ()\
1999
- {\
2000
- \ case ${1} in\
2001
- \ */*) func_dirname_result="${1%/*}${2}" ;;\
2002
- \ * ) func_dirname_result="${3}" ;;\
2003
- \ esac\
2004
- } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
2005
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2006
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2007
- test 0 -eq $? || _lt_function_replace_fail=:
2008
-
2009
-
2010
- sed -e '/^func_basename ()$/,/^} # func_basename /c\
2011
- func_basename ()\
2012
- {\
2013
- \ func_basename_result="${1##*/}"\
2014
- } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
2015
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2016
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2017
- test 0 -eq $? || _lt_function_replace_fail=:
2018
-
2019
-
2020
- sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
2021
- func_dirname_and_basename ()\
2022
- {\
2023
- \ case ${1} in\
2024
- \ */*) func_dirname_result="${1%/*}${2}" ;;\
2025
- \ * ) func_dirname_result="${3}" ;;\
2026
- \ esac\
2027
- \ func_basename_result="${1##*/}"\
2028
- } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
2029
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2030
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2031
- test 0 -eq $? || _lt_function_replace_fail=:
2032
-
2033
-
2034
- sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
2035
- func_stripname ()\
2036
- {\
2037
- \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
2038
- \ # positional parameters, so assign one to ordinary parameter first.\
2039
- \ func_stripname_result=${3}\
2040
- \ func_stripname_result=${func_stripname_result#"${1}"}\
2041
- \ func_stripname_result=${func_stripname_result%"${2}"}\
2042
- } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
2043
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2044
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2045
- test 0 -eq $? || _lt_function_replace_fail=:
2046
-
2047
-
2048
- sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
2049
- func_split_long_opt ()\
2050
- {\
2051
- \ func_split_long_opt_name=${1%%=*}\
2052
- \ func_split_long_opt_arg=${1#*=}\
2053
- } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
2054
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2055
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2056
- test 0 -eq $? || _lt_function_replace_fail=:
2057
-
2058
-
2059
- sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
2060
- func_split_short_opt ()\
2061
- {\
2062
- \ func_split_short_opt_arg=${1#??}\
2063
- \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
2064
- } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
2065
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2066
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2067
- test 0 -eq $? || _lt_function_replace_fail=:
2068
-
2069
-
2070
- sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
2071
- func_lo2o ()\
2072
- {\
2073
- \ case ${1} in\
2074
- \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
2075
- \ *) func_lo2o_result=${1} ;;\
2076
- \ esac\
2077
- } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
2078
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2079
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2080
- test 0 -eq $? || _lt_function_replace_fail=:
2081
-
2082
-
2083
- sed -e '/^func_xform ()$/,/^} # func_xform /c\
2084
- func_xform ()\
2085
- {\
2086
- func_xform_result=${1%.*}.lo\
2087
- } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
2088
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2089
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2090
- test 0 -eq $? || _lt_function_replace_fail=:
2091
-
2092
-
2093
- sed -e '/^func_arith ()$/,/^} # func_arith /c\
2094
- func_arith ()\
2095
- {\
2096
- func_arith_result=$(( $* ))\
2097
- } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
2098
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2099
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2100
- test 0 -eq $? || _lt_function_replace_fail=:
2101
-
2102
-
2103
- sed -e '/^func_len ()$/,/^} # func_len /c\
2104
- func_len ()\
2105
- {\
2106
- func_len_result=${#1}\
2107
- } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
2108
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2109
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2110
- test 0 -eq $? || _lt_function_replace_fail=:
2111
-
2112
- fi
2113
-
2114
- if test x"$lt_shell_append" = xyes; then
2115
- sed -e '/^func_append ()$/,/^} # func_append /c\
2116
- func_append ()\
2117
- {\
2118
- eval "${1}+=\\${2}"\
2119
- } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
2120
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2121
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2122
- test 0 -eq $? || _lt_function_replace_fail=:
2123
-
2124
-
2125
- sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
2126
- func_append_quoted ()\
2127
- {\
2128
- \ func_quote_for_eval "${2}"\
2129
- \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
2130
- } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
2131
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2132
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2133
- test 0 -eq $? || _lt_function_replace_fail=:
2134
-
2135
-
2136
- # Save a `func_append' function call where possible by direct use of '+='
2137
- sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
2138
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2139
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2140
- test 0 -eq $? || _lt_function_replace_fail=:
2141
- else
2142
- # Save a `func_append' function call even when '+=' is not available
2143
- sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
2144
- && mv -f "$cfgfile.tmp" "$cfgfile" \
2145
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2146
- test 0 -eq $? || _lt_function_replace_fail=:
2147
- fi
2148
-
2149
- if test x"$_lt_function_replace_fail" = x":"; then
2150
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
2151
- $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
2152
- fi
2153
-
2154
-
2155
- mv -f "$cfgfile" "$ofile" ||
2156
- (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2157
- chmod +x "$ofile"
2158
-
2159
-
2160
- cat <<_LT_EOF >> "$ofile"
2161
-
2162
- # ### BEGIN LIBTOOL TAG CONFIG: CXX
2163
-
2164
- # The linker used to build libraries.
2165
- LD=$lt_LD_CXX
2166
-
2167
- # How to create reloadable object files.
2168
- reload_flag=$lt_reload_flag_CXX
2169
- reload_cmds=$lt_reload_cmds_CXX
2170
-
2171
- # Commands used to build an old-style archive.
2172
- old_archive_cmds=$lt_old_archive_cmds_CXX
2173
-
2174
- # A language specific compiler.
2175
- CC=$lt_compiler_CXX
2176
-
2177
- # Is the compiler the GNU compiler?
2178
- with_gcc=$GCC_CXX
2179
-
2180
- # Compiler flag to turn off builtin functions.
2181
- no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
2182
-
2183
- # Additional compiler flags for building library objects.
2184
- pic_flag=$lt_lt_prog_compiler_pic_CXX
2185
-
2186
- # How to pass a linker flag through the compiler.
2187
- wl=$lt_lt_prog_compiler_wl_CXX
2188
-
2189
- # Compiler flag to prevent dynamic linking.
2190
- link_static_flag=$lt_lt_prog_compiler_static_CXX
2191
-
2192
- # Does compiler simultaneously support -c and -o options?
2193
- compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
2194
-
2195
- # Whether or not to add -lc for building shared libraries.
2196
- build_libtool_need_lc=$archive_cmds_need_lc_CXX
2197
-
2198
- # Whether or not to disallow shared libs when runtime libs are static.
2199
- allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
2200
-
2201
- # Compiler flag to allow reflexive dlopens.
2202
- export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
2203
-
2204
- # Compiler flag to generate shared objects directly from archives.
2205
- whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
2206
-
2207
- # Whether the compiler copes with passing no objects directly.
2208
- compiler_needs_object=$lt_compiler_needs_object_CXX
2209
-
2210
- # Create an old-style archive from a shared archive.
2211
- old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
2212
-
2213
- # Create a temporary old-style archive to link instead of a shared archive.
2214
- old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
2215
-
2216
- # Commands used to build a shared archive.
2217
- archive_cmds=$lt_archive_cmds_CXX
2218
- archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
2219
-
2220
- # Commands used to build a loadable module if different from building
2221
- # a shared archive.
2222
- module_cmds=$lt_module_cmds_CXX
2223
- module_expsym_cmds=$lt_module_expsym_cmds_CXX
2224
-
2225
- # Whether we are building with GNU ld or not.
2226
- with_gnu_ld=$lt_with_gnu_ld_CXX
2227
-
2228
- # Flag that allows shared libraries with undefined symbols to be built.
2229
- allow_undefined_flag=$lt_allow_undefined_flag_CXX
2230
-
2231
- # Flag that enforces no undefined symbols.
2232
- no_undefined_flag=$lt_no_undefined_flag_CXX
2233
-
2234
- # Flag to hardcode \$libdir into a binary during linking.
2235
- # This must work even if \$libdir does not exist
2236
- hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
2237
-
2238
- # Whether we need a single "-rpath" flag with a separated argument.
2239
- hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
2240
-
2241
- # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
2242
- # DIR into the resulting binary.
2243
- hardcode_direct=$hardcode_direct_CXX
2244
-
2245
- # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
2246
- # DIR into the resulting binary and the resulting library dependency is
2247
- # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
2248
- # library is relocated.
2249
- hardcode_direct_absolute=$hardcode_direct_absolute_CXX
2250
-
2251
- # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
2252
- # into the resulting binary.
2253
- hardcode_minus_L=$hardcode_minus_L_CXX
2254
-
2255
- # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
2256
- # into the resulting binary.
2257
- hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
2258
-
2259
- # Set to "yes" if building a shared library automatically hardcodes DIR
2260
- # into the library and all subsequent libraries and executables linked
2261
- # against it.
2262
- hardcode_automatic=$hardcode_automatic_CXX
2263
-
2264
- # Set to yes if linker adds runtime paths of dependent libraries
2265
- # to runtime path list.
2266
- inherit_rpath=$inherit_rpath_CXX
2267
-
2268
- # Whether libtool must link a program against all its dependency libraries.
2269
- link_all_deplibs=$link_all_deplibs_CXX
2270
-
2271
- # Set to "yes" if exported symbols are required.
2272
- always_export_symbols=$always_export_symbols_CXX
2273
-
2274
- # The commands to list exported symbols.
2275
- export_symbols_cmds=$lt_export_symbols_cmds_CXX
2276
-
2277
- # Symbols that should not be listed in the preloaded symbols.
2278
- exclude_expsyms=$lt_exclude_expsyms_CXX
2279
-
2280
- # Symbols that must always be exported.
2281
- include_expsyms=$lt_include_expsyms_CXX
2282
-
2283
- # Commands necessary for linking programs (against libraries) with templates.
2284
- prelink_cmds=$lt_prelink_cmds_CXX
2285
-
2286
- # Commands necessary for finishing linking programs.
2287
- postlink_cmds=$lt_postlink_cmds_CXX
2288
-
2289
- # Specify filename containing input files.
2290
- file_list_spec=$lt_file_list_spec_CXX
2291
-
2292
- # How to hardcode a shared library path into an executable.
2293
- hardcode_action=$hardcode_action_CXX
2294
-
2295
- # The directories searched by this compiler when creating a shared library.
2296
- compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
2297
-
2298
- # Dependencies to place before and after the objects being linked to
2299
- # create a shared library.
2300
- predep_objects=$lt_predep_objects_CXX
2301
- postdep_objects=$lt_postdep_objects_CXX
2302
- predeps=$lt_predeps_CXX
2303
- postdeps=$lt_postdeps_CXX
2304
-
2305
- # The library search path used internally by the compiler when linking
2306
- # a shared library.
2307
- compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
2308
-
2309
- # ### END LIBTOOL TAG CONFIG: CXX
2310
- _LT_EOF
2311
-
2312
- ;;
2313
-
2314
- esac
2315
- done # for ac_tag
2316
-
2317
-
2318
- as_fn_exit 0