From e7e2dd92262f34fd7246fb639edc6001acf9171d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 31 Jan 2002 18:37:58 +0000 Subject: Deal with target architecture that have a pointer size that is different from the host architectures pointer size. --- gprof/configure.in | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'gprof/configure.in') 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 -#include -#if HAVE_SYS_GMON_OUT_H -#include -#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], -- cgit v1.1