wafsamba: Fail with error message if perl doesn't provide valid dirs.
commit2637890ef42a238093f0f3cbdda0d621d5f9b2e2
authorStefan Metzmacher <metze@samba.org>
Fri, 9 May 2014 07:42:23 +0000 (9 09:42 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 9 May 2014 21:10:07 +0000 (9 23:10 +0200)
tree59989bee0a265852d08d8570d15bb48fddca0fb1
parentb2ce2441a35ed68c39791168217d159352b5143c
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>
buildtools/wafadmin/Tools/perl.py