From a230728162efd743cec18f8e2a000aac8dab0580 Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Fri, 4 Oct 2013 15:35:30 +0900 Subject: [PATCH] eina: move header detection to the appropriate section. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index e9efd1fb99..f9e61b38be 100644 --- a/configure.ac +++ b/configure.ac @@ -783,6 +783,8 @@ CFLAGS="${CFLAGS} ${EINA_CFLAGS}" AC_CHECK_HEADERS([sys/mman.h]) CFLAGS="${CFLAGS_save}" +AC_CHECK_HEADER([byteswap.h], [have_byteswap="yes"], [have_byteswap="no"]) + ### Checks for types EINA_CONFIG([HAVE_DIRENT_H], [test "x${have_dirent}" = "xyes"]) @@ -792,8 +794,6 @@ AC_DEFINE_IF([HAVE_DIRENT_H], [test "x${have_dirent}" = "xyes"], ### Checks for structures ### Checks for compiler characteristics -AC_CHECK_HEADER([byteswap.h], [have_byteswap="yes"], [have_byteswap="no"]) - EINA_CONFIG([HAVE_BYTESWAP_H], [test "x${have_byteswap}" = "xyes"]) EFL_CHECK_GCC_BUILTIN([bswap16], [HAVE_BSWAP16])