aboutsummaryrefslogtreecommitdiff
path: root/gprof/configure.in
blob: fbec79887f395ed71a3e9b327954c4391ebd5f29 (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
# This file is a shell script that supplies the information necessary
# to tailor a template configure script into the configure script
# appropriate for this directory.  For more information, check any
# existing configure script.

srctrigger=gprof.c
srcname="gprof"

# per-host:

. ${srcdir}/../bfd/configure.host

# Set up to make a link between the host's include file and "sysdep.h".
files="../bfd/hosts/${my_host}.h"
links="sysdep.h"

# per-target:
case "${target}" in
i386-*-*)	my_target=i386 ;;
sparc-*-*)	my_target=sparc ;;
tahoe-*-*)	my_target=tahoe ;;
vax-*-*)	my_target=vax ;;
*-*-*)		my_target=dummy ;;
esac

target_makefile_frag=config/mt-${my_target}
if [ ! -f ${srcdir}/${target_makefile_frag} ] ; then
	target_makefile_frag=
fi