# Initial auto.def created by 'autosetup --init=make'
# vim: filetype=tcl

use cc

# Add any user options here
options {
				build-type:=standalone	=> "standalone|lightweight|minimal"
}

cc-check-tools ar ranlib strip
cc-check-includes string.h memory.h

define BUILD_TYPE [join [opt-val build-type] ]

define USE_SQLITE3 1
define USE_TCL 1

make-config-header src/config.h -bare {HAVE_* USE_*}
make-template tup.config.in build/tup.config
make-template scripts/spm-minimal.sh.in spm.sh
exec chmod +x spm.sh
