diff options
| author | Cory Fields <[email protected]> | 2014-06-03 23:43:36 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2014-07-17 22:15:21 -0400 |
| commit | 2d89ea9781d25b887b7804ee0e5749fbe044f455 (patch) | |
| tree | 0893ad011de5a739ae8508149f6d5a43d4e2582c | |
| parent | build: allow linux and osx to build against static qt5 (diff) | |
| download | discoin-2d89ea9781d25b887b7804ee0e5749fbe044f455.tar.xz discoin-2d89ea9781d25b887b7804ee0e5749fbe044f455.zip | |
build: fix whitespace in pkg-config variable
Useful for PKG_CONFIG="pkg-config --static"
| -rw-r--r-- | configure.ac | 2 | ||||
| -rw-r--r-- | src/m4/bitcoin_qt.m4 | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index b454ac515..cedc34e52 100644 --- a/configure.ac +++ b/configure.ac @@ -526,7 +526,7 @@ BITCOIN_QT_INIT 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.) fi diff --git a/src/m4/bitcoin_qt.m4 b/src/m4/bitcoin_qt.m4 index 3499a09b7..9356aac37 100644 --- a/src/m4/bitcoin_qt.m4 +++ b/src/m4/bitcoin_qt.m4 @@ -86,9 +86,6 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[ fi 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])]) else BITCOIN_QT_CHECK([_BITCOIN_QT_FIND_LIBS_WITHOUT_PKGCONFIG]) |