Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details:
[external/binutils.git] / gprof / configure.in
1 # This file is a shell script that supplies the information necessary
2 # to tailor a template configure script into the configure script
3 # appropriate for this directory.  For more information, check any
4 # existing configure script.
5
6 srctrigger=gprof.c
7 srcname="gprof"
8
9 # per-host:
10
11 # per-target:
12 case "${target}" in
13 alpha-*-*)      my_target=alpha ;;
14 i[345]86-*-*)   my_target=i386 ;;
15 sparc-*-*)      my_target=sparc ;;
16 tahoe-*-*)      my_target=tahoe ;;
17 vax-*-*)        my_target=vax ;;
18 ns532-*-*|*-pc532-*)    my_target=ns532;;
19 *-*-*)          my_target=dummy ;;
20 esac
21
22 target_makefile_frag=config/mt-${my_target}
23 if [ ! -f ${srcdir}/${target_makefile_frag} ] ; then
24         target_makefile_frag=
25 fi