Opened 10 years ago

Closed 10 years ago

#752 closed enhancement (fixed)

avoid installing header files conditionally

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.11
Component: omic Version: 0.10
Keywords: Cc:


In yat 0.10 some header files (rleated to samtools) are not installed when configured --without-samtools. I suspect this is dangerous, e.g., if someone installs yat 0.12 with samtools support and then upgrades to yat 0.13 but now without samtools. It's seems that could cause very cryptic errors if someone is including header file mistakenly and very confusing as these header files will be from a different version that rest of files. And worse, they will not be updated if we fix something. It seems sounder to install all header and #error out noisily if file is included when it should not.

Change History (1)

comment:1 Changed 10 years ago by Peter

Resolution: fixed
Status: newclosed

(In [2990]) always install bam headers, but #error out noisily if included when configured --without-samtools. closes #752

Note: See TracTickets for help on using tickets.