-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
major code changes: removed gsl in preseq.cpp except for bound_pop. u…
…pdated configure.ac to enable gsl for bound_pop.
- Loading branch information
1 parent
cf751f7
commit 3f09c9d
Showing
2 changed files
with
151 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ dnl but WITHOUT ANY WARRANTY; without even the implied warranty of | |
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
dnl General Public License for more details. | ||
|
||
AC_INIT([preseq], [3.0], [[email protected]], | ||
AC_INIT([preseq], [3.0.1], [[email protected]], | ||
[preseq], [https://github.com/smithlabcode/preseq]) | ||
dnl the config.h is not currently #included in the source, and only | ||
dnl used to keep command lines short. | ||
|
@@ -50,9 +50,22 @@ AS_IF([test "x$enable_hts" = "xyes"], | |
) | ||
AM_CONDITIONAL([ENABLE_HTS], [test "x$enable_hts" = "xyes"]) | ||
|
||
dnl check for required libraries | ||
AC_SEARCH_LIBS([cblas_dgemm], [gslcblas]) | ||
AC_SEARCH_LIBS([gsl_blas_dgemm], [gsl]) | ||
dnl check for GSL if requested | ||
gsl_fail_msg=" | ||
|
||
Failed to locate GSL on your system. | ||
" | ||
|
||
AC_ARG_ENABLE([gsl], | ||
[AS_HELP_STRING([--enable-gsl], [Enable GSLLib @<:@yes@:>@])], | ||
[enable_gsl=yes], [enable_gsl=no]) | ||
AS_IF([test "x$enable_gsl" = "xyes"], | ||
AC_CHECK_LIB([m],[cos]) | ||
AC_CHECK_LIB([gslcblas],[cblas_dgemm]) | ||
[AC_CHECK_LIB([gsl], [gsl_blas_dgemm], [], | ||
[AC_MSG_FAILURE([$gsl_fail_msg])])] | ||
) | ||
AM_CONDITIONAL([ENABLE_GSL], [test "x$enable_gsl" = "xyes"]) | ||
|
||
AC_CONFIG_FILES([Makefile]) | ||
AC_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters