summaryrefslogtreecommitdiff
path: root/backport-configure.ac-Add-missing-shell-quoting.patch
diff options
context:
space:
mode:
Diffstat (limited to 'backport-configure.ac-Add-missing-shell-quoting.patch')
-rw-r--r--backport-configure.ac-Add-missing-shell-quoting.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/backport-configure.ac-Add-missing-shell-quoting.patch b/backport-configure.ac-Add-missing-shell-quoting.patch
new file mode 100644
index 0000000..e7672f3
--- /dev/null
+++ b/backport-configure.ac-Add-missing-shell-quoting.patch
@@ -0,0 +1,26 @@
+From 6043554c38edc30cbe27ba632462f55fb702bb87 Mon Sep 17 00:00:00 2001
+From: Olly Betts <olly@survex.com>
+Date: Wed, 13 Apr 2022 11:14:29 +1200
+Subject: [PATCH] configure.ac: Add missing shell quoting
+
+Fixes "./configure[4896]: test: argument expected" on stderr.
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 3ea50e9..0d86e9c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -59,7 +59,7 @@ dnl To make configuring easier, check for a locally built PCRE using the Tools/p
+ if test x"${with_pcre}" = xyes ; then
+ AC_MSG_CHECKING([whether to use local PCRE2])
+ local_pcre_config=no
+- if test -z $PCRE2_CONFIG; then
++ if test -z "$PCRE2_CONFIG"; then
+ if test -f `pwd`/pcre/pcre-swig-install/bin/pcre2-config; then
+ PCRE2_CONFIG=`pwd`/pcre/pcre-swig-install/bin/pcre2-config
+ local_pcre_config=$PCRE2_CONFIG
+--
+1.8.3.1
+