Initial creation of sourceware repository
[deliverable/binutils-gdb.git] / sim / testsuite / configure.in
CommitLineData
c906108c
SS
1dnl Process this file file with autoconf to produce a configure script.
2dnl This file is a shell script fragment that supplies the information
3dnl necessary to tailor a template configure script into the configure
4dnl script appropriate for this directory. For more information, check
5dnl any existing configure script.
6
7AC_PREREQ(2.5)
8AC_INIT(common/bits-tst.c)
9
10CC=${CC-cc}
11AC_SUBST(CC)
12AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
13AC_CANONICAL_SYSTEM
14
15# Directories to use in all configurations.
16configdirs=""
17
18# add test sub-directory for appropriate targets
19testdir=`echo ${target} | sed -e 's/-.*-/-/'`
20if test -r ${srcdir}/${testdir}/configure ; then
21 configdirs="${configdirs} $testdir"
22fi
23
24# add any extra subdirectories
25case $target in
26 *) ;;
27esac
28
29# Compute the target architecture.
30# FIXME: Will need to canonicalize some values.
31# FIXME: Should be in generally accessable place.
32case $target in
33 *) arch=${target_cpu} ;;
34esac
35AC_SUBST(arch)
36
37# configure the subdirectories too
38AC_CONFIG_SUBDIRS($configdirs)
39
40AC_OUTPUT(Makefile)
This page took 0.024557 seconds and 4 git commands to generate.