summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2019-02-27 16:52:23 +0000
committerChristos Zoulas <christos@zoulas.com>2019-02-27 16:52:23 +0000
commit5b86746e1afe155baff70828ac902041ef5c19eb (patch)
treeed16b0363442b4b158fefd04affb1ca67b56e760 /configure.ac
parente56e4f2f1f2520b3f31a998f29e4888b88e4ed52 (diff)
downloadfile-git-5b86746e1afe155baff70828ac902041ef5c19eb.tar.gz
Use memmem to speed up searches if available (Michael Schroeder)
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 ec296aa4..402f75dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,7 +151,7 @@ else
fi])
dnl Checks for functions
-AC_CHECK_FUNCS(strerror strndup strtoul mkstemp mkostemp utimes utime wcwidth strtof newlocale uselocale freelocale setlocale)
+AC_CHECK_FUNCS(strerror strndup strtoul mkstemp mkostemp utimes utime wcwidth strtof newlocale uselocale freelocale setlocale memmem)
dnl Provide implementation of some required functions if necessary
AC_REPLACE_FUNCS(getopt_long asprintf vasprintf strlcpy strlcat getline ctime_r asctime_r localtime_r gmtime_r pread strcasestr fmtcheck dprintf)