coreutils
[Top][All Lists]
Advanced

[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

* configure.ac: 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.

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c6cd8b7..a0a622f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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 ...
 cu_have_perl=yes
-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])
 
 AC_ARG_ENABLE([gcc-warnings],
-- 
1.7.12.317.g1c54b74




reply via email to

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