diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-15 00:15:34 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-15 00:15:34 +0200 |
commit | 75dabe874c0cf8893dd61f547d0c3878d411a433 (patch) | |
tree | 345db786efab8ad51a7a2181610c1cc22693fe34 /source4/build/m4/check_perl.m4 | |
parent | 91437ea7bc6f74729ec40b5b1eeea57287dd85c4 (diff) | |
parent | ecca199486a30957e7f0dc084d0e21eb3c812c15 (diff) | |
download | samba-75dabe874c0cf8893dd61f547d0c3878d411a433.tar.gz samba-75dabe874c0cf8893dd61f547d0c3878d411a433.tar.bz2 samba-75dabe874c0cf8893dd61f547d0c3878d411a433.zip |
Merge branch 'master' of git://git.samba.org/samba
Diffstat (limited to 'source4/build/m4/check_perl.m4')
-rw-r--r-- | source4/build/m4/check_perl.m4 | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/source4/build/m4/check_perl.m4 b/source4/build/m4/check_perl.m4 index 82ca242499..aaec9cf950 100644 --- a/source4/build/m4/check_perl.m4 +++ b/source4/build/m4/check_perl.m4 @@ -5,6 +5,8 @@ dnl Released under the GNU GPL dnl ------------------------------------------------------- dnl +AC_DEFUN([AC_SAMBA_PERL], +[ case "$host_os" in *irix*) # On IRIX, we prefer Freeware or Nekoware Perl, because the @@ -18,11 +20,13 @@ esac if test x"$PERL" = x""; then AC_MSG_WARN([No version of perl was found!]) - AC_MSG_ERROR([Please install perl from http://www.perl.com/]) + $2 +else + if test x"$debug" = x"yes";then + PERL="$PERL -W" + fi + export PERL + $1 fi -if test x"$debug" = x"yes";then - PERL="$PERL -W" -fi -export PERL +]) -AC_PATH_PROG(YAPP, yapp, false) |