Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use angle-bracket includes to allow flexibile placement of dependencies #33

Merged
merged 1 commit into from Aug 15, 2016
Merged

Use angle-bracket includes to allow flexibile placement of dependencies #33

merged 1 commit into from Aug 15, 2016

Conversation

0xaf1f
Copy link
Contributor

@0xaf1f 0xaf1f commented Jan 21, 2016

Using -I in the C preprocessor flags adds the specified directories
to the search path. Taking advantage of this, we can use angle-brackets
for the include statements to avoid hardcoding the location of dependencies and
to ease use of externally installed versions.

@0xaf1f
Copy link
Contributor Author

0xaf1f commented Jan 21, 2016

I hadn't caught the bad FAST5_INCLUDE variable at first since I was using an external copy of fast5, but everything looks good now.

Hard-coding the relative paths to the header files impedes
flexibility in using externally located versions of the headers.
@0xaf1f
Copy link
Contributor Author

0xaf1f commented Aug 12, 2016

I've simplified this PR and squashed it into one commit. My changes to the htslib include statements were not really necessary because, with double quotes, the header search path is used if the relative path isn't valid. The changes to the fast5 include statements adds flexibility, so I hope you will consider merging it.

@jts
Copy link
Owner

jts commented Aug 12, 2016

Thanks - I'm on vacation right now but I'll try to merge this soon. I'll also look at the other PR you submitted too. I appreciate the contribution

@jts jts merged commit 5938170 into jts:master Aug 15, 2016
@jts
Copy link
Owner

jts commented Aug 15, 2016

Thanks again for the PR

@0xaf1f
Copy link
Contributor Author

0xaf1f commented Aug 15, 2016

No problem. Thanks for merging it.

@0xaf1f 0xaf1f deleted the debian-patch-forwarding branch August 15, 2016 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants