summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/m4/check_perl.m41
-rw-r--r--source4/configure.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/m4/check_perl.m4 b/source4/build/m4/check_perl.m4
index 26abff6317..bc0f5ff2f6 100644
--- a/source4/build/m4/check_perl.m4
+++ b/source4/build/m4/check_perl.m4
@@ -23,6 +23,7 @@ fi
if test x"$debug" = x"yes";then
PERL="$PERL -W"
fi
+export PERL
AC_PATH_PROG(YAPP, yapp, false)
diff --git a/source4/configure.in b/source4/configure.in
index 98a5e59d17..bc8bfdc568 100644
--- a/source4/configure.in
+++ b/source4/configure.in
@@ -114,5 +114,5 @@ $SMB_INFO_SUBSYSTEMS
$SMB_INFO_LIBRARIES
CEOF
-AC_OUTPUT_COMMANDS([$PERL -I. -Ibuild build/smb_build/main.pl],[PERL="$PERL"])
+AC_OUTPUT_COMMANDS([$PERL -I. -Ibuild build/smb_build/main.pl],[PERL="$PERL";export PERL])
AC_OUTPUT