Changeset 3400
- Timestamp:
- Mar 30, 2015, 10:13:35 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.am
r3246 r3400 164 164 165 165 # run within maintainer-check 166 # try ./configure --without- samtools; make; make check166 # try ./configure --without-htslib; make; make check 167 167 mc_without_samtools: 168 @rm -rf _mc_without_ samtools169 mkdir _mc_without_ samtools170 cd _mc_without_ samtools\171 && ../$(srcdir)/configure $(DISTCHECK_CONFIGURE_FLAGS) --without- samtools\168 @rm -rf _mc_without_htslib 169 mkdir _mc_without_htslib 170 cd _mc_without_htslib \ 171 && ../$(srcdir)/configure $(DISTCHECK_CONFIGURE_FLAGS) --without-htslib \ 172 172 && $(MAKE) $(AM_MAKEFLAGS) && $(MAKE) check $(AM_MAKEFLAGS) -
trunk/NEWS
r3393 r3400 11 11 boost::random_access_traversal_tag (see ticket #803, r3393) 12 12 - StrideIterator is now tagged with use_default (see ticket #803, r3393) 13 - configure option --without-samtools is deprecated; use --without-htslib 13 14 14 15 A complete list of closed tickets can be found here [[br]] -
trunk/configure.ac
r3381 r3400 348 348 AC_ARG_WITH([samtools], 349 349 [AS_HELP_STRING([--without-samtools], 350 [disable samtools support ])],350 [disable samtools support (deprecated)])], 351 351 [], 352 352 [with_samtools=yes]) 353 353 354 AS_IF([test x"$with_samtools" != x"no"], [ 354 # HTSLIB API available from http://www.htslib.org/ 355 AC_ARG_WITH([htslib], 356 [AS_HELP_STRING([--without-htslib], [disable htslib support])], 357 [], 358 [with_htslib=$with_samtools]) 359 360 AS_IF([test x"$with_htslib" != x"no"], [ 355 361 AC_CHECK_HEADER([zlib.h], [], 356 362 [AC_MSG_FAILURE([header file 'zlib.h' was not found])]) … … 375 381 YAT_CHECK_LIBBAM([LIBS="$BAM_LIBS $LIBS" 376 382 AC_DEFINE([YAT_HAVE_LIBBAM], [1], 377 [Define to 1 if lib hts or libbam is available])],383 [Define to 1 if libbam is available])], 378 384 [AC_MSG_FAILURE([library 'libbam' was not found])]) 379 385 YAT_CHECK_LA_LIBS([ … … 395 401 SAMTOOLS=false 396 402 ]) 397 AM_CONDITIONAL([HAVE_ LIBBAM], [test x"$with_samtools" = x"yes"])398 have_ libbam=$with_samtools399 AC_SUBST([have_ libbam])403 AM_CONDITIONAL([HAVE_HTSLIB], [test x"$with_htslib" = x"yes"]) 404 have_htslib=$with_htslib 405 AC_SUBST([have_htslib]) 400 406 AM_CONDITIONAL([HAVE_SAMTOOLS], [test x"$SAMTOOLS" != x"false"]) 401 407 AC_SUBST([SAMTOOLS]) … … 585 591 ]) 586 592 587 # ignore this whole bam thing if --without- samtools588 AS_IF([test x$with_ samtools!= x"no"], [593 # ignore this whole bam thing if --without-htslib 594 AS_IF([test x$with_htslib != x"no"], [ 589 595 # htslib comes with a pc file, so we can require htslib in yat.pc 590 596 AS_IF([test x$with_hts = x"yes"], [ … … 682 688 Build Static Library: $enable_static 683 689 Build Documentation: $doxygen_message 684 With Bam Support: $with_ samtools690 With Bam Support: $with_htslib 685 691 686 692 Options used to compile and link: -
trunk/test/defs.sh.in
r3365 r3400 81 81 test @have_doxygen@ = "yes" || exit_skip no doxygen 82 82 ;; 83 libbam)84 test @have_ libbam@ = "yes" || exit_skip no libbam83 htslib) 84 test @have_htslib@ = "yes" || exit_skip no libbam 85 85 ;; 86 86 libmy-shared) -
trunk/test/yat_m4_with_bam_test.sh
r3112 r3400 19 19 # along with yat. If not, see <http://www.gnu.org/licenses/>. 20 20 21 required="autoconf automake libtool libbam"21 required="autoconf automake libtool htslib" 22 22 23 23 set -e -
trunk/test/yat_pc_test.sh
r3383 r3400 21 21 # testing that pkg-config works with yat.pc 22 22 23 required="pkg-config libbam"23 required="pkg-config htslib" 24 24 25 25 set -e -
trunk/yat/omic/Makefile.am
r3336 r3400 18 18 # along with yat. If not, see <http://www.gnu.org/licenses/>. 19 19 20 if HAVE_ LIBBAM20 if HAVE_HTSLIB 21 21 yat_libyat_la_SOURCES += yat/omic/BamFile.cc 22 22 yat_libyat_la_SOURCES += yat/omic/BamHeader.cc
Note: See TracChangeset
for help on using the changeset viewer.