File: configure-quoting.diff

package info (click to toggle)
urfkill 0.5.0-7.3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 712 kB
  • sloc: ansic: 6,558; xml: 715; makefile: 382; javascript: 87; sh: 31
file content (17 lines) | stat: -rw-r--r-- 923 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Double quote AC_MSG_ERROR arg to avoid split on comma.
Author: Andreas Metzler <ametzler@debian.org>
Bug-Debian: https://bugs.debian.org/1080143
Origin: vendor
Last-Update: 2024-08-31

--- urfkill-0.5.0.orig/configure.ac
+++ urfkill-0.5.0/configure.ac
@@ -184,7 +184,7 @@ AS_IF([test "$with_session_tracking" = "
 AS_IF([test "$with_session_tracking" = "none"], with_session_tracking=no)
 # check value
 AS_IF([! (echo "$with_session_tracking" | grep -q -E "^(systemd|consolekit|no)$")],
-        AC_MSG_ERROR([--with-session-tracking must be systemd/consolekit/no, not $with_session_tracking]))
+        AC_MSG_ERROR([[--with-session-tracking must be systemd/consolekit/no, not $with_session_tracking]]))
 # add conditionals and subtitution
 AM_CONDITIONAL(SESSION_TRACKING_CK, test "$with_session_tracking" = "consolekit")
 AM_CONDITIONAL(SESSION_TRACKING_SYSTEMD, test "$with_session_tracking" = "systemd")