From 4339a2298a2d486fb4636b72393499b59805edde Mon Sep 17 00:00:00 2001
From: Changqing Li <changqing.li@windriver.com>
Date: Thu, 21 Nov 2024 14:54:37 +0800
Subject: [PATCH] configure: don't report error when the path of Perl contains
 spaces or tabs

In order to make setting PERL to "/usr/bin/env perl" works well, patch
configure as upstream suggested, refer [1]. 

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74453

Upstream-Status: Inappropriate [ oe-specific ]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 45bf85a..68d3c7d 100755
--- a/configure
+++ b/configure
@@ -3514,7 +3514,7 @@ case $PERL in
    as_fn_error $? "perl not found" "$LINENO" 5
    ;;
  *' '* | *'	'*)
-  as_fn_error $? "The path to your Perl contains spaces or tabs.
+  : as_fn_error $? "The path to your Perl contains spaces or tabs.
 This would cause build failures later or unusable programs.
 Please use a path without spaces and try again." "$LINENO" 5
   ;;
-- 
2.25.1

