Changeset 1765


Ignore:
Timestamp:
Feb 2, 2009, 8:34:12 PM (12 years ago)
Author:
Peter
Message:

Making cppflags -DHAVE_INLINE -DGSL_RANGE_CHECK_OFF -DNDEBUG private,
i.e., they are not propagated to yat-config and not set in autoconf
macro.

closes #485

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1762 r1765  
    194194# to yat-config or yat.m4.
    195195YAT_CXX_ADD_FLAG([AM_CXXFLAGS], [-Wall -pedantic])
    196 YAT_CPP_ADD_FLAG([CPPFLAGS], [-DHAVE_INLINE=1])
     196YAT_CPP_ADD_FLAG([AM_CPPFLAGS], [-DHAVE_INLINE=1])
    197197AC_ARG_ENABLE([debug],
    198198  [AS_HELP_STRING([--enable-debug],[turn on debug options and code])])
     
    201201  YAT_CXX_ADD_FLAG([AM_CXXFLAGS], [-g -O])
    202202else
    203   YAT_CPP_ADD_FLAG([CPPFLAGS], [-DGSL_RANGE_CHECK_OFF -DNDEBUG])
     203  YAT_CPP_ADD_FLAG([AM_CPPFLAGS], [-DGSL_RANGE_CHECK_OFF -DNDEBUG])
    204204  YAT_CXX_ADD_FLAG([AM_CXXFLAGS], [-O3])
    205205fi
Note: See TracChangeset for help on using the changeset viewer.