summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2014-09-10 18:41:51 +0000
committerChristos Zoulas <christos@zoulas.com>2014-09-10 18:41:51 +0000
commit64485737cf5e0251ab82d0a2d50e9903ab9ac588 (patch)
tree9a2600c9cc1737f9c54f392bd7a537ac1c157603 /configure.ac
parent17e44a202ab22a75bdc8e7fe8a91303926267835 (diff)
downloadfile-git-64485737cf5e0251ab82d0a2d50e9903ab9ac588.tar.gz
don't use setlocale(3); it is not thread-safe.
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 3d55c38c..9483bddf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -138,7 +138,7 @@ else
fi])
dnl Checks for functions
-AC_CHECK_FUNCS(strerror strndup strtoul mkstemp mkostemp utimes utime wcwidth strtof)
+AC_CHECK_FUNCS(strerror strndup strtoul mkstemp mkostemp utimes utime wcwidth strtof newlocale uselocale freelocale)
dnl Provide implementation of some required functions if necessary
AC_REPLACE_FUNCS(getopt_long asprintf vasprintf strlcpy strlcat getline ctime_r asctime_r pread strcasestr fmtcheck)