[PATCH] build-sys: Fix a variable value check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12 Nov 2014 14:23, "Tanu Kaskinen" <tanu.kaskinen at linux.intel.com> wrote:
>
> ---
>
> 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])
>      ])
> --

++, please push.

-- Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20141112/c7868778/attachment.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux