#! /bin/sh
#
# Should reflect the normal setup for elinux at Axis Communucations.
#

# May be necessary because CVS does not handle timestamps for
# generated files as needed.  We must not always touch it, or
# configure for multiple build dirs will be messed up.
if test `dirname $0`/configure -ot `dirname $0`/configure.in
then
  touch `dirname $0`/configure
fi
env "BUILD_CC=${BUILD_CC-cc}" "CC=${TARGET_CC-gcc-cris -O2 -melinux} ${CC_opts}" "AR=${AR_FOR_TARGET-ar-cris}" "RANLIB=${RANLIB_FOR_TARGET-ranlib-cris}" `dirname $0`/configure --host=cris-axis-linux-gnuaoutnommu --without-fp --prefix=/usr/local/cris/lib/gcc-lib/cris/2.7.2/elinux --enable-add-ons=crypt,linuxthreads --disable-profile ${1+"$@"}

