wafsamba: try to fix the build on AIX with xlc_r
authorStefan Metzmacher <metze@samba.org>
Sun, 10 Jun 2012 15:48:15 +0000 (17:48 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 10 Jun 2012 18:18:49 +0000 (20:18 +0200)
commitbff935b814355b8b75b422857c56aced0a6b1388
treec1cb9c89149848d7d739629b300efa563b51577c
parent0eeaf10fd0ef37c2db497bfe39ed97d761593946
wafsamba: try to fix the build on AIX with xlc_r

bld.env['CPP'] can be 'None' or '[]', bld.CONFIG_SET("CPP") should return False

File "./buildtools/wafsamba/samba_pidl.py", line 131, in SAMBA_PIDL_LIST
    bld.SAMBA_PIDL(name, p, options=options, output_dir=output_dir, symlink=symlink, generate_tables=generate_tables)
  File "./buildtools/wafsamba/samba_pidl.py", line 65, in SAMBA_PIDL
    cpp = 'CPP="%s"' % bld.CONFIG_GET("CPP")[0]
IndexError: list index out of range

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Jun 10 20:18:49 CEST 2012 on sn-devel-104
buildtools/wafsamba/samba_autoconf.py