configure: add check for bswap_64

include/f2fs_fs.h checks the HAVE_BSWAP_64 conidtional, but configure
nevers checks for it.

Add a check that the function is indeed declared, and fix the variable
name to match the naming scheme of autoconf (and not those of WAF like
is used by samba), and adapt the check as suggested in the autoconf

Signed-off-by: "Yann E. MORIN" <>
Cc: Gustavo Zacarias <>
Signed-off-by: Jaegeuk Kim <>
2 files changed