summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-10 10:36:09 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-10 10:36:09 +0000
commitbaff308f169dc90449f55d207627135a44d14bbd (patch)
tree9ba94930094370795dfec6e428a235eb47b85a7c /source3
parent6fa61ac2a82cf29394a10b02c381f697f102ed75 (diff)
downloadsamba-baff308f169dc90449f55d207627135a44d14bbd.tar.gz
samba-baff308f169dc90449f55d207627135a44d14bbd.tar.bz2
samba-baff308f169dc90449f55d207627135a44d14bbd.zip
As metze mentioned, this is the proper way to find perl...
Andrew Bartlett (This used to be commit f364921864bf4c33580c432f0d328c7ffc48a7df)
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