Commit | Line | Data |
---|---|---|
782445c7 FF |
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. | |
47882638 | 6 | |
782445c7 FF |
7 | AC_PREREQ(1.118) |
8 | AC_INIT(sh3.mt) | |
47882638 | 9 | |
782445c7 FF |
10 | CC=${CC-cc} |
11 | AC_SUBST(CC) | |
12 | AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../../..) | |
13 | AC_CANONICAL_SYSTEM | |
47882638 JK |
14 | |
15 | case "${target}" in | |
782445c7 | 16 | hppa*-*-*) target_makefile_frag=hppa.mt ;; |
782445c7 | 17 | sh*-*-*) target_makefile_frag=sh3.mt ;; |
782445c7 | 18 | *-*-*) target_makefile_frag=default.mt ;; |
47882638 | 19 | esac |
782445c7 FF |
20 | |
21 | # We also need to use a makefile fragment for the embedded targets | |
22 | # to get the flags right to build the test cases | |
23 | AC_SUBST_FILE(target_makefile_frag) | |
24 | ||
25 | AC_OUTPUT(Makefile) |