Skip to content

Commit 0bfba21

Browse files
Removing the use of AX_CHECK_ZLIB from the configure.ac because it was forcing -L/usr/lib into the compile command
1 parent 3049bb6 commit 0bfba21

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

configure.ac

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,8 @@ installed locally.
4141
])])
4242
AM_CONDITIONAL([HAS_HTSLIB], [test "x$ax_cv_htslib" = "xyes"])
4343

44-
dnl check for gsl
45-
AX_CHECK_ZLIB(, [AC_MSG_ERROR([zlib not found.
46-
47-
zlib is required for using libsmithlab_cpp. Please use --with-zlib=DIR
48-
to specify zlib installation if you have it installed locally.
49-
])])
50-
51-
dnl check for gsl
52-
AC_CHECK_HEADERS([gsl/gsl_blas.h], [],
53-
[AC_MSG_ERROR([failed to find gsl headers])])
54-
AC_CHECK_LIB([m],[main])
44+
dnl check for required libraries
45+
AC_CHECK_LIB([z],[zlibVersion])
5546
AC_CHECK_LIB([gslcblas],[main])
5647
AC_CHECK_LIB([gsl],[main])
5748

0 commit comments

Comments
 (0)