summaryrefslogtreecommitdiff
path: root/backport-configure.ac-Add-missing-shell-quoting.patch
blob: e7672f325d584511ee8907ab8e566ac86e83cbcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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