configure: add check for bswap_64
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 25 Dec 2014 17:52:00 +0000 (18:52 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 29 Dec 2014 18:10:10 +0000 (10:10 -0800)
commitdc532e5316488cc41668e918c2105f6c051d0767
tree5076c58ba9d8a2031f18e4408cb431d908c85225
parent936945a25d1b96535f1c3fbb81176f2ce3f848e1
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
manual.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
configure.ac
include/f2fs_fs.h