diff options
Diffstat (limited to 'source4/build/smb_build/check_perl.m4')
-rw-r--r-- | source4/build/smb_build/check_perl.m4 | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/source4/build/smb_build/check_perl.m4 b/source4/build/smb_build/check_perl.m4 index ff43650b3e..5f5f614f84 100644 --- a/source4/build/smb_build/check_perl.m4 +++ b/source4/build/smb_build/check_perl.m4 @@ -4,25 +4,12 @@ dnl Copyright (C) Stefan (metze) Metzmacher 2004 dnl Released under the GNU GPL dnl ------------------------------------------------------- dnl -dnl _SMB_BUILD_CHECK_PERL( -dnl 1:dummy -dnl ) -dnl ####################################################### -dnl ### And now the implementation ### -dnl ####################################################### - -dnl _SMB_BUILD_CHECK_PERL( -dnl 1:dummy -dnl ) -AC_DEFUN([_SMB_BUILD_CHECK_PERL], -[ - 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 -]) +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 |