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
atch comments in strings in makeJune McEnroe 2019-07-25Generate index.html with links from bin.7June McEnroe 2019-07-24Warn when date has changedJune McEnroe 2019-07-24Add whenJune McEnroe 2019-07-24Remove histedit from bitJune McEnroe