/* configure.cmd */
parse arg argall

src_root = translate( substr( directory(), 3 ), '/', '\' ) || '/'
extra_incdir = src_root || 'libdart:' || src_root || 'libkva'
extra_libdir = src_root || 'libdart:' || src_root || 'libkva'

opts = ''
opts = opts || ' --disable-vidix-internal'
opts = opts || ' --disable-vidix-external'
opts = opts || ' --enable-runtime-cpudetection'
opts = opts || ' --disable-select'
opts = opts || ' --disable-sdl'
opts = opts || ' --disable-termcap'
opts = opts || ' --with-extraincdir=' || extra_incdir
opts = opts || ' --with-extralibdir=' || extra_libdir

'sh configure ' || opts argall

