aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/configure.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-03-24 06:59:54 +0000
committerAndrew Cagney <cagney@redhat.com>1997-03-24 06:59:54 +0000
commit00729fe3c5f8d99a3815fefcae6924ead46c5bff (patch)
tree2f3ac4cc96b67134b3aebe7a1b55cad5a82e95d6 /sim/testsuite/configure.in
parent139d457d4e03a8ce380ed2f538bfa577e6b97774 (diff)
downloadgdb-00729fe3c5f8d99a3815fefcae6924ead46c5bff.zip
gdb-00729fe3c5f8d99a3815fefcae6924ead46c5bff.tar.gz
gdb-00729fe3c5f8d99a3815fefcae6924ead46c5bff.tar.bz2
Enable testsuite in sim directory.
Diffstat (limited to 'sim/testsuite/configure.in')
-rw-r--r--sim/testsuite/configure.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/sim/testsuite/configure.in b/sim/testsuite/configure.in
new file mode 100644
index 0000000..ea0740b
--- /dev/null
+++ b/sim/testsuite/configure.in
@@ -0,0 +1,31 @@
+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(2.5)
+dnl FIXME - think of a truly uniq file to this directory
+AC_INIT(d30v-elf)
+
+CC=${CC-cc}
+AC_SUBST(CC)
+AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
+AC_CANONICAL_SYSTEM
+
+# Directories to use in all configurations.
+configdirs=""
+
+
+# add test sub-directory for appropriate targets
+case "${target}" in
+# start-sanitize-d30v
+ d30v-*-elf) configdirs="${configdirs} d30v-elf" ;;
+# end-sanitize-d30v
+ *) ;;
+esac
+
+# configure the subdirectories too
+AC_CONFIG_SUBDIRS($configdirs)
+
+AC_OUTPUT(Makefile)