Changeset 3431
- Timestamp:
- Oct 26, 2015, 8:09:34 AM (8 years ago)
- Location:
- branches/0.13-stable
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.13-stable/NEWS
r3430 r3431 10 10 - AveragerWeighted::n(void) now return 0, when object is empty (ticket #802) 11 11 - added support for htslib (see ticket #794) 12 - YAT_HAVE_LIBBAM is defined if linking against libbam (not against libhts) 13 - YAT_BAM_HEADER is only defined when building against libbam 12 - `YAT_HAVE_LIBBAM` is defined if linking against either libbam 13 or libhts. Use #if defined YAT_HAVE_LIBBAM && !defined 14 (YAT_HAVE_HTSLIB) to check that building against libbam. 15 - `YAT_BAM_HEADER` is only defined when building against libbam 14 16 - Container2DIterator is now tagged with 15 17 boost::random_access_traversal_tag (see ticket #803, r3393) -
branches/0.13-stable/configure.ac
r3426 r3431 385 385 AC_MSG_CHECKING([samtools API]) 386 386 AC_MSG_RESULT([yes]) 387 AC_DEFINE([YAT_HAVE_LIBBAM], [1],388 [Define to 1 if yat is built against libbam])389 390 387 LIBS="$BAM_LIBS $LIBS" 391 388 # check if function bam_calend works. Result of this test can be … … 401 398 ]) 402 399 AC_SUBST([HAVE_HTSLIB], [$have_hts]) 400 401 AC_DEFINE([YAT_HAVE_LIBBAM], [1], 402 [Define to 1 if yat is built with bam support]) 403 403 404 404 YAT_CHECK_LA_LIBS([ -
branches/0.13-stable/test/Suite.cc
r3417 r3431 46 46 if (require_bam) { 47 47 #ifndef YAT_HAVE_LIBBAM 48 out() << "no libbam\n";48 out() << "no bam support\n"; 49 49 exit (EXIT_SKIP); 50 50 #endif -
branches/0.13-stable/test/Suite.h
r3322 r3431 24 24 */ 25 25 26 // ensure that config.h always is included first 27 #ifndef YAT_VERSION 28 #error header 'config.h' not included 29 #endif 30 31 #include <yat/utility/config_public.h> 32 26 33 #define YAT_TEST_PROLOGUE "\n=== " << __func__ << " ===\n" 27 34 … … 30 37 31 38 // SKIP_BAM_TEST is defined if we should skip bam tests 32 #ifndef HAVE_LIBBAM 33 #define SKIP_BAM_TEST 34 #endif 35 #ifndef HAVE_SAMTOOLS 39 #if !defined (YAT_HAVE_LIBBAM) || !defined (HAVE_SAMTOOLS_EXECUTABLE) 36 40 #define SKIP_BAM_TEST 37 41 #endif -
branches/0.13-stable/test/pileup.cc
r3417 r3431 23 23 24 24 #include "Suite.h" 25 26 #include <yat/utility/config_public.h> 25 27 26 28 #ifdef YAT_HAVE_LIBBAM … … 50 52 51 53 52 #ifdef YAT_HAVE_LIBBAM53 54 char seq_nt16(size_t x) 54 55 { … … 63 64 } 64 65 66 #ifdef YAT_HAVE_LIBBAM 65 67 void test1(test::Suite& suite, const std::string& fn) 66 68 { -
branches/0.13-stable/yat/utility/config_public.h.in
r3426 r3431 44 44 #undef YAT_HAVE_HTS_H 45 45 46 /// Define to 1 if yat is built against libbam46 /// Define to 1 if yat is built with bam support 47 47 #undef YAT_HAVE_LIBBAM 48 48
Note: See TracChangeset
for help on using the changeset viewer.