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

A cleaner autotools implementation of the gzip reading code #1

Merged
merged 2 commits into from
Nov 15, 2015
Merged

A cleaner autotools implementation of the gzip reading code #1

merged 2 commits into from
Nov 15, 2015

Conversation

lckarssen
Copy link

Hi Maarten,

I used some code from the ProbABEL-pvals branch to add a few ./configure options that check for the required Boost library. This PR also keeps the option open of not using the Boost lib (and then live without the ability to read gzipped data).

Removed some tabs, added some spaces here and there.
- Add a ./configure option --with-boost-iostreams (enabled by default)
- Add a ./configure option --with-boost-include-path so the user can
  tell configure where to find the libraries if they are not in the
  default locations
- Add an Automake option WITH_BOOST_IOSTREAMS that is true if the lib
  can be found (well, if the gzip.hpp file can be found) and use this to
  add the LDADD flags for the binaries that need it. This option is also
  used in the C++ code to switch between compiling with or without
  Boost::iostreams.
- Print the version of the Boost library if Boost is used
- In gendata.cpp keep the option open to read files when the library is
  not present. Unfortunately this does leave the code more ugly with a
  bunch of #ifdefs...
@lckarssen
Copy link
Author

I have created a feature request to track this idea of reading gzipped files: GenABEL-Project#12

maarten-k added a commit that referenced this pull request Nov 15, 2015
A cleaner autotools implementation of the gzip reading code
@maarten-k maarten-k merged commit 01146ad into maarten-k:master Nov 15, 2015
@lckarssen
Copy link
Author

Hi Maarten,

Would it be possible for you to create a new branch and commit the changes in your fork (w.r.t. the main repo at https://github.com/GenABEL-Project/ProbABEL) into that branch? That would make it easier for me to integrate your work with the main repository.

See for example this StackOverflow question on how to do that.

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.

2 participants