diff options
Diffstat (limited to 'source4/build/m4/rewrite.m4')
-rw-r--r-- | source4/build/m4/rewrite.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4 index f1733123ea..f112ea7fc1 100644 --- a/source4/build/m4/rewrite.m4 +++ b/source4/build/m4/rewrite.m4 @@ -5,6 +5,9 @@ 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_PROG_CC AC_PROG_INSTALL |