summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJoseph Bisch <joseph.bisch@gmail.com>2017-01-16 13:04:54 -0500
committerJoseph Bisch <joseph.bisch@gmail.com>2017-01-16 13:04:54 -0500
commit6221ce520644efe4095bfecbc29f11c9c6962e0f (patch)
tree52ce494b139365ad1620d62e1d6ce8162aa444d5 /m4
parent6e36ddc6b7cc1b87005743da4e58bd1d3c8182be (diff)
downloadirssi-6221ce520644efe4095bfecbc29f11c9c6962e0f.zip
Fix glib-2.0.m4 so that $PKG_CONFIG doesn't break configure script
If $PKG_CONFIG contains a space, then the test may not work, so surround with quotation mark characters. (for example, PKG_CONFIG="pkg-config --static" breaks configure before this commit).
Diffstat (limited to 'm4')
-rw-r--r--m4/glib-2.0.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/glib-2.0.m4 b/m4/glib-2.0.m4
index 2c8760b7..5b7c84c0 100644
--- a/m4/glib-2.0.m4
+++ b/m4/glib-2.0.m4
@@ -43,7 +43,7 @@ AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run
min_glib_version=ifelse([$1], ,2.0.0,$1)
AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
- if test x$PKG_CONFIG != xno ; then
+ if test "x$PKG_CONFIG" != xno ; then
## don't try to run the test against uninstalled libtool libs
if $PKG_CONFIG --uninstalled $pkg_config_args; then
echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"