wafsamba/samba_autoconf: when setting undefined result, use empty tuple
authorAlexander Bokovoy <ab@samba.org>
Thu, 6 Sep 2018 07:51:00 +0000 (07:51 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 8 Sep 2018 06:44:16 +0000 (08:44 +0200)
commit95ba6b97441b75f28aef5ec1ee5a9442683f3763
tree78cb1d34572e21ed79858987c65bc1c964e7b108
parentb1bf9c5d850457dce1d5a38bdb800f0280c54d68
wafsamba/samba_autoconf: when setting undefined result, use empty tuple

A difference between waf 1.x and 2.x is that we gained 0 as an undefined
variable in the cache file. This does not allow to differentiate unset
and set to 0 defines.

Force to use empty tuple () to signify unset defines.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/samba_autoconf.py