aboutsummaryrefslogtreecommitdiff
path: root/gprof/configure.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-01-31 18:37:58 +0000
committerNick Clifton <nickc@redhat.com>2002-01-31 18:37:58 +0000
commite7e2dd92262f34fd7246fb639edc6001acf9171d (patch)
treee4d67f7e2f6c542712867a2930cee7d82b0e8059 /gprof/configure.in
parentdea03d4e101d4d52a1fda4680794d4ceec1cfc55 (diff)
downloadgdb-e7e2dd92262f34fd7246fb639edc6001acf9171d.zip
gdb-e7e2dd92262f34fd7246fb639edc6001acf9171d.tar.gz
gdb-e7e2dd92262f34fd7246fb639edc6001acf9171d.tar.bz2
Deal with target architecture that have a pointer size that is different from
the host architectures pointer size.
Diffstat (limited to 'gprof/configure.in')
-rw-r--r--gprof/configure.in25
1 files changed, 0 insertions, 25 deletions
diff --git a/gprof/configure.in b/gprof/configure.in
index d9ddf48..cbe43b3 100644
--- a/gprof/configure.in
+++ b/gprof/configure.in
@@ -31,31 +31,6 @@ AC_EXEEXT
AC_CHECK_HEADERS(sys/gmon_out.h)
-AC_MSG_CHECKING(the size of gmon pointers)
-AC_TRY_RUN([#include <stdio.h>
-#include <stdlib.h>
-#if HAVE_SYS_GMON_OUT_H
-#include <sys/gmon_out.h>
-#endif
-main()
-{
-#if HAVE_SYS_GMON_OUT_H
- struct gmon_cg_arc_record arc;
- FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(arc.from_pc));
- exit(0);
-#else
- FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
- fprintf(f, "%d\n", (int) sizeof(char *));
- exit(1);
-#endif
-}], gmon_ptr_size=`cat conftestval`, gmon_ptr_size=4, gmon_ptr_size=4)
-AC_MSG_RESULT($gmon_ptr_size)
-
-AC_DEFINE_UNQUOTED(GMON_PTR_SIZE, $gmon_ptr_size)
-
build_warnings="-W -Wall"
AC_ARG_ENABLE(build-warnings,
[ --enable-build-warnings Enable build-time compiler warnings if gcc is used],