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. | |
1458f956 | 6 | |
6c890568 | 7 | AC_PREREQ(2.5) |
782445c7 | 8 | AC_INIT(weird.exp) |
1458f956 | 9 | |
782445c7 FF |
10 | CC=${CC-cc} |
11 | AC_SUBST(CC) | |
12 | AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../../..) | |
13 | AC_CANONICAL_SYSTEM | |
1458f956 JK |
14 | |
15 | case "${target}" in | |
16 | ||
17 | # Do any other machines use .stabx? What about i386-*-aix*? | |
18 | rs6000-*-aix*) target_makefile_frag=xcoff.mt ;; | |
19 | ||
c4e13a27 | 20 | alpha-*-*) if test "x${with_gnu_as}" = xyes ; then |
a72e9833 PS |
21 | target_makefile_frag=aout.mt |
22 | else | |
23 | target_makefile_frag=alpha.mt | |
24 | fi | |
25 | ;; | |
26 | ||
20fde16a JL |
27 | hppa*-*-*) target_makefile_frag=hppa.mt ;; |
28 | ||
76b098d1 | 29 | mips-*-bsd*) target_makefile_frag=aout.mt ;; |
c4e13a27 | 30 | mips-*-*) if test "x${with_gnu_as}" = xyes ; then |
9d77e877 PS |
31 | target_makefile_frag=aout.mt |
32 | else | |
33 | target_makefile_frag=ecoff.mt | |
34 | fi | |
35 | ;; | |
76b098d1 | 36 | |
1458f956 JK |
37 | *-*-*) target_makefile_frag=aout.mt ;; |
38 | ||
39 | esac | |
782445c7 FF |
40 | |
41 | # We also need to use a makefile fragment for the embedded targets | |
42 | # to get the flags right to build the test cases | |
43 | AC_SUBST_FILE(target_makefile_frag) | |
44 | ||
45 | AC_OUTPUT(Makefile) |