1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Revert "lib/replace: force to unset defines if check has failed"

This reverts commit 8ec7eb0c01.

There was already a better fix under discusion.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2018-09-10 10:22:13 +02:00 committed by Andrew Bartlett
parent 4e5d6f81e3
commit 200ddf8e73

View File

@ -616,7 +616,6 @@ def configure(conf):
define='HAVE_WORKING_STRPTIME',
execute=True,
addmain=False,
always=True,
msg='Checking for working strptime')
conf.CHECK_C_PROTOTYPE('gettimeofday',
@ -647,7 +646,7 @@ def configure(conf):
# OpenBSD (and I've heard HPUX) doesn't sync between mmap and write.
# FIXME: Anything other than a 0 or 1 exit code should abort configure!
conf.CHECK_CODE('#include "test/incoherent_mmap.c"',
addmain=False, add_headers=False, execute=True, always=True,
addmain=False, add_headers=False, execute=True,
define='HAVE_INCOHERENT_MMAP',
msg="Checking for HAVE_INCOHERENT_MMAP")