* Makefile.in, configure.in: converted to autoconf.
[deliverable/binutils-gdb.git] / sim / sh / configure.in
CommitLineData
1ffd292b
C
1dnl Process this file with autoconf to produce a configure script.
2AC_PREREQ(2.3)dnl
3AC_INIT(Makefile.in)
594266fc 4
1ffd292b
C
5AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
6AC_CANONICAL_SYSTEM
7AC_ARG_PROGRAM
594266fc
SC
8
9. ${srcdir}/../../bfd/configure.host
10
11# Set up to make a link between the host's include file and "sysdep.h".
12files="../../bfd/hosts/${my_host}.h"
1ffd292b 13if test ! -f ${srcdir}/${files} ; then
5887848e 14 files=../../bfd/hosts/std-host.h
1ffd292b 15 AC_MSG_WARN(shsim has no specific support for host ${host} -- using std-host)
594266fc 16fi
1ffd292b 17AC_LINK_FILES($files, sysdep.h)
594266fc 18
1ffd292b 19if test -f ${srcdir}/../../bfd/config/${my_host}.mh; then
594266fc 20 host_makefile_frag=../../bfd/config/${my_host}.mh
1ffd292b
C
21else
22 host_makefile_frag=/dev/null
594266fc
SC
23fi
24
1ffd292b
C
25frags=
26if test $host_makefile_frag != /dev/null; then
27 frags="$frags $host_makefile_frag"
28fi
29AC_SUBST_FILE(host_makefile_frag)
30AC_SUBST(frags)
d2fd61a8 31
1ffd292b 32AC_OUTPUT(Makefile)
This page took 0.117373 seconds and 4 git commands to generate.