build: fix whitespace in pkg-config variable

Useful for PKG_CONFIG="pkg-config --static"
This commit is contained in:
Cory Fields 2014-06-03 23:43:36 -04:00
parent ab123ad4d6
commit 2d89ea9781
2 changed files with 1 additions and 4 deletions

View File

@ -526,7 +526,7 @@ BITCOIN_QT_INIT
if test x$use_pkgconfig = xyes; then if test x$use_pkgconfig = xyes; then
if test x$PKG_CONFIG == x; then if test x"$PKG_CONFIG" == "x"; then
AC_MSG_ERROR(pkg-config not found.) AC_MSG_ERROR(pkg-config not found.)
fi fi

View File

@ -86,9 +86,6 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
fi fi
if test x$use_pkgconfig = xyes; then if test x$use_pkgconfig = xyes; then
if test x$PKG_CONFIG == x; then
AC_MSG_ERROR(pkg-config not found.)
fi
BITCOIN_QT_CHECK([_BITCOIN_QT_FIND_LIBS_WITH_PKGCONFIG([$2])]) BITCOIN_QT_CHECK([_BITCOIN_QT_FIND_LIBS_WITH_PKGCONFIG([$2])])
else else
BITCOIN_QT_CHECK([_BITCOIN_QT_FIND_LIBS_WITHOUT_PKGCONFIG]) BITCOIN_QT_CHECK([_BITCOIN_QT_FIND_LIBS_WITHOUT_PKGCONFIG])