aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.disasm/configure.in
blob: a256c7790ee0d0ad3e8f1bd7b2b18f7970f8b57a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
dnl Process this file file with autoconf to produce a configure script.
dnl This file is a shell script fragment that supplies the information
dnl necessary to tailor a template configure script into the configure
dnl script appropriate for this directory.  For more information, check
dnl any existing configure script.

AC_PREREQ(1.118)
AC_INIT(sh3.mt)

CC=${CC-cc}
AC_SUBST(CC)
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../../..)
AC_CANONICAL_SYSTEM

case "${target}" in
  hppa*-*-*)              target_makefile_frag=hppa.mt ;;
# start-sanitize-sh3e
  sh*-*-*)                target_makefile_frag=sh3.mt ;;
# end-sanitize-sh3e
  *-*-*)		  target_makefile_frag=default.mt ;;
esac

# We also need to use a makefile fragment for the embedded targets
# to get the flags right to build the test cases
AC_SUBST_FILE(target_makefile_frag)
	
AC_OUTPUT(Makefile)