summaryrefslogtreecommitdiffstats
path: root/contrib/amd/m4/macros/func_bad_memcmp.m4
blob: 9b988c89691ca4cbf1774cb904071ce8dfd53672 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
])
OpenPOWER on IntegriCloud