summary refs log tree commit diff
path: root/configure
blob: 9cea63b58eb188756b4cdf2137a6c55aa620cb1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -eu

libs='kcgi kcgi-html sqlite3'
pkg-config --print-errors $libs

cat >config.mk <<EOF
CFLAGS += $(pkg-config --static --cflags $libs)
LDFLAGS += -static $(pkg-config --static --libs-only-L $libs)
LDLIBS = $(pkg-config --static --libs-only-l $libs)
EOF
Remove 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