svn commit: samba r10480 - in
branches/SAMBA_4_0/source/build/scons: .
jelmer at samba.org
jelmer at samba.org
Sat Sep 24 22:37:55 GMT 2005
Author: jelmer
Date: 2005-09-24 22:37:54 +0000 (Sat, 24 Sep 2005)
New Revision: 10480
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10480
Log:
Fix build for people that don't have pidl installed
Modified:
branches/SAMBA_4_0/source/build/scons/pidl.py
Changeset:
Modified: branches/SAMBA_4_0/source/build/scons/pidl.py
===================================================================
--- branches/SAMBA_4_0/source/build/scons/pidl.py 2005-09-24 17:49:33 UTC (rev 10479)
+++ branches/SAMBA_4_0/source/build/scons/pidl.py 2005-09-24 22:37:54 UTC (rev 10480)
@@ -40,7 +40,7 @@
scanner = idl_scanner)
def generate(env):
- env['PIDL'] = env.Detect(['./pidl/pidl', 'pidl'])
+ env['PIDL'] = env.WhereIs('pidl', ['pidl'])
env['NDRFLAGS'] = ['--outputdir', 'librpc/gen_ndr','--ndr-header', '--ndr-parser','--header']
env['TDRFLAGS'] = ['--tdr-parser', '--tdr-header','--header']
env['NDRCOM'] = '$PIDL $NDRFLAGS -- $SOURCES'
@@ -49,4 +49,4 @@
env['BUILDERS']['TdrMarshaller'] = tdr_builder
def exists(env):
- return env.Detect(['./pidl/pidl','pidl'])
+ return env.WhereIs('pidl', ['pidl'])
More information about the samba-cvs
mailing list