diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-02-27 17:49:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-02-27 17:49:00 +0000 |
commit | 22395d7ed4081e9dca0fb92dd8428330264f777f (patch) | |
tree | dbc1242847d65955afd19f34834c2dd96dad0eea /gprof/configure | |
parent | f7d098a5b9b6fac47bc16dea6d212a936cd92c8c (diff) | |
download | gdb-22395d7ed4081e9dca0fb92dd8428330264f777f.zip gdb-22395d7ed4081e9dca0fb92dd8428330264f777f.tar.gz gdb-22395d7ed4081e9dca0fb92dd8428330264f777f.tar.bz2 |
* 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.
Diffstat (limited to 'gprof/configure')
-rwxr-xr-x | gprof/configure | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gprof/configure b/gprof/configure index 7799ca8..cf951d9 100755 --- a/gprof/configure +++ b/gprof/configure @@ -925,6 +925,15 @@ esac +case "${target}" in +*-*-bsd4.4* | *-*-netbsd* | *-*-freebsd* | *-*-openbsd*) + cat >> confdefs.h <<\EOF +#define BSD44_FORMAT 1 +EOF + + ;; +esac + BFDLIB='-L../bfd -lbfd' # We need to handle some special cases if BFD was built shared. |