According to the docs, AC_FUNC_MEMCMP already detects some broken memcmp variants.
- Macro: AC_FUNC_MEMCMP If the `memcmp' function is not available, or does not work on 8-bit data (like the one on SunOS 4.1.3), or fails when comparing 16 bytes or more and with at least one buffer not starting on a 4-byte boundary (such as the one on NeXT x86 OpenStep), require an `AC_LIBOBJ' replacement for `memcmp'.
What kind of system are you running on?
/ Niels Möller ()
Previous text:
2003-01-31 08:11: Subject: XPM and sort
After some research, I can clearly see that memcmp isn't sorting binary either. But I don't know which operation in the main testsuite that makes it behave that way.
Right now I plan to do some research and add a configure test to spot the behaviour, and then undefine HAVE_MEMCMP if it's broken...
/ Mirar