1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

r703: only use $PERL -W when --enable-debug

metz
This commit is contained in:
Stefan Metzmacher 2004-05-13 20:26:23 +00:00 committed by Gerald (Jerry) Carter
parent d0145cec9f
commit 6289da6783
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -21,7 +21,7 @@ AC_DEFUN([_SMB_BUILD_CORE],
echo "config.status: creating ./config.smb_build.pl"
cat > config.smb_build.pl <<\_SMB_ACEOF
#!/usr/bin/perl -W
#!$PERL
#
use strict;