summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-13 13:16:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:41 -0500
commit4b08f42c0d443679d357897cf9a8ddff6cfde80e (patch)
tree202896ae39a9e4933322eb8dbccace9d82b9a061
parent30d726082e23769ae296c86b09e62336c1c5f809 (diff)
downloadsamba-4b08f42c0d443679d357897cf9a8ddff6cfde80e.tar.gz
samba-4b08f42c0d443679d357897cf9a8ddff6cfde80e.tar.bz2
samba-4b08f42c0d443679d357897cf9a8ddff6cfde80e.zip
r680: fail directly when we notice that perl is not there
(we fail anyway) metze (This used to be commit 9f6deb7d795fbddc973e84a45ecb1273aa4f3aea)
-rw-r--r--source4/build/m4/rewrite.m48
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4
index 08c2019a09..f1733123ea 100644
--- a/source4/build/m4/rewrite.m4
+++ b/source4/build/m4/rewrite.m4
@@ -1,7 +1,13 @@
dnl Checks for programs.
+
+AC_PATH_PROG(PERL, perl)
+if test x"$PERL" = x""; then
+ AC_MSG_WARN([No version of perl was not found!])
+ AC_MSG_ERROR([Please Install perl from http://www.perl.com/])
+fi
+
AC_PROG_CC
AC_PROG_INSTALL
-AC_PATH_PROG(PERL, perl)
# compile with optimization and without debugging by default, but
# allow people to set their own preference.