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