1995-07-05 23:51:30 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.3)dnl
|
|
|
|
AC_INIT(Makefile.in)
|
1995-05-24 21:45:01 +00:00
|
|
|
|
1995-07-05 23:51:30 +00:00
|
|
|
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
AC_ARG_PROGRAM
|
1995-05-24 21:45:01 +00:00
|
|
|
|
|
|
|
. ${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"
|
1995-07-05 23:51:30 +00:00
|
|
|
if test ! -f ${srcdir}/${files} ; then
|
1995-05-24 21:45:01 +00:00
|
|
|
files=../../bfd/hosts/std-host.h
|
1995-07-05 23:51:30 +00:00
|
|
|
AC_MSG_WARN(arm sim has no specific support for host ${host} -- using std-host)
|
1995-05-24 21:45:01 +00:00
|
|
|
fi
|
1995-07-05 23:51:30 +00:00
|
|
|
AC_LINK_FILES($files, sysdep.h)
|
1995-05-24 21:45:01 +00:00
|
|
|
|
1995-07-05 23:51:30 +00:00
|
|
|
if test -f ${srcdir}/../../bfd/config/${my_host}.mh; then
|
1995-05-24 21:45:01 +00:00
|
|
|
host_makefile_frag=../../bfd/config/${my_host}.mh
|
1995-07-05 23:51:30 +00:00
|
|
|
else
|
|
|
|
host_makefile_frag=/dev/null
|
1995-05-24 21:45:01 +00:00
|
|
|
fi
|
|
|
|
|
1995-07-05 23:51:30 +00:00
|
|
|
frags=
|
|
|
|
if test $host_makefile_frag != /dev/null; then
|
|
|
|
frags="$frags $host_makefile_frag"
|
|
|
|
fi
|
|
|
|
AC_SUBST_FILE(host_makefile_frag)
|
|
|
|
AC_SUBST(frags)
|
1995-05-24 21:45:01 +00:00
|
|
|
|
1995-07-05 23:51:30 +00:00
|
|
|
AC_OUTPUT(Makefile)
|