Skip to content

Commit

Permalink
update hat-trie C library to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
kmike committed Mar 24, 2013
1 parent d3a75a8 commit 1515b91
Show file tree
Hide file tree
Showing 17 changed files with 1,438 additions and 315 deletions.
2 changes: 2 additions & 0 deletions hat-trie/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ EXTRA_DIST = README.md COPYING
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = hat-trie-0.1.pc

ACLOCAL_AMFLAGS=-I m4

7 changes: 1 addition & 6 deletions hat-trie/configure.ac
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

AC_INIT([hat-trie], [0.1.0], [[email protected]])
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_HEADERS([config.h])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_CONFIG_MACRO_DIR([m4])

base_CFLAGS="-std=c99 -Wall -Wextra -pedantic"
opt_CFLAGS="${base_CFLAGS} -O3"
Expand All @@ -27,12 +27,7 @@ AC_DISABLE_SHARED
AC_PROG_LIBTOOL

AC_C_BIGENDIAN([AC_MSG_ERROR([Big-endian systems are not currently supported.])])
AC_CHECK_HEADERS([stdint.h stdlib.h])
AC_HEADER_STDBOOL
AC_TYPE_SIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT8_T

AC_CONFIG_FILES([hat-trie-0.1.pc Makefile src/Makefile test/Makefile])
AC_OUTPUT
Expand Down
4 changes: 2 additions & 2 deletions hat-trie/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ libhat_trie_la_SOURCES = common.h \
ahtable.h ahtable.c \
hat-trie.h hat-trie.c \
misc.h misc.c \
superfasthash.h superfasthash.c
murmurhash3.h murmurhash3.c

pkginclude_HEADERS = hat-trie.h ahtable.h common.h
pkginclude_HEADERS = hat-trie.h ahtable.h common.h pstdint.h

Loading

0 comments on commit 1515b91

Please sign in to comment.