diff options
Diffstat (limited to 'source4/build/m4/check_perl.m4')
-rw-r--r-- | source4/build/m4/check_perl.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source4/build/m4/check_perl.m4 b/source4/build/m4/check_perl.m4 new file mode 100644 index 0000000000..5f5f614f84 --- /dev/null +++ b/source4/build/m4/check_perl.m4 @@ -0,0 +1,15 @@ +dnl SMB Build Environment Perl Checks +dnl ------------------------------------------------------- +dnl Copyright (C) Stefan (metze) Metzmacher 2004 +dnl Released under the GNU GPL +dnl ------------------------------------------------------- +dnl + +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 +if test x"$debug" = x"yes";then + PERL="$PERL -W" +fi |