pidl: Make perl(Parse:Yapp:Driver) installation optional.
[samba.git] / pidl / lib / wscript_build
index 29632d4d99b8286529703493301c42843a5c4f95..09d26ebd6d8fd463ba224fcb56c8a72c1d926acf 100644 (file)
@@ -28,6 +28,10 @@ bld.INSTALL_FILES(bld.env.VENDORDIR_PERL,
                   Parse/Pidl/Samba3/ServerNDR.pm
                   Parse/Pidl/Compat.pm
                   Parse/Pidl/NDR.pm
-                  Parse/Yapp/Driver.pm
                   ''',
                   flat=False)
+
+if not bld.CONFIG_SET('USING_SYSTEM_PARSE_YAPP_DRIVER'):
+    bld.INSTALL_FILES(bld.env.VENDORDIR_PERL,
+                      'Parse/Yapp/Driver.pm',
+                      flat=False)