#! /bin/sh set -e osenv () { cat $1/env-simple-raw.lisp if [ `uname` = FreeBSD ] ; then if uname -v | egrep 'FreeBSD.[45]' > /dev/null; then echo '(pushnew :FREEBSD4 *features*)' fi if objformat | grep elf > /dev/null ; then echo '(pushnew :ELF *features*)' fi fi } osenv ../../crabuild/