2021-01-24 02:38:51 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if command -V pkg-config >/dev/null 2>&1; then
|
2021-01-27 23:42:59 +01:00
|
|
|
printf '%s\n' "CONFIG=$(
|
|
|
|
pkg-config libmpdclient --libs --cflags) $(
|
|
|
|
pkg-config imlib2 --libs --cflags) $(
|
|
|
|
pkg-config x11 --libs --cflags)" > config.mk
|
2021-01-24 02:38:51 +01:00
|
|
|
else
|
2021-01-27 16:16:29 +01:00
|
|
|
printf '%s\n' "CONFIG=-lmpdclient -lImlib2 -lX11" > config.mk
|
2021-01-24 02:38:51 +01:00
|
|
|
fi
|