From: Michael Adam Date: Mon, 25 Aug 2014 23:31:17 +0000 (+0200) Subject: build: do full SAMBA_CHECK_PERL() check in configure X-Git-Tag: samba-4.0.23~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23d6857fd0f7f3713fd8cc53c15b158ceb3fc5b4;p=thirdparty%2Fsamba.git 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 (cherry picked from commit 7bf9e937ae59e10a9b40be3a60ffaad49669fb83) --- diff --git a/wscript b/wscript index 087e950af51..85620d6ab6e 100644 --- a/wscript +++ b/wscript @@ -90,7 +90,7 @@ def configure(conf): 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)