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

pkg-config "$@" --print-errors scooper.pc

cat >config.mk <<EOF
CFLAGS += $(pkg-config "$@" --cflags scooper.pc)
LDLIBS = $(pkg-config "$@" --libs scooper.pc)
EOF