You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
383 B

  1. diff --git a/auto/endianness b/auto/endianness
  2. index 1b552b6b..2b6f9ea4 100644
  3. --- a/auto/endianness
  4. +++ b/auto/endianness
  5. @@ -12,6 +12,16 @@ checking for system byte ordering
  6. END
  7. +if [ "${CONFIG_BIG_ENDIAN}" != "y" ]; then
  8. + echo " little endian"
  9. + have=NGX_HAVE_LITTLE_ENDIAN . auto/have
  10. +else
  11. + echo " big endian"
  12. +fi
  13. +
  14. +return
  15. +
  16. +
  17. cat << END > $NGX_AUTOTEST.c