summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorKarel Zak2016-02-16 10:27:56 +0100
committerKarel Zak2016-02-16 10:27:56 +0100
commitf776d76e49e83c7be739656310c4c39a577b4434 (patch)
treec38e092194bc32bf262f122bbd654313dbc1d643 /m4
parentsu: clean up groups initialization (diff)
downloadkernel-qcow2-util-linux-f776d76e49e83c7be739656310c4c39a577b4434.tar.gz
kernel-qcow2-util-linux-f776d76e49e83c7be739656310c4c39a577b4434.tar.xz
kernel-qcow2-util-linux-f776d76e49e83c7be739656310c4c39a577b4434.zip
build-sys: use $PKG_CONFIG
Reported-by: Helmut Grohne <helmut@subdivi.de> References: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811546 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'm4')
-rw-r--r--m4/ul.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ul.m4 b/m4/ul.m4
index 959eef51e..3157a92bb 100644
--- a/m4/ul.m4
+++ b/m4/ul.m4
@@ -30,8 +30,8 @@ dnl
dnl Calls pkg-config --static
dnl
AC_DEFUN([UL_PKG_STATIC], [
- if AC_RUN_LOG([pkg-config --exists --print-errors "$2"]); then
- $1=`pkg-config --libs --static "$2"`
+ if AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$2"]); then
+ $1=`$PKG_CONFIG --libs --static "$2"`
else
AC_MSG_ERROR([pkg-config description of $2, needed for static build, is not available])
fi