export CFLAGS="-gdwarf-2 -O2"
export PATH_SEPARATOR=:

# Modified from a script by Andris Pavenis
case x`find --version 2>&1` in
  "xGNU find"*) ;;
  "xFIND: "*) echo "Error: MS Find detected instead of GNU Find. In the PATH variable,"
              echo "the DJGPP directory must come before the system directories."
              exit 1 ;;
  *) echo "Error: GNU Find not detected. Please install."
esac


### Section is obsolete with Autoconf 2.5x
# Create the --srcdir argument
#
#srcdir=`cd .. ; pwd`
#
#
#
#srcdir=${srcdir:6}

# Comment this out if your utilities are all linked with
# DJGPP 2.03's libc.a.

#export PATH_EXPAND=Y

# Now configure this mamajama
sh ../configure --disable-nls --prefix=/dev/env/DJDIR \
                --with-bash-malloc $*
