From: Karel Zak Date: Tue, 16 Feb 2016 09:27:56 +0000 (+0100) Subject: build-sys: use $PKG_CONFIG X-Git-Tag: v2.28-rc1~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f776d76e49e83c7be739656310c4c39a577b4434;p=thirdparty%2Futil-linux.git build-sys: use $PKG_CONFIG Reported-by: Helmut Grohne References: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811546 Signed-off-by: Karel Zak --- diff --git a/m4/ul.m4 b/m4/ul.m4 index 959eef51e6..3157a92bb0 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