about 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
ca3bff24067e4df&follow=1'>Add dynamic poll listJune McEnroe 2019-10-23Don't assume commands have targets and handle ERRORJune McEnroe 2019-10-23Clean up state somewhatJune McEnroe 2019-10-23Actually send the buffer...June McEnroe 2019-10-23Add stateJune McEnroe