s48_determine_bit_suffix.m4 587 B

1234567891011121314151617
  1. ### s48_determine_bit_suffix.m4 --- S48_DETERMINE_BIT_SUFFIX macro -*- Autoconf -*-
  2. # serial 1
  3. dnl
  4. dnl
  5. dnl Determines the number of bits of desired build.
  6. AC_DEFUN([S48_DETERMINE_BIT_SUFFIX], [dnl
  7. AC_MSG_CHECKING([for BIT_SUFFIX])
  8. if test $BIT_SUFFIX; then
  9. AC_MSG_RESULT([You forced BIT_SUFFIX to be $BIT_SUFFIX.])
  10. else
  11. BIT_SUFFIX=`expr $ac_cv_sizeof_void_p \* $ac_cv_bits_per_byte`
  12. AC_MSG_RESULT($BIT_SUFFIX)
  13. fi
  14. AC_DEFINE_UNQUOTED(WORDSIZE, [$BIT_SUFFIX], [Check for number of bits in a word])
  15. ])
  16. ### s48_determine_bit_suffix.m4 ends here