]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/configure.in
* gdb.base/fileio.c: Include unistd.h as required for lseek(2).
[thirdparty/binutils-gdb.git] / sim / testsuite / configure.in
1 dnl Process this file file with autoconf to produce a configure script.
2 dnl This file is a shell script fragment that supplies the information
3 dnl necessary to tailor a template configure script into the configure
4 dnl script appropriate for this directory. For more information, check
5 dnl any existing configure script.
6
7 AC_PREREQ(2.5)
8 AC_INIT(common/bits-tst.c)
9
10 CC=${CC-cc}
11 AC_SUBST(CC)
12 AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
13 AC_CANONICAL_SYSTEM
14
15 # Configure sub-directory for appropriate targets
16 case ${target} in
17 frv-*-elf )
18 AC_CONFIG_SUBDIRS(frv-elf)
19 ;;
20 m32r-*-elf )
21 AC_CONFIG_SUBDIRS(m32r-elf)
22 ;;
23 mips64el-*-elf )
24 AC_CONFIG_SUBDIRS(mips64el-elf)
25 ;;
26 esac
27
28 # Compute the target architecture.
29 # FIXME: Will need to canonicalize some values.
30 # FIXME: Should be in generally accessable place.
31 case $target in
32 *) arch=${target_cpu} ;;
33 esac
34 AC_SUBST(arch)
35
36 AC_OUTPUT(Makefile)