wafsamba: Fail with error message if perl doesn't provide valid dirs.
commita76395b3198f2393963f2a8c5e37b6179fef5abe
authorStefan Metzmacher <metze@samba.org>
Fri, 9 May 2014 07:42:23 +0000 (9 09:42 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 May 2014 09:42:09 +0000 (20 11:42 +0200)
treee0eccddda00c36180d348f0ec269b91a3ee8b194
parent992e6933ca6a65a4f5f94cb4162c87c532d175be
wafsamba: Fail with error message if perl doesn't provide valid dirs.

We try harder to get valid directories, we now fallback like this:

vendorarch => sitearch => archlib
and
vendorlib => sitelib => privlib

The new options are --with-perl-arch-install-dir and
--with-perl-lib-install-dir.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10472

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 2637890ef42a238093f0f3cbdda0d621d5f9b2e2)
buildtools/wafadmin/Tools/perl.py