aboutsummaryrefslogtreecommitdiff
path: root/gprof/configure.in
blob: f634baee9e25d868baacc9a298608ce4fae93817 (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
# 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:
case "${host_cpu}" in
sparc*)	my_host=sparc ;;
i386*)	my_host=i386 ;;
esac

host_makefile_frag=config/mh-${my_host}
if [ ! -f ${srcdir}/${host_makefile_frag} ] ; then
	host_makefile_frag=
fi

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

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

files=
links=