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:
parent
d0145cec9f
commit
6289da6783
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user