Changeset b190686


Ignore:
Timestamp:
10/28/05 15:05:58 (15 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
f04e489
Parents:
ba0017c
Message:

fixed test for attribute((pure)) by temporarily setting CFLAGS to include -Werror

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    rba0017c rb190686  
    141141if test "$test_pure" = true; then
    142142        AC_MSG_CHECKING([if compiler supports __attribute__((pure))])
     143        OLDCFLAGS="$CFLAGS"
     144        CFLAGS="$CFLAGS -Werror"
     145       
    143146        AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
    144147                           [[
     
    152155
    153156        AC_MSG_RESULT($libtrace_pure)
     157        CFLAGS="$OLDCFLAGS"
    154158
    155159        if test "$libtrace_pure" = true; then
Note: See TracChangeset for help on using the changeset viewer.