wafsamba: Fail with error message if perl doesn't provide valid dirs.
authorStefan Metzmacher <metze@samba.org>
Fri, 9 May 2014 07:42:23 +0000 (09:42 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 May 2014 09:41:46 +0000 (11:41 +0200)
commit0e430f836f34a2dd7976bc46c37fbfe4d320395d
tree92d5a3e80e5cc8024a6d4acd2aed975ba30bee73
parent86830d9c31a3bc0856fe12859bb13be56077db2b
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