netbsd/external/bsd/am-utils/dist/m4/macros/func_bad_memcmp.m4
2013-04-06 16:48:33 +02:00

12 lines
330 B
Plaintext

dnl My version is similar to the one from Autoconf 2.52, but I also
dnl define HAVE_BAD_MEMCMP so that I can do smarter things to avoid
dnl linkage conflicts with bad memcmp versions that are in libc.
AC_DEFUN([AMU_FUNC_BAD_MEMCMP],
[
AC_FUNC_MEMCMP
if test "$ac_cv_func_memcmp_working" = no
then
AC_DEFINE(HAVE_BAD_MEMCMP)
fi
])