<commit_before>LIB=		sqlite3
INTERNALLIB=
SRCS=		sqlite3.c \
		shell.c

CFLAGS+=	-fPIC
WARNS=		1
WFORMAT=	1

.if exists(/usr/include/edit/readline/readline.h)
CFLAGS+=	-DHAVE_READLINE=1 \
		-I/usr/include/edit
.endif
# Have
CFLAGS+=	-DSTDC_HEADERS=1 \
		-DHAVE_SYS_TYPES_H=1 \
		-DHAVE_SYS_STAT_H=1 \
		-DHAVE_STDLIB_H=1 \
		-DHAVE_STRING_H=1 \
		-DHAVE_MEMORY_H=1 \
		-DHAVE_STRINGS_H=1 \
		-DHAVE_INTTYPES_H=1 \
		-DHAVE_STDINT_H=1 \
		-DHAVE_UNISTD_H=1 \
		-DHAVE_DLFCN_H=1 \
		-DHAVE_USLEEP=1 \
		-DHAVE_LOCALTIME_R=1 \
		-DHAVE_GMTIME_R=1 \
		-DHAVE_DECL_STRERROR_R=1 \
		-DHAVE_STRERROR_R=1 \
		-DHAVE_POSIX_FALLOCATE=1
# http://www.sqlite.org/compile.html<commit_msg>DragonFLy does not have posix_fallocate<commit_after>LIB=		sqlite3
INTERNALLIB=
SRCS=		sqlite3.c \
		shell.c

CFLAGS+=	-fPIC
WARNS=		1
WFORMAT=	1

.if exists(/usr/include/edit/readline/readline.h)
CFLAGS+=	-DHAVE_READLINE=1 \
		-I/usr/include/edit
.endif

OSNAME!=	uname -s
.if ${OSNAME} == FreeBSD
CFLAGS+=	-DHAVE_POSIX_FALLOCATE=1
.endif

# Have
CFLAGS+=	-DSTDC_HEADERS=1 \
		-DHAVE_SYS_TYPES_H=1 \
		-DHAVE_SYS_STAT_H=1 \
		-DHAVE_STDLIB_H=1 \
		-DHAVE_STRING_H=1 \
		-DHAVE_MEMORY_H=1 \
		-DHAVE_STRINGS_H=1 \
		-DHAVE_INTTYPES_H=1 \
		-DHAVE_STDINT_H=1 \
		-DHAVE_UNISTD_H=1 \
		-DHAVE_DLFCN_H=1 \
		-DHAVE_USLEEP=1 \
		-DHAVE_LOCALTIME_R=1 \
		-DHAVE_GMTIME_R=1 \
		-DHAVE_DECL_STRERROR_R=1 \
		-DHAVE_STRERROR_R=1 \
# http://www.sqlite.org/compile.html
{'fraction_non_alphanumeric': 0.13956734124214934, 'fraction_numerical': 0.030704815073272853, 'mean_word_length': 3.385321100917431, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6240217', 'n_tokens_mistral': 824, 'n_tokens_neox': 758, 'n_words': 87}