diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-05-13 20:26:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:53:44 -0500 |
commit | dd1e2cd0d7d64777300f575807bac625880d72cb (patch) | |
tree | b89d28f111a2a261d564f4dd2583127f5901221b /source4/build/m4 | |
parent | 90cde0acd1544b544a1e5f3fb396ae8c3229b23d (diff) | |
download | samba-dd1e2cd0d7d64777300f575807bac625880d72cb.tar.gz samba-dd1e2cd0d7d64777300f575807bac625880d72cb.tar.bz2 samba-dd1e2cd0d7d64777300f575807bac625880d72cb.zip |
r703: only use $PERL -W when --enable-debug
metz
(This used to be commit 6289da6783d91637a6be76a4e5444fc22570eca0)
Diffstat (limited to 'source4/build/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 |