lib/replace: force to unset defines if check has failed
authorAlexander Bokovoy <ab@samba.org>
Thu, 6 Sep 2018 09:07:28 +0000 (09:07 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 8 Sep 2018 06:44:16 +0000 (08:44 +0200)
commit8ec7eb0c0129518557d1f446191860a62ef3ff79
tree0964446a66cd1be405a82570fb68e16e3a2d0a6e
parent95ba6b97441b75f28aef5ec1ee5a9442683f3763
lib/replace: force to unset defines if check has failed

For HAVE_WORKING_STRPTIME and HAVE_INCOHERENT_MMAP we always want to
have their defines unset as the code is using '#ifdef' rather than just
'#if'. Setting them to 0 means #ifdef will succeed due to a difference
how '#ifdef' and '#if' are working.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/replace/wscript