Commit Diff
Diff:
ec9651a9c19c6effb748a62dea87e9675cbc9890
a7de20a88ab48d380ca8963da6f7fc0a654a9f26
Commit:
a7de20a88ab48d380ca8963da6f7fc0a654a9f26
Tree:
3cdbf775875794d7224afacff6e0c3caad293910
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Jul 2 08:32:48 2022 UTC
Message:
log wether pkg-config was found or not
commit - ec9651a9c19c6effb748a62dea87e9675cbc9890
commit + a7de20a88ab48d380ca8963da6f7fc0a654a9f26
blob - 2d7c55a3672470477739dbef4e5a5a32df27afab
blob + 24ed858660933b8f95913d8d181aab41d0bc27e8
--- configure
+++ configure
@@ -128,6 +128,9 @@ command -v ${CC} 2>/dev/null 1>&2 || {
}
command -v pkg-config 2>/dev/null 1>&2 && {
+ echo "pkg-config: found" 1>&2
+ echo "pkg-config: found" 1>&3
+
if extra="$(pkg-config --cflags x11 xinerama xft || true)"; then
echo "Adding to CFLAGS: $extra (pkg-config)"
CFLAGS="$extra ${CFLAGS}"
@@ -136,6 +139,9 @@ command -v pkg-config 2>/dev/null 1>&2 && {
echo "Adding to LDFLAGS: $extra (pkg-config)"
LDFLAGS="$extra ${LDFLAGS}"
fi
+} || {
+ echo "pkg-config: not found" 1>&2
+ echo "pkg-config: not found" 1>&3
}
#----------------------------------------------------------------------
Omar Polo