From 5d32c9524ecc7b732d480e583aad34f6c7bc4906 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Mon, 13 Jul 1992 02:54:10 +0000 Subject: [PATCH] * configure.in: Remove host section, expand target section. --- gprof/.Sanitize | 4 +++- gprof/ChangeLog | 4 ++++ gprof/configure.in | 19 ++++++------------- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/gprof/.Sanitize b/gprof/.Sanitize index beb18d3..2ee9399 100644 --- a/gprof/.Sanitize +++ b/gprof/.Sanitize @@ -24,8 +24,10 @@ Do-first: # with rm -rf. Things-to-keep: +ChangeLog Makefile.in arcs.c +blurbs.c config configure.in dfn.c @@ -41,7 +43,7 @@ hertz.c i386.c i386.h lookup.c -pathnames.h +make-c-prog.awk printgprof.c printlist.c sparc.c diff --git a/gprof/ChangeLog b/gprof/ChangeLog index ea2de7f..005b061 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,5 +1,9 @@ Sun Jul 12 19:06:00 1992 John Gilmore (gnu at cygnus.com) + * configure.in: Remove host section, expand target section. + * config/mt-{tahoe,vax}: Add, to match existing support files. + * config/tmake-*: Remove leftover crud. + * blurbs.c: New file, created from gprof.flat and gprof.callg by * make-c-prog.awk: which processes text files into C programs. * printgprof.c (flatprofheader, gprofheader): Call new functions 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} -- 2.7.4