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
'2020-12-14 23:12:53 -0500'>2020-12-14Update to FreeBSD 12.2June McEnroe 2020-06-08Update to OpenBSD 6.7June McEnroe 2020-05-04Add hack for macOS to search extra man sectionsJune McEnroe 2020-05-04Don't clear MANSECTJune McEnroe