Changeset 3728
- Timestamp:
- Mar 16, 2018, 5:12:53 AM (5 years ago)
- Location:
- trunk/m4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/m4/yat_cblas.m4
r3453 r3728 2 2 3 3 # 4 # serial 2 (yat 0.14)4 # serial 3 (yat 0.16) 5 5 # 6 6 … … 20 20 # COPYLEFT 21 21 # 22 # Copyright (C) 2009, 2012, 2013, 2015 Peter Johansson22 # Copyright (C) 2009, 2012, 2013, 2015, 2018 Peter Johansson 23 23 # 24 24 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 75 75 # - CBLAS in SCSL library (SGI/Cray Scientific Library) 76 76 AS_IF([test $yat_cblas_ok = no], [ 77 AC_SEARCH_LIBS([cblas_sgemm],77 YAT_SEARCH_LIBS([cblas_sgemm], 78 78 [tatlas satlas cblas opencblas mkl_core scs], 79 79 [yat_cblas_ok=yes; 80 AS_IF([test "$ac_cv_search_cblas_sgemm" != "none required"],[ 81 CBLAS_LIB=$ac_cv_search_cblas_sgemm 82 ]) 80 CBLAS_LIB=$yat_cv_search_cblas_sgemm 83 81 ]) 84 LIBS=$save_LIBS85 82 ]) 86 83 -
trunk/m4/yat_check_htslib.m4
r3497 r3728 1 1 ## $Id$ 2 2 # 3 # serial 1 (yat 0.14)3 # serial 2 (yat 0.16) 4 4 # 5 # Copyright (C) 2016 Peter Johansson5 # Copyright (C) 2016, 2018 Peter Johansson 6 6 # 7 7 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 61 61 ]) 62 62 63 ]) # YAT_CHECK_HTS 63 ]) # YAT_CHECK_HTSLIB 64 64 65 65 … … 116 116 AC_CHECK_HEADER([zlib.h], [], 117 117 [AC_MSG_FAILURE([header file 'zlib.h' was not found])]) 118 AC_SEARCH_LIBS([inflateEnd], [z], [], 118 YAT_SEARCH_LIBS([inflateEnd], [z], 119 [LIBZ=$yat_cv_search_inflateEnd 120 LIBS="$LIBZ $LIBS"], 119 121 [AC_MSG_FAILURE([library 'libz' was not found])]) 120 LIBZ=$ac_cv_search_inflateEnd121 AS_IF([test x"$LIBZ" = x"none required"], [LIBZ=])122 122 123 123 YAT_CHECK_LA_LIBS([ -
trunk/m4/yat_check_libbam.m4
r3417 r3728 1 1 ## $Id$ 2 2 # 3 # serial 7 (yat 0.13)4 # 5 # 6 # Copyright (C) 2012, 2013, 2014, 2015 Peter Johansson3 # serial 8 (yat 0.16) 4 # 5 # 6 # Copyright (C) 2012, 2013, 2014, 2015, 2018 Peter Johansson 7 7 # 8 8 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 49 49 [ 50 50 BAM_LIBS=no 51 AC_SEARCH_LIBS([bam_hdr_destroy], [hts], 52 [AS_IF([test "$ac_cv_search_bam_hdr_destroy" != "none required"], 53 [BAM_LIBS=$ac_cv_search_bam_hdr_destroy]) 51 YAT_SEARCH_LIBS([bam_hdr_destroy], [hts], 52 [BAM_LIBS=$yat_cv_search_bam_hdr_destroy 54 53 $1], 55 54 [$2]) -
trunk/m4/yat_common.m4
r3417 r3728 1 1 ## $Id$ 2 2 # 3 # Copyright (C) 2009, 2010, 2012, 2013, 2014 Peter Johansson3 # Copyright (C) 2009, 2010, 2012, 2013, 2014, 2018 Peter Johansson 4 4 # 5 5 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 22 22 # This file contains some small useful macros. 23 23 # 24 # serial 3 (yat 0.11)24 # serial 4 (yat 0.16) 25 25 # 26 26 … … 92 92 LIBS=$save_LIBS 93 93 ]) 94 95 # YAT_SEARCH_LIBS(function, libraries, [action-if-found], 96 # [action-if-not-found], [other-libraries]) 97 # ================================================================= 98 # Same as AC_SEARCH_LIBS, but do not append LIBS with found library 99 # (if-found). Found library is stored in $yat_cv_search_<function>, set 100 # to empty string if no library required, and set to no if no library 101 # found. 102 AC_DEFUN([YAT_SEARCH_LIBS], 103 [ 104 AS_VAR_PUSHDEF([yat_Search], [yat_cv_search_$1]) 105 dnl cache variable used in autoconf code (AC_SEARCH_LIBS) 106 AS_VAR_PUSHDEF([yat_ac_Search], [ac_cv_search_$1]) 107 yat_func_search_save_LIBS=$LIBS 108 109 AC_SEARCH_LIBS([$1], [$2], [ 110 LIBS=$yat_func_search_save_LIBS 111 AS_VAR_IF([yat_ac_Search], ["none required"], [], [ 112 AS_VAR_COPY([yat_Search], [yat_ac_Search]) 113 ]) 114 $3 115 ], [ 116 AS_VAR_COPY([yat_ac_Search], [yat_Search]) 117 $4 118 ], [$5]) 119 120 AS_VAR_POPDEF([yat_ac_Search]) 121 AS_VAR_POPDEF([yat_Search]) 122 ]) # YAT_SEARCH_LIBS
Note: See TracChangeset
for help on using the changeset viewer.