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

libs='libcrypto libtls ncursesw'
pkg-config --print-errors $libs

cat >config.mk <<EOF
CFLAGS += $(pkg-config --cflags $libs)
LDFLAGS += $(pkg-config --libs-only-L $libs)
LDLIBS = $(pkg-config --libs-only-l $libs)
EOF
>2018-11-29Handle no such nick errorJune McEnroe 2018-11-29Add /whoisJune McEnroe 2018-11-29Set LIBRESSL_PREFIX in Darwin.mkJune McEnroe I think this is still the right path for Homebrew, which is the most popular... 2018-11-28Add NetBSD.mkJune McEnroe 2018-11-28Make use of config.mk and add Darwin.mkJune McEnroe