Changeset 5e10fc6 in git


Ignore:
Timestamp:
Feb 27, 2014, 4:23:22 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
65571b1405cd3392885da584f45116f2c272be23
Parents:
172d18cee618e01d8305cb7afb049bf5c032d1de
Message:
fix: backtrack detection (requires -g, but no -O)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • omalloc/configure.ac

    r172d18c r5e10fc6  
    410410dnl debug and inline
    411411dnl
     412save_cflags="$CFLAGS"
    412413AC_MSG_CHECKING(whether to disable debugging)
    413414if test "$with_debug" != no; then
    414415AC_MSG_RESULT(no)
     416CFLAGS="$CFLAGS -g"
    415417else
    416418AC_MSG_RESULT(yes)
     
    514516AC_TRY_RUN([
    515517#include <stdlib.h>
    516 #undef OM_GET_BACKTRACE_WORKS
    517518#include "omReturn.h"
    518519#include "omStructs.h"
    519520#include "omGetBackTrace.h"
     521#include "omGetBackTrace.c"
    520522#include "omRet2Info.c"
    521523
     
    543545   ac_cv_prog_addr2line_works=no))
    544546AC_MSG_RESULT($ac_cv_prog_addr2line_works)
     547
     548CFLAGS="$save_cflags"
    545549
    546550AC_MSG_CHECKING(whether to track return addresses)
Note: See TracChangeset for help on using the changeset viewer.