Skip to content

Commit 2d89ea9

Browse files
committed
build: fix whitespace in pkg-config variable
Useful for PKG_CONFIG="pkg-config --static"
1 parent ab123ad commit 2d89ea9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ BITCOIN_QT_INIT
526526

527527
if test x$use_pkgconfig = xyes; then
528528

529-
if test x$PKG_CONFIG == x; then
529+
if test x"$PKG_CONFIG" == "x"; then
530530
AC_MSG_ERROR(pkg-config not found.)
531531
fi
532532

src/m4/bitcoin_qt.m4

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
8686
fi
8787
8888
if test x$use_pkgconfig = xyes; then
89-
if test x$PKG_CONFIG == x; then
90-
AC_MSG_ERROR(pkg-config not found.)
91-
fi
9289
BITCOIN_QT_CHECK([_BITCOIN_QT_FIND_LIBS_WITH_PKGCONFIG([$2])])
9390
else
9491
BITCOIN_QT_CHECK([_BITCOIN_QT_FIND_LIBS_WITHOUT_PKGCONFIG])

0 commit comments

Comments
 (0)