old-cross-binutils/sim/sh/configure.in
Ian Lance Taylor 35680553b1 Sun Feb 26 15:27:24 1995 Steve Chamberlain <sac@cygnus.com>
* configure.in: Use ../../bfd/hosts/std-host.h if specific
	host unavailable.
1995-02-28 19:16:40 +00:00

36 lines
873 B
Text

# This file is a shell script 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=interp.c
srcname="shsim"
# per-host:
. ${srcdir}/../../bfd/configure.host
# Set up to make a link between the host's include file and "sysdep.h".
files="../../bfd/hosts/${my_host}.h"
links="sysdep.h"
if [ ! -f ${srcdir}/${files} ] ; then
files=../bfd/hosts/std-host.h
echo "[${srcname} has no specific support for host ${host} -- using std-host]"
fi
host_makefile_frag=
if [ -f ${srcdir}/../../bfd/config/${my_host}.mh ] ; then
host_makefile_frag=../../bfd/config/${my_host}.mh
fi
# per-target:
case "${target}" in
sh-*-*) sim_target=sh ;;
shl-*-*) sim_target=shl ;;
esac
target_makefile_frag=${sim_target}.mt