old-cross-binutils/gdb/testsuite/gdb.disasm/configure.in
1996-01-16 20:16:41 +00:00

25 lines
809 B
Text

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)