From 7bf9e937ae59e10a9b40be3a60ffaad49669fb83 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 26 Aug 2014 01:31:17 +0200 Subject: build: do full SAMBA_CHECK_PERL() check in configure ...instead of only checking for the perl binary This autodetects PERL_LIB_INSTALL_DIR and removes the need of the --with-perl-lib-install-dir when using a --prefix!=/usr. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Michael Adam --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 7b43c580ff..73c113cc09 100644 --- a/wscript +++ b/wscript @@ -99,7 +99,7 @@ def configure(conf): conf.env.replace_add_global_pthread = True conf.RECURSE('lib/replace') - conf.find_program('perl', var='PERL', mandatory=True) + conf.SAMBA_CHECK_PERL(mandatory=True) conf.find_program('xsltproc', var='XSLTPROC') conf.SAMBA_CHECK_PYTHON(mandatory=True, version=(2,5,0)) -- cgit