[gnumeric] configuration: Always check for perl binary. We need it.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] configuration: Always check for perl binary. We need it.
- Date: Thu, 15 Apr 2010 03:20:39 +0000 (UTC)
commit 86ac2ad644e564cadd11a7a87683e6eaff89acbf
Author: Morten Welinder <terra gnome org>
Date: Wed Apr 14 23:19:27 2010 -0400
configuration: Always check for perl binary. We need it.
configure.in | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 917a102..859bf56 100644
--- a/configure.in
+++ b/configure.in
@@ -787,6 +787,10 @@ AC_ARG_WITH(long_double,
dnl **************************************************
dnl * Check for Perl
dnl **************************************************
+
+AC_ARG_VAR(PERL, [The Perl executable.])
+AC_CHECK_PROG(PERL, perl, perl)
+
want_perl=auto
have_perl=no
perl_reason=""
@@ -795,11 +799,9 @@ AC_ARG_WITH(perl, AS_HELP_STRING([--without-perl], [Do not build the Perl plugin
yes) want_perl=yes;;
no) want_perl=no;;
esac])
-AC_ARG_VAR(PERL, [The Perl executable.])
if test "x$want_perl" = xno ; then
perl_reason="disabled by request"
else
- AC_CHECK_PROG(PERL, perl, perl)
if test "x$PERL" != x; then
BIG_CHECKING([for perl ExtUtils::Embed module])
if $PERL -e 'eval { require ExtUtils::Embed }; if ($@) { exit(1); } else { exit(0); }'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]