[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] build: fixup: correctly recognize if perl is missing

From: Stefano Lattarini
Subject: [PATCH] build: fixup: correctly recognize if perl is missing
Date: Tue, 11 Sep 2012 23:35:31 +0200

* Here, by adding a missing '*' to the wildcard in
a 'case' construct over the contents of $PERL.

 Such a gross blunder (which was a mistake of mine, BTW *blush*) shows
 that 'my-distcheck' should probably be improved to configure and build
 coreutils faking a lacking or broken perl. | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ b/
index c6cd8b7..a0a622f 100644
--- a/
+++ b/
@@ -64,7 +64,7 @@ coreutils_MACROS
 # FIXME: this is suboptimal.  Ideally, we would be able to call gl_PERL
 # with an ACTION-IF-NOT-FOUND argument ...
-case $PERL in *"/missing ") cu_have_perl=no;; esac
+case $PERL in *"/missing "*) cu_have_perl=no;; esac
 AM_CONDITIONAL([HAVE_PERL], [test $cu_have_perl = yes])

reply via email to

[Prev in Thread] Current Thread [Next in Thread]