Description: Use Debian packaged version of htslib
Author: Andreas Tille <tille@debian.org>
Last-Update: Sun, 18 Feb 2018 17:00:11 +0100

--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
-SUBDIRS = htslib
-HTSLIB = htslib/libhts.a
+SUBDIRS = 
+HTSLIB = -lhts
 
 AM_CPPFLAGS = $(OPENMP_CFLAGS) -I$(top_srcdir)/htslib
 AM_LDFLAGS = $(OPENMP_CFLAGS)
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@
 AC_CONFIG_AUX_DIR([config])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign parallel-tests subdir-objects])
 AC_CONFIG_SRCDIR([src/ustacks.cc])
-AC_CONFIG_SRCDIR([htslib/hts.c])
+#AC_CONFIG_SRCDIR([htslib/hts.c])
 AC_CONFIG_HEADERS([config.h])
 m4_pattern_allow([AC_OPENMP])
 
@@ -97,5 +97,5 @@
 # For test harness
 AC_PROG_AWK
 
-AC_CONFIG_FILES([Makefile htslib/Makefile])
+AC_CONFIG_FILES([Makefile])
 AC_OUTPUT
