summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-12-11 13:22:06 +1100
committerDarren Tucker <dtucker@dtucker.net>2019-12-11 13:22:06 +1100
commitafffd310360b155df2133d1f5f1ab2f4e939b570 (patch)
treec0ee1e71b5f1ebf4d056fe110d9bda6797f9dccb /configure.ac
parentad8cd420797695f3b580aea1034b9de60bede9b9 (diff)
Check if memmem is declared in system headers.
If the system (or one of the dependencies) implements memmem but does not define the header, we would not declare it either resulting in compiler warnings. Check for declaration explicitly. bz#3102.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a12fc0d12..6e70e52c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1873,7 +1873,7 @@ AC_CHECK_FUNCS([ \
1873 warn \ 1873 warn \
1874]) 1874])
1875 1875
1876AC_CHECK_DECLS([bzero]) 1876AC_CHECK_DECLS([bzero, memmem])
1877 1877
1878dnl Wide character support. 1878dnl Wide character support.
1879AC_CHECK_FUNCS([mblen mbtowc nl_langinfo wcwidth]) 1879AC_CHECK_FUNCS([mblen mbtowc nl_langinfo wcwidth])