1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

r10418: Fix comparison_fn_t test I busted. Add $HOME to the environment as some

tools get confused if it isn't there.
(This used to be commit b2f15b5c79970b7f0be752ccf5bb8a6b3c0e5d70)
This commit is contained in:
Tim Potter 2005-09-22 08:47:32 +00:00 committed by Gerald (Jerry) Carter
parent 217fac8601
commit 53de9b5be0

View File

@ -7,7 +7,7 @@
# Copyright (C) 2005 Jelmer Vernooij <jelmer@samba.org>
# Published under the GNU GPL
import cPickle, string
import cPickle, string, os
# We don't care about NFS builds...
@ -45,6 +45,9 @@ if hostenv['developer']:
# Pull in GNU extensions
hostenv.Append(CPPDEFINES = {'_GNU_SOURCE': 1})
# Some tools get confused if $HOME isn't defined
hostenv.Append(ENV={'HOME': os.environ['HOME']})
# Store configuration data in a dictionary.
def saveconfig(data):
@ -159,7 +162,7 @@ if hostenv['configure']:
if conf.CheckType(t, type_headers):
defines['HAVE_%s' % string.upper(t)] = 1
if conf.CheckType('comparison_fn_t', type_headers):
if conf.CheckType('comparison_fn_t', '#include <stdlib.h>'):
defines['HAVE_COMPARISON_FN_T'] = 1
if conf.CheckType('sig_atomic_t', '#include <signal.h>'):