From: Cedric Bail Date: Fri, 4 Oct 2013 06:35:30 +0000 (+0900) Subject: eina: move header detection to the appropriate section. X-Git-Tag: submit/devel/efl/20131029.075644~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a230728162efd743cec18f8e2a000aac8dab0580;p=platform%2Fupstream%2Fefl.git eina: move header detection to the appropriate section. --- diff --git a/configure.ac b/configure.ac index e9efd1f..f9e61b3 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])