[pulseaudio-discuss] [PATCH] build-sys: Fix a variable value check
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Wed Nov 12 00:53:15 PST 2014
---
Can anyone explain why pulseaudio.service seems to get generated even
without this fix? Git master works fine for me also without this fix.
I only noticed this bug, because it stopped to work when I added a
system service file (make complained that there was no rule to make
daemon/systemd/system/pulseaudio.service):
AS_IF([test "$HAVE_SYSTEMD_DAEMON" = "x1"],
[
AC_CONFIG_FILES([src/pulseaudio.service:src/daemon/systemd/user/pulseaudio.service.in])
AC_CONFIG_FILES([src/daemon/systemd/system/pulseaudio.service:src/daemon/systemd/system/pulseaudio.service.in])
])
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 26ebd8c..6b67dac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1468,7 +1468,7 @@ AC_CONFIG_FILES([src/default.pa:src/daemon/default.pa.in],
[m4 src/default.pa > src/default.pa.gen && mv src/default.pa.gen src/default.pa])
AC_CONFIG_FILES([src/system.pa:src/daemon/system.pa.in],
[m4 src/system.pa > src/system.pa.gen && mv src/system.pa.gen src/system.pa])
-AS_IF([test "$HAVE_SYSTEMD_DAEMON" = "x1"],
+AS_IF([test "x$HAVE_SYSTEMD_DAEMON" = "x1"],
[
AC_CONFIG_FILES([src/pulseaudio.service:src/daemon/systemd/user/pulseaudio.service.in])
])
--
1.9.3
More information about the pulseaudio-discuss
mailing list