* configure.in: Remove host section, expand target section.

This commit is contained in:
John Gilmore 1992-07-13 02:54:10 +00:00
parent a4ea327414
commit 5d32c9524e
3 changed files with 13 additions and 14 deletions

View file

@ -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

View file

@ -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

View file

@ -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}