Browse Source

Import dependencies

master
Mahmoud Al-Qudsi 1 year ago
parent
commit
fc564f19b2

+ 19
- 0
COPYING View File

@@ -0,0 +1,19 @@
1
+// Copyright (c) 2011 Google, Inc.
2
+//
3
+// Permission is hereby granted, free of charge, to any person obtaining a copy
4
+// of this software and associated documentation files (the "Software"), to deal
5
+// in the Software without restriction, including without limitation the rights
6
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+// copies of the Software, and to permit persons to whom the Software is
8
+// furnished to do so, subject to the following conditions:
9
+//
10
+// The above copyright notice and this permission notice shall be included in
11
+// all copies or substantial portions of the Software.
12
+//
13
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+// THE SOFTWARE.

+ 4
- 0
Makefile.am View File

@@ -0,0 +1,4 @@
1
+ACLOCAL_AMFLAGS = -I m4
2
+SUBDIRS = src
3
+
4
+dist_doc_DATA = README NEWS COPYING

+ 799
- 0
Makefile.in View File

@@ -0,0 +1,799 @@
1
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
2
+# @configure_input@
3
+
4
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6
+# Foundation, Inc.
7
+# This Makefile.in is free software; the Free Software Foundation
8
+# gives unlimited permission to copy and/or distribute it,
9
+# with or without modifications, as long as this notice is preserved.
10
+
11
+# This program is distributed in the hope that it will be useful,
12
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14
+# PARTICULAR PURPOSE.
15
+
16
+@SET_MAKE@
17
+
18
+VPATH = @srcdir@
19
+pkgdatadir = $(datadir)/@PACKAGE@
20
+pkgincludedir = $(includedir)/@PACKAGE@
21
+pkglibdir = $(libdir)/@PACKAGE@
22
+pkglibexecdir = $(libexecdir)/@PACKAGE@
23
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24
+install_sh_DATA = $(install_sh) -c -m 644
25
+install_sh_PROGRAM = $(install_sh) -c
26
+install_sh_SCRIPT = $(install_sh) -c
27
+INSTALL_HEADER = $(INSTALL_DATA)
28
+transform = $(program_transform_name)
29
+NORMAL_INSTALL = :
30
+PRE_INSTALL = :
31
+POST_INSTALL = :
32
+NORMAL_UNINSTALL = :
33
+PRE_UNINSTALL = :
34
+POST_UNINSTALL = :
35
+build_triplet = @build@
36
+host_triplet = @host@
37
+subdir = .
38
+DIST_COMMON = README $(am__configure_deps) $(dist_doc_DATA) \
39
+	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
40
+	$(srcdir)/config.h.in $(top_srcdir)/configure COPYING NEWS \
41
+	config.guess config.sub depcomp install-sh ltmain.sh missing
42
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
44
+	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
45
+	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
46
+	$(top_srcdir)/configure.ac
47
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
48
+	$(ACLOCAL_M4)
49
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
50
+ configure.lineno config.status.lineno
51
+mkinstalldirs = $(install_sh) -d
52
+CONFIG_HEADER = config.h
53
+CONFIG_CLEAN_FILES =
54
+CONFIG_CLEAN_VPATH_FILES =
55
+SOURCES =
56
+DIST_SOURCES =
57
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
58
+	html-recursive info-recursive install-data-recursive \
59
+	install-dvi-recursive install-exec-recursive \
60
+	install-html-recursive install-info-recursive \
61
+	install-pdf-recursive install-ps-recursive install-recursive \
62
+	installcheck-recursive installdirs-recursive pdf-recursive \
63
+	ps-recursive uninstall-recursive
64
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
65
+am__vpath_adj = case $$p in \
66
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
67
+    *) f=$$p;; \
68
+  esac;
69
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
70
+am__install_max = 40
71
+am__nobase_strip_setup = \
72
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
73
+am__nobase_strip = \
74
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
75
+am__nobase_list = $(am__nobase_strip_setup); \
76
+  for p in $$list; do echo "$$p $$p"; done | \
77
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
78
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
79
+    if (++n[$$2] == $(am__install_max)) \
80
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
81
+    END { for (dir in files) print dir, files[dir] }'
82
+am__base_list = \
83
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
84
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
85
+am__uninstall_files_from_dir = { \
86
+  test -z "$$files" \
87
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
88
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
89
+         $(am__cd) "$$dir" && rm -f $$files; }; \
90
+  }
91
+am__installdirs = "$(DESTDIR)$(docdir)"
92
+DATA = $(dist_doc_DATA)
93
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
94
+  distclean-recursive maintainer-clean-recursive
95
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
96
+	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
97
+	distdir dist dist-all distcheck
98
+ETAGS = etags
99
+CTAGS = ctags
100
+DIST_SUBDIRS = $(SUBDIRS)
101
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
102
+distdir = $(PACKAGE)-$(VERSION)
103
+top_distdir = $(distdir)
104
+am__remove_distdir = \
105
+  if test -d "$(distdir)"; then \
106
+    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
107
+      && rm -rf "$(distdir)" \
108
+      || { sleep 5 && rm -rf "$(distdir)"; }; \
109
+  else :; fi
110
+am__relativize = \
111
+  dir0=`pwd`; \
112
+  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
113
+  sed_rest='s,^[^/]*/*,,'; \
114
+  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
115
+  sed_butlast='s,/*[^/]*$$,,'; \
116
+  while test -n "$$dir1"; do \
117
+    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
118
+    if test "$$first" != "."; then \
119
+      if test "$$first" = ".."; then \
120
+        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
121
+        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
122
+      else \
123
+        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
124
+        if test "$$first2" = "$$first"; then \
125
+          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
126
+        else \
127
+          dir2="../$$dir2"; \
128
+        fi; \
129
+        dir0="$$dir0"/"$$first"; \
130
+      fi; \
131
+    fi; \
132
+    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
133
+  done; \
134
+  reldir="$$dir2"
135
+DIST_ARCHIVES = $(distdir).tar.gz
136
+GZIP_ENV = --best
137
+distuninstallcheck_listfiles = find . -type f -print
138
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
139
+  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
140
+distcleancheck_listfiles = find . -type f -print
141
+ACLOCAL = @ACLOCAL@
142
+AMTAR = @AMTAR@
143
+AR = @AR@
144
+AUTOCONF = @AUTOCONF@
145
+AUTOHEADER = @AUTOHEADER@
146
+AUTOMAKE = @AUTOMAKE@
147
+AWK = @AWK@
148
+CC = @CC@
149
+CCDEPMODE = @CCDEPMODE@
150
+CFLAGS = @CFLAGS@
151
+CPP = @CPP@
152
+CPPFLAGS = @CPPFLAGS@
153
+CXX = @CXX@
154
+CXXCPP = @CXXCPP@
155
+CXXDEPMODE = @CXXDEPMODE@
156
+CXXFLAGS = @CXXFLAGS@
157
+CYGPATH_W = @CYGPATH_W@
158
+DEFS = @DEFS@
159
+DEPDIR = @DEPDIR@
160
+DLLTOOL = @DLLTOOL@
161
+DSYMUTIL = @DSYMUTIL@
162
+DUMPBIN = @DUMPBIN@
163
+ECHO_C = @ECHO_C@
164
+ECHO_N = @ECHO_N@
165
+ECHO_T = @ECHO_T@
166
+EGREP = @EGREP@
167
+EXEEXT = @EXEEXT@
168
+FGREP = @FGREP@
169
+GREP = @GREP@
170
+INSTALL = @INSTALL@
171
+INSTALL_DATA = @INSTALL_DATA@
172
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
173
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
174
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
175
+LD = @LD@
176
+LDFLAGS = @LDFLAGS@
177
+LIBOBJS = @LIBOBJS@
178
+LIBS = @LIBS@
179
+LIBTOOL = @LIBTOOL@
180
+LIPO = @LIPO@
181
+LN_S = @LN_S@
182
+LTLIBOBJS = @LTLIBOBJS@
183
+MAKEINFO = @MAKEINFO@
184
+MANIFEST_TOOL = @MANIFEST_TOOL@
185
+MKDIR_P = @MKDIR_P@
186
+NM = @NM@
187
+NMEDIT = @NMEDIT@
188
+OBJDUMP = @OBJDUMP@
189
+OBJEXT = @OBJEXT@
190
+OTOOL = @OTOOL@
191
+OTOOL64 = @OTOOL64@
192
+PACKAGE = @PACKAGE@
193
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
194
+PACKAGE_NAME = @PACKAGE_NAME@
195
+PACKAGE_STRING = @PACKAGE_STRING@
196
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
197
+PACKAGE_URL = @PACKAGE_URL@
198
+PACKAGE_VERSION = @PACKAGE_VERSION@
199
+PATH_SEPARATOR = @PATH_SEPARATOR@
200
+RANLIB = @RANLIB@
201
+SED = @SED@
202
+SET_MAKE = @SET_MAKE@
203
+SHELL = @SHELL@
204
+STRIP = @STRIP@
205
+VERSION = @VERSION@
206
+abs_builddir = @abs_builddir@
207
+abs_srcdir = @abs_srcdir@
208
+abs_top_builddir = @abs_top_builddir@
209
+abs_top_srcdir = @abs_top_srcdir@
210
+ac_ct_AR = @ac_ct_AR@
211
+ac_ct_CC = @ac_ct_CC@
212
+ac_ct_CXX = @ac_ct_CXX@
213
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
214
+am__include = @am__include@
215
+am__leading_dot = @am__leading_dot@
216
+am__quote = @am__quote@
217
+am__tar = @am__tar@
218
+am__untar = @am__untar@
219
+bindir = @bindir@
220
+build = @build@
221
+build_alias = @build_alias@
222
+build_cpu = @build_cpu@
223
+build_os = @build_os@
224
+build_vendor = @build_vendor@
225
+builddir = @builddir@
226
+datadir = @datadir@
227
+datarootdir = @datarootdir@
228
+docdir = @docdir@
229
+dvidir = @dvidir@
230
+exec_prefix = @exec_prefix@
231
+host = @host@
232
+host_alias = @host_alias@
233
+host_cpu = @host_cpu@
234
+host_os = @host_os@
235
+host_vendor = @host_vendor@
236
+htmldir = @htmldir@
237
+includedir = @includedir@
238
+infodir = @infodir@
239
+install_sh = @install_sh@
240
+libdir = @libdir@
241
+libexecdir = @libexecdir@
242
+localedir = @localedir@
243
+localstatedir = @localstatedir@
244
+mandir = @mandir@
245
+mkdir_p = @mkdir_p@
246
+oldincludedir = @oldincludedir@
247
+pdfdir = @pdfdir@
248
+prefix = @prefix@
249
+program_transform_name = @program_transform_name@
250
+psdir = @psdir@
251
+sbindir = @sbindir@
252
+sharedstatedir = @sharedstatedir@
253
+srcdir = @srcdir@
254
+sysconfdir = @sysconfdir@
255
+target_alias = @target_alias@
256
+top_build_prefix = @top_build_prefix@
257
+top_builddir = @top_builddir@
258
+top_srcdir = @top_srcdir@
259
+ACLOCAL_AMFLAGS = -I m4
260
+SUBDIRS = src
261
+dist_doc_DATA = README NEWS COPYING
262
+all: config.h
263
+	$(MAKE) $(AM_MAKEFLAGS) all-recursive
264
+
265
+.SUFFIXES:
266
+am--refresh: Makefile
267
+	@:
268
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
269
+	@for dep in $?; do \
270
+	  case '$(am__configure_deps)' in \
271
+	    *$$dep*) \
272
+	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
273
+	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
274
+		&& exit 0; \
275
+	      exit 1;; \
276
+	  esac; \
277
+	done; \
278
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
279
+	$(am__cd) $(top_srcdir) && \
280
+	  $(AUTOMAKE) --foreign Makefile
281
+.PRECIOUS: Makefile
282
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
283
+	@case '$?' in \
284
+	  *config.status*) \
285
+	    echo ' $(SHELL) ./config.status'; \
286
+	    $(SHELL) ./config.status;; \
287
+	  *) \
288
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
289
+	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
290
+	esac;
291
+
292
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
293
+	$(SHELL) ./config.status --recheck
294
+
295
+$(top_srcdir)/configure:  $(am__configure_deps)
296
+	$(am__cd) $(srcdir) && $(AUTOCONF)
297
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
298
+	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
299
+$(am__aclocal_m4_deps):
300
+
301
+config.h: stamp-h1
302
+	@if test ! -f $@; then rm -f stamp-h1; else :; fi
303
+	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
304
+
305
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
306
+	@rm -f stamp-h1
307
+	cd $(top_builddir) && $(SHELL) ./config.status config.h
308
+$(srcdir)/config.h.in:  $(am__configure_deps) 
309
+	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
310
+	rm -f stamp-h1
311
+	touch $@
312
+
313
+distclean-hdr:
314
+	-rm -f config.h stamp-h1
315
+
316
+mostlyclean-libtool:
317
+	-rm -f *.lo
318
+
319
+clean-libtool:
320
+	-rm -rf .libs _libs
321
+
322
+distclean-libtool:
323
+	-rm -f libtool config.lt
324
+install-dist_docDATA: $(dist_doc_DATA)
325
+	@$(NORMAL_INSTALL)
326
+	test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
327
+	@list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
328
+	for p in $$list; do \
329
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
330
+	  echo "$$d$$p"; \
331
+	done | $(am__base_list) | \
332
+	while read files; do \
333
+	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
334
+	  $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
335
+	done
336
+
337
+uninstall-dist_docDATA:
338
+	@$(NORMAL_UNINSTALL)
339
+	@list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
340
+	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
341
+	dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
342
+
343
+# This directory's subdirectories are mostly independent; you can cd
344
+# into them and run `make' without going through this Makefile.
345
+# To change the values of `make' variables: instead of editing Makefiles,
346
+# (1) if the variable is set in `config.status', edit `config.status'
347
+#     (which will cause the Makefiles to be regenerated when you run `make');
348
+# (2) otherwise, pass the desired values on the `make' command line.
349
+$(RECURSIVE_TARGETS):
350
+	@fail= failcom='exit 1'; \
351
+	for f in x $$MAKEFLAGS; do \
352
+	  case $$f in \
353
+	    *=* | --[!k]*);; \
354
+	    *k*) failcom='fail=yes';; \
355
+	  esac; \
356
+	done; \
357
+	dot_seen=no; \
358
+	target=`echo $@ | sed s/-recursive//`; \
359
+	list='$(SUBDIRS)'; for subdir in $$list; do \
360
+	  echo "Making $$target in $$subdir"; \
361
+	  if test "$$subdir" = "."; then \
362
+	    dot_seen=yes; \
363
+	    local_target="$$target-am"; \
364
+	  else \
365
+	    local_target="$$target"; \
366
+	  fi; \
367
+	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
368
+	  || eval $$failcom; \
369
+	done; \
370
+	if test "$$dot_seen" = "no"; then \
371
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
372
+	fi; test -z "$$fail"
373
+
374
+$(RECURSIVE_CLEAN_TARGETS):
375
+	@fail= failcom='exit 1'; \
376
+	for f in x $$MAKEFLAGS; do \
377
+	  case $$f in \
378
+	    *=* | --[!k]*);; \
379
+	    *k*) failcom='fail=yes';; \
380
+	  esac; \
381
+	done; \
382
+	dot_seen=no; \
383
+	case "$@" in \
384
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
385
+	  *) list='$(SUBDIRS)' ;; \
386
+	esac; \
387
+	rev=''; for subdir in $$list; do \
388
+	  if test "$$subdir" = "."; then :; else \
389
+	    rev="$$subdir $$rev"; \
390
+	  fi; \
391
+	done; \
392
+	rev="$$rev ."; \
393
+	target=`echo $@ | sed s/-recursive//`; \
394
+	for subdir in $$rev; do \
395
+	  echo "Making $$target in $$subdir"; \
396
+	  if test "$$subdir" = "."; then \
397
+	    local_target="$$target-am"; \
398
+	  else \
399
+	    local_target="$$target"; \
400
+	  fi; \
401
+	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
402
+	  || eval $$failcom; \
403
+	done && test -z "$$fail"
404
+tags-recursive:
405
+	list='$(SUBDIRS)'; for subdir in $$list; do \
406
+	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
407
+	done
408
+ctags-recursive:
409
+	list='$(SUBDIRS)'; for subdir in $$list; do \
410
+	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
411
+	done
412
+
413
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
414
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
415
+	unique=`for i in $$list; do \
416
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
417
+	  done | \
418
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
419
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
420
+	mkid -fID $$unique
421
+tags: TAGS
422
+
423
+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
424
+		$(TAGS_FILES) $(LISP)
425
+	set x; \
426
+	here=`pwd`; \
427
+	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
428
+	  include_option=--etags-include; \
429
+	  empty_fix=.; \
430
+	else \
431
+	  include_option=--include; \
432
+	  empty_fix=; \
433
+	fi; \
434
+	list='$(SUBDIRS)'; for subdir in $$list; do \
435
+	  if test "$$subdir" = .; then :; else \
436
+	    test ! -f $$subdir/TAGS || \
437
+	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
438
+	  fi; \
439
+	done; \
440
+	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
441
+	unique=`for i in $$list; do \
442
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
443
+	  done | \
444
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
445
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
446
+	shift; \
447
+	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
448
+	  test -n "$$unique" || unique=$$empty_fix; \
449
+	  if test $$# -gt 0; then \
450
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
451
+	      "$$@" $$unique; \
452
+	  else \
453
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
454
+	      $$unique; \
455
+	  fi; \
456
+	fi
457
+ctags: CTAGS
458
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
459
+		$(TAGS_FILES) $(LISP)
460
+	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
461
+	unique=`for i in $$list; do \
462
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
463
+	  done | \
464
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
465
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
466
+	test -z "$(CTAGS_ARGS)$$unique" \
467
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
468
+	     $$unique
469
+
470
+GTAGS:
471
+	here=`$(am__cd) $(top_builddir) && pwd` \
472
+	  && $(am__cd) $(top_srcdir) \
473
+	  && gtags -i $(GTAGS_ARGS) "$$here"
474
+
475
+distclean-tags:
476
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
477
+
478
+distdir: $(DISTFILES)
479
+	$(am__remove_distdir)
480
+	test -d "$(distdir)" || mkdir "$(distdir)"
481
+	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
482
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
483
+	list='$(DISTFILES)'; \
484
+	  dist_files=`for file in $$list; do echo $$file; done | \
485
+	  sed -e "s|^$$srcdirstrip/||;t" \
486
+	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
487
+	case $$dist_files in \
488
+	  */*) $(MKDIR_P) `echo "$$dist_files" | \
489
+			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
490
+			   sort -u` ;; \
491
+	esac; \
492
+	for file in $$dist_files; do \
493
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
494
+	  if test -d $$d/$$file; then \
495
+	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
496
+	    if test -d "$(distdir)/$$file"; then \
497
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
498
+	    fi; \
499
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
500
+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
501
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
502
+	    fi; \
503
+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
504
+	  else \
505
+	    test -f "$(distdir)/$$file" \
506
+	    || cp -p $$d/$$file "$(distdir)/$$file" \
507
+	    || exit 1; \
508
+	  fi; \
509
+	done
510
+	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
511
+	  if test "$$subdir" = .; then :; else \
512
+	    test -d "$(distdir)/$$subdir" \
513
+	    || $(MKDIR_P) "$(distdir)/$$subdir" \
514
+	    || exit 1; \
515
+	  fi; \
516
+	done
517
+	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
518
+	  if test "$$subdir" = .; then :; else \
519
+	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
520
+	    $(am__relativize); \
521
+	    new_distdir=$$reldir; \
522
+	    dir1=$$subdir; dir2="$(top_distdir)"; \
523
+	    $(am__relativize); \
524
+	    new_top_distdir=$$reldir; \
525
+	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
526
+	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
527
+	    ($(am__cd) $$subdir && \
528
+	      $(MAKE) $(AM_MAKEFLAGS) \
529
+	        top_distdir="$$new_top_distdir" \
530
+	        distdir="$$new_distdir" \
531
+		am__remove_distdir=: \
532
+		am__skip_length_check=: \
533
+		am__skip_mode_fix=: \
534
+	        distdir) \
535
+	      || exit 1; \
536
+	  fi; \
537
+	done
538
+	-test -n "$(am__skip_mode_fix)" \
539
+	|| find "$(distdir)" -type d ! -perm -755 \
540
+		-exec chmod u+rwx,go+rx {} \; -o \
541
+	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
542
+	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
543
+	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
544
+	|| chmod -R a+r "$(distdir)"
545
+dist-gzip: distdir
546
+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
547
+	$(am__remove_distdir)
548
+
549
+dist-bzip2: distdir
550
+	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
551
+	$(am__remove_distdir)
552
+
553
+dist-lzip: distdir
554
+	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
555
+	$(am__remove_distdir)
556
+
557
+dist-lzma: distdir
558
+	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
559
+	$(am__remove_distdir)
560
+
561
+dist-xz: distdir
562
+	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
563
+	$(am__remove_distdir)
564
+
565
+dist-tarZ: distdir
566
+	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
567
+	$(am__remove_distdir)
568
+
569
+dist-shar: distdir
570
+	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
571
+	$(am__remove_distdir)
572
+
573
+dist-zip: distdir
574
+	-rm -f $(distdir).zip
575
+	zip -rq $(distdir).zip $(distdir)
576
+	$(am__remove_distdir)
577
+
578
+dist dist-all: distdir
579
+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
580
+	$(am__remove_distdir)
581
+
582
+# This target untars the dist file and tries a VPATH configuration.  Then
583
+# it guarantees that the distribution is self-contained by making another
584
+# tarfile.
585
+distcheck: dist
586
+	case '$(DIST_ARCHIVES)' in \
587
+	*.tar.gz*) \
588
+	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
589
+	*.tar.bz2*) \
590
+	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
591
+	*.tar.lzma*) \
592
+	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
593
+	*.tar.lz*) \
594
+	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
595
+	*.tar.xz*) \
596
+	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
597
+	*.tar.Z*) \
598
+	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
599
+	*.shar.gz*) \
600
+	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
601
+	*.zip*) \
602
+	  unzip $(distdir).zip ;;\
603
+	esac
604
+	chmod -R a-w $(distdir); chmod a+w $(distdir)
605
+	mkdir $(distdir)/_build
606
+	mkdir $(distdir)/_inst
607
+	chmod a-w $(distdir)
608
+	test -d $(distdir)/_build || exit 0; \
609
+	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
610
+	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
611
+	  && am__cwd=`pwd` \
612
+	  && $(am__cd) $(distdir)/_build \
613
+	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
614
+	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
615
+	    $(DISTCHECK_CONFIGURE_FLAGS) \
616
+	  && $(MAKE) $(AM_MAKEFLAGS) \
617
+	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
618
+	  && $(MAKE) $(AM_MAKEFLAGS) check \
619
+	  && $(MAKE) $(AM_MAKEFLAGS) install \
620
+	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
621
+	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
622
+	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
623
+	        distuninstallcheck \
624
+	  && chmod -R a-w "$$dc_install_base" \
625
+	  && ({ \
626
+	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
627
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
628
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
629
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
630
+	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
631
+	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
632
+	  && rm -rf "$$dc_destdir" \
633
+	  && $(MAKE) $(AM_MAKEFLAGS) dist \
634
+	  && rm -rf $(DIST_ARCHIVES) \
635
+	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
636
+	  && cd "$$am__cwd" \
637
+	  || exit 1
638
+	$(am__remove_distdir)
639
+	@(echo "$(distdir) archives ready for distribution: "; \
640
+	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
641
+	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
642
+distuninstallcheck:
643
+	@test -n '$(distuninstallcheck_dir)' || { \
644
+	  echo 'ERROR: trying to run $@ with an empty' \
645
+	       '$$(distuninstallcheck_dir)' >&2; \
646
+	  exit 1; \
647
+	}; \
648
+	$(am__cd) '$(distuninstallcheck_dir)' || { \
649
+	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
650
+	  exit 1; \
651
+	}; \
652
+	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
653
+	   || { echo "ERROR: files left after uninstall:" ; \
654
+	        if test -n "$(DESTDIR)"; then \
655
+	          echo "  (check DESTDIR support)"; \
656
+	        fi ; \
657
+	        $(distuninstallcheck_listfiles) ; \
658
+	        exit 1; } >&2
659
+distcleancheck: distclean
660
+	@if test '$(srcdir)' = . ; then \
661
+	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
662
+	  exit 1 ; \
663
+	fi
664
+	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
665
+	  || { echo "ERROR: files left in build directory after distclean:" ; \
666
+	       $(distcleancheck_listfiles) ; \
667
+	       exit 1; } >&2
668
+check-am: all-am
669
+check: check-recursive
670
+all-am: Makefile $(DATA) config.h
671
+installdirs: installdirs-recursive
672
+installdirs-am:
673
+	for dir in "$(DESTDIR)$(docdir)"; do \
674
+	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
675
+	done
676
+install: install-recursive
677
+install-exec: install-exec-recursive
678
+install-data: install-data-recursive
679
+uninstall: uninstall-recursive
680
+
681
+install-am: all-am
682
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
683
+
684
+installcheck: installcheck-recursive
685
+install-strip:
686
+	if test -z '$(STRIP)'; then \
687
+	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
688
+	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
689
+	      install; \
690
+	else \
691
+	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
692
+	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
693
+	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
694
+	fi
695
+mostlyclean-generic:
696
+
697
+clean-generic:
698
+
699
+distclean-generic:
700
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
701
+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
702
+
703
+maintainer-clean-generic:
704
+	@echo "This command is intended for maintainers to use"
705
+	@echo "it deletes files that may require special tools to rebuild."
706
+clean: clean-recursive
707
+
708
+clean-am: clean-generic clean-libtool mostlyclean-am
709
+
710
+distclean: distclean-recursive
711
+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
712
+	-rm -f Makefile
713
+distclean-am: clean-am distclean-generic distclean-hdr \
714
+	distclean-libtool distclean-tags
715
+
716
+dvi: dvi-recursive
717
+
718
+dvi-am:
719
+
720
+html: html-recursive
721
+
722
+html-am:
723
+
724
+info: info-recursive
725
+
726
+info-am:
727
+
728
+install-data-am: install-dist_docDATA
729
+
730
+install-dvi: install-dvi-recursive
731
+
732
+install-dvi-am:
733
+
734
+install-exec-am:
735
+
736
+install-html: install-html-recursive
737
+
738
+install-html-am:
739
+
740
+install-info: install-info-recursive
741
+
742
+install-info-am:
743
+
744
+install-man:
745
+
746
+install-pdf: install-pdf-recursive
747
+
748
+install-pdf-am:
749
+
750
+install-ps: install-ps-recursive
751
+
752
+install-ps-am:
753
+
754
+installcheck-am:
755
+
756
+maintainer-clean: maintainer-clean-recursive
757
+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
758
+	-rm -rf $(top_srcdir)/autom4te.cache
759
+	-rm -f Makefile
760
+maintainer-clean-am: distclean-am maintainer-clean-generic
761
+
762
+mostlyclean: mostlyclean-recursive
763
+
764
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
765
+
766
+pdf: pdf-recursive
767
+
768
+pdf-am:
769
+
770
+ps: ps-recursive
771
+
772
+ps-am:
773
+
774
+uninstall-am: uninstall-dist_docDATA
775
+
776
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
777
+	ctags-recursive install-am install-strip tags-recursive
778
+
779
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
780
+	all all-am am--refresh check check-am clean clean-generic \
781
+	clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
782
+	dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
783
+	dist-zip distcheck distclean distclean-generic distclean-hdr \
784
+	distclean-libtool distclean-tags distcleancheck distdir \
785
+	distuninstallcheck dvi dvi-am html html-am info info-am \
786
+	install install-am install-data install-data-am \
787
+	install-dist_docDATA install-dvi install-dvi-am install-exec \
788
+	install-exec-am install-html install-html-am install-info \
789
+	install-info-am install-man install-pdf install-pdf-am \
790
+	install-ps install-ps-am install-strip installcheck \
791
+	installcheck-am installdirs installdirs-am maintainer-clean \
792
+	maintainer-clean-generic mostlyclean mostlyclean-generic \
793
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
794
+	uninstall uninstall-am uninstall-dist_docDATA
795
+
796
+
797
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
798
+# Otherwise a system limit (for SysV at least) may be exceeded.
799
+.NOEXPORT:

+ 62
- 0
NEWS View File

@@ -0,0 +1,62 @@
1
+CityHash v1.1.1, June 17, 2013
2
+
3
+  * Fix CityHash32() so platforms that disagree about whether 'char' is signed
4
+    use the same mathematical function.  For most people this changes nothing
5
+    as most popular platforms agree with x86 about whether 'char' is signed.
6
+  * No changes to any of the functions, unless you had been using CityHash32()
7
+    despite "make check" reporting a failure on your platform.
8
+  * Slightly modernize and improve configuration and portability.
9
+
10
+CityHash v1.1, October 22, 2012
11
+
12
+  * Add CityHash32(), intended for 32-bit platforms.
13
+  * Change existing functions to improve their hash quality and/or speed.  Most
14
+    of the changes were minor, but CityHashCrc* was substantially reworked
15
+    (and made perhaps 10% slower, unfortunately).
16
+  * Improve README.
17
+
18
+CityHash v1.0.3, October 6, 2011
19
+
20
+  * Change all the functions to improve their hash quality.  Most of the
21
+    changes were minor.  Special thanks to Bob Jenkins for reporting some
22
+    issues that he'd found.  The speed of the functions after these changes is
23
+    roughly unchanged, except that CityHash128() and CityHash128WithSeed() are
24
+    slower.
25
+  * To improve portability, replace the one use of ssize_t with signed long.
26
+  * Improve README.
27
+
28
+CityHash v1.0.2, May 8, 2011
29
+
30
+  * Correct a problem in CityHashCrc256(); for inputs under 240 bytes the
31
+    scheme of padding to 240 bytes was causing the empty string and an input
32
+    of exactly 240 NULs to have the same hash code.  That is now fixed.
33
+    Most strings less than 240 bytes long will have a different hash than
34
+    they did in v1.0.1.
35
+  * Other hash functions are unchanged.
36
+  * Minor corrections and improvements to README.
37
+
38
+CityHash v1.0.1, April 28, 2011
39
+
40
+  * Added README, NEWS, and COPYING.  The README contains installation and
41
+    usage instructions, information on "hash quality," and other goodies.
42
+  * Improved how CityHash128() and CityHash128WithSeed() handle very short
43
+    input strings.
44
+  * Added new functions that are faster on long strings on 64-bit CPUs with
45
+    a CRC32 instruction: CityHashCrc128(), CityHashCrc128WithSeed(), and
46
+    CityHashCrc256().
47
+  * Removed our assumption that "*(const uint64*)p" and such is safe.  Now we
48
+    memcpy() instead. It has no speed penalty and makes our intent explicit
49
+    to the compiler.
50
+  * Changed #include "city.h" to #include <city.h>, suggested by Robert Escriva.
51
+  * Added build system, a modified version of one contributed by Robert Escriva.
52
+  * We now use __builtin_expect if the configure script can make it work, rather
53
+    than just on gcc.
54
+  * Added a test: use "make check" to run it.  If you compile CityHash in a way
55
+    that causes it to return unexpected results, the test should fail.
56
+  * Added untested big-endian support. Please let us know if you try it!
57
+  * Other than CityHash128() and CityHash128WithSeed(), the hash functions in
58
+    the previous release are unchanged.
59
+
60
+CityHash v1, April 11, 2011
61
+
62
+  * Initial release

+ 196
- 0
README View File

@@ -0,0 +1,196 @@
1
+CityHash, a family of hash functions for strings.
2
+
3
+
4
+Introduction
5
+============
6
+
7
+CityHash provides hash functions for strings.  The functions mix the
8
+input bits thoroughly but are not suitable for cryptography.  See
9
+"Hash Quality," below, for details on how CityHash was tested and so on.
10
+
11
+We provide reference implementations in C++, with a friendly MIT license.
12
+
13
+CityHash32() returns a 32-bit hash.
14
+
15
+CityHash64() and similar return a 64-bit hash.
16
+
17
+CityHash128() and similar return a 128-bit hash and are tuned for
18
+strings of at least a few hundred bytes.  Depending on your compiler
19
+and hardware, it's likely faster than CityHash64() on sufficiently long
20
+strings.  It's slower than necessary on shorter strings, but we expect
21
+that case to be relatively unimportant.
22
+
23
+CityHashCrc128() and similar are variants of CityHash128() that depend
24
+on _mm_crc32_u64(), an intrinsic that compiles to a CRC32 instruction
25
+on some CPUs.  However, none of the functions we provide are CRCs.
26
+
27
+CityHashCrc256() is a variant of CityHashCrc128() that also depends
28
+on _mm_crc32_u64().  It returns a 256-bit hash.
29
+
30
+All members of the CityHash family were designed with heavy reliance
31
+on previous work by Austin Appleby, Bob Jenkins, and others.
32
+For example, CityHash32 has many similarities with Murmur3a.
33
+
34
+Performance on long strings: 64-bit CPUs
35
+========================================
36
+ 
37
+We are most excited by the performance of CityHash64() and its variants on
38
+short strings, but long strings are interesting as well.
39
+
40
+CityHash is intended to be fast, under the constraint that it hash very
41
+well.  For CPUs with the CRC32 instruction, CRC is speedy, but CRC wasn't
42
+designed as a hash function and shouldn't be used as one.  CityHashCrc128()
43
+is not a CRC, but it uses the CRC32 machinery.
44
+
45
+On a single core of a 2.67GHz Intel Xeon X5550, CityHashCrc256 peaks at about
46
+5 to 5.5 bytes/cycle.  The other CityHashCrc functions are wrappers around
47
+CityHashCrc256 and should have similar performance on long strings.
48
+(CityHashCrc256 in v1.0.3 was even faster, but we decided it wasn't as thorough
49
+as it should be.)  CityHash128 peaks at about 4.3 bytes/cycle.  The fastest
50
+Murmur variant on that hardware, Murmur3F, peaks at about 2.4 bytes/cycle.
51
+We expect the peak speed of CityHash128 to dominate CityHash64, which is
52
+aimed more toward short strings or use in hash tables.
53
+
54
+For long strings, a new function by Bob Jenkins, SpookyHash, is just
55
+slightly slower than CityHash128 on Intel x86-64 CPUs, but noticeably
56
+faster on AMD x86-64 CPUs.  For hashing long strings on AMD CPUs
57
+and/or CPUs without the CRC instruction, SpookyHash may be just as
58
+good or better than any of the CityHash variants.
59
+
60
+Performance on short strings: 64-bit CPUs
61
+=========================================
62
+
63
+For short strings, e.g., most hash table keys, CityHash64 is faster than
64
+CityHash128, and probably faster than all the aforementioned functions,
65
+depending on the mix of string lengths.  Here are a few results from that
66
+same hardware, where we (unrealistically) tested a single string length over
67
+and over again:
68
+
69
+Hash              Results
70
+------------------------------------------------------------------------------
71
+CityHash64 v1.0.3 7ns for 1 byte, or 6ns for 8 bytes, or 9ns for 64 bytes
72
+Murmur2 (64-bit)  6ns for 1 byte, or 6ns for 8 bytes, or 15ns for 64 bytes
73
+Murmur3F          14ns for 1 byte, or 15ns for 8 bytes, or 23ns for 64 bytes
74
+
75
+We don't have CityHash64 benchmarks results for v1.1, but we expect the
76
+numbers to be similar.
77
+
78
+Performance: 32-bit CPUs
79
+========================
80
+
81
+CityHash32 is the newest variant of CityHash.  It is intended for
82
+32-bit hardware in general but has been mostly tested on x86.  Our benchmarks
83
+suggest that Murmur3 is the nearest competitor to CityHash32 on x86.
84
+We don't know of anything faster that has comparable quality.  The speed rankings
85
+in our testing: CityHash32 > Murmur3f > Murmur3a (for long strings), and
86
+CityHash32 > Murmur3a > Murmur3f (for short strings).
87
+
88
+Installation
89
+============
90
+
91
+We provide reference implementations of several CityHash functions, written
92
+in C++.  The build system is based on autoconf.  It defaults the C++
93
+compiler flags to "-g -O2", which is probably slower than -O3 if you are
94
+using gcc.  YMMV.
95
+
96
+On systems with gcc, we generally recommend:
97
+
98
+./configure
99
+make all check CXXFLAGS="-g -O3"
100
+sudo make install
101
+
102
+Or, if your system has the CRC32 instruction, and you want to build everything:
103
+
104
+./configure --enable-sse4.2
105
+make all check CXXFLAGS="-g -O3 -msse4.2"
106
+sudo make install
107
+
108
+Note that our build system doesn't try to determine the appropriate compiler
109
+flag for enabling SSE4.2.  For gcc it is "-msse4.2".  The --enable-sse4.2
110
+flag to the configure script controls whether citycrc.h is installed when
111
+you "make install."  In general, picking the right compiler flags can be
112
+tricky, and may depend on your compiler, your hardware, and even how you
113
+plan to use the library.
114
+
115
+For generic information about how to configure this software, please try:
116
+
117
+./configure --help
118
+
119
+Failing that, please work from city.cc and city*.h, as they contain all the
120
+necessary code.
121
+
122
+
123
+Usage
124
+=====
125
+
126
+The above installation instructions will produce a single library.  It will
127
+contain CityHash32(), CityHash64(), and CityHash128(), and their variants,
128
+and possibly CityHashCrc128(), CityHashCrc128WithSeed(), and
129
+CityHashCrc256().  The functions with Crc in the name are declared in
130
+citycrc.h; the rest are declared in city.h.
131
+
132
+
133
+Limitations
134
+===========
135
+
136
+1) CityHash32 is intended for little-endian 32-bit code, and everything else in
137
+the current version of CityHash is intended for little-endian 64-bit CPUs.
138
+
139
+All functions that don't use the CRC32 instruction should work in
140
+little-endian 32-bit or 64-bit code.  CityHash should work on big-endian CPUs
141
+as well, but we haven't tested that very thoroughly yet.
142
+
143
+2) CityHash is fairly complex.  As a result of its complexity, it may not
144
+perform as expected on some compilers.  For example, preliminary reports
145
+suggest that some Microsoft compilers compile CityHash to assembly that's
146
+10-20% slower than it could be.
147
+
148
+
149
+Hash Quality
150
+============
151
+
152
+We like to test hash functions with SMHasher, among other things.
153
+SMHasher isn't perfect, but it seems to find almost any significant flaw.
154
+SMHasher is available at http://code.google.com/p/smhasher/
155
+
156
+SMHasher is designed to pass a 32-bit seed to the hash functions it tests.
157
+No CityHash function is designed to work that way, so we adapt as follows:
158
+For our functions that accept a seed, we use the given seed directly (padded
159
+with zeroes); for our functions that don't accept a seed, we hash the
160
+concatenation of the given seed and the input string.
161
+
162
+The CityHash functions have the following flaws according to SMHasher:
163
+
164
+(1) CityHash64: none
165
+
166
+(2) CityHash64WithSeed: none
167
+
168
+(3) CityHash64WithSeeds: did not test
169
+
170
+(4) CityHash128: none
171
+
172
+(5) CityHash128WithSeed: none
173
+
174
+(6) CityHashCrc128: none
175
+
176
+(7) CityHashCrc128WithSeed: none
177
+
178
+(8) CityHashCrc256: none
179
+
180
+(9) CityHash32: none
181
+
182
+Some minor flaws in 32-bit and 64-bit functions are harmless, as we
183
+expect the primary use of these functions will be in hash tables.  We
184
+may have gone slightly overboard in trying to please SMHasher and other
185
+similar tests, but we don't want anyone to choose a different hash function
186
+because of some minor issue reported by a quality test.
187
+
188
+
189
+For more information
190
+====================
191
+
192
+http://code.google.com/p/cityhash/
193
+
194
+cityhash-discuss@googlegroups.com
195
+
196
+Please feel free to send us comments, questions, bug reports, or patches.

+ 976
- 0
aclocal.m4 View File

@@ -0,0 +1,976 @@
1
+# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
2
+
3
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
+# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5
+# Inc.
6
+# This file is free software; the Free Software Foundation
7
+# gives unlimited permission to copy and/or distribute it,
8
+# with or without modifications, as long as this notice is preserved.
9
+
10
+# This program is distributed in the hope that it will be useful,
11
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
+# PARTICULAR PURPOSE.
14
+
15
+m4_ifndef([AC_AUTOCONF_VERSION],
16
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18
+[m4_warning([this file was generated for autoconf 2.69.
19
+You have another version of autoconf.  It may work, but is not guaranteed to.
20
+If you have problems, you may need to regenerate the build system entirely.
21
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
22
+
23
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
24
+# Foundation, Inc.
25
+#
26
+# This file is free software; the Free Software Foundation
27
+# gives unlimited permission to copy and/or distribute it,
28
+# with or without modifications, as long as this notice is preserved.
29
+
30
+# serial 1
31
+
32
+# AM_AUTOMAKE_VERSION(VERSION)
33
+# ----------------------------
34
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
35
+# generated from the m4 files accompanying Automake X.Y.
36
+# (This private macro should not be called outside this file.)
37
+AC_DEFUN([AM_AUTOMAKE_VERSION],
38
+[am__api_version='1.11'
39
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40
+dnl require some minimum version.  Point them to the right macro.
41
+m4_if([$1], [1.11.3], [],
42
+      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43
+])
44
+
45
+# _AM_AUTOCONF_VERSION(VERSION)
46
+# -----------------------------
47
+# aclocal traces this macro to find the Autoconf version.
48
+# This is a private macro too.  Using m4_define simplifies
49
+# the logic in aclocal, which can simply ignore this definition.
50
+m4_define([_AM_AUTOCONF_VERSION], [])
51
+
52
+# AM_SET_CURRENT_AUTOMAKE_VERSION
53
+# -------------------------------
54
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57
+[AM_AUTOMAKE_VERSION([1.11.3])dnl
58
+m4_ifndef([AC_AUTOCONF_VERSION],
59
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
61
+
62
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
63
+
64
+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
65
+#
66
+# This file is free software; the Free Software Foundation
67
+# gives unlimited permission to copy and/or distribute it,
68
+# with or without modifications, as long as this notice is preserved.
69
+
70
+# serial 1
71
+
72
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
73
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
74
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
75
+#
76
+# Of course, Automake must honor this variable whenever it calls a
77
+# tool from the auxiliary directory.  The problem is that $srcdir (and
78
+# therefore $ac_aux_dir as well) can be either absolute or relative,
79
+# depending on how configure is run.  This is pretty annoying, since
80
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
81
+# source directory, any form will work fine, but in subdirectories a
82
+# relative path needs to be adjusted first.
83
+#
84
+# $ac_aux_dir/missing
85
+#    fails when called from a subdirectory if $ac_aux_dir is relative
86
+# $top_srcdir/$ac_aux_dir/missing
87
+#    fails if $ac_aux_dir is absolute,
88
+#    fails when called from a subdirectory in a VPATH build with
89
+#          a relative $ac_aux_dir
90
+#
91
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
92
+# are both prefixed by $srcdir.  In an in-source build this is usually
93
+# harmless because $srcdir is `.', but things will broke when you
94
+# start a VPATH build or use an absolute $srcdir.
95
+#
96
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
97
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
98
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
99
+# and then we would define $MISSING as
100
+#   MISSING="\${SHELL} $am_aux_dir/missing"
101
+# This will work as long as MISSING is not called from configure, because
102
+# unfortunately $(top_srcdir) has no meaning in configure.
103
+# However there are other variables, like CC, which are often used in
104
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
105
+#
106
+# Another solution, used here, is to always expand $ac_aux_dir to an
107
+# absolute PATH.  The drawback is that using absolute paths prevent a
108
+# configured tree to be moved without reconfiguration.
109
+
110
+AC_DEFUN([AM_AUX_DIR_EXPAND],
111
+[dnl Rely on autoconf to set up CDPATH properly.
112
+AC_PREREQ([2.50])dnl
113
+# expand $ac_aux_dir to an absolute path
114
+am_aux_dir=`cd $ac_aux_dir && pwd`
115
+])
116
+
117
+# AM_CONDITIONAL                                            -*- Autoconf -*-
118
+
119
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
120
+# Free Software Foundation, Inc.
121
+#
122
+# This file is free software; the Free Software Foundation
123
+# gives unlimited permission to copy and/or distribute it,
124
+# with or without modifications, as long as this notice is preserved.
125
+
126
+# serial 9
127
+
128
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
129
+# -------------------------------------
130
+# Define a conditional.
131
+AC_DEFUN([AM_CONDITIONAL],
132
+[AC_PREREQ(2.52)dnl
133
+ ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
134
+	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
135
+AC_SUBST([$1_TRUE])dnl
136
+AC_SUBST([$1_FALSE])dnl
137
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
138
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
139
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
140
+if $2; then
141
+  $1_TRUE=
142
+  $1_FALSE='#'
143
+else
144
+  $1_TRUE='#'
145
+  $1_FALSE=
146
+fi
147
+AC_CONFIG_COMMANDS_PRE(
148
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
149
+  AC_MSG_ERROR([[conditional "$1" was never defined.
150
+Usually this means the macro was only invoked conditionally.]])
151
+fi])])
152
+
153
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
154
+# 2010, 2011 Free Software Foundation, Inc.
155
+#
156
+# This file is free software; the Free Software Foundation
157
+# gives unlimited permission to copy and/or distribute it,
158
+# with or without modifications, as long as this notice is preserved.
159
+
160
+# serial 12
161
+
162
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
163
+# written in clear, in which case automake, when reading aclocal.m4,
164
+# will think it sees a *use*, and therefore will trigger all it's
165
+# C support machinery.  Also note that it means that autoscan, seeing
166
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
167
+
168
+
169
+# _AM_DEPENDENCIES(NAME)
170
+# ----------------------
171
+# See how the compiler implements dependency checking.
172
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
173
+# We try a few techniques and use that to set a single cache variable.
174
+#
175
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
176
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
177
+# dependency, and given that the user is not expected to run this macro,
178
+# just rely on AC_PROG_CC.
179
+AC_DEFUN([_AM_DEPENDENCIES],
180
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
181
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
182
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
183
+AC_REQUIRE([AM_DEP_TRACK])dnl
184
+
185
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
186
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
187
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
188
+       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
189
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
190
+                   [depcc="$$1"   am_compiler_list=])
191
+
192
+AC_CACHE_CHECK([dependency style of $depcc],
193
+               [am_cv_$1_dependencies_compiler_type],
194
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
195
+  # We make a subdir and do the tests there.  Otherwise we can end up
196
+  # making bogus files that we don't know about and never remove.  For
197
+  # instance it was reported that on HP-UX the gcc test will end up
198
+  # making a dummy file named `D' -- because `-MD' means `put the output
199
+  # in D'.
200
+  rm -rf conftest.dir
201
+  mkdir conftest.dir
202
+  # Copy depcomp to subdir because otherwise we won't find it if we're
203
+  # using a relative directory.
204
+  cp "$am_depcomp" conftest.dir
205
+  cd conftest.dir
206
+  # We will build objects and dependencies in a subdirectory because
207
+  # it helps to detect inapplicable dependency modes.  For instance
208
+  # both Tru64's cc and ICC support -MD to output dependencies as a
209
+  # side effect of compilation, but ICC will put the dependencies in
210
+  # the current directory while Tru64 will put them in the object
211
+  # directory.
212
+  mkdir sub
213
+
214
+  am_cv_$1_dependencies_compiler_type=none
215
+  if test "$am_compiler_list" = ""; then
216
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
217
+  fi
218
+  am__universal=false
219
+  m4_case([$1], [CC],
220
+    [case " $depcc " in #(
221
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
222
+     esac],
223
+    [CXX],
224
+    [case " $depcc " in #(
225
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
226
+     esac])
227
+
228
+  for depmode in $am_compiler_list; do
229
+    # Setup a source with many dependencies, because some compilers
230
+    # like to wrap large dependency lists on column 80 (with \), and
231
+    # we should not choose a depcomp mode which is confused by this.
232
+    #
233
+    # We need to recreate these files for each test, as the compiler may
234
+    # overwrite some of them when testing with obscure command lines.
235
+    # This happens at least with the AIX C compiler.
236
+    : > sub/conftest.c
237
+    for i in 1 2 3 4 5 6; do
238
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
239
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
240
+      # Solaris 8's {/usr,}/bin/sh.
241
+      touch sub/conftst$i.h
242
+    done
243
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
244
+
245
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
246
+    # mode.  It turns out that the SunPro C++ compiler does not properly
247
+    # handle `-M -o', and we need to detect this.  Also, some Intel
248
+    # versions had trouble with output in subdirs
249
+    am__obj=sub/conftest.${OBJEXT-o}
250
+    am__minus_obj="-o $am__obj"
251
+    case $depmode in
252
+    gcc)
253
+      # This depmode causes a compiler race in universal mode.
254
+      test "$am__universal" = false || continue
255
+      ;;
256
+    nosideeffect)
257
+      # after this tag, mechanisms are not by side-effect, so they'll
258
+      # only be used when explicitly requested
259
+      if test "x$enable_dependency_tracking" = xyes; then
260
+	continue
261
+      else
262
+	break
263
+      fi
264
+      ;;
265
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
266
+      # This compiler won't grok `-c -o', but also, the minuso test has
267
+      # not run yet.  These depmodes are late enough in the game, and
268
+      # so weak that their functioning should not be impacted.
269
+      am__obj=conftest.${OBJEXT-o}
270
+      am__minus_obj=
271
+      ;;
272
+    none) break ;;
273
+    esac
274
+    if depmode=$depmode \
275
+       source=sub/conftest.c object=$am__obj \
276
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
277
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
278
+         >/dev/null 2>conftest.err &&
279
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
280
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
281
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
282
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
283
+      # icc doesn't choke on unknown options, it will just issue warnings
284
+      # or remarks (even with -Werror).  So we grep stderr for any message
285
+      # that says an option was ignored or not supported.
286
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
287
+      #   icc: Command line warning: ignoring option '-M'; no argument required
288
+      # The diagnosis changed in icc 8.0:
289
+      #   icc: Command line remark: option '-MP' not supported
290
+      if (grep 'ignoring option' conftest.err ||
291
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
292
+        am_cv_$1_dependencies_compiler_type=$depmode
293
+        break
294
+      fi
295
+    fi
296
+  done
297
+
298
+  cd ..
299
+  rm -rf conftest.dir
300
+else
301
+  am_cv_$1_dependencies_compiler_type=none
302
+fi
303
+])
304
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
305
+AM_CONDITIONAL([am__fastdep$1], [
306
+  test "x$enable_dependency_tracking" != xno \
307
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
308
+])
309
+
310
+
311
+# AM_SET_DEPDIR
312
+# -------------
313
+# Choose a directory name for dependency files.
314
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
315
+AC_DEFUN([AM_SET_DEPDIR],
316
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
317
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
318
+])
319
+
320
+
321
+# AM_DEP_TRACK
322
+# ------------
323
+AC_DEFUN([AM_DEP_TRACK],
324
+[AC_ARG_ENABLE(dependency-tracking,
325
+[  --disable-dependency-tracking  speeds up one-time build
326
+  --enable-dependency-tracking   do not reject slow dependency extractors])
327
+if test "x$enable_dependency_tracking" != xno; then
328
+  am_depcomp="$ac_aux_dir/depcomp"
329
+  AMDEPBACKSLASH='\'
330
+  am__nodep='_no'
331
+fi
332
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
333
+AC_SUBST([AMDEPBACKSLASH])dnl
334
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
335
+AC_SUBST([am__nodep])dnl
336
+_AM_SUBST_NOTMAKE([am__nodep])dnl
337
+])
338
+
339
+# Generate code to set up dependency tracking.              -*- Autoconf -*-
340
+
341
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
342
+# Free Software Foundation, Inc.
343
+#
344
+# This file is free software; the Free Software Foundation
345
+# gives unlimited permission to copy and/or distribute it,
346
+# with or without modifications, as long as this notice is preserved.
347
+
348
+#serial 5
349
+
350
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
351
+# ------------------------------
352
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
353
+[{
354
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
355
+  # are listed without --file.  Let's play safe and only enable the eval
356
+  # if we detect the quoting.
357
+  case $CONFIG_FILES in
358
+  *\'*) eval set x "$CONFIG_FILES" ;;
359
+  *)   set x $CONFIG_FILES ;;
360
+  esac
361
+  shift
362
+  for mf
363
+  do
364
+    # Strip MF so we end up with the name of the file.
365
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
366
+    # Check whether this is an Automake generated Makefile or not.
367
+    # We used to match only the files named `Makefile.in', but
368
+    # some people rename them; so instead we look at the file content.
369
+    # Grep'ing the first line is not enough: some people post-process
370
+    # each Makefile.in and add a new line on top of each file to say so.
371
+    # Grep'ing the whole file is not good either: AIX grep has a line
372
+    # limit of 2048, but all sed's we know have understand at least 4000.
373
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
374
+      dirpart=`AS_DIRNAME("$mf")`
375
+    else
376
+      continue
377
+    fi
378
+    # Extract the definition of DEPDIR, am__include, and am__quote
379
+    # from the Makefile without running `make'.
380
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
381
+    test -z "$DEPDIR" && continue
382
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
383
+    test -z "am__include" && continue
384
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
385
+    # When using ansi2knr, U may be empty or an underscore; expand it
386
+    U=`sed -n 's/^U = //p' < "$mf"`
387
+    # Find all dependency output files, they are included files with
388
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
389
+    # simplest approach to changing $(DEPDIR) to its actual value in the
390
+    # expansion.
391
+    for file in `sed -n "
392
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
393
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
394
+      # Make sure the directory exists.
395
+      test -f "$dirpart/$file" && continue
396
+      fdir=`AS_DIRNAME(["$file"])`
397
+      AS_MKDIR_P([$dirpart/$fdir])
398
+      # echo "creating $dirpart/$file"
399
+      echo '# dummy' > "$dirpart/$file"
400
+    done
401
+  done
402
+}
403
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
404
+
405
+
406
+# AM_OUTPUT_DEPENDENCY_COMMANDS
407
+# -----------------------------
408
+# This macro should only be invoked once -- use via AC_REQUIRE.
409
+#
410
+# This code is only required when automatic dependency tracking
411
+# is enabled.  FIXME.  This creates each `.P' file that we will
412
+# need in order to bootstrap the dependency handling code.
413
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
414
+[AC_CONFIG_COMMANDS([depfiles],
415
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
416
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
417
+])
418
+
419
+# Do all the work for Automake.                             -*- Autoconf -*-
420
+
421
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
422
+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
423
+#
424
+# This file is free software; the Free Software Foundation
425
+# gives unlimited permission to copy and/or distribute it,
426
+# with or without modifications, as long as this notice is preserved.
427
+
428
+# serial 16
429
+
430
+# This macro actually does too much.  Some checks are only needed if
431
+# your package does certain things.  But this isn't really a big deal.
432
+
433
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
434
+# AM_INIT_AUTOMAKE([OPTIONS])
435
+# -----------------------------------------------
436
+# The call with PACKAGE and VERSION arguments is the old style
437
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
438
+# and VERSION should now be passed to AC_INIT and removed from
439
+# the call to AM_INIT_AUTOMAKE.
440
+# We support both call styles for the transition.  After
441
+# the next Automake release, Autoconf can make the AC_INIT
442
+# arguments mandatory, and then we can depend on a new Autoconf
443
+# release and drop the old call support.
444
+AC_DEFUN([AM_INIT_AUTOMAKE],
445
+[AC_PREREQ([2.62])dnl
446
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
447
+dnl the ones we care about.
448
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
449
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
450
+AC_REQUIRE([AC_PROG_INSTALL])dnl
451
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
452
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
453
+  # is not polluted with repeated "-I."
454
+  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
455
+  # test to see if srcdir already configured
456
+  if test -f $srcdir/config.status; then
457
+    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
458
+  fi
459
+fi
460
+
461
+# test whether we have cygpath
462
+if test -z "$CYGPATH_W"; then
463
+  if (cygpath --version) >/dev/null 2>/dev/null; then
464
+    CYGPATH_W='cygpath -w'
465
+  else
466
+    CYGPATH_W=echo
467
+  fi
468
+fi
469
+AC_SUBST([CYGPATH_W])
470
+
471
+# Define the identity of the package.
472
+dnl Distinguish between old-style and new-style calls.
473
+m4_ifval([$2],
474
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
475
+ AC_SUBST([PACKAGE], [$1])dnl
476
+ AC_SUBST([VERSION], [$2])],
477
+[_AM_SET_OPTIONS([$1])dnl
478
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
479
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
480
+  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
481
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
482
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
483
+
484
+_AM_IF_OPTION([no-define],,
485
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
486
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
487
+
488
+# Some tools Automake needs.
489
+AC_REQUIRE([AM_SANITY_CHECK])dnl
490
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
491
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
492
+AM_MISSING_PROG(AUTOCONF, autoconf)
493
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
494
+AM_MISSING_PROG(AUTOHEADER, autoheader)
495
+AM_MISSING_PROG(MAKEINFO, makeinfo)
496
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
497
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
498
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
499
+# We need awk for the "check" target.  The system "awk" is bad on
500
+# some platforms.
501
+AC_REQUIRE([AC_PROG_AWK])dnl
502
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
503
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
504
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
505
+	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
506
+			     [_AM_PROG_TAR([v7])])])
507
+_AM_IF_OPTION([no-dependencies],,
508
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
509
+		  [_AM_DEPENDENCIES(CC)],
510
+		  [define([AC_PROG_CC],
511
+			  defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
512
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
513
+		  [_AM_DEPENDENCIES(CXX)],
514
+		  [define([AC_PROG_CXX],
515
+			  defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
516
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
517
+		  [_AM_DEPENDENCIES(OBJC)],
518
+		  [define([AC_PROG_OBJC],
519
+			  defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
520
+])
521
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
522
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
523
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
524
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
525
+AC_CONFIG_COMMANDS_PRE(dnl
526
+[m4_provide_if([_AM_COMPILER_EXEEXT],
527
+  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
528
+])
529
+
530
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
531
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
532
+dnl mangled by Autoconf and run in a shell conditional statement.
533
+m4_define([_AC_COMPILER_EXEEXT],
534
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
535
+
536
+
537
+# When config.status generates a header, we must update the stamp-h file.
538
+# This file resides in the same directory as the config header
539
+# that is generated.  The stamp files are numbered to have different names.
540
+
541
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
542
+# loop where config.status creates the headers, so we can generate
543
+# our stamp files there.
544
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
545
+[# Compute $1's index in $config_headers.
546
+_am_arg=$1
547
+_am_stamp_count=1
548
+for _am_header in $config_headers :; do
549
+  case $_am_header in
550
+    $_am_arg | $_am_arg:* )
551
+      break ;;
552
+    * )
553
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
554
+  esac
555
+done
556
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
557
+
558
+# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
559
+# Inc.
560
+#
561
+# This file is free software; the Free Software Foundation
562
+# gives unlimited permission to copy and/or distribute it,
563
+# with or without modifications, as long as this notice is preserved.
564
+
565
+# serial 1
566
+
567
+# AM_PROG_INSTALL_SH
568
+# ------------------
569
+# Define $install_sh.
570
+AC_DEFUN([AM_PROG_INSTALL_SH],
571
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
572
+if test x"${install_sh}" != xset; then
573
+  case $am_aux_dir in
574
+  *\ * | *\	*)
575
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
576
+  *)
577
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
578
+  esac
579
+fi
580
+AC_SUBST(install_sh)])
581
+
582
+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
583
+#
584
+# This file is free software; the Free Software Foundation
585
+# gives unlimited permission to copy and/or distribute it,
586
+# with or without modifications, as long as this notice is preserved.
587
+
588
+# serial 2
589
+
590
+# Check whether the underlying file-system supports filenames
591
+# with a leading dot.  For instance MS-DOS doesn't.
592
+AC_DEFUN([AM_SET_LEADING_DOT],
593
+[rm -rf .tst 2>/dev/null
594
+mkdir .tst 2>/dev/null
595
+if test -d .tst; then
596
+  am__leading_dot=.
597
+else
598
+  am__leading_dot=_
599
+fi
600
+rmdir .tst 2>/dev/null
601
+AC_SUBST([am__leading_dot])])
602
+
603
+# Check to see how 'make' treats includes.	            -*- Autoconf -*-
604
+
605
+# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
606
+#
607
+# This file is free software; the Free Software Foundation
608
+# gives unlimited permission to copy and/or distribute it,
609
+# with or without modifications, as long as this notice is preserved.
610
+
611
+# serial 4
612
+
613
+# AM_MAKE_INCLUDE()
614
+# -----------------
615
+# Check to see how make treats includes.
616
+AC_DEFUN([AM_MAKE_INCLUDE],
617
+[am_make=${MAKE-make}
618
+cat > confinc << 'END'
619
+am__doit:
620
+	@echo this is the am__doit target
621
+.PHONY: am__doit
622
+END
623
+# If we don't find an include directive, just comment out the code.
624
+AC_MSG_CHECKING([for style of include used by $am_make])
625
+am__include="#"
626
+am__quote=
627
+_am_result=none
628
+# First try GNU make style include.
629
+echo "include confinc" > confmf
630
+# Ignore all kinds of additional output from `make'.
631
+case `$am_make -s -f confmf 2> /dev/null` in #(
632
+*the\ am__doit\ target*)
633
+  am__include=include
634
+  am__quote=
635
+  _am_result=GNU
636
+  ;;
637
+esac
638
+# Now try BSD make style include.
639
+if test "$am__include" = "#"; then
640
+   echo '.include "confinc"' > confmf
641
+   case `$am_make -s -f confmf 2> /dev/null` in #(
642
+   *the\ am__doit\ target*)
643
+     am__include=.include
644
+     am__quote="\""
645
+     _am_result=BSD
646
+     ;;
647
+   esac
648
+fi
649
+AC_SUBST([am__include])
650
+AC_SUBST([am__quote])
651
+AC_MSG_RESULT([$_am_result])
652
+rm -f confinc confmf
653
+])
654
+
655
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
656
+
657
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
658
+# Free Software Foundation, Inc.
659
+#
660
+# This file is free software; the Free Software Foundation
661
+# gives unlimited permission to copy and/or distribute it,
662
+# with or without modifications, as long as this notice is preserved.
663
+
664
+# serial 6
665
+
666
+# AM_MISSING_PROG(NAME, PROGRAM)
667
+# ------------------------------
668
+AC_DEFUN([AM_MISSING_PROG],
669
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
670
+$1=${$1-"${am_missing_run}$2"}
671
+AC_SUBST($1)])
672
+
673
+
674
+# AM_MISSING_HAS_RUN
675
+# ------------------
676
+# Define MISSING if not defined so far and test if it supports --run.
677
+# If it does, set am_missing_run to use it, otherwise, to nothing.
678
+AC_DEFUN([AM_MISSING_HAS_RUN],
679
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
680
+AC_REQUIRE_AUX_FILE([missing])dnl
681
+if test x"${MISSING+set}" != xset; then
682
+  case $am_aux_dir in
683
+  *\ * | *\	*)
684
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
685
+  *)
686
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
687
+  esac
688
+fi
689
+# Use eval to expand $SHELL
690
+if eval "$MISSING --run true"; then
691
+  am_missing_run="$MISSING --run "
692
+else
693
+  am_missing_run=
694
+  AC_MSG_WARN([`missing' script is too old or missing])
695
+fi
696
+])
697
+
698
+# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
699
+# Inc.
700
+#
701
+# This file is free software; the Free Software Foundation
702
+# gives unlimited permission to copy and/or distribute it,
703
+# with or without modifications, as long as this notice is preserved.
704
+
705
+# serial 1
706
+
707
+# AM_PROG_MKDIR_P
708
+# ---------------
709
+# Check for `mkdir -p'.
710
+AC_DEFUN([AM_PROG_MKDIR_P],
711
+[AC_PREREQ([2.60])dnl
712
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
713
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
714
+dnl while keeping a definition of mkdir_p for backward compatibility.
715
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
716
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
717
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
718
+dnl adjustment using top_builddir (which is defined more often than
719
+dnl MKDIR_P).
720
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
721
+case $mkdir_p in
722
+  [[\\/$]]* | ?:[[\\/]]*) ;;
723
+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
724
+esac
725
+])
726
+
727
+# Helper functions for option handling.                     -*- Autoconf -*-
728
+
729
+# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
730
+# Foundation, Inc.
731
+#
732
+# This file is free software; the Free Software Foundation
733
+# gives unlimited permission to copy and/or distribute it,
734
+# with or without modifications, as long as this notice is preserved.
735
+
736
+# serial 5
737
+
738
+# _AM_MANGLE_OPTION(NAME)
739
+# -----------------------
740
+AC_DEFUN([_AM_MANGLE_OPTION],
741
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
742
+
743
+# _AM_SET_OPTION(NAME)
744
+# --------------------
745
+# Set option NAME.  Presently that only means defining a flag for this option.
746
+AC_DEFUN([_AM_SET_OPTION],
747
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
748
+
749
+# _AM_SET_OPTIONS(OPTIONS)
750
+# ------------------------
751
+# OPTIONS is a space-separated list of Automake options.
752
+AC_DEFUN([_AM_SET_OPTIONS],
753
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
754
+
755
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
756
+# -------------------------------------------
757
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
758
+AC_DEFUN([_AM_IF_OPTION],
759
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
760
+
761
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
762
+
763
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
764
+# Free Software Foundation, Inc.
765
+#
766
+# This file is free software; the Free Software Foundation
767
+# gives unlimited permission to copy and/or distribute it,
768
+# with or without modifications, as long as this notice is preserved.
769
+
770
+# serial 5
771
+
772
+# AM_SANITY_CHECK
773
+# ---------------
774
+AC_DEFUN([AM_SANITY_CHECK],
775
+[AC_MSG_CHECKING([whether build environment is sane])
776
+# Just in case
777
+sleep 1
778
+echo timestamp > conftest.file
779
+# Reject unsafe characters in $srcdir or the absolute working directory
780
+# name.  Accept space and tab only in the latter.
781
+am_lf='
782
+'
783
+case `pwd` in
784
+  *[[\\\"\#\$\&\'\`$am_lf]]*)
785
+    AC_MSG_ERROR([unsafe absolute working directory name]);;
786
+esac
787
+case $srcdir in
788
+  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
789
+    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
790
+esac
791
+
792
+# Do `set' in a subshell so we don't clobber the current shell's
793
+# arguments.  Must try -L first in case configure is actually a
794
+# symlink; some systems play weird games with the mod time of symlinks
795
+# (eg FreeBSD returns the mod time of the symlink's containing
796
+# directory).
797
+if (
798
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
799
+   if test "$[*]" = "X"; then
800
+      # -L didn't work.
801
+      set X `ls -t "$srcdir/configure" conftest.file`
802
+   fi
803
+   rm -f conftest.file
804
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
805
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
806
+
807
+      # If neither matched, then we have a broken ls.  This can happen
808
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
809
+      # broken ls alias from the environment.  This has actually
810
+      # happened.  Such a system could not be considered "sane".
811
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
812
+alias in your environment])
813
+   fi
814
+
815
+   test "$[2]" = conftest.file
816
+   )
817
+then
818
+   # Ok.
819
+   :
820
+else
821
+   AC_MSG_ERROR([newly created file is older than distributed files!
822
+Check your system clock])
823
+fi
824
+AC_MSG_RESULT(yes)])
825
+
826
+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
827
+#
828
+# This file is free software; the Free Software Foundation
829
+# gives unlimited permission to copy and/or distribute it,
830
+# with or without modifications, as long as this notice is preserved.
831
+
832
+# serial 1
833
+
834
+# AM_PROG_INSTALL_STRIP
835
+# ---------------------
836
+# One issue with vendor `install' (even GNU) is that you can't
837
+# specify the program used to strip binaries.  This is especially
838
+# annoying in cross-compiling environments, where the build's strip
839
+# is unlikely to handle the host's binaries.
840
+# Fortunately install-sh will honor a STRIPPROG variable, so we
841
+# always use install-sh in `make install-strip', and initialize
842
+# STRIPPROG with the value of the STRIP variable (set by the user).
843
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
844
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
845
+# Installed binaries are usually stripped using `strip' when the user
846
+# run `make install-strip'.  However `strip' might not be the right
847
+# tool to use in cross-compilation environments, therefore Automake
848
+# will honor the `STRIP' environment variable to overrule this program.
849
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
850
+if test "$cross_compiling" != no; then
851
+  AC_CHECK_TOOL([STRIP], [strip], :)
852
+fi
853
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
854
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
855
+
856
+# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
857
+#
858
+# This file is free software; the Free Software Foundation
859
+# gives unlimited permission to copy and/or distribute it,
860
+# with or without modifications, as long as this notice is preserved.
861
+
862
+# serial 3
863
+
864
+# _AM_SUBST_NOTMAKE(VARIABLE)
865
+# ---------------------------
866
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
867
+# This macro is traced by Automake.
868
+AC_DEFUN([_AM_SUBST_NOTMAKE])
869
+
870
+# AM_SUBST_NOTMAKE(VARIABLE)
871
+# --------------------------
872
+# Public sister of _AM_SUBST_NOTMAKE.
873
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
874
+
875
+# Check how to create a tarball.                            -*- Autoconf -*-
876
+
877
+# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
878
+#
879
+# This file is free software; the Free Software Foundation
880
+# gives unlimited permission to copy and/or distribute it,
881
+# with or without modifications, as long as this notice is preserved.
882
+
883
+# serial 2
884
+
885
+# _AM_PROG_TAR(FORMAT)
886
+# --------------------
887
+# Check how to create a tarball in format FORMAT.
888
+# FORMAT should be one of `v7', `ustar', or `pax'.
889
+#
890
+# Substitute a variable $(am__tar) that is a command
891
+# writing to stdout a FORMAT-tarball containing the directory
892
+# $tardir.
893
+#     tardir=directory && $(am__tar) > result.tar
894
+#
895
+# Substitute a variable $(am__untar) that extract such
896
+# a tarball read from stdin.
897
+#     $(am__untar) < result.tar
898
+AC_DEFUN([_AM_PROG_TAR],
899
+[# Always define AMTAR for backward compatibility.  Yes, it's still used
900
+# in the wild :-(  We should find a proper way to deprecate it ...
901
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
902
+m4_if([$1], [v7],
903
+     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
904
+     [m4_case([$1], [ustar],, [pax],,
905
+              [m4_fatal([Unknown tar format])])
906
+AC_MSG_CHECKING([how to create a $1 tar archive])
907
+# Loop over all known methods to create a tar archive until one works.
908
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
909
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
910
+# Do not fold the above two line into one, because Tru64 sh and
911
+# Solaris sh will not grok spaces in the rhs of `-'.
912
+for _am_tool in $_am_tools
913
+do
914
+  case $_am_tool in
915
+  gnutar)
916
+    for _am_tar in tar gnutar gtar;
917
+    do
918
+      AM_RUN_LOG([$_am_tar --version]) && break
919
+    done
920
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
921
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
922
+    am__untar="$_am_tar -xf -"
923
+    ;;
924
+  plaintar)
925
+    # Must skip GNU tar: if it does not support --format= it doesn't create
926
+    # ustar tarball either.
927
+    (tar --version) >/dev/null 2>&1 && continue
928
+    am__tar='tar chf - "$$tardir"'
929
+    am__tar_='tar chf - "$tardir"'
930
+    am__untar='tar xf -'
931
+    ;;
932
+  pax)
933
+    am__tar='pax -L -x $1 -w "$$tardir"'
934
+    am__tar_='pax -L -x $1 -w "$tardir"'
935
+    am__untar='pax -r'
936
+    ;;
937
+  cpio)
938
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
939
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
940
+    am__untar='cpio -i -H $1 -d'
941
+    ;;
942
+  none)
943
+    am__tar=false
944
+    am__tar_=false
945
+    am__untar=false
946
+    ;;
947
+  esac
948
+
949
+  # If the value was cached, stop now.  We just wanted to have am__tar
950
+  # and am__untar set.
951
+  test -n "${am_cv_prog_tar_$1}" && break
952
+
953
+  # tar/untar a dummy directory, and stop if the command works
954
+  rm -rf conftest.dir
955
+  mkdir conftest.dir
956
+  echo GrepMe > conftest.dir/file
957
+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
958
+  rm -rf conftest.dir
959
+  if test -s conftest.tar; then
960
+    AM_RUN_LOG([$am__untar <conftest.tar])
961
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
962
+  fi
963
+done
964
+rm -rf conftest.dir
965
+
966
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
967
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
968
+AC_SUBST([am__tar])
969
+AC_SUBST([am__untar])
970
+]) # _AM_PROG_TAR
971
+
972
+m4_include([m4/libtool.m4])
973
+m4_include([m4/ltoptions.m4])
974
+m4_include([m4/ltsugar.m4])
975
+m4_include([m4/ltversion.m4])
976
+m4_include([m4/lt~obsolete.m4])

BIN
build/.ninja_deps View File


+ 4
- 0
build/.ninja_log View File

@@ -0,0 +1,4 @@
1
+# ninja log v5
2
+0	3734	0	build.ninja	59aebd2f581b44c5
3
+0	874	0	cityhash@sha/src_city.cc.o	bfd9bcb65a42ae9d
4
+878	1102	0	libcityhash.so	b223c3adac31d6ac

+ 139
- 0
build/build.ninja View File

@@ -0,0 +1,139 @@
1
+# This is the build file for project "cityhash"
2
+# It is autogenerated by the Meson build system.
3
+# Do not edit by hand.
4
+
5
+ninja_required_version = 1.5.1
6
+
7
+# Rules for compiling.
8
+
9
+rule llvm_ir_COMPILER
10
+ command = sc++ $ARGS  -o $out -c $in
11
+ description = Compiling LLVM IR object $in.
12
+
13
+rule cpp_COMPILER
14
+ command = sc++ $ARGS  -MD -MQ $out -MF '$DEPFILE' -o $out -c $in
15
+ deps = gcc
16
+ depfile = $DEPFILE
17
+ description = Compiling C++ object $out.
18
+
19
+rule cpp_PCH
20
+ command = sc++ $ARGS  -MD -MQ $out -MF '$DEPFILE' -o $out -c $in
21
+ deps = gcc
22
+ depfile = $DEPFILE
23
+ description = Precompiling header $in.
24
+
25
+
26
+# Rules for linking.
27
+
28
+rule STATIC_LINKER
29
+ command =  rm -f $out && ar $LINK_ARGS $out $in
30
+ description = Linking static target $out.
31
+
32
+rule cpp_LINKER
33
+ command = sc++ $ARGS -o $out $in $LINK_ARGS  $aliasing
34
+ description = Linking target $out.
35
+
36
+
37
+rule SHSYM
38
+ command = /usr/bin/python3.6 /usr/local/bin/meson --internal symbolextractor $in $out $CROSS
39
+ restat = 1
40
+ description = Generating symbol file $out.
41
+
42
+# Other rules
43
+
44
+rule CUSTOM_COMMAND
45
+ command = $COMMAND
46
+ description = $DESC
47
+ restat = 1
48
+
49
+rule CUSTOM_COMMAND_DEP
50
+ command = $COMMAND
51
+ description = $DESC
52
+ deps = gcc
53
+ depfile = $DEPFILE
54
+ restat = 1
55
+
56
+rule REGENERATE_BUILD
57
+ command = /usr/bin/python3.6 /usr/local/bin/meson --internal regenerate /mnt/c/Users/Mahmoud/git/cityhash /mnt/c/Users/Mahmoud/git/cityhash/build --backend ninja
58
+ description = Regenerating build files.
59
+ generator = 1
60
+
61
+
62
+# Phony build target, always out of date
63
+build PHONY: phony
64
+
65
+# Build rules for targets
66
+
67
+build cityhash@sha/src_city.cc.o: cpp_COMPILER ../src/city.cc
68
+ DEPFILE = cityhash@sha/src_city.cc.o.d
69
+ ARGS = -Icityhash@sha -I. -I.. -I../src/ -Iinternal -I../internal -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -O0 -g -march=native -msse4a -mfma -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -fPIC
70
+
71
+build cityhash@sha/libcityhash.so.symbols: SHSYM libcityhash.so
72
+
73
+build libcityhash.so: cpp_LINKER cityhash@sha/src_city.cc.o
74
+ LINK_ARGS = -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,libcityhash.so -Wl,--end-group -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI
75
+
76
+# Test rules
77
+
78
+build meson-test: CUSTOM_COMMAND all PHONY
79
+ COMMAND = /usr/bin/python3.6 -u /usr/local/bin/meson test --no-rebuild --print-errorlogs
80
+ DESC = Running$ all$ tests.
81
+ pool = console
82
+
83
+build test: phony meson-test
84
+
85
+build meson-benchmark: CUSTOM_COMMAND all PHONY
86
+ COMMAND = /usr/bin/python3.6 -u /usr/local/bin/meson test --benchmark --logbase benchmarklog --num-processes=1 --no-rebuild
87
+ DESC = Running$ benchmark$ suite.
88
+ pool = console
89
+
90
+build benchmark: phony meson-benchmark
91
+
92
+# Install rules
93
+
94
+build meson-install: CUSTOM_COMMAND PHONY | all
95
+ DESC = Installing$ files.
96
+ COMMAND = /usr/bin/python3.6 /usr/local/bin/meson --internal install /mnt/c/Users/Mahmoud/git/cityhash/build/meson-private/install.dat
97
+ pool = console
98
+
99
+build install: phony meson-install
100
+
101
+build meson-dist: CUSTOM_COMMAND PHONY
102
+ DESC = Creating$ source$ packages
103
+ COMMAND = /usr/bin/python3.6 /usr/local/bin/meson --internal dist /mnt/c/Users/Mahmoud/git/cityhash /mnt/c/Users/Mahmoud/git/cityhash/build /usr/bin/python3.6 /usr/local/bin/meson
104
+ pool = console
105
+
106
+build dist: phony meson-dist
107
+
108
+# Suffix
109
+
110
+build meson-scan-build: CUSTOM_COMMAND PHONY
111
+ COMMAND = /usr/bin/python3.6 /usr/local/bin/meson --internal scanbuild /mnt/c/Users/Mahmoud/git/cityhash /mnt/c/Users/Mahmoud/git/cityhash/build /usr/bin/python3.6 /usr/local/bin/meson
112
+ pool = console
113
+
114
+build scan-build: phony meson-scan-build
115
+
116
+build meson-uninstall: CUSTOM_COMMAND PHONY
117
+ COMMAND = /usr/bin/python3.6 /usr/local/bin/meson --internal uninstall
118
+ pool = console
119
+
120
+build uninstall: phony meson-uninstall
121
+
122
+build all: phony libcityhash.so
123
+
124
+default all
125
+
126
+build clean: phony meson-clean
127
+
128
+build meson-clean: CUSTOM_COMMAND PHONY
129
+ COMMAND = ninja -t clean
130
+ description = Cleaning.
131
+
132
+build build.ninja: REGENERATE_BUILD ../meson.build ../internal/meson.build meson-private/coredata.dat
133
+ pool = console
134
+
135
+build reconfigure: REGENERATE_BUILD PHONY
136
+ pool = console
137
+
138
+build ../meson.build ../internal/meson.build meson-private/coredata.dat: phony 
139
+

BIN
build/cityhash@sha/src_city.cc.o View File


+ 7
- 0
build/compile_commands.json View File

@@ -0,0 +1,7 @@
1
+[
2
+  {
3
+    "directory": "/mnt/c/Users/Mahmoud/git/cityhash/build",
4
+    "command": "sc++ -Icityhash@sha -I. -I.. -I../src/ -Iinternal -I../internal -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -O0 -g -march=native -msse4a -mfma -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -fPIC  -MD -MQ 'cityhash@sha/src_city.cc.o' -MF 'cityhash@sha/src_city.cc.o.d' -o 'cityhash@sha/src_city.cc.o' -c ../src/city.cc",
5
+    "file": "../src/city.cc"
6
+  }
7
+]

+ 31
- 0
build/internal/config.h View File

@@ -0,0 +1,31 @@
1
+/*
2
+ * Autogenerated by the Meson build system.
3
+ * Do not edit, your changes will be lost.
4
+ */
5
+
6
+#pragma once
7
+
8
+#define HAVE_BUILTIN_EXPECT 1
9
+
10
+#define HAVE_DLFCN_H 1
11
+
12
+#define HAVE_INTTYPES_H 1
13
+
14
+#define HAVE_MEMORY_H 1
15
+
16
+#define HAVE_STDINT_H 1
17
+
18
+#define HAVE_STDLIB_H 1
19
+
20
+#define HAVE_STRINGS_H 1
21
+
22
+#define HAVE_STRING_H 1
23
+
24
+#define HAVE_SYS_STAT_H 1
25
+
26
+#define HAVE_SYS_TYPES_H 1
27
+
28
+#define HAVE_UNISTD_H 1
29
+
30
+#define STDC_HEADERS
31
+

BIN
build/libcityhash.so View File


+ 248
- 0
build/meson-logs/meson-log.txt View File

@@ -0,0 +1,248 @@
1
+Build started at 2018-06-24T16:35:04.682597
2
+Main binary: /usr/bin/python3.6
3
+Python system: Linux
4
+The Meson build system
5
+Version: 0.46.0
6
+Source dir: /mnt/c/Users/Mahmoud/git/cityhash
7
+Build dir: /mnt/c/Users/Mahmoud/git/cityhash/build
8
+Build type: native build
9
+Project name: cityhash
10
+Native C++ compiler: sc++ (clang 7.0.0 "clang version 7.0.0- (trunk)")
11
+Appending CXXFLAGS from environment: '-march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI'
12
+Appending CPPFLAGS from environment: '-march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI'
13
+Build machine cpu family: x86_64
14
+Build machine cpu: x86_64
15
+Running compile:
16
+Working directory:  /tmp/tmpm_zviaxq
17
+Command line:  sc++ /tmp/tmpm_zviaxq/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpm_zviaxq/output.exe -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
18
+
19
+Code:
20
+ int main(){if(__builtin_expect(1<0,0)){}}
21
+Compiler stdout:
22
+ 
23
+Compiler stderr:
24
+ 
25
+Checking if "__builtin_expect" links: YES
26
+Running compile:
27
+Working directory:  /tmp/tmpfkribr7e
28
+Command line:  sc++ /tmp/tmpfkribr7e/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -E -P -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
29
+
30
+Code:
31
+ 
32
+        #ifdef __has_include
33
+         #if !__has_include("dlfcn.h")
34
+          #error "Header 'dlfcn.h' could not be found"
35
+         #endif
36
+        #else
37
+         #include <dlfcn.h>
38
+        #endif
39
+Compiler stdout:
40
+ 
41
+
42
+Compiler stderr:
43
+ 
44
+Has header "dlfcn.h": YES
45
+Running compile:
46
+Working directory:  /tmp/tmpvgu84_vv
47
+Command line:  sc++ /tmp/tmpvgu84_vv/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -E -P -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
48
+
49
+Code:
50
+ 
51
+        #ifdef __has_include
52
+         #if !__has_include("inttypes.h")
53
+          #error "Header 'inttypes.h' could not be found"
54
+         #endif
55
+        #else
56
+         #include <inttypes.h>
57
+        #endif
58
+Compiler stdout:
59
+ 
60
+
61
+Compiler stderr:
62
+ 
63
+Has header "inttypes.h": YES
64
+Running compile:
65
+Working directory:  /tmp/tmpxeel08sg
66
+Command line:  sc++ /tmp/tmpxeel08sg/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -E -P -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
67
+
68
+Code:
69
+ 
70
+        #ifdef __has_include
71
+         #if !__has_include("memory.h")
72
+          #error "Header 'memory.h' could not be found"
73
+         #endif
74
+        #else
75
+         #include <memory.h>
76
+        #endif
77
+Compiler stdout:
78
+ 
79
+
80
+Compiler stderr:
81
+ 
82
+Has header "memory.h": YES
83
+Running compile:
84
+Working directory:  /tmp/tmpsbdu836a
85
+Command line:  sc++ /tmp/tmpsbdu836a/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -E -P -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
86
+
87
+Code:
88
+ 
89
+        #ifdef __has_include
90
+         #if !__has_include("stdint.h")
91
+          #error "Header 'stdint.h' could not be found"
92
+         #endif
93
+        #else
94
+         #include <stdint.h>
95
+        #endif
96
+Compiler stdout:
97
+ 
98
+
99
+Compiler stderr:
100
+ 
101
+Has header "stdint.h": YES
102
+Running compile:
103
+Working directory:  /tmp/tmp0v_87fw5
104
+Command line:  sc++ /tmp/tmp0v_87fw5/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -E -P -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
105
+
106
+Code:
107
+ 
108
+        #ifdef __has_include
109
+         #if !__has_include("stdlib.h")
110
+          #error "Header 'stdlib.h' could not be found"
111
+         #endif
112
+        #else
113
+         #include <stdlib.h>
114
+        #endif
115
+Compiler stdout:
116
+ 
117
+
118
+Compiler stderr:
119
+ 
120
+Has header "stdlib.h": YES
121
+Running compile:
122
+Working directory:  /tmp/tmpvai4l63i
123
+Command line:  sc++ /tmp/tmpvai4l63i/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -E -P -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
124
+
125
+Code:
126
+ 
127
+        #ifdef __has_include
128
+         #if !__has_include("strings.h")
129
+          #error "Header 'strings.h' could not be found"
130
+         #endif
131
+        #else
132
+         #include <strings.h>
133
+        #endif
134
+Compiler stdout:
135
+ 
136
+
137
+Compiler stderr:
138
+ 
139
+Has header "strings.h": YES
140
+Running compile:
141
+Working directory:  /tmp/tmpquiwozk1
142
+Command line:  sc++ /tmp/tmpquiwozk1/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -E -P -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
143
+
144
+Code:
145
+ 
146
+        #ifdef __has_include
147
+         #if !__has_include("string.h")
148
+          #error "Header 'string.h' could not be found"
149
+         #endif
150
+        #else
151
+         #include <string.h>
152
+        #endif
153
+Compiler stdout:
154
+ 
155
+
156
+Compiler stderr:
157
+ 
158
+Has header "string.h": YES
159
+Running compile:
160
+Working directory:  /tmp/tmps7zurowq
161
+Command line:  sc++ /tmp/tmps7zurowq/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -E -P -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
162
+
163
+Code:
164
+ 
165
+        #ifdef __has_include
166
+         #if !__has_include("sys/stat.h")
167
+          #error "Header 'sys/stat.h' could not be found"
168
+         #endif
169
+        #else
170
+         #include <sys/stat.h>
171
+        #endif
172
+Compiler stdout:
173
+ 
174
+
175
+Compiler stderr:
176
+ 
177
+Has header "sys/stat.h": YES
178
+Running compile:
179
+Working directory:  /tmp/tmpm1u39pk2
180
+Command line:  sc++ /tmp/tmpm1u39pk2/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -E -P -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
181
+
182
+Code:
183
+ 
184
+        #ifdef __has_include
185
+         #if !__has_include("sys/types.h")
186
+          #error "Header 'sys/types.h' could not be found"
187
+         #endif
188
+        #else
189
+         #include <sys/types.h>
190
+        #endif
191
+Compiler stdout:
192
+ 
193
+
194
+Compiler stderr:
195
+ 
196
+Has header "sys/types.h": YES
197
+Running compile:
198
+Working directory:  /tmp/tmpew93c9b9
199
+Command line:  sc++ /tmp/tmpew93c9b9/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -E -P -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
200
+
201
+Code:
202
+ 
203
+        #ifdef __has_include
204
+         #if !__has_include("unistd.h")
205
+          #error "Header 'unistd.h' could not be found"
206
+         #endif
207
+        #else
208
+         #include <unistd.h>
209
+        #endif
210
+Compiler stdout:
211
+ 
212
+
213
+Compiler stderr:
214
+ 
215
+Has header "unistd.h": YES
216
+Running compile:
217
+Working directory:  /tmp/tmpfyys_71j
218
+Command line:  sc++ /tmp/tmpfyys_71j/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -E -P -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
219
+
220
+Code:
221
+ 
222
+        #ifdef __has_include
223
+         #if !__has_include("stdio.h")
224
+          #error "Header 'stdio.h' could not be found"
225
+         #endif
226
+        #else
227
+         #include <stdio.h>
228
+        #endif
229
+Compiler stdout:
230
+ 
231
+
232
+Compiler stderr:
233
+ 
234
+Has header "stdio.h": YES
235
+Running compile:
236
+Working directory:  /tmp/tmpas7uq5v1
237
+Command line:  sc++ /tmp/tmpas7uq5v1/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpas7uq5v1/output.exe -march=native -msse4a -mfma -D_GLIBCXX_USE_CXX11_ABI -O0 -fpermissive 
238
+
239
+Code:
240
+ inline void foo() {} int main() { foo(); }
241
+Compiler stdout:
242
+ 
243
+Compiler stderr:
244
+ 
245
+Checking if "inline" links: YES
246
+Configuring config.h using configuration
247
+Build targets in project: 1
248
+Found ninja-1.5.1 at /usr/bin/ninja

BIN
build/meson-private/build.dat View File


BIN
build/meson-private/coredata.dat View File


BIN
build/meson-private/install.dat View File


+ 0
- 0
build/meson-private/meson.lock View File


BIN
build/meson-private/meson_benchmark_setup.dat View File


BIN
build/meson-private/meson_test_setup.dat View File


+ 1
- 0
build/meson-private/sanitycheckcpp.cc View File

@@ -0,0 +1 @@
1
+class breakCCompiler;int main(int argc, char **argv) { return 0; }

BIN
build/meson-private/sanitycheckcpp.exe View File


+ 1533
- 0
config.guess
File diff suppressed because it is too large
View File


+ 113
- 0
config.h.in View File

@@ -0,0 +1,113 @@
1
+/* config.h.in.  Generated from configure.ac by autoheader.  */
2
+
3
+/* Define if building universal (internal helper macro) */
4
+#undef AC_APPLE_UNIVERSAL_BUILD
5
+
6
+/* Define to 1 if the compiler supports __builtin_expect. */
7
+#undef HAVE_BUILTIN_EXPECT
8
+
9
+/* Define to 1 if you have the <dlfcn.h> header file. */
10
+#undef HAVE_DLFCN_H
11
+
12
+/* Define to 1 if you have the <inttypes.h> header file. */
13
+#undef HAVE_INTTYPES_H
14
+
15
+/* Define to 1 if you have the <memory.h> header file. */
16
+#undef HAVE_MEMORY_H
17
+
18
+/* Define to 1 if you have the <stdint.h> header file. */
19
+#undef HAVE_STDINT_H
20
+
21
+/* Define to 1 if you have the <stdlib.h> header file. */
22
+#undef HAVE_STDLIB_H
23
+
24
+/* Define to 1 if you have the <strings.h> header file. */
25
+#undef HAVE_STRINGS_H
26
+
27
+/* Define to 1 if you have the <string.h> header file. */
28
+#undef HAVE_STRING_H
29
+
30
+/* Define to 1 if you have the <sys/stat.h> header file. */
31
+#undef HAVE_SYS_STAT_H
32
+
33
+/* Define to 1 if you have the <sys/types.h> header file. */
34
+#undef HAVE_SYS_TYPES_H
35
+
36
+/* Define to 1 if you have the <unistd.h> header file. */
37
+#undef HAVE_UNISTD_H
38
+
39
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
40
+   */
41
+#undef LT_OBJDIR
42
+
43
+/* Define to the address where bug reports for this package should be sent. */
44
+#undef PACKAGE_BUGREPORT
45
+
46
+/* Define to the full name of this package. */
47
+#undef PACKAGE_NAME
48
+
49
+/* Define to the full name and version of this package. */
50
+#undef PACKAGE_STRING
51
+
52
+/* Define to the one symbol short name of this package. */
53
+#undef PACKAGE_TARNAME
54
+
55
+/* Define to the home page for this package. */
56
+#undef PACKAGE_URL
57
+
58