Changeset 1701 for trunk/configure.ac


Ignore:
Timestamp:
Jan 7, 2009, 11:53:05 PM (12 years ago)
Author:
Peter
Message:

class KolmogorovSmirnov?:
add (sorted) range (fixes #462)
allow copy and assignment
add a shuffle function
p_value calculation now scales linearly with number of data points and
not N*logN as before

configure.ac: added a test to see if std::multiset::iterator is mutable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1693 r1701  
    274274AC_MSG_CHECKING([g++ deprecation attribute])
    275275AC_TRY_COMPILE([void f() __attribute__ ((deprecated));], [],
    276                AC_DEFINE([YAT_HAVE_GCC_DEPRECATED], [1],
     276               [AC_DEFINE([YAT_HAVE_GCC_DEPRECATED], [1],
    277277          [Define if compiler supports deprecated attribute, as in g++ 4.0])
    278                AC_MSG_RESULT([yes]),
    279                AC_MSG_RESULT([no]) )
     278               AC_MSG_RESULT([yes])],
     279               [AC_MSG_RESULT([no])] )
     280
     281AC_MSG_CHECKING([if std::multiset::iterator is mutable])
     282AC_TRY_COMPILE([@%:@include <set>
     283                @%:@include <vector>
     284               ],
     285               [std::set<std::vector<double> > s;
     286                std::vector<double> v;
     287                s.insert(v);
     288                s.begin()->reserve(100);
     289               ],
     290               [AC_DEFINE([MULTISET_ITERATOR_IS_MUTABLE], [1],
     291                          [Define if std::multiset::iterator is mutable])
     292                AC_MSG_RESULT([yes])
     293               ],
     294               [AC_MSG_RESULT([no])] )
    280295
    281296
Note: See TracChangeset for help on using the changeset viewer.