|
1 | 1 | dnl This file is part of dnmtools |
2 | 2 | dnl |
3 | | -dnl Copyright (C) 2022-2024: Andrew D. Smith |
| 3 | +dnl Copyright (C) 2022-2025: Andrew D. Smith |
4 | 4 | dnl |
5 | 5 | dnl Authors: Andrew D. Smith |
6 | 6 | dnl |
@@ -32,19 +32,21 @@ AC_CONFIG_SUBDIRS([src/smithlab_cpp]) |
32 | 32 |
|
33 | 33 | dnl check for HTSLib if requested |
34 | 34 | hts_fail_msg=" |
35 | | -Failed to locate HTSLib on your system. Please use the LDFLAGS and |
36 | | -CPPFLAGS variables to specify the directories where the HTSLib library |
37 | | -and headers can be found. |
| 35 | +Failed to locate HTSLib on your system. Please use the LDFLAGS and CPPFLAGS |
| 36 | +variables to specify the directories where the HTSLib library and headers can |
| 37 | +be found. |
38 | 38 | " |
39 | 39 |
|
40 | 40 | gsl_fail_msg=" |
41 | | -Failed to locate the GNU Scientific Library (GSL) on your |
42 | | -system. Please use the LDFLAGS and CPPFLAGS variables to specify the |
43 | | -directories where the GSL library and headers can be found. |
| 41 | +Failed to locate the GNU Scientific Library (GSL) on your system. Please use |
| 42 | +the LDFLAGS and CPPFLAGS variables to specify the directories where the GSL |
| 43 | +library and headers can be found. |
44 | 44 | " |
45 | 45 |
|
46 | 46 | dnl check for required libraries |
47 | | -AC_SEARCH_LIBS([hts_version], [hts], [], [AC_MSG_FAILURE([$hts_fail_msg])]) |
| 47 | +AC_SEARCH_LIBS([pthread_create], [pthread], [], [AC_MSG_FAILURE(["pthread library not found"])]) |
| 48 | +AC_SEARCH_LIBS([gzopen], [z], [], [AC_MSG_FAILURE(["Zlib library not found"])]) |
| 49 | +AC_SEARCH_LIBS([hts_version], [hts], [], [AC_MSG_FAILURE([$hts_fail_msg])], [-lz -lpthread]) |
48 | 50 | AC_SEARCH_LIBS([cblas_dgemm], [gslcblas], [], [AC_MSG_FAILURE([$gsl_fail_msg])]) |
49 | 51 | AC_SEARCH_LIBS([gsl_blas_dgemm], [gsl], [], [AC_MSG_FAILURE([$gsl_fail_msg])]) |
50 | 52 |
|
|
0 commit comments