Commit | Line | Data |
---|---|---|
00729fe3 AC |
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 | dnl FIXME - think of a truly uniq file to this directory | |
9 | AC_INIT(d30v-elf) | |
10 | ||
11 | CC=${CC-cc} | |
12 | AC_SUBST(CC) | |
13 | AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..) | |
14 | AC_CANONICAL_SYSTEM | |
15 | ||
16 | # Directories to use in all configurations. | |
17 | configdirs="" | |
18 | ||
19 | ||
20 | # add test sub-directory for appropriate targets | |
21 | case "${target}" in | |
22 | # start-sanitize-d30v | |
23 | d30v-*-elf) configdirs="${configdirs} d30v-elf" ;; | |
24 | # end-sanitize-d30v | |
7cf0d795 AC |
25 | # start-sanitize-r5900 |
26 | mips64vr5900el-*-elf) configdirs="${configdirs} mips64vr5900el-elf" ;; | |
27 | # end-sanitize-r5900 | |
00729fe3 AC |
28 | *) ;; |
29 | esac | |
30 | ||
31 | # configure the subdirectories too | |
32 | AC_CONFIG_SUBDIRS($configdirs) | |
33 | ||
34 | AC_OUTPUT(Makefile) |