[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: configure: better check for the
From: |
Karl Berry |
Subject: |
[automake-commit] branch master updated: configure: better check for the perl patch containing whitespace. |
Date: |
Sat, 02 Dec 2023 17:53:22 -0500 |
This is an automated email from the git hooks/post-receive script.
karl pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=f2b1058326803a72497f73ae8c39b7883b32f857
The following commit(s) were added to refs/heads/master by this push:
new f2b105832 configure: better check for the perl patch containing
whitespace.
f2b105832 is described below
commit f2b1058326803a72497f73ae8c39b7883b32f857
Author: Karl Berry <karl@freefriends.org>
AuthorDate: Sat Dec 2 14:53:12 2023 -0800
configure: better check for the perl patch containing whitespace.
More for https://bugs.gnu.org/62896.
* configure.ac: quote "$PERL" and check directly with grep.
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 23a9f97f5..946fecb67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,8 +70,8 @@ AC_PROG_LN_S
AC_PATH_PROG([PERL], [perl])
if test -z "$PERL"; then
AC_MSG_ERROR([perl not found])
-elif test x"`echo $PERL | grep ' '`" != "x"; then
- AC_MSG_ERROR([The path to your Perl contains spaces.
+elif echo "$PERL" | grep '[ ]' >/dev/null; then
+ AC_MSG_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.])
fi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: configure: better check for the perl patch containing whitespace.,
Karl Berry <=