Changeset 1192


Ignore:
Timestamp:
Oct 2, 2010, 5:09:04 PM (13 years ago)
Author:
Peter Johansson
Message:

closes #479. yat deprecation arning are turned on

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1182 r1192  
    131131  [YAT_CPP_ADD_FLAG([CPPFLAGS],[-DNDEBUG])
    132132   YAT_CXX_ADD_FLAG([CXXFLAGS],[-O3])])
     133
     134AC_MSG_CHECKING([g++ deprecation attribute])
     135AC_COMPILE_IFELSE(
     136  [AC_LANG_PROGRAM([[void f() __attribute__ ((deprecated));]],)], 
     137  [AC_DEFINE([YAT_HAVE_GCC_DEPRECATED], [1],
     138             [Define if compiler supports deprecated attribute, as in g++ 4.0])
     139   AC_MSG_RESULT([yes])],
     140  [AC_MSG_RESULT([no])] )
    133141
    134142# Apache Portable Runtime (APR) API checks
Note: See TracChangeset for help on using the changeset viewer.