We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8612320 commit afae286Copy full SHA for afae286
src/acr-sh
@@ -1,6 +1,6 @@
1
#!/bin/sh
2
#
3
-# Copyright (C) 2005-2023
+# Copyright (C) 2005-2024
4
# pancake <[email protected]>
5
6
# acr is free software; you can redistribute it and/or modify
@@ -1361,6 +1361,7 @@ use_pkgconfig() {
1361
SCRIPT=`cat <<EOF
1362
${SCRIPT}
1363
ochof "checking for pkg-config... "
1364
+ENVWORDS="${S}{ENVWORDS} HAVE_PKGCONFIG"
1365
if [ -n "${S}PKGCONFIG" ]; then
1366
if [ -x "${S}PKGCONFIG" ]; then
1367
_HAVE_PKGCONFIG="${S}{PKGCONFIG}"
@@ -1384,7 +1385,9 @@ else
1384
1385
fi
1386
if [ -n "${S}{PKGCONFIG}" ]; then
1387
ocho ${S}{PKGCONFIG}
1388
+ HAVE_PKGCONFIG=1
1389
else
1390
+ HAVE_PKGCONFIG=0
1391
EOF
1392
`
1393
if [ "${_REQUIRED}" = 1 ]; then
0 commit comments