1#!/bin/sh
2
3# see if we are in the top of the tree
4if [ ! -f configure.proto ]; then
5  cd ../..
6  if [ ! -f configure.proto ]; then
7    echo "please run this script from the base of the VICE directory"
8    echo "or from the appropriate build directory"
9    exit 1
10  fi
11fi
12
13curdir=`pwd`
14./configure -v --prefix=/usr/local cross_compiling=yes ac_cv_c_bigendian=no resid_cv_builtin_expect=no
15make CC="/bin/sh $curdir/src/arch/unix/qnx4/qnx4-cc.sh"
16