Just hit my head on this. Waiting with baited breath.
rhel/centos byteorder.h support
define HAVE_BSWAP_64 for byteorder.h and bswap_64 macros on redhat and centos
rhel: add O_CLOEXEC check to pipe2 check for libstddjb
O_CLOEXEC is defined in fcntl.h
Older rhel kernels do not support O_CLOEXEC. undef HAVE_PIPE2 then.
Check boost-1.34 for BOOST_AUTO
unfortunately does not use the boost specific CXXFLAGS
Tested okay, even with old boost (1.33) in /usr/include and new boost (1.34) in /usr/local/include
I was able to build an rpm on a stock amazon linux AMI from the fedora spec. Thanks!
Ah, I separately hit the boost 1.34 thing and opened issue #154 on that before I saw this pull request.
It looks like I just duplicated the work you did getting it to compile on a CentOS box.. your byteorder changes are better than the hacks I did though so no need for me to submit those.
@rurban This pull request has gotten messy with all the other activity on your master branch. You probably want to open a new one with a dedicated topic branch.
see new pull request #2 (seperate branch, and rebased)