summaryrefslogtreecommitdiffstats
path: root/gprof/configure.in
diff options
context:
space:
mode:
authorSean Eric Fagan <sef@cygnus>1992-02-11 23:15:03 +0000
committerSean Eric Fagan <sef@cygnus>1992-02-11 23:15:03 +0000
commita11d7ba33e9b91147e7f1a5c827a5804d098f523 (patch)
tree20f7a12ec4fefad457d2b4425fdb3f2b67980451 /gprof/configure.in
parentdcde00c429c1d7cb9c6ece3e7e76c11de66d8a5e (diff)
downloadppe42-binutils-a11d7ba33e9b91147e7f1a5c827a5804d098f523.tar.gz
ppe42-binutils-a11d7ba33e9b91147e7f1a5c827a5804d098f523.zip
Updating gprof for latest bfd stuff, and making configure work.
Diffstat (limited to 'gprof/configure.in')
-rw-r--r--gprof/configure.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/gprof/configure.in b/gprof/configure.in
index 107cd6a409..f634baee9e 100644
--- a/gprof/configure.in
+++ b/gprof/configure.in
@@ -7,8 +7,26 @@ 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=
OpenPOWER on IntegriCloud