aboutsummaryrefslogtreecommitdiff
path: root/gprof/configure.in
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-07-13 02:54:10 +0000
committerJohn Gilmore <gnu@cygnus>1992-07-13 02:54:10 +0000
commit5d32c9524ecc7b732d480e583aad34f6c7bc4906 (patch)
treea0e0aeb52e80af962091fdd64e3f7f63737a10ba /gprof/configure.in
parenta4ea3274148abce732816524f8eb0b5a0fbf382a (diff)
downloadfsf-binutils-gdb-5d32c9524ecc7b732d480e583aad34f6c7bc4906.zip
fsf-binutils-gdb-5d32c9524ecc7b732d480e583aad34f6c7bc4906.tar.gz
fsf-binutils-gdb-5d32c9524ecc7b732d480e583aad34f6c7bc4906.tar.bz2
* configure.in: Remove host section, expand target section.
Diffstat (limited to 'gprof/configure.in')
-rw-r--r--gprof/configure.in19
1 files changed, 6 insertions, 13 deletions
diff --git a/gprof/configure.in b/gprof/configure.in
index 5b6f44d..f0698c3 100644
--- a/gprof/configure.in
+++ b/gprof/configure.in
@@ -7,21 +7,14 @@ 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 ;;
-*) my_target=dummy ;;
+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}