git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libreplace: some systems don't have memmem()
[samba.git]
/
lib
/
replace
/
libreplace.m4
diff --git
a/lib/replace/libreplace.m4
b/lib/replace/libreplace.m4
index af8587938d12ca16c1751b83e71f3fc92f1c6063..1353c1f7d2677c7e6106677af7e3446b120b42a3 100644
(file)
--- a/
lib/replace/libreplace.m4
+++ b/
lib/replace/libreplace.m4
@@
-228,6
+228,8
@@
AC_HAVE_DECL(environ, [#include <unistd.h>])
AC_CHECK_FUNCS(strnlen)
AC_CHECK_FUNCS(strtoull __strtoull strtouq strtoll __strtoll strtoq)
+AC_CHECK_FUNCS(memmem)
+
# this test disabled as we don't actually need __VA_ARGS__ yet
AC_TRY_CPP([
#define eprintf(...) fprintf(stderr, __VA_ARGS__)