* configure.in (AC_PREREQ): autoconf 2.5 or higher.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.stabs / configure.in
CommitLineData
782445c7
FF
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.
1458f956 6
6c890568 7AC_PREREQ(2.5)
782445c7 8AC_INIT(weird.exp)
1458f956 9
782445c7
FF
10CC=${CC-cc}
11AC_SUBST(CC)
12AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../../..)
13AC_CANONICAL_SYSTEM
1458f956
JK
14
15case "${target}" in
16
17# Do any other machines use .stabx? What about i386-*-aix*?
18rs6000-*-aix*) target_makefile_frag=xcoff.mt ;;
19
c4e13a27 20alpha-*-*) 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
27hppa*-*-*) target_makefile_frag=hppa.mt ;;
28
76b098d1 29mips-*-bsd*) target_makefile_frag=aout.mt ;;
c4e13a27 30mips-*-*) 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
39esac
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
43AC_SUBST_FILE(target_makefile_frag)
44
45AC_OUTPUT(Makefile)
This page took 0.195358 seconds and 4 git commands to generate.