summary refs log tree commit diff stats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorArnav Singh <arnavion@gmail.com>2012-09-20 22:04:14 +0800
committerArnav Singh <arnavion@gmail.com>2012-09-20 22:04:14 +0800
commite6a0532fc26a83e126907fbd7a16889873cceb89 (patch)
treeb9dcd9cdded7bb0f3e529670da39de4359e759e4 /acinclude.m4
parentb6ba409bce1840be61d5ff9274626584693caef7 (diff)
On my system (openSUSE 12.2 / GNU bash, version 4.2.24(1)-release (x86_64-suse-linux-gnu) ), the shell doesn't like that the '=' character in 'if test...' doesn't have spaces around it. This causes the test to always be true, and thus the AS_AC_EXPAND macro only expands once. This led to two #define's in config.h containing broken values: HEXCHATSHAREDIR and DBUS_SERVICES_DIR.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 0c711739..334c0dfa 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -26,7 +26,7 @@ AC_DEFUN([AS_AC_EXPAND],
   dnl loop until it doesn't change anymore
   while true; do
     new_full_var="`eval echo $full_var`"
-    if test "x$new_full_var"="x$full_var"; then break; fi
+    if test "x$new_full_var" = "x$full_var"; then break; fi
     full_var=$new_full_var
   done