aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.disasm/configure.in
blob: 7792deac42f6429bd290bc1b53f3076f8acc3414 (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
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 ;;
  sh*-*-*)                target_makefile_frag=sh3.mt ;;
  *-*-*)		  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)