#define WANT_BUILTIN_BSWAP
#else
#include
#endif
But the current master HEAD (6d2882937f8b2a5291ae68ae9ea985ad5271d0fb) does not have this byteswap.h file.
byteswap.h is provided by your OS. cpuminer will probably need a few minor patches before building on osx. Patches welcome!
AC_MSG_ERROR([Missing required libcurl >= 7.10.1]))
Why is that weird? That's the standard CURL autotools macro invocation.