old-cross-binutils/sim/h8300/configure.in

33 lines
835 B
Text
Raw Normal View History

dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.3)dnl
AC_INIT(Makefile.in)
1992-12-22 21:59:06 +00:00
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
1992-12-22 21:59:06 +00:00
1993-02-04 00:22:22 +00:00
. ${srcdir}/../../bfd/configure.host
1992-12-22 21:59:06 +00:00
# Set up to make a link between the host's include file and "sysdep.h".
1993-02-04 00:22:22 +00:00
files="../../bfd/hosts/${my_host}.h"
if test ! -f ${srcdir}/${files} ; then
files=../../bfd/hosts/std-host.h
AC_MSG_WARN(h8300sim has no specific support for host ${host} -- using std-host)
1992-12-22 21:59:06 +00:00
fi
AC_LINK_FILES($files, sysdep.h)
1992-12-22 21:59:06 +00:00
if test -f ${srcdir}/../../bfd/config/${my_host}.mh; then
1993-02-04 00:22:22 +00:00
host_makefile_frag=../../bfd/config/${my_host}.mh
else
host_makefile_frag=/dev/null
fi
frags=
if test $host_makefile_frag != /dev/null; then
frags="$frags $host_makefile_frag"
1992-12-22 21:59:06 +00:00
fi
AC_SUBST_FILE(host_makefile_frag)
AC_SUBST(frags)
1992-12-22 21:59:06 +00:00
AC_OUTPUT(Makefile)