# This file is a shell script fragment that supplies the information
# necessary to tailor a template configure script into the configure
# script appropriate for this directory.  For more information, check
# any existing configure script.

srctrigger=Makefile.in
srcname="utilities"

configdirs="spu"

# per-host:

case "${host}" in
  *-*-go32)
        configdirs="$configdirs msdos"
        ;;
esac

# per-target:

case "${target}" in
  *-*-go32)
        configdirs="$configdirs msdos"
        ;;
  *-amd-udi)
        configdirs="$configdirs amd-udi"
        ;;
  sparclite-*-*)
        configdirs="$configdirs sparclite"
        ;;
  *mips*-*-pe* | *sh*-*-pe* | *arm*-*-wince | *arm*-wince-pe* )
        configdirs="$configdirs wince"
        ;;
esac

# post-target:

sed -e "s|^SUBDIRS[ 	]*=.*$|SUBDIRS = $configdirs|" \
    Makefile > Makefile.tem
mv Makefile.tem Makefile
