##// END OF EJS Templates
setup: detect statfs...
Jun Wu -
r31561:312e6264 default
parent child Browse files
Show More
@@ -590,9 +590,9 b" common_depends = ['mercurial/bitmanipula"
590 osutil_cflags = []
590 osutil_cflags = []
591 osutil_ldflags = []
591 osutil_ldflags = []
592
592
593 # platform specific macros: HAVE_SETPROCTITLE
593 # platform specific macros
594 for plat, func in [(re.compile('freebsd'), 'setproctitle')]:
594 for plat, func in [('bsd', 'setproctitle'), ('bsd|darwin|linux', 'statfs')]:
595 if plat.search(sys.platform) and hasfunction(new_compiler(), func):
595 if re.search(plat, sys.platform) and hasfunction(new_compiler(), func):
596 osutil_cflags.append('-DHAVE_%s' % func.upper())
596 osutil_cflags.append('-DHAVE_%s' % func.upper())
597
597
598 if sys.platform == 'darwin':
598 if sys.platform == 'darwin':
General Comments 0
You need to be logged in to leave comments. Login now