build: enable 'nothreads' when JOBS=1
authorAndrew Tridgell <tridge@samba.org>
Wed, 31 Mar 2010 09:56:00 +0000 (20:56 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:21 +0000 (20:27 +1000)
commite42a13d1d0a4ea37ada0b0a33d1ce87fde3412b4
treed3d39f6b4560b28af9e54b4161abb28385b185e5
parentfe2c1f1e7c4eccb0f4ed849983b22839ec9f7930
build: enable 'nothreads' when JOBS=1

this makes waf not use pthreads, which should fix the problems on AIX
and maybe on HPUX. It looks like process handling with Python on AIX
is broken if threads are used.

When JOBS=1 we don't need threads anyway.
buildtools/wafsamba/nothreads.py [new file with mode: 0644]
buildtools/wafsamba/wafsamba.py