From 22395d7ed4081e9dca0fb92dd8428330264f777f Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 27 Feb 1997 17:49:00 +0000 Subject: * configure.in: Define BSD44_FORMAT if the target looks like a BSD4.4 derived system. * configure: Rebuild. * Makefile.in (.c.o): Add @DEFS@. * gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate from profrate field, not version field. --- gprof/configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gprof/configure.in') diff --git a/gprof/configure.in b/gprof/configure.in index 074ace7..30bb9b2 100644 --- a/gprof/configure.in +++ b/gprof/configure.in @@ -33,6 +33,15 @@ esac AC_SUBST(MY_TARGET) +dnl We need to set BSD44_FORMAT on a host which uses the additional +dnl header fields. This is an attempt to do that. I can't think of a +dnl good feature test for this. +case "${target}" in +*-*-bsd4.4* | *-*-netbsd* | *-*-freebsd* | *-*-openbsd*) + AC_DEFINE(BSD44_FORMAT) + ;; +esac + BFDLIB='-L../bfd -lbfd' # We need to handle some special cases if BFD was built shared. -- cgit v1.1