Change some #endif comments to exactly match the starting #ifdef and
in crc files and make the second posixaio configure test more
descriptive.
Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
EOF
if compile_prog "" "" "posixaio" ; then
posix_aio="yes"
EOF
if compile_prog "" "" "posixaio" ; then
posix_aio="yes"
-elif compile_prog "" "-lrt" "posixaio"; then
+elif compile_prog "" "-lrt" "posixaio -lrt"; then
posix_aio="yes"
posix_aio_lrt="yes"
LIBS="-lrt $LIBS"
posix_aio="yes"
posix_aio_lrt="yes"
LIBS="-lrt $LIBS"
-#endif /* ARCH_HAVE_SSE */
+#endif /* ARCH_HAVE_SSE4_2 */
static inline void crc32c_intel_probe(void)
{
}
static inline void crc32c_intel_probe(void)
{
}
+#endif /* ARCH_HAVE_SSE4_2 */
static inline uint32_t fio_crc32c(unsigned char const *buf, unsigned long len)
{
static inline uint32_t fio_crc32c(unsigned char const *buf, unsigned long len)
{