mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
build: be more careful about Perl
Problem reported by Serge Belyshev (Bug#52844). * configure.ac (HAVE_PERL): Rely on latest Gnulib gl_PERL, which sets gl_cv_prog_perl.
This commit is contained in:
1 parent
2f60fa465e
commit
aa670bed50
1 file changed
+1
-5
+1
-5
@@ -64,11 +64,7 @@ gl_INIT
|
||||
coreutils_MACROS
|
||||
|
||||
# The test suite needs to know if we have a working perl.
|
||||
# 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
|
||||
AM_CONDITIONAL([HAVE_PERL], [test $cu_have_perl = yes])
|
||||
AM_CONDITIONAL([HAVE_PERL], [test "$gl_cv_prog_perl" != no])
|
||||
|
||||
# gl_GCC_VERSION_IFELSE([major], [minor], [run-if-found], [run-if-not-found])
|
||||
# ------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user