summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in2
-rw-r--r--source3/configure.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index ad79d808c5..15ea6c7d8b 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1202,7 +1202,7 @@ utils/net_proto.h:
$(NET_OBJ1)
include/tdbsam2_parse_info.h:
- @cd $(srcdir) && perl -w script/genstruct.pl \
+ @cd $(srcdir) && @PERL@ -w script/genstruct.pl \
-o include/tdbsam2_parse_info.h $(CC) -E -O2 -g \
include/tdbsam2.h
diff --git a/source3/configure.in b/source3/configure.in
index 9285b42c10..0d9814f681 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -274,6 +274,7 @@ dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_AWK
+AC_PATH_PROG(PERL, perl)
dnl Check if we use GNU ld
LD=ld