Changeset 3640 for trunk/configure.ac


Ignore:
Timestamp:
May 3, 2017, 2:55:07 AM (6 years ago)
Author:
Peter
Message:

use std::log2 when available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r3593 r3640  
    9696yat_have_rvalue=no
    9797yat_have_atomic=no
     98yat_have_log2=no
    9899AS_VAR_IF([enable_cxx11], [yes], [
    99100  YAT_CXX_RVALUE([yat_have_rvalue=yes
     
    103104                  AC_DEFINE([YAT_HAVE_ATOMIC], [1],
    104105                            [Define if compiler support std::atomic])])
     106  YAT_CXX_LOG2([yat_have_log2=yes
     107                AC_DEFINE([YAT_HAVE_LOG2], [1],
     108                          [Define if std::log2 exists])])
    105109])
    106110
     
    660664  With Rvalue Support:  $yat_have_rvalue
    661665  With atomic Support:  $yat_have_atomic
     666  With log2 Support:    $yat_have_log2
    662667
    663668Options used to compile and link:
Note: See TracChangeset for help on using the changeset viewer.