Updating gprof for latest bfd stuff, and making configure work.
[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 case "${host_cpu}" in
11 sparc*) my_host=sparc ;;
12 i386*)  my_host=i386 ;;
13 esac
14
15 host_makefile_frag=config/mh-${my_host}
16 if [ ! -f ${srcdir}/${host_makefile_frag} ] ; then
17         host_makefile_frag=
18 fi
19
20 # per-target:
21 case "${target_cpu}" in
22 sparc*) my_target=sparc ;;
23 i386*)  my_target=i386 ;;
24 esac
25
26 target_makefile_frag=config/mt-${my_target}
27 if [ ! -f ${srcdir}/${target_makefile_frag} ] ; then
28         target_makefile_frag=
29 fi
30
31 files=
32 links=