[PATCH] gst-package.m4: Address warnings from autoconf about quotes

Holger Hans Peter Freyther <[email protected]> Sun, 17 Mar 2024 09:15:48 +0800
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
Fixes:
configure.ac:620: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: variable $i not set, proceeding as if \"no\"
build-aux/gst-package.m4:59: GST_PACKAGE_ENABLE is expanded from...
---
 ChangeLog                | 4 ++++
 build-aux/gst-package.m4 | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a460a589..10f6d250 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-03-17  Holger Hans Peter Freyther  <[email protected]>
+
+	* build-aux/gst-package.m4: Do not escape quotes in the macro.
+
 2024-03-16  Holger Hans Peter Freyther  <[email protected]>
 
 	* configure.ac: Drop executable stacks on macos.
diff --git a/build-aux/gst-package.m4 b/build-aux/gst-package.m4
index 0d7ad265..65b2dec9 100644
--- a/build-aux/gst-package.m4
+++ b/build-aux/gst-package.m4
@@ -107,7 +107,7 @@ EOF
 	  no* )
 	    exit 1 ;;
 	  bad )
-	    AC_MSG_WARN([variable $i not set, proceeding as if \"no\"])
+	    AC_MSG_WARN([variable $i not set, proceeding as if "no"])
 	    exit 1 ;;
 	esac
       done)
-- 
2.44.0