summary refs log tree commit diff
path: root/configure
blob: e0873e3fc1b9fd7f49331fc528eb680937cf8633 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
set -eu

exec >config.mk

libs='libtls sqlite3'
pkg-config --print-errors $libs

cat <<EOF
CFLAGS += $(pkg-config --cflags $libs)
CFLAGS += -D'SQLITE3_BIN="$(pkg-config --variable=exec_prefix sqlite3)/bin/sqlite3"'
LDFLAGS += $(pkg-config --libs-only-L $libs)
LDLIBS = $(pkg-config --libs-only-l sqlite3)
LDLIBS.litterbox = $(pkg-config --libs-only-l $libs)
INSTALLS =
EOF

if [ "$(uname)" = 'Linux' ]; then
	cat <<-EOF
	CFLAGS += -D_GNU_SOURCE
	EOF
fi
/span>Use italic for underline in nvim man modeJune McEnroe This doesn't yet work in Terminal.app: <https://github.com/neovim/neovim/issues/9598>. 2019-02-10Add plain text "language" to hiJune McEnroe 2019-02-10Don't match DQ string inside SQ stringJune McEnroe 2019-02-10Skip only one character if a match fails due to parentJune McEnroe Really it should skip forward until the parent changes, but this is simpler. 2019-02-10Remove pattend from hiJune McEnroe 2019-02-10Replace uses of pattend with newline patternsJune McEnroe 2019-02-10Add hi debug outputJune McEnroe 2019-02-10Actually do HTML &quot; escapingJune McEnroe 2019-02-10Set git commit.verboseJune McEnroe 2019-02-10Add back missing static keywordJune McEnroe