+if $fancy
+then
+ # If --fancy, enable threads on platforms where they can be built.
+ case $sbcl_arch in
+ x86|x86-64|ppc)
+ if [ "$sbcl_os" = "sunos" ] && [ "$sbcl_arch" = "x86-64" ]
+ then
+ echo "No threads on this platform."
+ else
+ WITH_FEATURES="$WITH_FEATURES :sb-thread"
+ echo "Enabling threads due to --fancy."
+ fi
+ ;;
+ *)
+ echo "No threads on this platform."
+ ;;
+ esac
+fi
+
+ltf=`pwd`/local-target-features.lisp-expr
+echo //initializing $ltf
+echo ';;;; This is a machine-generated file.' > $ltf
+echo ';;;; Please do not edit it by hand.' >> $ltf
+echo ';;;; See make-config.sh.' >> $ltf
+echo "((lambda (features) (set-difference features (list$WITHOUT_FEATURES)))" >> $ltf
+printf " (union (list$WITH_FEATURES) (list " >> $ltf
+