diff options
author | Andreas Schneider <asn@samba.org> | 2014-02-28 16:00:54 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-03-06 23:30:47 +0100 |
commit | ee8f98f26a3d6f02a0d10ceeac1194675d505246 (patch) | |
tree | 1f9575a3b7abfb6e1a5f1d41fc5c9b527e04ec6d | |
parent | 9e591e3d619d127c5ec5f6ac86326c84f59878fa (diff) | |
download | samba-ee8f98f26a3d6f02a0d10ceeac1194675d505246.tar.gz |
pidl-waf: Only install Yapp::Driver if it is not available.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Mar 6 23:30:47 CET 2014 on sn-devel-104
-rw-r--r-- | pidl/lib/wscript_build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pidl/lib/wscript_build b/pidl/lib/wscript_build index 2d6e634f05e..5023e070149 100644 --- a/pidl/lib/wscript_build +++ b/pidl/lib/wscript_build @@ -28,6 +28,10 @@ bld.INSTALL_FILES(bld.env.PERL_VENDORLIB_DIR, 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.PERL_VENDORLIB_DIR, + 'Parse/Yapp/Driver.pm', + flat=False) |