aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.stabs/configure.in
blob: db96cf44e5d6cebfc2ac2a4d57d5ebd1776a9876 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
dnl Process this file file with autoconf to produce a configure script.
dnl This file is a shell script fragment that supplies the information
dnl necessary to tailor a template configure script into the configure
dnl script appropriate for this directory.  For more information, check
dnl any existing configure script.

AC_PREREQ(1.118)
AC_INIT(weird.exp)

CC=${CC-cc}
AC_SUBST(CC)
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../../..)
AC_CANONICAL_SYSTEM

case "${target}" in

# Do any other machines use .stabx?  What about i386-*-aix*?
rs6000-*-aix*)		target_makefile_frag=xcoff.mt ;;

alpha-*-*)		if test "x${with_gnu_as}" = xyes ; then
			  target_makefile_frag=aout.mt
			else
			  target_makefile_frag=alpha.mt
			fi
			;;

hppa*-*-*)		target_makefile_frag=hppa.mt ;;

mips-*-bsd*)		target_makefile_frag=aout.mt ;;
mips-*-*)		if test "x${with_gnu_as}" = xyes ; then
			  target_makefile_frag=aout.mt
			else
			  target_makefile_frag=ecoff.mt
			fi
			;;

*-*-*)			target_makefile_frag=aout.mt ;;

esac

# We also need to use a makefile fragment for the embedded targets
# to get the flags right to build the test cases
AC_SUBST_FILE(target_makefile_frag)
	
AC_OUTPUT(Makefile)