Files
oasis-linux-mirror/probe/gen.lua
T
Michael Forney 6673d9ab52 curl: Probe for size of size_t, time_t and long
There are still several more SIZEOF_* constants in curl_config.h,
but they seem to match for architectures we care about.
2018-10-18 15:27:53 -07:00

15 lines
383 B
Lua

local function probe(var)
build('probe', '$outdir/'..var, {'$dir/'..var, '|', 'scripts/probe.sh'}, {var=var})
end
probe('HAVE_IMMINTRIN_H')
probe('HAVE__MM_MOVEMASK_EPI8')
local function probesize(var)
build('probesize', '$outdir/'..var, {'$dir/'..var, '|', 'scripts/probe-size.sh'}, {var=var})
end
probesize('SIZEOF_LONG')
probesize('SIZEOF_SIZE_T')
probesize('SIZEOF_TIME_T')