diff options
-rw-r--r-- | source4/build/m4/rewrite.m4 | 8 |
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. |