build: fixup: correctly recognize if perl is missing
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 11 Sep 2012 21:35:31 +0000 (23:35 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 12 Sep 2012 18:52:18 +0000 (20:52 +0200)
* configure.ac: Here, by adding a missing '*' to the wildcard in
a 'case' construct over the contents of $PERL.  Introduced in
commit v8.19-41-g00f5ba1.

configure.ac

index 713a9b9..e5e05be 100644 (file)
@@ -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],