xref: /netbsd-src/external/bsd/am-utils/dist/m4/macros/func_bad_memcmp.m4 (revision a53f50b9b44dc9467ccc9c464999b1d1c509cb0c)
1dnl My version is similar to the one from Autoconf 2.52, but I also
2dnl define HAVE_BAD_MEMCMP so that I can do smarter things to avoid
3dnl linkage conflicts with bad memcmp versions that are in libc.
4AC_DEFUN([AMU_FUNC_BAD_MEMCMP],
5[
6AC_FUNC_MEMCMP
7if test "$ac_cv_func_memcmp_working" = no
8then
9AC_DEFINE(HAVE_BAD_MEMCMP)
10fi
11])
12