diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 1995-07-05 23:51:30 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 1995-07-05 23:51:30 +0000 |
commit | 80c5739dbe40e1eac02aaf85fa63711c29571a2b (patch) | |
tree | e86a280fc1350e389c627847cbfbbd4059e8e071 /sim/arm | |
parent | 982744ff4c82f61f8e0599f4e65d94e648985e85 (diff) | |
download | gdb-80c5739dbe40e1eac02aaf85fa63711c29571a2b.zip gdb-80c5739dbe40e1eac02aaf85fa63711c29571a2b.tar.gz gdb-80c5739dbe40e1eac02aaf85fa63711c29571a2b.tar.bz2 |
forgot to check this in
Diffstat (limited to 'sim/arm')
-rw-r--r-- | sim/arm/configure.in | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/sim/arm/configure.in b/sim/arm/configure.in index bbe0360..5339c93 100644 --- a/sim/arm/configure.in +++ b/sim/arm/configure.in @@ -1,35 +1,32 @@ -# 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. +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.3)dnl +AC_INIT(Makefile.in) -srctrigger=bag.c -srcname="arm sim" - -# per-host: +AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..) +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM . ${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 +if test ! -f ${srcdir}/${files} ; then files=../../bfd/hosts/std-host.h - echo "[${srcname} has no specific support for host ${host} -- using std-host]" + AC_MSG_WARN(arm sim has no specific support for host ${host} -- using std-host) fi +AC_LINK_FILES($files, sysdep.h) -host_makefile_frag= -if [ -f ${srcdir}/../../bfd/config/${my_host}.mh ] ; then +if test -f ${srcdir}/../../bfd/config/${my_host}.mh; then host_makefile_frag=../../bfd/config/${my_host}.mh +else + host_makefile_frag=/dev/null fi -# per-target: - - -case "${target}" in - arm-*-*) sim_target=arm ;; -esac +frags= +if test $host_makefile_frag != /dev/null; then + frags="$frags $host_makefile_frag" +fi +AC_SUBST_FILE(host_makefile_frag) +AC_SUBST(frags) -target_makefile_frag=${sim_target}.mt +AC_OUTPUT(Makefile) |