Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/gprof/configure.in

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    2424AC_CHECK_FUNCS(setmode)
    2525
    26 ALL_LINGUAS=
     26ALL_LINGUAS="fr tr sv es id da pt_BR"
    2727CY_GNU_GETTEXT
    2828
     
    3232AC_CHECK_HEADERS(sys/gmon_out.h)
    3333
    34 AC_MSG_CHECKING(the size of gmon pointers)
    35 AC_TRY_RUN([#include <stdio.h>
    36 #include <stdlib.h>
    37 #if HAVE_SYS_GMON_OUT_H
    38 #include <sys/gmon_out.h>
    39 #endif
    40 main()
    41 {
    42 #if HAVE_SYS_GMON_OUT_H
    43   struct gmon_cg_arc_record arc;
    44   FILE *f=fopen("conftestval", "w");
    45   if (!f) exit(1);
    46   fprintf(f, "%d\n", sizeof(arc.from_pc));
    47   exit(0);
    48 #else
    49   FILE *f=fopen("conftestval", "w");
    50   if (!f) exit(1);
    51   fprintf(f, "%d\n", (int) sizeof(char *));
    52   exit(1);
    53 #endif
    54 }], gmon_ptr_size=`cat conftestval`, gmon_ptr_size=4, gmon_ptr_size=4)
    55 AC_MSG_RESULT($gmon_ptr_size)
    56 
    57 AC_DEFINE_UNQUOTED(GMON_PTR_SIZE, $gmon_ptr_size)
    58 
    59 build_warnings="-W -Wall"
     34build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
    6035AC_ARG_ENABLE(build-warnings,
    6136[  --enable-build-warnings Enable build-time compiler warnings if gcc is used],
Note: See TracChangeset for help on using the changeset viewer.