2 AM_INIT_AUTOMAKE(libyahoo2, 0.1)
8 AC_ARG_ENABLE(yahoo, [ --disable-yahoo Build without Yahoo!], build_yahoo="$enableval", build_yahoo="yes")
9 AM_CONDITIONAL(BUILD_YAHOO, test "x$build_yahoo" = xyes)
11 if test "$build_yahoo" = "yes"; then
12 AC_CHECK_HEADERS(inttypes.h stdint.h)
14 AC_MSG_CHECKING(endianness)
16 #include <sys/types.h>
17 #include <sys/param.h>
19 #if defined(BYTE_ORDER) && defined(BIG_ENDIAN)
20 #if BYTE_ORDER == BIG_ENDIAN
24 #if defined(_BIG_ENDIAN)
31 AC_DEFINE(WORDS_BIGENDIAN, [big endian architecture])
34 AC_MSG_RESULT($ac_end)