I developed a library that performs various formatting for RIFF chunks, and it is absolutely dependent on the endianness of the system. I am porting it to a wider range of systems, but the issue remains for testing the endianness.
I am using autoconf for the configuring aspect of the project.
Is there a way in Configure.in to test for endianness?
got it
AC_C_BIGENDIAN