Changeset 2972 for branches/0.10-stable/m4/yat_check_libbam.m4
- Timestamp:
- Jan 26, 2013, 7:53:56 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10-stable/m4/yat_check_libbam.m4
r2928 r2972 1 1 ## $Id$ 2 2 # 3 # serial 1 (yat 0.10)3 # serial 2 (yat 0.10.2) 4 4 # 5 5 # 6 # Copyright (C) 2012 Peter Johansson6 # Copyright (C) 2012, 2013 Peter Johansson 7 7 # 8 8 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 78 78 LIBS=$save_LIBS 79 79 ]) # YAT_LINK_BAM_IFELSE 80 81 # YAT_BAM_NT16_REV_TABLE 82 # ==================================================================== 83 # Check if global variable bam_nt16_rev_table is available in 84 # -lbam. If found call AC_DEFINE(HAVE_BAM_NT16_REV_TABLE). 85 AC_DEFUN([YAT_BAM_NT16_REV_TABLE], 86 [ 87 AC_MSG_CHECKING([for bam_nt16_rev_table]) 88 AC_LINK_IFELSE([AC_LANG_PROGRAM( 89 [@%:@if HAVE_BAM_H 90 @%:@ include <bam.h> 91 @%:@elif HAVE_BAM_BAM_H 92 @%:@ include <bam/bam.h> 93 @%:@elif HAVE_SAMTOOLS_BAM_H 94 @%:@ include <samtools/bam.h> 95 @%:@endif 96 ],[ 97 char c = bam_nt16_rev_table@<:@7@:>@; 98 ]) 99 ],[ 100 AC_MSG_RESULT([yes]) 101 AC_DEFINE([HAVE_BAM_NT16_REV_TABLE], [1], 102 [Define to 1 if libbam contains bam_nt16_rev_table]) 103 ],[ 104 AC_MSG_RESULT([no]) 105 ]) 106 ]) # YAT_BAM_NT16_REV_TABLE
Note: See TracChangeset
for help on using the changeset viewer.