summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-08-26 01:31:17 +0200
committerStefan Metzmacher <metze@samba.org>2014-09-05 19:47:06 +0200
commit7bf9e937ae59e10a9b40be3a60ffaad49669fb83 (patch)
tree691b7a42154ab638185f5611fbe644fdf69d715f /wscript
parent75c3e240e0703be8c86596e689e466b4dee5e85e (diff)
downloadsamba-7bf9e937ae59e10a9b40be3a60ffaad49669fb83.tar.gz
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 <obnox@samba.org>
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 7b43c580ffd..73c113cc094 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))