path: root/
diff options
authorSimon McVittie <>2012-03-09 13:04:13 +0000
committerSimon McVittie <>2012-03-23 14:11:13 +0000
commitb942885bb6bca2e56b1a24737fcb8cf266d9cb61 (patch)
treeeca03f71af72ebd10b5368fc68619630c7ff9f9e /
parent531bffcfaf8bed572259981d4d900e7f1e42e473 (diff)
Avoid Wocky trying to install into --prefix=NONE
Bug: Reviewed-by: Jonny Lamb <>
Diffstat (limited to '')
1 files changed, 7 insertions, 0 deletions
diff --git a/ b/
index c5f670177..0394e48f4 100644
--- a/
+++ b/
@@ -309,6 +309,13 @@ AM_CONDITIONAL([WANT_TWISTED_TESTS], test false != "$TEST_PYTHON")
# We have to run Wocky's configure *before* looking for it with PKG_CHECK_MODULES so wocky-uninstalled.pc has been generated
+# If you don't specify --prefix, it starts off as NONE. Autoconf
+# would normally do this defaulting for us later, but that's too
+# late to help Wocky.
+if test "x${prefix}" = "xNONE"; then
+ prefix=/usr/local
# We tell Wocky to install its headers alongside gabble's so that an actual
# separate Wocky installation won't clash with them. This is a bit of a hack.
# AX_CONFIG_DIR doesn't make it very easy to pass extra arguments to the