-$sbcl <<EOF
- (load-foreign '("$testfilestem.so"))
- (def-alien-routine summish int (x int) (y int))
- (assert (= (summish 10 20) 31))
+${SBCL:-sbcl} <<EOF
+ (when (fboundp 'load-foreign) ; not necessarily supported on all OSes..
+ (load-foreign '("$testfilestem.so"))
+ (def-alien-routine summish int (x int) (y int))
+ (assert (= (summish 10 20) 31)))