summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2006-11-21 23:58:58 -0800
committerJosh Triplett <josh@freedesktop.org>2006-11-21 23:58:58 -0800
commit00c8863385be5ca0787c61b648c3a7c8d26faddb (patch)
treea7eb23b3f906f7471215843e389f0d85602c83ab
parent5d98a6e665f62127a884fdc5534163ece807aba1 (diff)
Quote argument of test in AM_CONDITIONAL.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c08f62d..b7f0698 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,7 +34,7 @@ PKG_CONFIG_LIBS=
AC_CHECK_FUNCS([pthread_self pthread_mutex_init pthread_mutex_destroy pthread_mutex_lock pthread_mutex_unlock pthread_cond_init pthread_cond_destroy pthread_cond_wait pthread_cond_signal pthread_cond_broadcast pthread_equal],
[], [PKG_CONFIG_LIBS='-L${libdir} -lpthread-stubs'])
AC_SUBST([PKG_CONFIG_LIBS])
-AM_CONDITIONAL(BUILD_LIB, test x$PKG_CONFIG_LIBS != x)
+AM_CONDITIONAL(BUILD_LIB, test "x$PKG_CONFIG_LIBS" != x)
AC_CONFIG_FILES([Makefile pthread-stubs.pc])
AC_OUTPUT